Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Pig's post report system Details »»
Pig's post report system
Version: 1.00, by boozehound boozehound is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-11-2006 Last Update: Never Installs: 36
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This is a port to 3.5 of this hack. Please see that thread for full description and usage instructions.

Installation
  • Unpack product.zip
  • Upload the files in the upload directory
  • Install the product by uploading the product xml file into the product manager in Admin CP
  • Make the two template changes specified in 'template changes.txt'

Summary
  • 2 php files to upload
  • One xml file to upload
  • One template to change (navbar)
  • Installs 3 plugins

Screenshots
  • screen1.png: Outstanding post report alert for moderators and link to user post report page in quick links menu for all users.
  • screen2.png: User post report page
  • screen3.png: Post reports in modcp

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-12-2006, 09:34 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<br/><if condition="$vbulletin->openreports"><a href="$modcpdir/postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
.. is what you want for the link in the navbar template. Zip updated.
Reply With Quote
  #13  
Old 01-12-2006, 09:51 PM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
Well it's beta The link is an error, I need to subsitute the modcp dir into the link. Are you sure it's showing up for non-mods? The variable in the conditional should only be true if the user is a moderator. But the emails, I'm not sure. I wanted to do this hack without making any modifications to existing files, and I can't really see an easy way at the moment to stop the emails being sent without editing reports.php
My mistake, its not shown for members, its only to mods and admins, in addition, its only shown to forum moderator who have a pinding post report which is excellent..

The solution is working fine now but missing ?do=list

There is somthing else also I edited in my post after your reply..

Quote:
2) When clicking any thread link under forum/postreports.php it does not go to the correct link, it erases for example forum and links directly to showpost.php
reg
Reply With Quote
  #14  
Old 01-12-2006, 10:02 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unicorn
My mistake, its not shown for members, its only to mods and admins, in addition, its only shown to forum moderator who have a pinding post report which is excellent..
Yeah some of the mods on my site complained about that that's why it was included

Incidentally notice that this is more or less just a direct port of the old code but I am planning a more advanced version (probably not for a few weeks since I've got a major amount of rewriting to do atm) which will resolve some race conditions we've been having i.e. multiple mods attempting to deal with one report concurrently. This will probably take the form of a 'take over' button appearing on outstanding reports which (by process only, not by code because that would be nigh on impossible) will force mods into 'ownership' of reports before they deal with them, so you don't get two mods tripping over each other. Also mods not being able to touch reports from outside their forums which is quite an easy addition.
Quote:
The solution is working fine now but missing ?do=list
Code:
<br/><if condition="$vbulletin->openreports"><a href="$modcpdir/postreports.php?do=list">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
Reply With Quote
  #15  
Old 01-12-2006, 10:06 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unicorn
There is somthing else also I edited in my post after your reply..


reg
Ok, some leading slashes where they shouldn't have been. Try the updated product.
Reply With Quote
  #16  
Old 01-12-2006, 10:16 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code for admin / mods to see latest reported posts doesn't appear for me, just creates a gap :-
Reply With Quote
  #17  
Old 01-12-2006, 10:18 PM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
Ok, some leading slashes where they shouldn't have been. Try the updated product.
Working fine now
Thank you so very much
Reply With Quote
  #18  
Old 01-12-2006, 10:41 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
The code for admin / mods to see latest reported posts doesn't appear for me, just creates a gap :-
Move the <br/> into the conditional, e.g.:

Code:
<if condition="$vbulletin->openreports"><br/><a href="postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
The link only shows up if there are outstanding reports.
Reply With Quote
  #19  
Old 01-13-2006, 02:35 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be sure to send an update when it's out of BETA, will install then
Reply With Quote
  #20  
Old 01-13-2006, 06:39 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had an error on linking back from reported post .. postreportbits template assumes forum is in root directory .. added "$vboptions[bburl]/" after any <a href and problem solved.

Might be useful for anyone experiencing the same problem.
Reply With Quote
  #21  
Old 01-13-2006, 07:46 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I installed it. Working nicely so far aswell. If a user has no post reports, how could I get it so it says "You have not submitted any post reports"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08427 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete