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 |
#632
|
|||
|
|||
works great. fixed it! please disregard.........
|
#633
|
||||
|
||||
Quote:
|
#634
|
|||
|
|||
Hi Paul!
Thanks for the script... I've installed it and tried to get it working, but the auto login feature won't work for me What happens is, I log into vB, then click my chat link to open FlashChat 4.4.2 in a popup window, but it tells me my login is invalid. Then, if I use the same user/pass it will log me in. It seems like vB isn't passing the correct user/pass combination to FlashChat....because I can definitely login manually, and it even sets the correct admin level etc. Any help would be great! Thanks in advance! |
#635
|
||||
|
||||
Quote:
Quote:
Quote:
|
#636
|
|||
|
|||
paul--
not sure but if i had to guess: Quote:
|
#637
|
||||
|
||||
Paul, excuse my bad english,
ty 4 this really grat mod & *installed* A problem for me is there. I can't manage authoring phase, as i need , as I am not able to let script understand "secondary usergroups" and its added rights to the main usergroup. I better explain with an example Let immagine that you have 2 usergroups 1 called "Registerd" (Groupid 2) and another called "Enabled" (Groupid 13) but again, immagine to use secondary usergroups, so you have a user that belong as primary usergroup to Groupid 2 and has also as child group a secondary flag on Groupid 13, with added its privileges. Now I would need to grant access to both users -> that have primary Groupid 13 or those that have primary Groupid 2 but also a secondary groupid13. At same time I do not want to grant Access to User with Only primary Groupid 2. ....really difficult for me to explain in english.. I hope i did. I played around that and i tested various ideas on vbulletin35CMS.php I thought to have solved my problem using this last quoted . but ..notthing... I modified: PHP Code:
PHP Code:
PHP Code:
PHP Code:
How can I Do to solve this problem? is my logic wrong or just a typo :S ? ty so much for patience regards *note : I am using flaschat integration module post-440 with Flaschat452Beta |
#638
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
By simply using the original file and changing the standard access group to 13, the following will happen ; Primary = 2 Secondary = none : No Access Primary = 2 Secondary = 13 : Access allowed Primary = 13 Secondary = none : Access Allowed Which appears to be what you described above. |
#639
|
||||
|
||||
ty so much Paul,
B4 trying to play with code, I tried to setup (with ummodified code) only on array setup to -> 13 but users with secondary on 13 wasent allowed. to allow them i had to setup 2,13 on array. but consequently group 2 was allowed and should not. so after that, i tryed to play a bit, but no results. Now actually i restored the original line of your code to test again, and result is the same. to grant access to sec/13 i need to setup array at (2,13) I would love to sort it out ty for patience & help ciao take care l8r |
#640
|
||||
|
||||
It should work as described (it does here, I just tested it). Please PM me ftp access if you want me to have a look.
|
#641
|
||||
|
||||
ty Paul, your code is working ... I understood where an issue is .(well I should say 2 as my brain is really lame&small :disappointed: )
Ok the problem is on cookies. array set on : (13) Donno why but 1) logging in vB with testuser1(group 2) it wont give access as should then normally log out vB from that user 2) logging in with vB testuser2(group2+13) it will give rights as should So ur mod is perfect, but 2)<-- is true only if a) cookies are hand-cleared on explorer proper menu b) to login vB as testuser2 after that testuser1 has logged out vB, It must be done after all opened explorer are closed and reopened in new fresh instances (just logout vB & again login vB with the other user in same explorer window will make the difference) Again sorry to keep loosing ur time, as ur mod is PERFECT and on vB3.5.3 is working great!!! A note is that, in the case cookies are not unset properly : --> If I logout from vB Testuser2 (the one with rights) and then I login vB as Testuser1 (the one without), even if vB well recognize both of them as it is welcoming them with their correct username (welcome Testuser1 .....), flashchat will log me as Testuser2 granting me access. ciao take care |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|