Text
New Report Post Hack

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Portal Hacks
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Add Karma

Posted:     Post subject:

Back to top
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866


Location: Hampshire Add Karma

PostPosted: Sat Mar 15, 2008 8:33 pm    Post subject: New Report Post Hack 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



_________________
Join me on FaceBook = symon field
Back to top
View user's profile Send private message
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.myfreeforum.org Forum Index -> Portal Hacks All times are GMT
Page 1 of 1

 
Jump to:  
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

Card File  Gallery  Forum Archive
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
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