Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #71  
Old 07-18-2001, 02:01 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a different chat page hack since I use Multicity chat. I have it embedded in a chat.php file. Would it be possible to show the members who are currently logged into the chat.php in the "Currently Active Users" section of the Forum home page?
Reply With Quote
  #72  
Old 07-18-2001, 02:06 PM
Bane's Avatar
Bane Bane is offline
 
Join Date: Oct 2001
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far it works yes Rob, the problem is after a while if the user hasnt had any activity vB assumes they have left. So yes it will show them in chat for the first few minutes but then logs them out.. I dont know what to do about that. Besides auto refreshing the page every few minutes, and that would be a massive pain. Since I believe Multicity would log the userout then back in and would have to change the name etc..
Reply With Quote
  #73  
Old 07-18-2001, 02:13 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting....how would I go about implementing this anyway? If it only shows them logged in for a few minutes....that's ok with me.
Reply With Quote
  #74  
Old 07-18-2001, 02:23 PM
Bane's Avatar
Bane Bane is offline
 
Join Date: Oct 2001
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add this code in your online.php
PHP Code:
} elseif (strstr($location,"chat.php")) {
            
$locationtitle="In chat!"
Reply With Quote
  #75  
Old 07-18-2001, 03:34 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that already. I mean adding it to the Currently Online Users section which show up on the Forum home page with the other online users listing.
Reply With Quote
  #76  
Old 07-18-2001, 04:29 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rob I have the following file that came phpmychat That I will be trying to use, you can look at it. Once I get working on a regular page then I will try to incorporate it as a template.
Attached Files
File Type: zip chat_activity.zip (837 Bytes, 24 views)
Reply With Quote
  #77  
Old 07-19-2001, 04:12 AM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way that inside a file you can auctually specify a value for $location. so in index.html you can tell it that $location is chat.
Reply With Quote
  #78  
Old 07-19-2001, 06:46 AM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bane
This is what I installed and I got the following problems at the bottom of this thread.

PHP Code:
} elseif (strstr($location,"chat.php")) { $locationtitle="In chat!"

Quote:
Sure.. just make a file called index.htm in the directory http://www.realwebhost.net/chat/
Quote:
inside it put

PHP Code:
<html><head><meta http-equiv="refresh" content="1; URL=http://www.realwebhost.net/chat/chat.php"><title></title></head><body></body></html
Quote:
You should be able to rename your index.php to chat.php then and add the code to your online.php
OK first chat is php3 extensions vb php, I followed instructions above only changing .php with .php3 extensions.

I uploaded all. When I ran index.htm IT still tries to open index.php3 instead of chat.php3 can not do that because I per instructions renamed index.php3 to chat.php3. Didn't work any more suggestions?

How did you get it working to show chat status RobAC?
Reply With Quote
  #79  
Old 07-19-2001, 01:58 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Hooper
This sounds fantastic Freddie. Will the vBulletin Who's Online be as good as Mutt's WOL? and when can we expect this to be included with the new version download?

Thanks Freddie.
Reply With Quote
  #80  
Old 07-19-2001, 02:40 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok freddie where's your hack.

I like 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 06:35 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.09305 seconds
  • Memory Usage 2,272KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete