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 |
#272
|
|||
|
|||
Fatal error: Call to a member function on a non-object in /usr/local/home/httpd/vhtdocs/dsvr.claretandbanter.co.uk/chat/inc/classes/chatServer.php on line 112
I get this when going to the admin section. Install didn't give me any errors tho. Using the latest version of flashchat 4.3.3 |
#273
|
|||
|
|||
^^Go back to the "in inc\classes\connection.php ;" file and make sure the edit change is correct.
Peace |
#274
|
|||
|
|||
//Touch connection
$stmt = new Statement("UPDATE {$GLOBALS['fc_config']['db']['pref']}connections SET updated=NOW() WHERE id=?"); $stmt->process($this->id); //Touch room $this->updateSelfRoom(); return; } } $this->id = md5(uniqid(rand(), true)); $this->userid = ChatServer::isLoggedIn( $args ); $this->roomid = $this->getAvailableRoom($GLOBALS['fc_config']['defaultRoom']); $color = $GLOBALS['fc_config']['themes'][$GLOBALS['fc_config']['defaultTheme']]['recommendedUserColor']; if($color == null) $color = 0xFFFFFF; $this->color = $color; $this->state = 1; $this->lang = $GLOBALS['fc_config']['defaultLanguage']; // Paul M - Real ip detection $realip = ''; $proxyip = ''; $ignoreprivate = true; // Set to false to allow private 'real' ip's // if ($_SERVER['HTTP_FROM'] != '') $proxyip = $_SERVER['HTTP_FROM']; if ($_SERVER['HTTP_FORWARDED'] != '') $proxyip = $_SERVER['HTTP_FORWARDED']; if ($_SERVER['HTTP_CLIENT_IP'] != '') $proxyip = $_SERVER['HTTP_CLIENT_IP']; if ($_SERVER['HTTP_X_FORWARDED_FOR'] != '') $proxyip = $_SERVER['HTTP_X_FORWARDED_FOR']; if (preg_match("#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#" , $proxyip, $iplist)) { $proxyip = $iplist[0]; if ($ignoreprivate and preg_match("#^(127|10|172\.(1[6-9]|2[0-9]|3[0-1])|192\.168|169\.254)\.#", $proxyip)) $proxyip = ''; } else $proxyip = ''; if ($proxyip == '') $realip = $_SERVER['REMOTE_ADDR']; else $realip = $proxyip; $this->ip = ($args['ip'] == null)? $realip : $args['ip']; Taken from my connection.php |
#275
|
||||
|
||||
Quote:
I'm working on a new CMS file that should eliminate this problem, it also removes the need to enter your vb licence number in the file (and also updates your location in the vb session table when you login). If anyone would like to test it please drop me a PM with your e-mail address. |
#276
|
||||
|
||||
Quote:
When I use my IE 6 I used to get nothing so I turned off the popup blocker in that. Now as I close it I get a pop up that just hangs and stays there and never closes or logs me out? Any ideas? |
#277
|
||||
|
||||
Quote:
|
#278
|
||||
|
||||
Quote:
Thanks for this great well supported hack.............. |
#279
|
|||
|
|||
Quote:
|
#280
|
||||
|
||||
I have uploaded the new version.
Quote:
Import the plugins as a product using the vb Product Manager. Upload the new vbulletin35CMS.php to the flashchat /inc/cmses/ folder. If you use custom usergroups, edit the new CMS file to give them access (note, the section to edit is totally different and near the bottom of the file). |
#281
|
|||
|
|||
Great fix and great upgrade. Thanks Paul
BTW Sorry I didn't see the request for wanting to test it first. Regards Don |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|