![]() |
Quote:
|
Does the hack only work for primary usergroups?
|
Quote:
|
Quote:
Next question: how can you make it work for secondary groups? I have a promotion set where once a user gets to a certain amount of posts, they get access to chat. I can't have them changing their primary usergroup as that will mess up other hacks. Any ideas? |
Quote:
|
Quote:
Its working fine atm. |
Nice. :)
|
Quote:
Cheers Bruce |
Its got some of Paul's code in there (userinrole function), so if paul doesn't mind me posting the changes here ...
|
Quote:
|
Little confused! I'm just starting to install flashchat, do i start with this hack?
|
No, Install flashchat and get it working first, then you can install this hack. :)
|
Quote:
|
<a href="http://www.tufat.com" target="_blank">www.tufat.com</a> - it costs $5.
|
Version 1.55 released (for FlashChat 4.0.1 or above).
This adds a 4th new feature - an optional welcome message when a member first joins the chat. :) |
vulture> Are you going to post that addition? I too could use something like that.
|
snotek
Make the following changes to your vbulletinCMS file (whichever one you are using). Find; PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
This version assigns access in the following priority based on both primary and secondary groups. 1. Assign default access (which is set to NO access). 2. If they are a member of an allowed group, grant USER access. 3. If they are a member of a staff group, grant ADMIN access. 4. If they are a member of a banned group, grant NO access. :) |
well done!
installed clicked!!! |
It doesn't look like the stuff from post #57 (waste of space to quote it) is included in the instructions, unless I somehow missed it.
Is that on purpose, or just lack of time? Once bitten twice shy, screwed up things before and don't wanna do it again. Thanks |
Quote:
|
Well, I've already botched up things once, so when you get it all combined in one place I'll go for it, in the meantime I'll subscribe the thread so I don't forget.
Thanks, Dennis |
When I use install.php, it hangs at step 5. Says "Could not write to './inc/cmses/defaultUsrExtCMS.php ' file ". It installs with install2.php, but installs for "free for all" version. Can't get it integrated with VB. v3.9.x worked great, but 4.0.6 is a pain.
|
anyone actually got flashchat 4 to work? (intergrate)
|
Yes.
|
I get this error when re-installing it.
Quote:
|
It's trying to write to the log file (probably due to another error) and failing due to lack of permission.
|
On Step 3, there are 2 examples of that code back to back, which one do I replace? (v4.0.6)
|
Quote:
|
Subscribing.......
|
Quote:
|
Quote:
|
Where do I edit what users are entitled to enter?
|
Quote:
Code:
function getRoles($usergroupid) { |
Quote:
|
Quote:
|
The problem is no one can get into the chat and yet the settings / groups seem right.
My vbulletin has this: Administrators 6 Banned 8 Unregistered / Not Logged In 1 Registered 2 Super Moderators 5 vbulletincms2.php $userrole = ROLE_NOBODY ; $groups = explode(',',$usergroupid); // Set Allowed groups if (in_array(2,$groups)) $userrole = ROLE_USER; if (in_array(7,$groups)) $userrole = ROLE_USER; //Set Staff groups if (in_array(5,$groups)) $userrole = ROLE_ADMIN; if (in_array(6,$groups)) $userrole = ROLE_ADMIN; //Set Banned groups if (in_array(8,$groups)) $userrole = ROLE_NOBODY; if (in_array(9,$groups)) $userrole = ROLE_NOBODY; What am I missing here? |
Quote:
|
Prompts for login first the tells me permission denied
|
Try user/password "testuser"
www.talkjesus.com |
btw, that's a "regular" user
|
All times are GMT. The time now is 04:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|