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)

RedGTiVR6 07-11-2007 10:40 PM

Quote:

Fatal error: Cannot use object of type vB_Session as array in /xxxxx/public_html/vbulletin/showthread.php(1963) : eval()'d code on line 111
Any ideas anyone? Even though this mod isn't supported....:(

ahmedeldeep 07-30-2007 12:16 AM

i need this mod but i cant run it on php5
plz quick help

ahmedeldeep 07-30-2007 05:38 PM

plz help

HossMon 12-31-2008 04:09 AM

I was able to get this working on v 3.7.4 BUT only if your using PHP 4.x I'm working on editing the array calls for PHP 5 and will update post if I ever suss it out.
But, It must be installed as a plugin. Do not import the xml file!
This also works on my v3.6.9 board as well.

As this is my first "real" contribution to vB.org, I hope that by attaching the instructions I created I'm breaking no rules nor offending the original author!
It is a minor change to the original installation.

Download the instructions attached and give it a go. I take no responsibility if it screws up your forums. I'm just attempting to be helpful. DO backup your database first please!

If anybody finds any fault with these instructions. Please feel free to edit and repost them.

An additional note....

If you use the optional line
<if condition="in_array($bbuserinfo['usergroupid'],array(5,6,7))">
to control you can use this Mod...
make sure the extra </if> statement following the phrase <!-- end currently active users -->
exisits when editing the SHOWTHREAD template. This </if> is included in the paste text of my instructions.

If you chose not to use this line, I do not believe it needs to be included.

Code:

<!-- end currently active users -->
</if>

And make sure there is also an </if> statement either before or after <!-- end who viewed this thread -->
Before saving and reloading the template.
Again last line should be as follows...

Code:

<!-- end who viewed this thread -->
</if>

I hope that makes sense to everyone. It's late and I've been at it for a while!


All times are GMT. The time now is 06:13 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.01107 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_quote_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
  • (4)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