vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Display Who Rated Thread (https://vborg.vbsupport.ru/showthread.php?t=77125)

calorie 02-26-2005 10:00 PM

Display Who Rated Thread
 
Purpose:
- Display who rated thread

Where:
- In showthread.php

Modifications:
- Add one template
- Two edits in one file
- One edit in one template

Cost to install:
- Adds one query

Support:
- Not guaranteed

How to say thanks:
- Donate cash, click install

trulylowcarb 06-15-2005 06:14 PM

This is a great mod, but I would like to add a conditional so the results are displayed to moderators and admins only.... my initial attempts resulted in parse errors, I am good at following directions but still just learning php .... would appreciate some help :)

calorie 06-15-2005 08:31 PM

In the SHOWTHREAD template replace:
Code:

$zzzz_rates
With the following:
Code:

<if condition="in_array($bbuserinfo[usergroupid],array(6,5,7))">
$zzzz_rates
</if>


trulylowcarb 06-15-2005 09:17 PM

Thanks!!! You're a prince. Worked perfectly.
I think my users are much more likely to rate threads honestly if they think no one knows who votes what, but due to the stinkers that exist at times on each and every forum no matter how well moderated, it will be nice for the mods to still be able to see who's rating what.

katholic 02-19-2006 02:03 PM

Could this be ported to 3.5 please?


All times are GMT. The time now is 10:01 AM.

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.01090 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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