Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #262  
Old 08-25-2010, 10:14 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

The mod has two xml files, hence asking which file you are trying to import.
Reply With Quote
  #263  
Old 08-26-2010, 12:43 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

odd my download only had one ..let me redownload and try again.
Reply With Quote
  #264  
Old 08-26-2010, 12:55 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry it is the flash chat intergration xml file. The other xml file i put in forums include file. I tried to go to import product and hit add and then get error.
Reply With Quote
  #265  
Old 08-26-2010, 01:25 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

odd i download it again and everything is fine. Thanks and love this mod. Paul if you have paypal i will donate to your cause ..just PM me info. Also is there a mod like this for 3.8 , if so which chat version will it work ?
Reply With Quote
  #266  
Old 08-26-2010, 11:09 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

Quote:
Originally Posted by mmoore5553 View Post
odd i download it again and everything is fine. Thanks and love this mod. Paul if you have paypal i will donate to your cause ..just PM me info.
Click on the "Support Developer" link - in the righthand block, main (first) post.



Quote:
Originally Posted by mmoore5553 View Post
Also is there a mod like this for 3.8 , if so which chat version will it work ?
There is a F/C 5 integration mod for 3.8, which should also work for F/C 6.
Reply With Quote
  #267  
Old 08-26-2010, 11:44 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much working great now. Also did a small donation.
Reply With Quote
  #268  
Old 09-06-2010, 10:03 PM
s810car s810car is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work on this as always, works fine for my site (although I'm gonna want to figure out a way to make links on the embedded page open up a different window so members don't log out by clicking to go to another section).

Just a curious question, maybe I didn't see it so excuse my error if incorrect, but being this is to integrate into VB4, why is there no setup for a navtab? Not an issue for me (I already made my own), but I'd suggest as a possible addition to the hack a optional navtab for a quick link (and visible, biggest issue I've heard on my site was no obvious link to chat before I added the navtab).
Reply With Quote
  #269  
Old 09-07-2010, 06:08 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

Not sure what you mean by a navtab ?
Reply With Quote
  #270  
Old 09-08-2010, 05:08 AM
s810car s810car is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Not sure what you mean by a navtab ?

sorry, im thinking of the vBulletin Suite setup, as shown on vbulletin.com's forum here (the bar here is seperate from the actual navbar, which would be right below)


Like I said, Not a huge thing if one knows how to add themselves, but as the chatroom is such an important part of a lot of the forums out there, I would think most that went with the Suite would use this on their Navtab setup
Reply With Quote
  #271  
Old 09-08-2010, 05:27 AM
s810car s810car is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its actually easier to even give a example code then explain: To add what I'm talking about (assuming you have the vBulletin Suite), you need to make two additional modifications

1. Under Style Manager, create a new template. I called mine "navbar_chat_navtab" simply so I could group it with the navbar templates. Heres example code to add to the template
HTML Code:
<vb:if condition="$vboptions['selectednavtab'] == 'chat'">

<li class="selected">
    <a class="navtab" href="misc.php?do=flashchat">Chat</a>
				<ul class="floatcontainer">
					{vb:raw template_hook.navbar_start}
					{vb:raw template_hook.navbar_after_getnew}
					<vb:if condition="$show['pmmainlink']">
						<li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">{vb:rawphrase private_messages}</a></li>
					</vb:if>
					{vb:raw template_hook.navbar_after_pm}
					<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase faq}</a></li>
					{vb:raw template_hook.navbar_after_faq}
				
					<li class="popupmenu">
						<a href="javascript://" class="popupctrl">{vb:rawphrase community}</a>
						<ul class="popupbody popuphover">
							{vb:raw template_hook.navbar_community_menu_start}
							<vb:if condition="$show['quick_links_groups']">
								<li><a href="group.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase social_groups}</a></li>
							</vb:if>
							<vb:if condition="$show['quick_links_albums']">
								<li><a href="album.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase pictures_and_albums}</a></li>
							</vb:if>
							<vb:if condition="$bbuserinfo['userid']">
								<li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist" target="_blank"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
							</vb:if>
							<vb:if condition="$show['memberslist']">
								<li><a href="memberlist.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase members_list}</a></li>
							</vb:if>
							{vb:raw template_hook.navbar_community_menu_end}
						</ul>
					</li>
					{vb:raw template_hook.navbar_after_community}
					<li class="popupmenu">
						<a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
						<ul class="popupbody popuphover">
							<li>
								<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread" target="_blank">{vb:rawphrase mark_forums_read}</a>
							</li>
                                                        <vb:if condition="$show['member']">
							<li>
								<a href="profile.php?{vb:raw session.sessionurl}do=editoptions" target="_blank">{vb:rawphrase edit_options}</a>
							</li>
							<li>
								<a href="profile.php?{vb:raw session.sessionurl}do=editprofile" target="_blank">{vb:rawphrase edit_your_details}</a>
							</li>
							</vb:if>
						</ul>
					</li>
					<li class="popupmenu">
						<a href="javascript://" class="popupctrl">{vb:rawphrase quick_links}</a>
						<ul class="popupbody popuphover">
							<li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">{vb:rawphrase subscribed_threads}</a></li>
							<li>
								<a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a>
							</li>
							<vb:if condition="$vboptions['forumleaders']">
							<li>
								<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">
		<vb:if condition="$vb_suite_installed">
			{vb:rawphrase view_site_leaders}
		<vb:else />
			{vb:rawphrase view_forum_leaders}
		</vb:if>
	</a>
							</li>
							</vb:if>
							{vb:raw template_hook.navbar_quick_links_menu_pos1}
							{vb:raw template_hook.navbar_quick_links_menu_pos2}

							{vb:raw template_hook.navbar_quick_links_menu_pos3}

							<vb:if condition="$show['wollink']">
								<li><a href="online.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase whos_online}</a></li>
							</vb:if>
							{vb:raw template_hook.navbar_quick_links_menu_pos4}
						</ul>
					</li>
					{vb:raw template_hook.navbar_end}
				</ul>
			</li>


<vb:else />
<li><a class="navtab" href="misc.php?do=flashchat">Chat</a></li>
</vb:if>
You'll notice I added the "target=_blank" option to all the link tags that weren't popups, that way it'll leave the chat open and open a different browser tab/window for the link, rather then make you logout (another option would be to open a chatroom thats not style integrated for example your-site/chat/flashchat.php, but that takes away from some of the purpose of this integration hack to begin with).

2. In Plugin Manager, add two plugins.
Under the cache_tamplates hook:
PHP Code:
$cache[] = 'navbar_chat_navtab'
Under the process_templates_complete hook:
PHP Code:
if ((THIS_SCRIPT === 'misc') AND $_REQUEST['do'] == 'flashchat'){
    
$vbulletin->options['selectednavtab'] = 'chat'
}
$template_hook['navtab_middle'] .= vB_Template::create('navbar_chat_navtab')->render(); 
That's pretty much it! here's mine as an example:
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 11:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04718 seconds
  • Memory Usage 2,344KB
  • 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_html
  • (2)bbcode_php
  • (3)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