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

Reply
 
Thread Tools
[Add on] Who's Chatting on Forum Home Page for Sigmachat Details »»
[Add on] Who's Chatting on Forum Home Page for Sigmachat
Version: 1.00, by ChurchMedia ChurchMedia is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-20-2004 Last Update: Never Installs: 3
 
No support by the author.

Add-on by ChurchMedia
Who's Chatting on Forum Home Page for Sigmachat

You must have the SigmaChat Complete Integration & Authentication hack installed first and be signed up with SigmaChat, of course.

This will add a "Who's Chatting" box on your forum home page.

Just like "Who's Online", if you click on "Who's Chatting" it will take you to a page with just the chatters.

If you are logged in, there is a link to the chat room. If you are not logged in, there is a link to register.

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Note that the problem of having a space in your user name is corrected. However, if the user name has an _underscore_ in it there may be problems.
To remove the feature that replaces underscores with spaces, remove this line (Line 57 in chat_home.php):

PHP Code:
$username str_replace("_"" ",$username); 
1 file change
1 new template
2 template changes

WARNING #1: This hack WILL speed up your Who's Chatting hits! If you seriously want Who's Chatting on your front page, keep in mind that you may have to buy extra hits! Otherwise, don't install this hack! I've found that it increased my chat room traffic dramatically, so I think it's worth buying the hits.

WARNING #2: When you do run out of Who's Chatting hits, your forum home page will break (you will get a blank page)! If this happens, in forum/index.php FIND
PHP Code:
include('chat_home.php'); 
and replace it with
PHP Code:
//include('chat_home.php'); 
Then buy more chat hits. When your upgrade goes through, remove the // from the line above to reactivate the hack.

Show Your Support

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

Comments
  #12  
Old 07-28-2004, 02:22 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea! I'd still need to do some new coding to make that happen. I'll be out for a few weeks, but I'll try to get back to it. Feel free to work on it if you like
Reply With Quote
  #13  
Old 07-28-2004, 02:50 AM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If someone is able to pull that off... I'm definitely interested!
Reply With Quote
  #14  
Old 07-28-2004, 06:57 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually have it running on my forum right now. I'll do some cleanup and upload the script + instructions.
Reply With Quote
  #15  
Old 07-28-2004, 07:27 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the refresh rate for updates tamarian?
Reply With Quote
  #16  
Old 07-28-2004, 07:33 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be up to you, as it's a cron job and can be set to any rate. I initially thought we could do once every 6 minutes, but SigmaChat gives less credit, so now I have it at once every 10 minutes.

Hey, I see you're in Ottawa, me too
Reply With Quote
  #17  
Old 07-28-2004, 07:38 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
It would be up to you, as it's a cron job and can be set to any rate. I initially thought we could do once every 6 minutes, but SigmaChat gives less credit, so now I have it at once every 10 minutes.
10 minutes is just about right however it won't account for anyone using the regular Who's Online module if that's also installed... or does this cron affect both?


Quote:
Originally Posted by tamarian
Hey, I see you're in Ottawa, me too
You betcha ... a true Bytown lad here for sure. :nervous:
Reply With Quote
  #18  
Old 07-28-2004, 07:45 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bryan Ex
10 minutes is just about right however it won't account for anyone using the regular Who's Online module if that's also installed... or does this cron affect both?
You wouldn't need the who's on line stuff, since this will cache the number of those in chat in one template, and a list of their member names in another template.

Of course, you can have both working if you want to, but there's no need.

Template #1 has something like this "Currently chatting: 3 members"

Template #2 has something like this "user1, user2, user3"

I put template #1 in the forum home stats box, and template #2 in the what's going on box.
Reply With Quote
  #19  
Old 08-16-2004, 12:05 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so any news on the cache/cronjob update?
Reply With Quote
  #20  
Old 08-16-2004, 03:14 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vissa
Ok so any news on the cache/cronjob update?
Well, I haven't had time to clean up. I'd be glad to post it as is here, instead of a full release, as it's quite "hacky" But it's been running on my forum for a while.
Reply With Quote
  #21  
Old 08-16-2004, 06:56 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
Well, I haven't had time to clean up. I'd be glad to post it as is here, instead of a full release, as it's quite "hacky" But it's been running on my forum for a while.
Post Away Please!
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 08:57 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.06096 seconds
  • Memory Usage 2,304KB
  • 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
  • (3)bbcode_php
  • (5)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
  • (2)pagenav_pagelink
  • (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