Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
FlashChat Combo-Module v1.2 for vBadvanced Details »»
FlashChat Combo-Module v1.2 for vBadvanced
Version: 1.2, by yotsume yotsume is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.7.x Rating:
Released: 02-28-2008 Last Update: 03-12-2008 Installs: 42
Template Edits
Additional Files  
No support by the author.

FLASHCHAT COMBO-MODULE FOR vBADVANCED
WITH CHAT ROOMS DISPLAYED!
Version-1.2

Tweaked by Yotsume

Last Updated: March, 2nd 2008
(Works on 3.7x and 3.6x)

###################################
# FLASHCHAT COMBO-MODULE 1.1 Changelog #
###################################
- Some minor code clean up.
- Added clear code labels to each section of the code. (for future developments)

###################################
# FLASHCHAT COMBO-MODULE 1.2 Changelog #
###################################

- Added instructions on how to include a link to FlashChat Admin in Quick Moderation block.
- Added new zip with a tweaked version of whochat.php which has be reported to address some issues when trying to install my mod on vBulletin 3.6x

Flashchat 5x: Not Compatible Yet

My mod currently does not work with Flashchat 5x. My mod uses Paul M's whochat.php. I have asked for his help in upgrading my mod to be compatible. My mod works with all versions of Flashchat 4x.

DESCRIPTION:

This is a module that contains a combination of code from several hacks all in one place to make a more complete FlashChat module for vbAdvanced. It works with the latest versions of FlashChat, vBulletin and vBadvanced. Also, optionally there are instructions for adding a module with link to your FlashChat Admin page in the zip file.

INSTALL TIME: (2-5 Minutes Max)
The install is very easy and takes 2-5 minutes max. Follow the simple instructions step by step to insure you input your information correctly.

REQUIREMENTS:
You must have: vBulletin, vBadvanced, and FlashChat installed.


FLASHCHAT COMBO-MODULE WILL DISPLAY: (see included screenshot)
  1. Total number of how many people are in the chat.
  2. List of usernames of the people in chat with links to their profiles.
  3. The names of your chat rooms with a head count per room.
  4. The names of the people in chat listed under each chat room.
  5. A link to join the chat.
  6. If no one is in the chat a customizable message is displayed.

INSTALLATION INSTRUCTIONS:
  1. Upload the whochat.php file into your modules directory.
  2. Next, you must create a new template.
  3. Go to: >Admin >Styles & Templates >Style Manager >Add New Template
  4. Title of the new template needs to be: adv_portal_whochat
  5. You must replace the url in the code below to point to your flashchat.php file.
  6. Copy the below code into the template area:
  7. Next, add a new PHP file module in your vBa CMPS with the following settings:
Title: Who's Chatting!
File to include: whochat.php
Identifier: whochat
Templates used: whochat
....8. Tweak the module's permissions and click save. Your module should be active now!


Code:
<!-- flashchat userlist -->
<tr><td class="thead"><span class="smallfont">Members In Chat: $totalchatters</span></td></tr>
<tr><td class="$bgclass"><span class="smallfont">$chatters</span></td></tr>
<!-- end flashchat userlist -->

<!-- flashchat rooms and users -->
<tbody><tr>
<td class="alt2" colspan="2">
<iframe frameborder="0" height="180" src="http://www.your_domain_here.com/chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe></td></tr>
</tbody>
<!-- end flashchat rooms and users -->

<!-- chat link -->
<tr><td class="alt2">
<span class="smallfont"> <a href="http://www.your_domain_here.com/chat/flashchat.php" target="_blank" rel="nofollow" linkindex="51" set="yes"><u>Join the Chat!</u></a></span></td></tr>
<!-- end chat link -->


HEIGHT ADJUSTMENT NOTE
:
You can adjust the height of the block by changing the value of: height="180" in the above code. Be aware that vbAdvanced blocks are fixed dimensions. So if you have many room names or many users in chat the text will run out the bottom of the block and not be visible. This is why I have the height set at "180" as a default. Adjust this value to fit the needs of your site.

############
# Future Plans #
############
- For version 2.0 of this module I plan to implement some kind of chat invitation system that will immediately notify other chosen members that you wish for them to enter the chat. A invitation window of some kind will appear containing the chat link. It would be nice if a sound would play to help alert them as well.
- In version 1x the module does not collapse fully. Rather just the members list collapses which is either a code mistake or a cool feature depending on your perspective. If you have many users in the chat having just the members list collapse might be a cool feature to leave in.
- I plan to combine into this module a link to the FlashChat Admin page and eliminate the need for a second module for that link. It needs to be coded so that only Admins can see that link.

FlashChat Admin Link in Quick Moderation Block
Here is a simple way to include a link to FlashChats Admin page inside the Quick Moderation block. I decided to put a link to the chat admin there because I have that block set so only Admins can see it. So it helps to keep the link to the chat admin secure.

