Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 02:08 am EST

Geeklog Forums

Need help on creating an outside registration page


Status: offline

madness

Forum User
Newbie
Registered: 12/14/04
Posts: 2
I created a outside registration page....because want to have security image....don't know easy way to edit the custom registration provided with geeklog since the thml files in layout can't use php code?

anyway....here's what I done....I added the user info and assigned group to these 2 fields in the database

gl_group_assignments
gl_user

but I can't login with the account created in my own registration page....I would get the following when I try to log in:

An SQL error has occured. Please see error.log for details.

12/24/2004 11:36:42 AM - error in get_userdata
12/24/2004 11:36:42 AM - 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1. SQL in question: DELETE FROM gl_sessions WHERE uid =

so is there more fields in the database I have to add value into for my own registration page?

Thank you
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
If you have some programming experience you may want to use the Custom Registration Feature. Look in the lib-custom for an example.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

madness

Forum User
Newbie
Registered: 12/14/04
Posts: 2
can you tell me which fields are needed to add data to when adding new user? I really don't get how to use php in thtml page in the custom regristation from geeklog.

Thank you
 Quote

All times are EST. The time is now 02:08 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