Re: Using fudapi.inc.php and forum_login.php [message #30472 is a reply to message #30466] |
Mon, 27 February 2006 15:25 |
DaveQB
Messages: 109 Registered: January 2006 Location: Sydney
Karma:
|
Senior Member |
|
|
Ilia wrote on Tue, 28 February 2006 01:17 | You need to modify the gallery to store the forum user id in its users table. That way it can associate forum accounts to its own account system. For group permissions you need to query the group_members table.
|
Firstly, thanx alot for this outstanding support again. Best forum software outand best support.
So need to manually add all current users and then new users as they join the forum, to the Gallery DB ??
I am using Gallery 2
It has a layout like so in the User table
+-----------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+--------------+------+-----+---------+-------+
| gid | int(11) | | PRI | 0 | |
| guserName | varchar(32) | | UNI | | |
| gfullName | varchar(128) | YES | | NULL | |
| ghashedPassword | varchar(128) | YES | | NULL | |
| gemail | varchar(128) | YES | | NULL | |
| glanguage | varchar(128) | YES | | NULL | |
+-----------------+--------------+------+-----+---------+-------+
So i just make the id's and userName's line up and match like they do in the forums DB ??(an exact duplicate)
hmmmm this is getting a tad confusing ...
[Updated on: Mon, 27 February 2006 15:40] Report message to a moderator
|
|
|