Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Mods for 3.6.x Thread, FlashChat Combo-Module v1.2 for vBadvanced in Mods; FlashChat Combo-Module v1.2 for vBadvancedFlashChat Combo-Module v1.2 for vBadvanced FLASHCHAT COMBO-MODULE FOR vBADVANCED WITH CHAT ROOMS DISPLAYED! Version-1.2 Tweaked by ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3963


Reply
LinkBack Thread Tools Display Modes
FlashChat Combo-Module v1.2 for vBadvanced
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
01-10-2008, 11:08 AM
 
FlashChat Combo-Module v1.2 for vBadvancedFlashChat Combo-Module v1.2 for vBadvanced


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

Tweaked by Yotsume

Last Updated: November, 23 2007
FlashChat Combo-Module for vBadvanced 3.7x is Here

###################################
# 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!



<DIV style="MARGIN: 5px 10px">Code:
<DIV class=smallfont style="MARGIN-BOTTOM: 2px">
PHP 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</B>:
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.

Attached Files
File Type: zip FlashChat Combo-Module v1.2 for vBadvanced.zip (53.1 KB, 6 views)
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Mods for 3.6.x Thread, FlashChat Combo-Module v1.2 for vBadvanced in Mods; FlashChat Combo-Module v1.2 for vBadvancedFlashChat Combo-Module v1.2 for vBadvanced FLASHCHAT COMBO-MODULE FOR vBADVANCED WITH CHAT ROOMS DISPLAYED! Version-1.2 Tweaked by ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3963


Bookmarks

Tags
combomodule, flashchat, v12, vbadvanced


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flashchat: Integration for vB 3.7 Developer Mods for 3.7.x 0 01-11-2008 11:05 PM
VIA Vinyl AC'97 Codec Combo Driver 7.0b (09/11/2007) Developer Software and Programs 0 26-10-2008 01:07 PM
Blog Comments vBAdvanced CMPS Developer Mods for 3.7.x 0 17-09-2008 12:35 AM
Tag Cloud in Forum Related & vbAdvanced Pages Developer Mods for 3.7.x 0 14-09-2008 02:16 AM
Flashchat: Integration for vB 3.7 Developer Mods for 3.7.x 0 07-09-2008 09:26 PM