vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   "Users browsing this thread" (https://vborg.vbsupport.ru/showthread.php?t=36841)

Admin 03-31-2002 10:00 PM

"Users browsing this thread"
 
Here's what I did when I first written the hack for vB.org.
Since nakkid's query was wrong, I got permission from him to post my version. :)

Anyway, this is using vbHacker so you'll need that. See my signature for a link about that.

This hack adds a list of users currently browsing the thread you see. It requires another field in the user table and no new queries except for showthread.php. It's based of the "Users browsing forum" feature so it was easy. :)

Cheers.

Recluse 04-01-2002 03:26 PM

went off without a single hitch :) thank you sir

Kyomu 04-01-2002 03:36 PM

Many thanks.

inetd 04-01-2002 03:41 PM

Hi!
Good! Big thx!

Smellycat 04-01-2002 04:04 PM

Perfectly installed, without a hitch

Cheers!

Recluse 04-01-2002 04:06 PM

correction when i edit a post i get Warning: Failed opening '/home/cra****/public_html/forums/editpost.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

ladyfyre 04-01-2002 04:07 PM

does anyone have the one nakkid wrote still??

I had already installed it, and can't find it on my computer, and need it again to un-install.....looks like they deleted it from here already :(

Lesane 04-01-2002 04:08 PM

Could u also post a normal txt file with the instructions? That would be cool, thanks. :)

Smellycat 04-01-2002 04:14 PM

Quote:

Originally posted by Recluse
correction when i edit a post i get Warning: Failed opening '/home/cra****/public_html/forums/editpost.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
I just tried to edit a post on mine and never got a error.

Pheeeww!!!

Admin 04-01-2002 04:19 PM

ladyfyre: remove the part from "// Get users browsing this thread" until:
Code:

    eval("\$loggedusers .= \"".gettemplate('showthread_loggedinusers')."\";");
  }
}

Recluse: make sure editpost.php is uploaded. The system can't find.


All times are GMT. The time now is 01:46 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.01225 seconds
  • Memory Usage 1,727KB
  • 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_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
  • (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