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
  #12  
Old 11-05-2004, 12:56 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, not working for me, gives parse errors. For what I can see there are three of these { and only two of these }
Reply With Quote
  #13  
Old 11-05-2004, 12:58 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, just fixed it, you're missing a closing brace.
Reply With Quote
  #14  
Old 11-05-2004, 01:13 PM
quasan quasan is offline
 
Join Date: Jan 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh hi! i am really amazed that someone uses this it's my first "mod"


so let's start over:

@ karlogaga: I will rewrite the instructions in the next release. sorry for that.
with forum.test.tld i ment that you just have to insert there the url of your forum. tld = topleveldomain... so if your forum is http://forum.test.com... insert the url in the script

if your location is at : http://www.test.com/forum, please do not use a trailing slash, so http://www.test.com/forum would be right and
http://www.test.com/forum/ would be wrong

<if condition="$chatter['count'] >0"> is a template condition for vbulletin..
for example you could write something like this:

Quote:
<if condition="$chatter['count'] >0">
in chat are: $chatter[usernames]
<else />
nobody is chatting right now
</if>
so when someone is in the chat you'll get the "in chat are + picture" and if no one is chatting there will be the output "nobody is chatting right now"



@FilmoreSlim yep, that will come next.

@thekeeper: where ? would be cool if you could tell me, so that I can update the file.

thx for your replies
Reply With Quote
  #15  
Old 11-05-2004, 01:26 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, fixed that and now nobody shows up in the box when I have them logged into chat.
Reply With Quote
  #16  
Old 11-05-2004, 01:28 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by quasan
@thekeeper: where ? would be cool if you could tell me, so that I can update the file.

thx for your replies
Just replace

Code:
// concatenate the temp stuff to > $chatusers
	$chatusers = $chatusers.$temp;

}; // End foreach
with

Code:
// concatenate the temp stuff to > $chatusers
	$chatusers = $chatusers.$temp;
}	
}; // End foreach
Reply With Quote
  #17  
Old 11-05-2004, 01:37 PM
karlogaga karlogaga is offline
 
Join Date: Aug 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Quasan: Hi, thanks for your answer! I'll try to install it, was working almost all day on the integration of the new version of flaschat in vb3, now it doesnt autologin anymore, what a bummer..

@Keeper: does it work now with your fixes?
Reply With Quote
  #18  
Old 11-05-2004, 01:39 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't give a parse error anymore, but the variable $chatter[usernames] is always blank.
Reply With Quote
  #19  
Old 11-05-2004, 01:53 PM
quasan quasan is offline
 
Join Date: Jan 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thekeeper: sorry i tripple and quad checked the amount of { and }

there are exactly 3 opening tags and 3 closing brackets.

the first closing } is after the do while loop

the second is

}; // End foreach

and the third: }; // End $count_chatter >0

please recheck this, because the amount of {} is right. I cannot explain where your parse error came from. what message came with the php debugger?

if you are not sure where the error is, please test the following.

open the http://forum.test.com/avatar_resize.php?u=USERID

with a user Userid where the user has a avatar.
for example:

http://forum.test.com/avatar_resize.php?u=1

it should show the resized avatar of the user
Reply With Quote
  #20  
Old 11-05-2004, 02:00 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, ignore me, I copied the code wrong, which is why it isn't working for me.
Reply With Quote
  #21  
Old 11-05-2004, 02:07 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works now, but the avatar function isn't quite right. People with avatars are showing up as the noavatar thing
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:59 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.15104 seconds
  • Memory Usage 2,307KB
  • 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
  • (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