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

Reply
 
Thread Tools
Flashchat Integration for vB 3.6 Details »»
Flashchat Integration for vB 3.6
Version: 3.57, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.x Rating:
Released: 07-10-2006 Last Update: 05-05-2008 Installs: 1022
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.6

Note:
Standard Flashchat includes a version of my vBulletin integration as part of the Tufat supplied files - including a working vBulletin 3.6 CMS file. However, the standard files do not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Integration Mod adds those features


Standard vB 3.6 integration features

* Authorised members are automatically logged in.
* Automatic login works even if a member has not ticked "remember me".
* All non authorised members are locked out (this and the above are based on usergroup membership).
* If enabled, Flashchat updates the users session location (displayed in various vBulletin online location displays such as WOL).
* Real ip detection when a proxy server is used (only if the proxy server passes on the details).
* Permanant, Private Rooms are loaded by Admins and Moderators (allows for Staff Rooms).

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 try to automatically add a link to Flashchat in your Quick Links or Navbar - this feature can be disabled if you wish.
* The automatic link can have a prefix path defined - useful if you use something like CMPS.


More notes:

* This integration is for Flashchat versions 4.7.x and above.
* The automatic link feature may fail if you have customised templates.
* 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
* 3.56 onwards has extra code to cope with VBs CSRF protection, which interferes with profile linking (vb 3.6.10+).

The CMS file assumes that you are installing Flashchat in your forum root folder - this is the same folder as your usercp.php file and includes folder. Installation will fail if you do not do this.

Support: 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. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user, and ftp access details, without these I cannot help you. I will look when I have time.

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


To use the this upgraded 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.



History:

v3.01 : First version for vb 3.6 (not released).
v3.02 : Various code changes, first public release.
v3.02A : Minor bug fixes to WOL Display.
v3.02B : Dependancies updated for 3.6.0 Gold.
v3.03 : Minor fix to Get User for membergroupids, some SQL changes.
v3.03A : Updated for Version Checking.
v3.04 : Security (anti-hacking) code added (as supplied by Darren).
v3.05 : Usergroup settings moved to top of CMS file.
v3.06 : Fixed error message when accessing chat admin area.
v3.07 : Default role changed.
v3.08 : Minor bug fix to Avatar detection, login code changes, tidy up.

v3.50 : Beta release with direct usergroup integration.
v3.51 : First full release with direct usergroup integration.
v3.52 : No Access and Banned split into separate permissions.
v3.53 : Minor changes - includes disabling the utf8 functions if the F/C config option is false.
v3.53A : Internal updates, not released.
v3.53B : Internal updates, not released.
v3.53C : Add ability for member to do direct to a room (other than the Flashchat default).
v3.53D : Defaults on first install updated.
v3.54 : Option for link path prefix added.
v3.55 : Minor changes to install code only.
v3.56 : Code added to allow profile views when CSRF protection is active.
v3.57 : CSRF Code changed.

Show Your Support

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

Comments
  #252  
Old 10-10-2006, 05:02 PM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this just gets stranger and stranger...

To install the newer v4.73 of FlashChat I followed their docs and they recommended renaming the current CHAT directory to something else, then installing the new version into a CHAT directory. That way if something went wrong, it would be easy to swap back over to the one you knew ran.

As such, I had renamed my original install to chat_v462 and then uploaded the CHAT directory just as directed. On my first install, everything when just perfectly.

Then admist all this, I re-uploaded the install.php file and install_files directory (since I had deleted them upon completion) and re-ran the install. Everything worked just like it did the first time, and I can get into FlashChat again...but it's version 4.62, not v4.73?! WHERE did that come from? No idea, so I deleted everything and reinstalled again. v4.62 installed and works alright, once again. I deleted everything this time, my old v4.62 directory, my new CHAT directory, everything. Tried again, and low & behold v4.62 is what's installed.

I'm using SmartFTP and thought I just didn't understand how it worked, so looked in the options and made sure it was set to overwrite ANYthing that existed. Deleted everything once again, and then re-uploaded the CHAT folder to the server, ran the install, worked fine, and yet I ended up with v4.62 yet again!? Arrrgggghhh! I'm SURE I'm uploading the v4.73 files, so somehow I must have some old files remaining on the server. How do you surely get rid of any existing files on a server in a case like this??
Reply With Quote
  #253  
Old 10-11-2006, 12:42 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

Delete them.

The version number is taken from the config file, are you sure you are not using an old config file ?

