Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Flashchat 6 Integration for vBulletin 4.x Details »»
Flashchat 6 Integration for vBulletin 4.x
Version: 4.1.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 4.x.x Rating:
Released: 12-24-2009 Last Update: 12-03-2010 Installs: 346
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This modification is no longer available or supported.

Note: I no longer use Flashchat, and development and support of it at Tufat appears to have died in 2010.


vBulletin 4.x Version

Please remember to click Mark as Installed if you use this modification.
Please fee free to nominate this modification for the MOTM, and/or use the donate link provided (Support Developer).

Flashchat 6 Integration with vBulletin 4.x.x
Flashchat 4 & Flashchat 5 are not supported by this Integration.

vBulletin 4.0.1 broke the automatic login of vb members into Flashchat, this is fixed in mod version 4.0.5 onwards.

Note:
Standard Flashchat includes vBulletin integration as part of the Tufat supplied files. However, the standard integration does not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Modification adds those features


Extra's added by this modification

* Direct login to a room.
* The WOL will correctly display Flashchat as the location (not 'Unknown Location')
* Flashchat can be displayed embedded inside a 'standard' vBulletin Page (i.e. not full screen).
* Direct Usergroup Integration - a section is added to each usergroup in the ACP Usergroup Manager to set the Flashchat permissions for that group.
* The plugin will automatically add a link to Flashchat in your Navbar Quick Links or Community Links - this feature can be disabled if you wish.
* The automatic link can have a prefix path defined - useful if you use something like vBA.
* You can define a usergroup to login as Flashchats "Spy" mode.


More notes:

* The automatic link feature may fail if you have customised templates (it uses template hooks).
* For Flashchat inside a vBulletin page you need to link to .../misc.php?do=flashchat
* This modification does not add any links to Flashchat Administration in the ACP.
* You can set all members to login direct to particular room via the ACP.
* You can also add a room parameter to the url - i.e. .../misc.php?do=flashchat&room=3
* Spys can login into the chat but are not listed in the room - they cannot chat, just watch.

Note: This modification is not Flashchat - you must obtain and install that first - this is just vBulletin / Flashchat Integration. You must also install Flashchat into a folder called 'chat' in your forum root folder i.e. (/forums/chat/) - this is the same folder as your usercp.php file and includes folder. This modification will fail if you do not do this.

Finally, I am not Tufat.com or Flashchat Support - if you have questions about Flashchat, their forums are here.

To use the this integration simply download and unzip the file, then follow the instructions in the text file. Once installed, the Flashchat userlevel options for each usergroup will appear in the ACP usergroup edit screens - editing of the CMS file will no longer be required.


Support

This modification is not supported.
Please check the instructions, and make sure you have uploaded any files to the correct location - the vast majority of problems reported are due to an error made in editing or uploading files.



History:

v4.0.1 : 25-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 26-Dec-2009 : Fix bug in CMS file for CSRF on profile pages.
v4.0.3 : 27-Dec-2009 : Fix bug when using admin message list + minor phrase changes.
v4.0.4 : 05-Jan-2010 : Minor display changes (not released).
v4.0.5 : 13-Jan-2010 : Fix broken autologin in vb 4.0.1 +
v4.0.6 : 26-Jan-2010 : Various updates.
v4.0.7 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.8 : 13-Jun-2010 : Added error message if Flashchat installation cannot be detected.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

Show Your Support

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

Comments
  #182  
Old 03-13-2010, 06:46 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marv View Post
Hi Paul,

I upgraded my site to 4.0.2. With that date the chat won?t work anymore and all users receive the info their Username or password would be wrong. Guess something is conflicting there.

Any chance to get this fixed with an update ? If you need access to my site, use the same account and login I?ve PM?ed in january.
Not sure if I will have kept them, but If I have I'll look when I get chance.
Reply With Quote
  #183  
Old 03-14-2010, 03:14 AM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if anyone can help me, but I am trying to edit the flashchat template so that if the user is not logged-in it displays a simple text string instead of a blank chat area. I have played around with template conditionals, but cannot seem to get it to work.

