vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Flashchat Integration for vB 3.5 (https://vborg.vbsupport.ru/showthread.php?t=91278)

Paul M 06-28-2005 10:00 PM

Flashchat Integration for vB 3.5
 
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.

Alzeimer 06-29-2005 01:51 AM

There“s a new version of Flashchat, is this compatible with the new version?
Thanks

waza 06-29-2005 06:10 AM

I think so, as there are only some small bug fixes in the 4.0.10.

Allan 06-29-2005 07:10 AM

screen please :)

Paul M 06-29-2005 10:23 AM

Quote:

Originally Posted by Alzeimer
There?s a new version of Flashchat, is this compatible with the new version?
Thanks

Sorry, but I don't understand why you ask this - how much clearer can I make it ?

Quote:

This makes the changes to integrate the current Flashchat (4.0.10) with vB 3.5.0 Beta
Quote:

Note 2: This integration is for Flashchat versions 4.0.9 onwards

Khent 06-29-2005 03:00 PM

Question.

My integration with FlashChat doesn't seem to be working, and I think it might be because of the variable name changes in vBulletin 3.5's config file. So I'm wondering, did you make any changes to FlashChat's vbulletinCMS2.php file besides just entering a license number in?

The problem that I'm experiencing is when I try to load FlashChat, the loading screen does appear to load successfully, but when it redirects to the actual chatroom, nothing but a background shows up.

Paul M 06-29-2005 03:10 PM

Quote:

Originally Posted by Khent
Question.

My integration with FlashChat doesn't seem to be working, and I think it might be because of the variable name changes in vBulletin 3.5's config file. So I'm wondering, did you make any changes to FlashChat's vbulletinCMS2.php file besides just entering a license number in?

Yes, the CMS2 file will fail - might I suggest you download and read/implement the instructions. :)

Khent 06-29-2005 03:38 PM

Doh! My apologies. I'm usually not as ditsy as that.

Update:
Bravo! The integration instructions were flawless. Thanks.

Roxie 06-30-2005 07:16 PM

Works great except I can't get it to recognize admin or mods. The groups are set correctly in the CMS file...hmmm

Paul M 06-30-2005 10:35 PM

Quote:

Originally Posted by Roxie
Works great except I can't get it to recognize admin or mods. The groups are set correctly in the CMS file...hmmm

That's because it hasn't worked. :)

Make sure you have done all the file edits, to the correct Flashchat files, and uploaded them (it's amazing how many people edit the files locally, and never transfer them .....).

One more thing - which I must add to the instructions - remember to put your vb licence number in the vbulletin35CMS file.

.Tim 07-01-2005 12:39 AM

I tried to install this and was unable to get passed stepped two and after reading the flashchat board and site I started to wonder, if it would work if my forum is installed in the root of my site. I posted at the flashchat board but their site appears to not be working last time I checked. So, I guess I'll ask here, if my forum is at www.mysite.com and flashchat is installed in www.mysite.com/chat/ will that work?

Paul M 07-01-2005 01:32 AM

Sorry, I don't follow why you cannot get past Step 2 - the first five steps are file edits, steps 2 & 3 edit the same file !

FYI : It doesn't really matter where the chat is installed, relative to the forum, as long as the [relative] path to the vB config file is set correctly in the CMS file. By default, it assumes that the /chat folder is in the same parent folder as /includes /admincp etc, which it appears to be in your case.

.Tim 07-01-2005 01:54 AM

Quote:

Originally Posted by Paul M
Sorry, I don't follow why you cannot get past Step 2 - the first five steps are file edits, steps 2 & 3 edit the same file !

FYI : It doesn't really matter where the chat is installed, relative to the forum, as long as the [relative] path to the vB config file is set correctly in the CMS file. By default, it assumes that the /chat folder is in the same parent folder as /includes /admincp etc, which it appears to be in your case.

Oh sorry, I meant step 2 of the actual flashchat install. Not the hack install.

Oh okay, well I guess I'll mess around with it some more. Thanks.

Paul M 07-01-2005 02:03 AM

Quote:

Originally Posted by .Tim
Oh sorry, I meant step 2 of the actual flashchat install. Not the hack install.

Oh, okay. :) I have no idea what the install steps are off the top of my head. The tufat site appears to be off the air atm ....

Quote:

