The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]() Quote:
My setup: * vBulletin 4.2.0 PL3 * Mediawiki 1.19.2 * PHP 5.3.17 I added a custom usergroup 'wiki' to vB. Members of this group (and admins and mods) are granted to log in to the wiki. I used the code from the quoted extention above, but ran into 2 things:
@group selection In the functions userExists (and authenticate subsequently) I changed the query from PHP Code:
PHP Code:
Since you can have multiple id's in this 'group', the code to match it to the $this->allowed_usergroups needed a little tweaking. I changed the bottom part of the same 2 functions from PHP Code:
PHP Code:
@allowed characters Unfortunately I didn't succeed in modifying the search pattern to only accept alphanumeric or underscore characters in usernames. I did a dirty workaround to bypass the whole check. I replaced PHP Code:
PHP Code:
If someone has a better solution I'd like to hear it. I'm not that kind of a guru at PHP ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|