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.5 Details »»
Flashchat Integration for vB 3.5
Version: 2.67, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.5.x Rating:
Released: 06-28-2005 Last Update: 12-07-2006 Installs: 706
 
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.5

Note:
The latest versions of Flashchat include my integration as part of the standard Tufat supplied files - including the vBulletin 3.5 CMS file.



vB 3.5 integration allows ;

* Authorised members to be automatically logged in.
* All non authorised members are locked out (both are based on usergroup membership).
* If enabled, the users location is now displayed in WOL (use the plugin to avoid "Unknown Location").
* The CMS file no longer requires your vb licence code to be entered.
* Automatic login now works even if a member has not ticked "remember me".

Also ;

* 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 in 4.5.0) (allows for Staff Rooms).


More notes:

* This integration is for Flashchat versions 4.7.0 upwards, support for versions prior to this has been withdrawn.
* If you use non standard usergroups you will need to edit the CMS file to give them permission to enter the chat.

[high]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.[/high]

Support: Please check any file edits carefully, and make sure you have uploaded any edited files to the correct location - the vast majority of problems reported are due to an error made in editing [or uploading] a file. 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 then look as soon as I have time.

Finally, I am not Tufat.com nor anything to do with the Flashchat product - if you have questions about Flashchat in general, their forums are here.


History:

2.53 - Support for customer role added.
2.54 - GetUser caching added.
2.55 - Lastactivity update added, caching altered to match main flashchat code.
2.56 - Support for 4.5.x photo feature added with choice of avatar or profile picture.
2.57 - Changes for local language translations. Session cookie cleared on logout.
2.58 - Security fix: Integrated login code altered to cut out the use of insecure userid cookie.
2.59 - GetUser caching re-enabled, Port fix added for pre 3.5 RC3 versions of config.php
2.60 - Added the ability to login direct to a room using ../chat/flashchat.php?username=_int_&room=n
2.61 - Changes to User and Role Caching.
2.62 - Minor fix to Get User for membergroupids.
2.63 - Security (anti-hacking) code added (as supplied by Darren).
2.64 - Usergroup settings moved to top of CMS file.
2.65 - Fixed error message when accessing chat admin area.
2.66 - Default role changed.
2.67 - Minor bug fix to Avatar detection, login code changes, tidy up.

Show Your Support

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

Comments
  #392  
Old 11-17-2005, 01:46 PM
I, Brian I, Brian is offline
 
Join Date: Jul 2003
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apologies if not understanding this correctly, but is this for a standaline vb 3.5.x install, or must it be part of a CMS install on top of vB 3.5.x??
Reply With Quote
  #393  
Old 11-17-2005, 04:51 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

This is for any installation of vb 3.5, any reference to CMS is flashchats way of referring to vbulletin.
Reply With Quote
  #394  
Old 11-17-2005, 08:56 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been fighting with Flashchat and my windows server for a long time now - finally, I get it to work, but I have a couple of quick questions (questions that I might be able to find if I read through all 27 pages of this thread, but I'm asking for someone to throw me a bone, please?)

I've uploaded the php file to the correct CMSES folder and also imported the plugin to vBulletin through the Add/Import product.

1) What does the plugin do exactly? After I've installed it, I still have to tell flashchat to log me in (by either clicking the auto-login button or entering my login info.) I'm running the latest flashchat at v4.4.2 and v3.5.1 of vB - am I missing something?

2) Shouldn't my users be able to login automatically? So if I create a menu item at http://forum.opiophile.org/chat - shouldn't they log in right from there, without having to enter in additional info?

Thanks for any help....
Reply With Quote
  #395  
Old 11-17-2005, 09:35 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

If you have to log in then you have an error in the integration somewhere.
Reply With Quote
  #396  
