WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Vbulletin Integration

Version: 3.14
printPrint


Vbulletin Integration
Damir
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 47
Total Posts: 136
Posted 03/14/05 - 01:05 AM:
quote post
#1
What do i need to insert or change in vbulletin.php to use diferent databases one databse for wsnlinks and the other for vbulletin where the users will be.

WSNLinks database name is : links
VBulletin database: forum

Can someone help ]:rolleyes:


<?php
// vBulletin member integration hack for WSN
// Tested on vBulletin 3.00 beta 4-6

$memberstable = 'user';
$newid = 'userid';
$newname = 'username';
$newusergroup = 'usergroupid';
$newtime = 'joindate';
$newip = 'ipaddress';
$newsignature = 'usertextfield.signature';
$otherencoder = 'yes'; // use md5 by default. if other, write it up in encode.php

$admingroup = '6';
// Note: group listed above should be the administrative usergroup. If not, change the line above.
// Be sure you do not use the wrong group id, or members may be able to use your admin panel.

$idcookiename = '';
$passwordcookiename = '';
// fill in the name of the cookie that holds the member id and password, if possible.

$cookietype = ''; // if user cookie is array, fill in 'array'

// The below options only apply if the cookie type is 'array'
$idindex = ''; // index of cookie that gives the id
$passwordindex = ''; // index of cookie that gives the password
$cookieidtype = ''; // if the cookie id is actually a username, put 'name' here
?>


Edited by Damir on 03/14/05 - 01:10 AM
Damir
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 47
Total Posts: 136
Posted 03/15/05 - 05:15 AM:
quote post
#2
can someone help
Damir
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 47
Total Posts: 136
Posted 03/15/05 - 10:50 PM:
quote post
#3
Is the support for wsnlinks live i realy need help.

How can i connect to vbulletin users from diferent database.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 03/16/05 - 04:56 AM:
quote post
#4
No, this is the 'repeatedly bump your own posts' forum apparently. rolling eyes And also posted in the wrong subsection of the post bumping forum, moved.

You don't need to use different databases, obviously. That's not to say it can't be done, but it's always a bad idea to do it.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.