Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Report Post Icon Enhancement Details »»
Report Post Icon Enhancement
Version: 1.00, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 05-31-2007 Last Update: Never Installs: 63
Template Edits
 
No support by the author.

Report Post Icon Enhancement changes the default behavior of the Report Post link.

If a post has been reported:
- Report Post icon will be replaced.
- Report Post link will redirect to report.

BENEFITS
  • Great for history and informational purposes.
  • Links to post report if one exists.
  • Quick and easy access for staff.
NOTE:
  • Features will only display to staff.
  • You must have a Post Reporting Discussion Forum (vbulletin Options / User Infractions & Post Reporting Options)

Show Your Support

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

Comments
  #12  
Old 08-10-2007, 05:07 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
you will need to change the conditionals and perhaps create new ones
Could you guide me how? I would likely test it and post it so you can update this mod.

There was an old hack I remember a vb2.x board was using, so when you clicked on a report button and if it was already reported, a message showed up with "This message has already been reported, thank you". I cant recall which mod it was. Maybe 0tolerance report system or alike.

To complete this mod (in my opinion), would be adding some kind of noticee for members so they know it has been reported.


Another advanced idea would be the following:

If a post has more than 3 reports, its automatically "deleted" and a notice would show up for everyone. With some other ideas that I should think of some anti abuse measures, so we can avoid members from getting organized in groups, massively reporting the same post to take it down until moderation is done.


my 2 cents.
I really like your hacks princeton, dont know why so few installs in average.

Cya
Reply With Quote
  #13  
Old 08-15-2007, 01:35 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try this .. this will show reported to everyone except the original author (unless it's staff)

HTML Code:
<if condition="$show['modcplink'] AND $post['reportthreadid']">
HTML Code:
<if condition="($post['userid'] != $bbuserinfo['userid'] OR $show['modcplink']) AND $post['reportthreadid']">
Reply With Quote
  #14  
Old 08-24-2007, 02:46 AM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
HTML Code:
<if condition="$show['modcplink'] AND $post['reportthreadid']">
HTML Code:
<if condition="($post['userid'] != $bbuserinfo['userid'] OR $show['modcplink']) AND $post['reportthreadid']">
I tried these edits, but it didnt work. I found the first box and replaced with the second box - is that not what we are supposed to do? Please advise
Reply With Quote
  #15  
Old 08-24-2007, 07:24 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheezy View Post
I tried these edits, but it didnt work. I found the first box and replaced with the second box - is that not what we are supposed to do? Please advise

Yes you need to replace the top code with the bottom code in both Postbit and Postbit_Legacy

I'm sure it will work then

It does for me

Thanks Princeton

Is there anyway to make this non clickable for normal members?



.
Reply With Quote
  #16  
Old 08-24-2007, 09:15 PM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for answering, Nathan2006, but now its half-working. All the report buttons show up yellow as if they were reported when they really arent. And since they are all showing up as already reported, it wont let me report any. Ideas?
Reply With Quote
  #17  
Old 08-28-2007, 01:10 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheezy View Post
Thanks for answering, Nathan2006, but now its half-working. All the report buttons show up yellow as if they were reported when they really arent. And since they are all showing up as already reported, it wont let me report any. Ideas?

Sorry I have been really busy this weekend.

Have you got another hack installed for reported threads?

Also make sure you replace them both in Postbit and Postbit_Legacy
Reply With Quote
  #18  
Old 08-28-2007, 12:19 PM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No other hacks for reported threads, and I made sure to edit the code in both templates.
Reply With Quote
  #19  
Old 09-30-2007, 03:37 PM
rainyleaves rainyleaves is offline
 
Join Date: Mar 2004
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your Mod!!

I get this error when I click Yellow Icon(Reported Icon).

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

		SELECT *
		FROM ****_threadrate
		WHERE userid = 1
			AND threadid =;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number : 1064
Date         : Monday, October 1st 2007 @ 01:34:01 AM
Script       : http://***.***/forums/showthread.php?t=33886
Referrer     : http://***.***/forums/showthread.php?t=31838
IP Address   : ***.***.***
How can I fix?
Please help....
Thanks
Reply With Quote
  #20  
Old 10-10-2007, 01:00 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that error has nothing to do with this mod ..
perhaps, there is a conflict with another modification
Reply With Quote
  #21  
Old 10-10-2007, 01:16 PM
rainyleaves rainyleaves is offline
 
Join Date: Mar 2004
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
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:25 PM.


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.07786 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (4)bbcode_html
  • (4)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
  • (2)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