TUFaT.com (Darren's $5 Script Archive) is temporarily down due to a serious hardware failure (the primary hard drive had bad sectors). It's being fixed now and should be up by morning of July 1, 2005
eeek !

Roxie 07-01-2005 02:13 AM

Quote:

Originally Posted by Paul M
That's because it hasn't worked. :)

Make sure you have done all the file edits, to the correct Flashchat files, and uploaded them (it's amazing how many people edit the files locally, and never transfer them .....).

One more thing - which I must add to the instructions - remember to put your vb licence number in the vbulletin35CMS file.


*sigh* I don't know then. I've done the edits 3 different times. :( (and uploaded..lol)

Roxie 07-01-2005 02:14 AM

Quote:

Originally Posted by .Tim
Oh sorry, I meant step 2 of the actual flashchat install. Not the hack install.

Oh okay, well I guess I'll mess around with it some more. Thanks.

Step 2 is where you pick which CMS you are going to install. I suppose you should pick vbulletin 3.07..but I've got my own issues...sooo....lol :ermm:

.Tim 07-01-2005 03:19 AM

Quote:

Originally Posted by Roxie
Step 2 is where you pick which CMS you are going to install. I suppose you should pick vbulletin 3.07..but I've got my own issues...sooo....lol :ermm:

I do that and then it tells me there's no license number in the vbulletincms2.php file. But I put it in there and it doesn't work. :ermm:

Paul M 07-01-2005 04:45 AM

Quote:

Originally Posted by Roxie
*sigh* I don't know then. I've done the edits 3 different times. :( (and uploaded..lol)

Then I can't help you further without access to your server to see what is happening.

Paul M 07-01-2005 04:56 AM

Quote:

Originally Posted by .Tim
I do that and then it tells me there's no license number in the vbulletincms2.php file. But I put it in there and it doesn't work. :ermm:

There is no code to check this, perhaps you are mis-interpreting the note to remind you to add your licence number ...

Quote:

vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php

Roxie 07-01-2005 02:14 PM

Quote:

Originally Posted by Paul M
Then I can't help you further without access to your server to see what is happening.

Guess I'll just keep trying. There hasn't been a working hack that I haven't been able to install..lol. :ermm:

.Tim 07-01-2005 08:01 PM

Quote:

Originally Posted by Paul M
There is no code to check this, perhaps you are mis-interpreting the note to remind you to add your licence number ...

Here's the message I get:

Quote:

FlashChat 4.0.11 Installer
Step 2: Database Configuration
The FlashChat installer needs some information about your database to finish the installation. If you do not know this information, then please contact your website host or administrator. Please note that this is probably NOT the same as your FTP login information!

You have indicated that you wish to integrate FlashChat with vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php. Please refer to the full integration instructions located in the TUFaT.com Wiki. There are additional steps to complete after this installer is finished.

Configuration Error!

FlashChat was unable to detect your MySQL login setting from the vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php configuration file. You must correct this before FlashChat can finish its installation. Please refer to the integration Instructions in the TUFaT.com Wiki to ensure that the FlashChat files were correctly uploaded to your server.

Possible Reasons for this error may include:

1) FlashChat was uploaded to an incorrect server location.
2) The CMS system that you are using is unsupported by FlashChat.
3) Your server has incompatible settings which may have been undetected in Step 1 of the FlashChat installer. For example, specific security restrictions which are not typical of most PHP/MySQL setups.

Roxie 07-01-2005 08:04 PM

Check to make sure the CMS is in the config file.

.Tim 07-01-2005 08:55 PM

Quote:

Originally Posted by Roxie
Check to make sure the CMS is in the config file.

You mean this?

Code:

//your CMS system
                'CMSsystem' => 'vbulletinCMS2',// defaultCMS - default CMS, blank - stateless CMS

If so it's already there.

Paul M 07-01-2005 10:26 PM

Quote:

Originally Posted by .Tim
Here's the message I get:

That message is a load of bull, The licence code is only required for checking users passwords as they login.

What it actually means is it can't find your vbulletin config.php file to get the mysql details.


At the top of the CMS2 file is this ;

PHP Code:

require_once $vbpath '/includes/config.php'

Change it to this for a moment and see what path is displayed ;

PHP Code:

echo $vbpath; exit; 


.Tim 07-03-2005 04:04 PM

Quote:

Originally Posted by Paul M
That message is a load of bull, The licence code is only required for checking users passwords as they login.

What it actually means is it can't find your vbulletin config.php file to get the mysql details.


At the top of the CMS2 file is this ;

