This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

vb3 bbwrapper


avatar
insanetek 0
From: -
vb3 bbwrapper

The links for VB3 UserCP and PM on the right menu work great but the login and register links, link to Storyteller's own user database. Is there a way to integrate the login or do I just have to change the links to link to vbulletin's login pages?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

Works great. Thank you!

P.S., the lines you said to replace have too many parentheses. I copied it verbatim but it made my page go blank. So I removed some of the ) and it displayed the page again.


(To anyone who saw my original post, I figured out what I did wrong)
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

Open bbwrapper.php in an editor and find:

if (($userdata[usergroupid] == 2) or ($userdata[usergroupid] == 5) or ($userdata[usergroupid] == 6) or ($userdata[usergroupid] == 7)) {

Then replace this line with:

if (($userdata[usergroupid] == 2) or ($userdata[usergroupid] == 5) or ($userdata[usergroupid] == 6) or ($userdata[usergroupid] == 7)) or ($userdata[usergroupid] == 9)) or ($userdata[usergroupid] == 10)) or ($userdata[usergroupid] == 11)) or ($userdata[usergroupid] == 12)) {
1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

No, sorry I didn't reply sooner.

2 Registered Users
5 Super Moderators
6 Administrators
7 Moderators
9 Reviewer*
10 Registered Users (CustomAv)
11 Registered Users (Custom Title/Av)
14 Registered Users (CustomAv) No Sig
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

Did you solve this problem in the meantime?
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

Including the grouptitles Winking Face

For example:
1 Unregistered
2 Registered Users
...
1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

1
2
3
4
5
6
7
8
9
10
11
12
14
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

The bbwrapper needs a small modification. Please post a list of all ID's.
1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

Usergroup ID's are 1-14.
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

Which usergroup id have your members?

To find out:
vBulletin Admin Control Panel => Usergroups => Usergroup Manager
1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

All right, I ran into a problem. My forum admin account logs in on the front page fine but other non-admin members can't login. It says wrong username/password.
1 Re: vb3 bbwrapper
avatar
OP 0
From: -
vb3 bbwrapper

Ah, stupid user error is the fault of the problem I was having. The username for the db I was using was wrong.

The wrapper works great!
1 Re: vb3 bbwrapper
avatar
Administrator
1342
From: Austria
vb3 bbwrapper

Actually, login.php and register.php are using vBulletin's users database through the bbwrapper.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.