Webmastersite.net
Register Log In

Vbulletin Integration

Comments on Vbulletin Integration

Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Mar 14, 2005 - 3:05 AM:

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 ]rolling eyes


<?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
?>
Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Mar 15, 2005 - 7:15 AM:

can someone help
Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Mar 16, 2005 - 12:50 AM:

Is the support for wsnlinks live i realy need help.

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

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Mar 16, 2005 - 6:56 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.