PHP Code:

require_once $vbpath '/includes/config.php'

Change it to this for a moment and see what path is displayed ;

PHP Code:

echo $vbpath; exit; 


I forgot to check this thread again and I came up with another fix, I just copied everything from the vbulletin35CMS to the vbulletinCMS2 and was able to install and now it's working just fine. Thanks for your help though. :D

Paul M 07-03-2005 06:59 PM

Quote:

Originally Posted by .Tim
I forgot to check this thread again and I came up with another fix, I just copied everything from the vbulletin35CMS to the vbulletinCMS2 and was able to install and now it's working just fine. Thanks for your help though. :D

Did you do step 5 of the installation instructions. :)

.Tim 07-03-2005 07:27 PM

Yeah, it's all working good now.

Paul M 07-03-2005 09:37 PM

Quote:

Originally Posted by .Tim
Yeah, it's all working good now.

Good. :)

euca 07-05-2005 05:36 AM

I'm using UTF8 version of vbb3.5, and if userid is non-English (i.e. Chinese),
the id cannot be displayed correctly.

After I marked out line 91 & 92:
PHP Code:

//      else
//        $rec['login'] = utf8_encode($rec['login']); 

The non-English user names display correctly.
For your references. ;)

Paul M 07-08-2005 08:54 PM

Quote:

Originally Posted by euca
I'm using UTF8 version of vbb3.5, and if userid is non-English (i.e. Chinese),
the id cannot be displayed correctly.

After I marked out line 91 & 92:
PHP Code:

//      else
//        $rec['login'] = utf8_encode($rec['login']); 

The non-English user names display correctly.
For your references. ;)

Thank you (this is in the CMS file for anyone who needs it).


FYI: Hack updated to 2.05 (for the release of Flashchat 4.0.12).

paul41598 07-13-2005 11:04 AM

does anyone know why that if your in flashchat, your board runs sloooow. Its like you cant be in flashchat and on your forums at the same time, otherwise your internet seems like a 56k or something. Then once you log out of flashchat, your forums fly when you maneuver around them? Weird...

Roxie 07-13-2005 11:15 PM

I still can't figure out my issue. :(

Paul M 07-14-2005 01:29 AM

Quote:

Originally Posted by Roxie
I still can't figure out my issue. :(

If you would like me to look then I will, but as I said, I will need ftp & admin access. Otherwise there is nothing I can do to help you. Feel free to PM me. I have sorted a number of people here in the past.

Paul M 07-14-2005 07:50 AM

There were two problems - a bug in the 3.5 CMS file which only affected people using table prefixes (now fixed and uploaded) - and a typing error when you edited the flashchat config file. You should now be working. :)

tomjinx1 07-15-2005 06:54 PM

I've got flashchat install and the Integration hack here installed. However, when I go to sign in on the admin page or in flashchat itself, I get a error saying that I do not have permissions (chatting). On the admin page it acts like it's not looking in my forum member in the database. Can someone help? I'm using 3.5 beta 4

Paul M 07-15-2005 09:37 PM

I don't really understand what you mean - please provide a link, and test user, so I can see your problem.

Loki12 07-17-2005 03:31 PM

Quote:

Originally Posted by .Tim
I forgot to check this thread again and I came up with another fix, I just copied everything from the vbulletin35CMS to the vbulletinCMS2 and was able to install and now it's working just fine. Thanks for your help though. :D

Hahaha, good one... I had exactly the same problem as you. I did as you did, and now working perfectly. :)

Paul M 07-21-2005 06:07 PM

Quote:

Originally Posted by Loki12
Hahaha, good one... I had exactly the same problem as you. I did as you did, and now working perfectly. :)

I have changed the instructions - to now add vB 3.5.0 beta to the CMS choice menu in the flashchat installation process - so hopefully you should no loger have to do this copy workaround.

MMiz 07-21-2005 11:55 PM

I hate to post for help, but I've tried without success for a few hours and I'm still stuck.

I've made the changes as suggested, uploaded the files (even vbulletin35CMS.php with the correct license info), and I still get a blank chat page with a background when I try to load.

Any suggestions? I appreciate the help!

Paul M 07-22-2005 12:10 AM

Sure, but first ;

1. Set debug = true in the flashchat config file.

2. What is your site - your profile links to an invision board.


All times are GMT. The time now is 05:12 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.01985 seconds
  • Memory Usage 1,859KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete