Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
New Report Post Hack
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks
Author Message
Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England

Add Comment
Show Comments
PostPosted: Sat Mar 15, 2008 10:30 pm Reply with quote

This guide is for Report Post Hack

Any member can click on the report post link/image on a post that they feel is inappropriate, this will then send a pm to the board Admin.

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT


1. Goto  admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Now look at the top in the area marked Choose Forum template/javascript/css File to Edit use the drop down bar and find

Viewtopic_body.tpl

Now find a line of code that may look like this, (please remember that all templates are different, so my example code may not be the exact code you see)

Code:
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}
</td></tr>


You now need to place this code

Code:
<a class="gensmall" href="javascript:void(0)" onclick="window.open('/action.php?action=REPORT&popup=1&p={postrow.POST_ID}','report','height = 300, width = 300')">Report Post</a>


after the

Code:
{postrow.IP_IMG}


So the final code may look like this

Code:
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}  <a class="gensmall" href="javascript:void(0)" onclick="window.open('/action.php?action=REPORT&popup=1&p={postrow.POST_ID}','report','height = 300, width = 300')">Report Post</a>
</td></tr>


If you want an image instead of the line of text then place this code,

Code:
<a class="gensmall" href="javascript:void(0)" onclick="window.open('/action.php?action=REPORT&popup=1&p={postrow.POST_ID}','report','height = 300, width = 300')"><img src="/templates/myff_facebookappchat1/images/icon_report.gif" border="0"></a>


after

Code:
 {postrow.IP_IMG}


Tips

To use an image you must first upload an image.

1. Goto  admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Now look in the middle in the area marked

Upload Image (make sure the filename does not contain spaces, brackets etc)

Click on browse then upload you image.

Now change the line of code

Code:
<img src="/templates/myff_facebookappchat1/images/icon_report.gif"


To match that of your template name and your image name, so for example if i uploaded an image called postreport to my number 4 template the code would look like this

Code:
<img src="/templates/myff_facebookappchat4/images/postreport.gif"



When a users clicks on the report post link or image, a popup will appear like below



Here they can decide how to report the post. When they have done that they will see a screen like below




It is at this point the Admin should receive a PM which may look something  like this





You may use this button, kindly made by Nick(NR) (right click and save as)


And That`s HOWTODOIT
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

HOWTODOIT was designed and built by Symon Field
Creator Of ☆ ☆ FunnyWorld
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 
Create your own free forum | Buy a domain to use with your forum