Also, I'm not sure this is really relevant to this modification, and therefore not the best place to be discussing this.
Reply With Quote
  #254  
Old 10-11-2006, 04:44 AM
NeitherSparky's Avatar
NeitherSparky NeitherSparky is offline
 
Join Date: Aug 2006
Location: Sacramento, CA
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adwade
I edited the copy that came with FlashChat on my local HD and then FTP'd it up to my site. In doing so, I'm guessing I've overwritten the 'good' file that was left there by the FlashChat install process.:tired:
Just so you don't feel alone, I did the same thing once when I wanted to update my config file. Not knowing what else to do, I had to reinstall everything.

We all live and learn.
Reply With Quote
  #255  
Old 10-11-2006, 04:56 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
The version number is taken from the config file, are you sure you are not using an old config file ?
Bingo, We have a winner! You are EXACTLY right Paul.(see below) Thanxx!

Code:
'version'         => '4.6.2', //architecture release . feature release . patch release
Quote:
Also, I'm not sure this is really relevant to this modification, and therefore not the best place to be discussing this.
Understand, sorry about this getting offtrack from your MOD, but maybe it'll help others who ever come up against the same issue.
Reply With Quote
  #256  
Old 10-14-2006, 03:17 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeutralizeR
Actually it's possible to show DHTML menus over flashchat but this time you can't send messages by pressing the enter button. Still testing alternative solutions...
Thanks NeutralizeR....I'll check in at times to see if you or anyone else has a fix for this.

Mark
Reply With Quote
  #257  
Old 10-14-2006, 03:52 PM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
What did you edit ?
Paul,

Sorry for the delay in responding.

I don't get much of a chance on the weekdays to do much, so I have to reply on weekends.

In response to my issue in post #242

You asked hat i edited to try and make the page open in a new window.

Well since i could not find the edits in the navbar, and you said it's added "on the fly" my old other step was to edit the xml you created.

Code:
<plugins>
		<plugin active="1" executionorder="5">
			<title>FlashChat Integration (1)</title>
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[$search_text = '$vbphrase[open_buddy_list]</a></td></tr>';
$add_text = '<tr><td class=\"vbmenu_option\"><a href=\"misc.php?do=flashchat\">$vbphrase[flashchat]</a></td></tr>';
$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$add_text,$vbulletin->templatecache['navbar']);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>FlashChat Integration (2)</title>
			<hookname>online_location_process</hookname>
			<phpcode><![CDATA[if ($filename == 'getxml.php')
{
	$userinfo['activity'] = 'flashchat';
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>FlashChat Integration (3)</title>
			<hookname>online_location_unknown</hookname>
			<phpcode><![CDATA[if ($userinfo['activity'] == 'flashchat')
{
	$handled = true;
	$userinfo['action'] = $vbphrase['in_flashchat'];
	$userinfo['where'] = '<a href="misc.php?do=flashchat" TARGET="_blank">'.$vbulletin->options['bburl'].'/misc.php?do=flashchat</a>';
}]]></phpcode>
		</plugin>
I tried the second green highlighted area, which helped the Who's online area, and I know the first green section is probably the Quick links area, but adding the target="_blank" to that gives me a syntax error on the main page.

thanks again for trying to help me out.
Reply With Quote
  #258  
Old 10-17-2006, 03:54 PM
txsbmw txsbmw is offline
 
Join Date: May 2006
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is in regards to * For Flashchat inside a vb page

OK I have a question, I installed Flashchat then this Mod and they are working great together. I.E. no asking to log in twice, etc... that most seem to be having BUT..... It will not let me change rooms or even type anything if I use the embedded link (i.e. .../misc.php?do=flashchat) however I also have a custom link added to the Navbar of the non embedded link (i.e. .../chat/flashchat.php) as this is the only way we can use it at this point and the chat room works fine there. On the embedded link all I can do is Add a room, change options, and click on members names to PM them, view profile, etc, I just can't change rooms or type any messages into the chat room.... Any idea what is going on?
Reply With Quote
  #259  
Old 10-20-2006, 09:16 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you HAVE to have the CMS to use this integration? I Just have a normal forum and would like to insert a link in my navbar to it. Thanks
Reply With Quote
  #260  
Old 10-22-2006, 04:43 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you integrate WITHOUT using a CMS and just a normal forum?
Reply With Quote
  #261  
Old 10-22-2006, 06:10 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

Just follow the instructions in the zip file.
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 01:27 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.04699 seconds
  • Memory Usage 2,331KB
  • 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
  • (5)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
  • (3)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