Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-21-2001 Last Update: Never Installs: 101
 
No support by the author.

LAST UPDATED: 3.24.01 10:40 PM Eastern

Hack version: 0.0.2

Changes since last version: New option to display either usernames or a total number of registered members.

For version: 2.0.0 beta 3 (possibly beta 1 and beta 2 also, but it's untested on those versions).

Files needed: online.php (see zip file attached below).

Files to edit: Possibly online.php (see instructions below).

Possible file locations: Anywhere, as long as the relative path to config.php is correct (see instructions below).

Instructions
1] Download the zip file online002.zip below. It has online.php in it; unzip this file to a location on your hard drive.
2] Open online.php in Notepad (Windows) or Simpletext (Mac) or another ASCII text editor (EditPlus, UltraEdit, TextPad, etc. Dreamweaver, FrontPage, and other HTML editors are not ASCII text editors and will in all likelyhood screw the file up.)
3] Check the path to config.php in the $path variable (in the CONFIG section). Figure out where you're gonna put the file online.php, and then edit the path accordingly. For example, if you put it in your document root (e.g. yoursite.com/) and your board files are in a directory called forum, your path is "forum/admin" (no quotes, no trailing slash).
4] If you want usernames of registered members displayed, then leave the $usernames option alone. If you want a number instead of a list of names, set this to "off" (no quotes).
5] Edit the second-to-last line (the "echo" line). Change it to say what you want. The list of registered members is $regmemberson and the number of guests is $guestson - you can use these anywhere in that line.
6] Save the file and upload it your server.
7] You can include it on another page one of two basic ways:
First, by a PHP include:
Code:
<? include("online.php"); ?>
The file that you are going to be including online.php in must then have a .php, .php3, .phtml or other extension that makes your web server recognize it as a file to be parsed as PHP.
Secondly, by an SSI include:
Code:
<!--#include file="online.php"-->
The file that you are going to be including online.php in must then have a .shtml, .shtm or other extension that makes your web server recognize it as a file to be server-parsed.

Instructions are also included in the zip file (online002.txt) and brief notes are in the online.php file itself.

FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 03-12-2003, 08:08 PM
boiboi boiboi is offline
 
Join Date: Nov 2001
Location: san francisco, ca
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works for vb 3?
Reply With Quote
  #133  
Old 03-17-2003, 03:38 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
12-24-02 at 11:53 PM Sakura Online said this in Post #129
ok in the online.php file where it said something like $path/config.php i replaced it with the url of the config file of the board

and when i include it on the site i get:

oops1

which i checked is near the thing i changed on the online.php file.. so i am guessing that won't work..

BUT my friend has done it before , but she does not remember anymore... lol

PLEASE HELP!
I cannot even get online.php to work at my case

http://www.synthpopavenue.gr/online.php
Reply With Quote
  #134  
Old 04-29-2003, 01:58 PM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack looks interesting!

Just to clarify; we can add Tubedogs 2 line code onto any number of our non vB pages so that all the users browsing the forum and the tagged pages will be shown in total on another non-vBpage!

Does that sound right?
Reply With Quote
  #135  
Old 05-04-2003, 12:09 PM
sbryan's Avatar
sbryan sbryan is offline
 
Join Date: Oct 2002
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error, can anyone help?

Member(s) on: 33. Guest(s) on: 3.
Warning: Cannot send session cache limiter - headers already sent (output started at /home/xboxworld/public_html/online.php:81) in /home/xboxworld/public_html/config/connect.php on line 3
Reply With Quote
  #136  
Old 06-07-2003, 10:29 AM
mIRCnet's Avatar
mIRCnet mIRCnet is offline
 
Join Date: Nov 2001
Location: UAE
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx for this hack , I want to ask you how can implament it in php-nuke ??
Reply With Quote
  #137  
Old 06-07-2003, 10:29 AM
mIRCnet's Avatar
mIRCnet mIRCnet is offline
 
Join Date: Nov 2001
Location: UAE
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx for this hack , I want to ask you how can implament it in php-nuke ??
Reply With Quote
  #138  
Old 06-26-2003, 07:51 AM
M4g!k M4g!k is offline
 
Join Date: Jun 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no matter what i try to do, i still get these erors,

'Warning: main(home/public_html/forums/admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/indeathw/public_html/online.php on line 46

Fatal error: main() [function.main]: Failed opening required 'home/public_html/forums/admin/config.php' (include_path='.:/usr/local/lib/php') in /home/indeathw/public_html/online.php on line 46'


any ideas?

My forums are located at http://www.indeathwefall.co.uk/forums can anyone help? Thanks
Reply With Quote
  #139  
Old 06-26-2003, 05:00 PM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone get it working with 2.30?
Reply With Quote
  #140  
Old 07-11-2003, 06:11 AM
codewebs codewebs is offline
 
Join Date: Dec 2002
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i added and changed some stuff in this hack to make it so i can load a page and it will put the users online and stuff in my aim away message every 30 seconds it worked nicely.. thanks for this hack
Reply With Quote
  #141  
Old 07-17-2003, 08:21 PM
agamer agamer is offline
 
Join Date: Jul 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-26-03 at 01:00 PM Splitfyre said this in Post #138
Anyone get it working with 2.30?



to the creator: very nice hack, i am very glad you took the time to make this

to splitfyre: i am running vb 2.3.0 and the hack installed perfectly on my site ( http://clandot.com ). (i am not running any other hacks though on it)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04941 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete