vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Anyway to show reputation only in certain forums? (https://vborg.vbsupport.ru/showthread.php?t=235127)

azn_romeo_4u 02-06-2010 03:31 AM

Anyway to show reputation only in certain forums?
 
Quote:

<if condition="in_array($foruminfo[forumid], array(11,23,115,12,222,14,50,117,220,218,219,217,9 4,124,39,20,47,49,48,46,25,27,24,15,172,83,52,81,1 85,253,22,26,21,107,128,16))"><if condition="$show['reputation']"><div class="smallfont"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if></div><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if></if>
I tried that and it didn't seem to work.

--------------- Added [DATE]1265494875[/DATE] at [TIME]1265494875[/TIME] ---------------

bump

azn_romeo_4u 02-08-2010 04:14 PM

Hi can anyone help me with this?

Lynne 02-08-2010 07:35 PM

Just write a plugin using the postbit_display_complete location (I would think) and set $show['reutation'] to false if you are in certain forums. ($foruminfo[forumid] is most likely not valid in the postbit. You would have to use $thread or $threadinfo).


All times are GMT. The time now is 05:30 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.01127 seconds
  • Memory Usage 1,709KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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