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

Reply
 
Thread Tools
Flashchat - who is online with showing the chatters avatars Details »»
Flashchat - who is online with showing the chatters avatars
Version: 1.00, by quasan quasan is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-01-2004 Last Update: Never Installs: 19
Is in Beta Stage  
No support by the author.

this is a beta release of a "who is online" mod for Flashchat

Version 0.2

What's new:
  • now working with prefixes for the database tables
  • now working with gif-avatars too
  • resize option (yes / no)
  • better image quality because of gdlib2

Features:
  • generate dynamically resized avatar-pics for the chatting users
    and displays them on the forumhome with the username and a link to their profile

issues/bugs/ todo:
  • if too many users are chatting, the tablerow grows and grows instead of breaking into a new tablerow (fixing it later)
  • doesn't show avatars when they aren't stored in the db(thekeeper)

note: you need the gdlib2

installation and upgrade information inside the .zip

Show Your Support

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

Comments
  #62  
Old 01-17-2005, 08:51 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting an error with this hack.

I have found that putting this hack in global.php rather than index.php I am getting more members using the Chat Room as they can see more easily who is in the chat room. Many of them only visit the index page once and then don't see it again until they log-out.

However, if I install the code into the global.php file then when someone is in the chat room the Who's Online Page doesn't work nor do a lot of the user profiles. THe pages instead return this error.

If you have any thoughts as to what might be causing this it would be appreciated.

Code:
Database error in vBulletin 3.0.5:
 
 Invalid SQL: 
 			SELECT userid, username, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
 			FROM user AS user
 			WHERE userid IN (0Array)
 		
 mysql error: Unknown column '0Array' in 'where clause'
 
 mysql error number: 1054
Reply With Quote
  #63  
Old 01-17-2005, 09:11 AM
Inzagi Inzagi is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi quasan,
does this hack also display the avatar in the chat itself or just in the index ?
Reply With Quote
  #64  
Old 01-18-2005, 02:36 AM
fringehead fringehead is offline
 
Join Date: Nov 2004
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get some errors when an upcomming even displays on the index page.

Warning: fopen(./appdata/appTime.txt): failed to open stream: No such file or directory in /FlashChat/inc/classes/chatServer.php on line 60

Warning: fwrite(): supplied argument is not a valid stream resource in /FlashChat/inc/classes/chatServer.php on line 61

Warning: fflush(): supplied argument is not a valid stream resource in /FlashChat/inc/classes/chatServer.php on line 63

Warning: fclose(): supplied argument is not a valid stream resource in /FlashChat/inc/classes/chatServer.php on line 64
sarcasticfringehead

Any idea?

Thanks

Sean
Reply With Quote
  #65  
Old 01-18-2005, 07:15 AM
PnL PnL is offline
 
Join Date: Dec 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to put this "Who's online" on every forum page? I tried inserting the code under FORUMDISPLAY but it doesn't show who's in flashchat
Reply With Quote
  #66  
Old 01-18-2005, 09:13 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PnL
Is there a way to put this "Who's online" on every forum page? I tried inserting the code under FORUMDISPLAY but it doesn't show who's in flashchat
I had worked it and and was putting the script in global.php, and the template changes in the navbar template. However, if someone is in the chat room then the script stops Who's Online and most member profiles from working. So I am waiting to hear back with a fix for the error and then it will be good to go.
Reply With Quote
  #67  
Old 01-22-2005, 04:04 AM
PnL PnL is offline
 
Join Date: Dec 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod but a request.

Is there a way to change the font size of the username that is showing up? I'd like to make it smaller than default and nothing I've tried seems to work.

Any suggestions?
Reply With Quote
  #68  
Old 01-26-2005, 12:29 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PnL
Great mod but a request.

Is there a way to change the font size of the username that is showing up? I'd like to make it smaller than default and nothing I've tried seems to work.

Any suggestions?
Find this in your edited index.php:
Code:
$temp.= "<a href=\"member.php?u=".$val."\">".$row_show_username['username']."</a>";
Replace with:
Code:
$temp.= "<div class=\"smallfont\"><a href=\"member.php?u=".$val."\">".$row_show_username['username']."</a></div>";
Worked fine for me.
Reply With Quote
  #69  
Old 01-26-2005, 01:33 PM
quasan quasan is offline
 
Join Date: Jan 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi guys,
i am so sorry that I didn't provide any updates in the past.
but there was a lot going on in my life

@fringehead
yo have to make the appdata dir writable to your server.
chmod it to 777

@Inzagi
just on the index. it's a hack for the vbulletin and not a hack of the chat itself

@all
i'll provide a new version the next days
Reply With Quote
  #70  
Old 02-09-2005, 08:24 PM
PnL PnL is offline
 
Join Date: Dec 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Craigr
Find this in your edited index.php:
Code:
$temp.= "<a href=\"member.php?u=".$val."\">".$row_show_username['username']."</a>";
Replace with:
Code:
$temp.= "<div class=\"smallfont\"><a href=\"member.php?u=".$val."\">".$row_show_username['username']."</a></div>";
Worked fine for me.

Thanks CraigR - worked like a charm!

Now if I could only figure out how to make the "Who's In Chat" show up on every page instead of the just the main forums page I'd be in business!!

quasan ..... is there a way to do this? I tried adding it to the display template but it doesn't show the users/avatars of those in chat. I think this would be a useful mod so you can always tell when someone is in the chatroom. Also useful to update the "Who's IN Chat" since people do not randomly refresh the main forum home page, but moving to a new forum/thread will automatically refresh the "Who's In Chat" if its available on each page. What d'ya think?

Paul
Reply With Quote
  #71  
Old 02-10-2005, 11:30 AM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PnL
Thanks CraigR - worked like a charm!

Now if I could only figure out how to make the "Who's In Chat" show up on every page instead of the just the main forums page I'd be in business!!

quasan ..... is there a way to do this? I tried adding it to the display template but it doesn't show the users/avatars of those in chat. I think this would be a useful mod so you can always tell when someone is in the chatroom. Also useful to update the "Who's IN Chat" since people do not randomly refresh the main forum home page, but moving to a new forum/thread will automatically refresh the "Who's In Chat" if its available on each page. What d'ya think?

Paul
Rather than putting the code in index.php you could put it in global.php then simply add the $chatter[usernames] part in a template that appears in all pages, such as header, footer, navbar. This way you will get the online users on every page.
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 10:51 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.12800 seconds
  • Memory Usage 2,316KB
  • 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
  • (5)bbcode_code
  • (4)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
  • (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