1
dnoyeb
Change The Default Users Table Location
  • 2004/6/15 22:47

  • dnoyeb

  • Just popping in

  • Posts: 3

  • Since: 2004/3/28


While I recognize this might not be the best location to post such a question, I can't find out where else it would go properly, as its a major code modification most likely . . . so here's the question: can the default users table location be changed? I propose this so that my XOOPS system can be merged with a phpbb or vbulletin boards system and I can create a custom registration form that enters in entries into the one table that contains both types of information (the forum style of registration i.e. "user_name" and the XOOPS style "username"). . . but before I can write the form I need to verify that its possilbe to change the users table location, even if it meant in each and every file . . . its really simple in phbb by just changing the constants file . . . but I couldn't find the constants file for XOOPS . . . so if anyone can help me, then I would greatly appreciate it. Thanks,

- dnoyeb2002

2
Dave_L
Re: Change The Default Users Table Location
  • 2004/6/15 23:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I assume you're talking about the database table xoops_users?

The database table prefix is specified in mainfile.php. By default, it's "xoops" (a "_" gets appended to that internally).

The primary place that the table is accessed is in kernel/user.php, but there are other places, especially in third-party modules, that may also reference the table explicitly in database queries. You could probably locate those by searching for prefix('users') or prefix("users").

I dont know if that helps.

3
dnoyeb
Re: Change The Default Users Table Location
  • 2004/6/15 23:41

  • dnoyeb

  • Just popping in

  • Posts: 3

  • Since: 2004/3/28


thats exactly the start I needed to start my looking . . . thanks alot man! right on!
if anyone else knows anything else, I would appreciate it greatly!!!

Login

Who's Online

235 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits