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)
-   -   [VB3 RC3] Who viewed this thread? (https://vborg.vbsupport.ru/showthread.php?t=61225)

tractor-beam 02-01-2005 09:52 PM

Right now I have installed this modification with the code that lets only the Administrator view the new stats. However, I've created a Managers Usergroup (ID=9) that I'd also like to have them see the stats. How would I modify this statement:

Code:

$poll

<if condition="$+++++ad and $bbuserinfo[usergroupid]==6">
<table cellpadding="10" cellspacing="0" border="1" width="100%">
<tr valign="top">
<td class="alt1">$total+++++ad users have seen this thread: $+++++ad</td></tr></table><br/>
</if>

Would it be something like:

Code:


<if condition="$+++++ad and ($bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid==9]">

Thanks!

- Gerry

Pinkie 02-06-2005 07:38 PM

Thanx
Will try it if it also works for me :)

Spinball 08-03-2005 05:12 PM

This hack works nicely until you have threads with a couple of thousand member views and it gets really, really slow to view a thread.
Is there any way the viewers of a particular thread could optionally be opened in a new window by clicking a link at the top of SHOWTHREAD?

Mikecp421 10-15-2005 10:08 PM

nice, worked first time on VB 3.0.8

Mikecp421 10-16-2005 03:24 PM

hey can someone tell me what to add to this to allow supermods to also be able to view this? Thanks

Code:

<if condition="$+++++ad and $bbuserinfo[usergroupid]==6">
<table cellpadding="10" cellspacing="0" border="1" width="100%">
<tr valign="top">
<td class="alt1">Users that have seen this thread: <b>$+++++ad</b></td></tr></table><br/>
</if>


Dreiko 12-04-2005 06:36 PM

Will this hack be upgraded to 3.5? :)

Z@N@ 12-17-2005 07:36 AM

Yes or for 3.5.2?

Please.

Z@N@ 12-17-2005 07:49 AM

EDIT: Found it, right here -

https://vborg.vbsupport.ru/showthrea...ght=downloaded

Mikecp421 01-27-2006 06:32 PM

nice good looking man!

Dj-BuZ 02-10-2006 07:11 PM

Can someone help me i did every thing ask but i dont see it...i have 3.0.12


All times are GMT. The time now is 07:06 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.01199 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete