vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - OP Can't Rate Own Thread (https://vborg.vbsupport.ru/showthread.php?t=283534)

Shadow 05-26-2012 10:00 PM

OP Can't Rate Own Thread
 
1 Attachment(s)
Description:
This hack prevents the thread creator or OP from rating their own threads. When they attempt to do so, an error is given and the rating they put down doesn't go through. In addition, the error message that is shown can be altered to say whatever you would like it to say.

Installation Instructions:
To install simply import the attached product-op_cant_rate_own_thread.xml file. Then you're done.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

DaninMS 06-06-2012 02:53 PM

Thx for this. After loading a mod showing who rated a thread I found a lot of users voting on their own.

Shadow 06-07-2012 08:28 AM

Glad you like it! :D

SouthpawK 12-17-2012 02:22 PM

Will this work on 4.2?

Shadow 12-17-2012 03:38 PM

Yep :)

SouthpawK 12-17-2012 04:50 PM

Thank you!

TTayfun 12-03-2017 01:23 PM

thank you, perfect. working on 3 series.


All times are GMT. The time now is 11:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete