vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Who viewed this thread? (https://vborg.vbsupport.ru/showthread.php?t=91409)

Rocol 10-17-2005 12:26 PM

Is there any way that the names of those that have viewed the thread, can be placed at the top of the thread, rather than at the bottom please ;)

TMM-TT 10-18-2005 01:54 PM

Quote:

Originally Posted by poolking
Could you tell me whats the point in having the time next to the members name?


I've noticed that this function does'nt work with the gold version. But the problem seem to be easy resolved. :)

In the plugin php code, change this line (sessions):

PHP Code:

            array_push($viewers"<a target=\"_blank\" href=\"member.php?".$vbulletin->session['sessionurl'] . "u=".$user['userid'] . "\">" htmlspecialchars($user['username']) .    "</a>");
    } 


to this line:

PHP Code:


            array_push
($viewers"<a target=\"_blank\" href=\"member.php?".$vbulletin->session->vars['sessionurl'] . "u=".$user['userid'] . "\">" htmlspecialchars($user['username']) .    "</a>");
    } 


.. then it works again. :)

mrsbuzzy 10-18-2005 02:47 PM

Is this to allow the hack to work in gold, or does it add the time stamp?

Quote:

Originally Posted by TMM-TT
I've noticed that this function does'nt work with the gold version. But the problem seem to be easy resolved. :)

In the plugin php code, change this line (sessions):

PHP Code:

            array_push($viewers"<a target=\"_blank\" href=\"member.php?".$vbulletin->session['sessionurl'] . "u=".$user['userid'] . "\">" htmlspecialchars($user['username']) .    "</a>");
    } 


to this line:

PHP Code:


            array_push
($viewers"<a target=\"_blank\" href=\"member.php?".$vbulletin->session->vars['sessionurl'] . "u=".$user['userid'] . "\">" htmlspecialchars($user['username']) .    "</a>");
    } 


.. then it works again. :)


Mastar 10-19-2005 02:56 AM

Like a charm and Clicked install!!

cmiller1014 10-23-2005 01:57 AM

This is EXACTLY what I need guys! Quick question....

Will it work with 3.5 gold, and what code would I wrap around it to show it ONLY to a certain usergroup, and ONLY in a certain forum.

Basically I only want this to show up for my advertisers, and only in the advertising forum so they can see who viewed their ads.

Thanks a ton!

klaush 10-24-2005 06:18 PM

Any idea? Using 3.5 gold:

parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /srv/www/xxx/xxx/vbulletin/showthread.php(1903) : eval()'d code on line 34

Thanks for your help!

steadicamop 11-18-2005 04:58 PM

Installed fine on 3.5.1 - no problems quick install and works well, although doesn't show usergroup types (red = admin etc, but that doesn't matter!)

Thanks!!

aranthorn 11-18-2005 10:55 PM

no problems in vb3.5 gold

shama 11-19-2005 03:20 AM

I will try this one and I hope it works with me :)

aranthorn 12-05-2005 07:30 PM

Had to un-install, way too much load with 100+ users on line.


All times are GMT. The time now is 10:37 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.01080 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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