The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Flashchat Integration for vB 3.5 Details »» | |||||||||||||||||||||||||
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
|
Comments |
#222
|
||||
|
||||
Quote:
This is the code cut straight from flashchat-vb-integration.txt (downloaded yesterday) It contradicts your earlier post in regards to having four brackets. Just trying to provide feedback so apologies if its taken the wrong way. Code:
Step 4. in inc\classes\sendLoginInfo.php ; Find ; $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; } } Replace with ; $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; } } // # Paul M # load permanant private rooms if Admin. if(ChatServer::userInRole($this->userid, ROLE_ADMIN)) { $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NULL AND ispermanent IS NOT NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; } } } |
#223
|
|||
|
|||
Quote:
|
#224
|
||||
|
||||
Quote:
Quote:
Code:
// # Paul M # load permanant private rooms if Admin. if(ChatServer::userInRole($this->userid, ROLE_ADMIN)) { $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NULL AND ispermanent IS NOT NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; [high] } } } }[/high] //Send user list to user Quote:
|
#225
|
||||
|
||||
No probs Paul.
I cut in the entire section from the previous post and the usernames and rooms are working fine. The only issue I'm battling with is the login / cookie problem. It also has an interesting side effect in that the users in chat plugin is displaying the wrong usernames. I read a little in the applicable thread and they are interconnected but dont understand why users arent logging straight into chat when they have the "remember me" option ticked in the forum. Any thoughts? Cheers, Steve. |
#226
|
||||
|
||||
Quote:
|
#227
|
||||
|
||||
Quote:
|
#228
|
||||
|
||||
Testpig - All mended for you.
|
#229
|
||||
|
||||
Quote:
I'd like to list the problem here for other users, but basically I just had a bad day and screwed up a few area's. I'm quite amazed anyone could log in at all! I guess the key is to go back over the modified area's and recheck! Thanks again...... |
#230
|
|||
|
|||
Thanks, Paul. Worked beautifully.
|
#231
|
|||
|
|||
Can someone give me a good navbar link for flashchat? When I log into my board, then click put flashchat in my browser it logs me in correctly. When I add a link to the navbar it makes me login with username and password... Can someone give me a good link to log in properly?
Thanks, S |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|