Basically, I need the proper code to check to see if they are logged-in from within the flashchat template. thanks in advance!
Reply With Quote
  #184  
Old 03-14-2010, 03:18 AM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by insidedesign View Post
Not sure if anyone can help me, but I am trying to edit the flashchat template so that if the user is not logged-in it displays a simple text string instead of a blank chat area. I have played around with template conditionals, but cannot seem to get it to work.

Basically, I need the proper code to check to see if they are logged-in from within the flashchat template. thanks in advance!
Figured it out. I simply looked at how other plug-ins were implementing template conditions.

Here is what I ended up with, within the flashchat template:
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:phrase flashchat_title}</title>
	{vb:raw headinclude_bottom}
</head>
	<body>
	{vb:raw header}
	{vb:raw navbar}
	<vb:if condition="$bbuserinfo['userid'] == 0">
		<p>Please login above to view the chatroom.</p>
	<vb:else />
		<!-- main -->
		<!-- $Id: Flashchat-vb-integration.xml,v 1.15 2010/03/12 01:04:10 pem Exp $ -->
		<div id="fci_div" class="block">
			<h2 align="center" class="blockhead">{vb:phrase flashchat_title}</h2>
			<iframe style="border: 0px" width="100%" height="{vb:raw fci.height}" src="{vb:raw fci.fcpath}/flashchat.php{vb:raw fci.room}"></iframe>
			<div class="blocksubhead" style="text-align: center;">{vb:phrase flashchat_title} &copy; {vb:raw fci.year}</div>
		</div>				
		<!-- /main -->
	</vb:if>
	{vb:raw footer}
</body>
</html>
Reply With Quote
  #185  
Old 03-14-2010, 06:15 AM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Not sure if I will have kept them, but If I have I'll look when I get chance.
Dropped you a copy of the last PM.
Reply With Quote
  #186  
Old 03-14-2010, 09:42 PM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am looking to change the directory name of the flashchat script. How will that effect the "Flashchat 6 Integration for vBulletin 4.0 plugin?
Reply With Quote
  #187  
Old 03-15-2010, 11:34 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will probably break something.
Reply With Quote
  #188  
Old 03-15-2010, 12:43 PM
TazDevilLooney TazDevilLooney is offline
 
Join Date: Jan 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi insidedesign,

Were do you put that lovely code you produced?
Reply With Quote
  #189  
Old 03-17-2010, 04:22 PM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
It will probably break something.
lol figured.
Reply With Quote
  #190  
Old 03-17-2010, 04:23 PM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by insidedesign View Post
Figured it out. I simply looked at how other plug-ins were implementing template conditions.

Here is what I ended up with, within the flashchat template:
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:phrase flashchat_title}</title>
	{vb:raw headinclude_bottom}
</head>
	<body>
	{vb:raw header}
	{vb:raw navbar}
	<vb:if condition="$bbuserinfo['userid'] == 0">
		<p>Please login above to view the chatroom.</p>
	<vb:else />
		<!-- main -->
		<!-- $Id: Flashchat-vb-integration.xml,v 1.15 2010/03/12 01:04:10 pem Exp $ -->
		<div id="fci_div" class="block">
			<h2 align="center" class="blockhead">{vb:phrase flashchat_title}</h2>
			<iframe style="border: 0px" width="100%" height="{vb:raw fci.height}" src="{vb:raw fci.fcpath}/flashchat.php{vb:raw fci.room}"></iframe>
			<div class="blocksubhead" style="text-align: center;">{vb:phrase flashchat_title} &copy; {vb:raw fci.year}</div>
		</div>				
		<!-- /main -->
	</vb:if>
	{vb:raw footer}
</body>
</html>
Quote:
Originally Posted by TazDevilLooney View Post
Hi insidedesign,

Were do you put that lovely code you produced?


Styles & Templates -> Style Manager -> Edit Templates for Default Style -> FlashChat
Reply With Quote
  #191  
Old 03-22-2010, 09:52 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=237490
can we make it popup
after login in forum
flash chat (chat room) can popup ?
if yes then how ?
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 09:40 AM.


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.09172 seconds
  • Memory Usage 2,309KB
  • 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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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