Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Is this post reported? Details »»
Is this post reported?
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 08-09-2007 Last Update: Never Installs: 40
Uses Plugins Template Edits
 
No support by the author.

This mini mod checks if a post is reported and if so, it displays a link to the report thread to your mods/admins.

NO QUERIES
NO TEMPLATE EDITS
Just import the product and you're done!

Support: Supported for a few days after each release
Don't forget to mark as Installed!

Show Your Support

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

Comments
  #22  
Old 08-17-2007, 09:30 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops, my mistake.
Its AND !$post['reportthreadid'], I forgot the exclamation mark in front.
Reply With Quote
  #23  
Old 08-18-2007, 05:11 PM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The text is not showing up. Is there something I can add to the postbit legacy?

VB version 3.6.8
Reply With Quote
  #24  
Old 08-18-2007, 05:21 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy View Post
The text is not showing up. Is there something I can add to the postbit legacy?

VB version 3.6.8
Ensure that you have $template_hook[userinfo_right_after_posts] in your postbit_legacy template.
Reply With Quote
  #25  
Old 08-18-2007, 06:33 PM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That didn't work. What i found was $template_hook[postbit_userinfo_right], I changed it to what you posted above and still not showing.
Reply With Quote
  #26  
Old 08-18-2007, 06:36 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy View Post
That didn't work. What i found was $template_hook[postbit_userinfo_right], I changed it to what you posted above and still not showing.
It may be showing in a different place than the one you expect, since you modified a hook in an other place.
Please change the hook as it was and follow the instructions in post #13.
Reply With Quote
  #27  
Old 08-20-2007, 03:19 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle View Post
Ensure that you have $template_hook[userinfo_right_after_posts] in your postbit_legacy template.

Thank you Michelle

That worked great
Reply With Quote
  #28  
Old 08-24-2007, 01:27 AM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way for the message "This post has been reported" (as a non-link) to be displayed to registered users so that multiple users do not report the same post?
Reply With Quote
  #29  
Old 08-24-2007, 01:37 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it should be quite easy, but I don't have the time right now to look at the code and tell you. I'll come back later if you haven't figured it out yourself by then.
Reply With Quote
  #30  
Old 08-25-2007, 08:26 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheezy View Post
Is there a way for the message "This post has been reported" (as a non-link) to be displayed to registered users so that multiple users do not report the same post?
Open the plugin "Main Code" from this product and change this:
PHP Code:
if($this->post['reportthreadid'] AND can_moderate()) 
to this:
PHP Code:
if($this->post['reportthreadid']) 
Then go to the template ereports_postbit and change this:
HTML Code:
<a href="$vboptions[bburl]/showthread.php?t=$post[reportthreadid]">$vbphrase[ereports_reported]</a>
to this:
HTML Code:
<if condition="can_moderate()">
<a href="$vboptions[bburl]/showthread.php?t=$post[reportthreadid]">$vbphrase[ereports_reported]</a>
<else />
$vbphrase[ereports_reported]
</if>
Reply With Quote
  #31  
Old 08-26-2007, 08:58 AM
Symmetrical?'s Avatar
Symmetrical? Symmetrical? is offline
 
Join Date: Mar 2007
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but icant see post report text in postbit template only postbit_legacy
Reply With Quote
Reply

Thread Tools

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 01:03 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.08207 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)bbcode_html
  • (2)bbcode_php
  • (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
  • (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