Instructions:
How to add FlashChat Admin Link to Quick Moderation Block:
  1. Go to >admincp >Styles & Templates >Edit Templates
  2. Click on vBadvanced CMPS Templates >adv_portal_moderation
  3. Find the last instance of: </td> </tr> and before it add the below link code: <a href="/forum/chat/admin/index.php" TARGET=_BLANK>Chat Admin</a></td>
  4. Be sure to replace the correct path to your chat's index.php in the above link.
  5. Save the template and your done!
  6. See attached screenshot of the Quick Moderation block with chat admin link.

Show Your Support

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

Comments
  #12  
Old 04-27-2008, 01:58 PM
pHluid13's Avatar
pHluid13 pHluid13 is offline
 
Join Date: Feb 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There must be a way to not have the height so fixed. The previous module I had auto-resized itself. If you use this code in your adv_portal_whochat template, you will see that this works:

PHP Code:
<tr>
 <
td class="thead"><span class="smallfont">Currently Active Chatters$totalchatters</span></td>
</
tr>
<
tr>
 <
td class="$bgclass"><span class="smallfont">$chatters</span></td>
</
tr
So there must be a way to make this module autoresize. I'm not a big fan of the long module block on my front page, however, I like how this block looks over the other one that this is based off of.
Reply With Quote
  #13  
Old 04-28-2008, 07:22 AM
LorraineMc LorraineMc is offline
 
Join Date: Mar 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod!.....and most of all love how easy it was to install.
Any chance the "future plans" will be updated soon to include the chat invitation? This would be a super inclusion to this mod. I am looking forward to the "future plans" update....
Thank you again for a super mod....
Reply With Quote
  #14  
Old 05-01-2008, 02:19 PM
KuJoe KuJoe is offline
 
Join Date: May 2006
Location: Florida
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure what I'm doing wrong, followed the instructions and getting an internal error 500, I disable the module and my site works again. Removed and reinstalled 2 more times with same results. I'm probably missing something obvious.

EDIT: Nevermind, I don't remember reading to change anything in the whochat.php but I did and it's working not.
Reply With Quote
  #15  
Old 05-29-2008, 06:49 AM
yunie_ yunie_ is offline
 
Join Date: Mar 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i have this mod included in my forum display as well?
Reply With Quote
  #16  
Old 05-29-2008, 06:51 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is only for showing the chat information on the vBadvanced CMPS.
Reply With Quote
  #17  
Old 06-19-2008, 04:08 AM
TOMC28 TOMC28 is offline
 
Join Date: Dec 2006
Location: Midwest
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I want to confirm that this mod specifically allows for me to have a "Module" within my vBadvanced Index Page....which would display who's in the FlashChat, and what rooms they are in.

If so.....
THIS IS EXACTLY WHAT I WAS SEEKING!

And regarding your future plans....I will DONATE right now to be able to INVITE others into a chat!

Finally. Are you guys aware of the ability to go into FlashChat, then pop-in-and-out into the forums without having to go back in thru auto-or-manual log-in back into the Flash Chat?
Reply With Quote
  #18  
Old 06-19-2008, 07:55 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TOMC28 View Post
Hi. I want to confirm that this mod specifically allows for me to have a "Module" within my vBadvanced Index Page....which would display who's in the FlashChat, and what rooms they are in.
Well, I can not make my description any clearer and screenshots. My MOD makes a block on the vBadvanced homepage that does what it says.

Quote:
I will DONATE right now to be able to INVITE others into a chat!
This still remains in the future...

Quote:
Finally. Are you guys aware of the ability to go into FlashChat, then pop-in-and-out into the forums without having to go back in thru auto-or-manual log-in back into the Flash Chat?
Yea I am pretty sure I am aware of this because my MOD allows you to be in the forum and in chat and never have to leave. You just switch windows back and forth is all. My MOD is set to open in a new window. This is the best way to remain in chat and browse/use the forum at the same time.

If you like and use my MOD click install and vote.
Reply With Quote
  #19  
Old 06-29-2008, 04:17 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job on this one! Thank you for the very clearly written directions. I appreciate you taking the time to list each step individually.

Can't wait for the invitation piece of it! That would be wonderful!
Reply With Quote
  #20  
Old 06-29-2008, 04:25 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArnyVee View Post
Great job on this one! Thank you for the very clearly written directions. I appreciate you taking the time to list each step individually.

Can't wait for the invitation piece of it! That would be wonderful!
Your welcome! I think there should be rules on how to write directions. In a few weeks there should be a new version out... stay tuned!
Reply With Quote
  #21  
Old 07-22-2008, 02:01 PM
redg8r redg8r is offline
 
Join Date: May 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Nice plugin, but wanted to note that there is a conflict when using this CMPS module along with PhotoPlog Pro.

For some reason when the "Whos Chatting" module is activated on a CMPS page, it creates an error when clicking the navbar link to the photoplog gallery.

This may or may not be an issue with photoplog itself.

The error in the photoplog gallery references to trying to load "whochat.php" which seems to be the one file unsupported here.

Works great otherwise, thanks for that, unfortunately have to uninstall.
Reply With Quote
Reply

Thread Tools

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:42 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.08061 seconds
  • Memory Usage 2,320KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (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