Welcome to Geeklog Tuesday, January 25 2022 @ 03:41 am EST

Geeklog Forums

table information


Status: offline

xucaen

Forum User
Junior
Registered: 08/01/06
Posts: 24
Hi, I'm looking for documentation on the user tables, including descriptions for columns. I want to write a custom logon/registration page for a web site. My idea is to read and update the Geeklog user tables from the common logon/registration page, and propagate that data to other tables belonging to other software installed on the server. I can browse the gl_user* tables in phpMyAdmin. What other tables would need to be updated for a new user, or user logon?

Thanks,

Jim
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You shouldn't have to write into Geeklog's tables. There are plugin functions as well as custom callbacks when new users are created. If you hook into those, Geeklog will notify you when a new user was created, deleted, etc. and you can update your data accordingly.

We've added those for the phpBB integration (phpBBBridge, no longer maintained, unfortunately), so I think it pretty much covers everything you'll need. Have a look around lib-user.php and notice the various calls to PLG_xxx and CUSTOM_xxx functions.

bye, Dirk
 Quote

All times are EST. The time is now 03:41 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content