Old 11-17-2005, 09:43 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
If you have to log in then you have an error in the integration somewhere.
I'm not sure that gives me much to go on. How can I check if the integration went through or not? It looks as if my users are able to login and use the chat using the link below - is there something from the plugin that I'm missing? (what's the expected result of adding the plugin?)

It appears that I can create a menu item linking to http://forum.opiophile.org/chat/flashchat.php and I'm able to login with a click - this must be the way it's supposed to work? (Rather than going to /chat and expecting an auto-login?)

Thanks....!
Reply With Quote
  #397  
Old 11-17-2005, 10:07 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

Like the first post says ;

* Authorised members to be automatically logged in.
* Automatic login now works even if a member has not ticked "remember me".

If users are not automatically logged in then the integration is broken.

The plugin is purely for the WOL display, nothing else.

* If enabled, the users location is now displayed in WOL (use the plugin to avoid "Unknown Location").

When you installed flashchat you should have ticked the CMS integration box and then chosen vBulletin 3.5. If you did not do this then it is not integrated (and auto-login will not happen) You can easliy test this by logging in as any username you like, with any password you like.
Reply With Quote
  #398  
Old 11-17-2005, 10:11 PM
bi11i's Avatar
bi11i bi11i is offline
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Like the first post says ;

* Authorised members to be automatically logged in.
* Automatic login now works even if a member has not ticked "remember me".

If users are not automatically logged in then the integration is broken.

The plugin is purely for the WOL display, nothing else.

* If enabled, the users location is now displayed in WOL (use the plugin to avoid "Unknown Location").

When you installed flashchat you should have ticked the CMS integration box and then chosen vBulletin 3.5. If you did not do this then it is not integrated (and auto-login will not happen) You can easliy test this by logging in as any username you like, with any password you like.
What's does WOL mean? Wake on Lan?

Using the link I supplied above, users are logged in regardless of whether or not your plugin was enabled. In fact, all I did was go through the install process provided by Flashchat and then clicked './chat/flashchat.php' to auto-login. My problem was when I was simply going to ./chat (not adding the flashchat.php then asks for login information.)

I guess I'm more or less trying to figure out what you're plugin does...? I've modified my templates to auto-tick the remember-me box - so is that it?
Reply With Quote
  #399  
Old 11-17-2005, 10:35 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 bi11i
What's does WOL mean? Wake on Lan?
WOL = Who's OnLine (display)

Quote:
Originally Posted by bi11i
Using the link I supplied above, users are logged in regardless of whether or not your plugin was enabled.

I guess I'm more or less trying to figure out what you're plugin does...?
Like I just told you, the plugin is purely for the WOL display, nothing else.

Quote:
Originally Posted by bi11i
In fact, all I did was go through the install process provided by Flashchat and then clicked './chat/flashchat.php' to auto-login.
Yes, that is the correct path for autologin, I'm a bit confused by your statements, are you saying that does autologin, or doesn't ?

Quote:
Originally Posted by bi11i
My problem was when I was simply going to ./chat (not adding the flashchat.php then asks for login information.)
That's not a problem, that's by design. That page is supposed to show a login screen. You would not normally link to it.
Reply With Quote
  #400  
Old 11-19-2005, 11:00 AM
dc3dreamer dc3dreamer is offline
 
Join Date: Oct 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All is well here, except the "Live Support" mode of FlashChat is not working. I have done everyting right per the FlashChat instructions. I think the CMS file is missing something about "customer roles" whatever that is. ... ??? I am using your VBulletin35CMS.php file. But I see others are having problems with the one that comes with FlashChat. So maybe you're not the right person to ask?

A suggestion for others: Edit config.php to cause a logout from FlashChat to return you directly to your VB forum home page instead of displaying the login box (comments removed):

//---
//Logout behavior
'logout' => array(
'close' => true,
'redirect' => true,
'url' => 'http://xxx.yyy.com/forum/index.php',
'window' => '_self',
),
Reply With Quote
  #401  
Old 11-19-2005, 11:24 AM
Harry72's Avatar
Harry72 Harry72 is offline
 
Join Date: May 2004
Location: Germany, Bavaria
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm... i have no problems with this integration. Works great on our board. :nervous:
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 07:39 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.05304 seconds
  • Memory Usage 2,325KB
  • 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
  • (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
  • (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