Welcome to Geeklog, Anonymous Wednesday, July 09 2025 @ 02:55 pm EDT

Geeklog Forums

usersettings.php


i can get new fields to display and have added the coresponding rows in the gl_users table. but it wont store the information! just wondering what i need to do to get it to store this information also what does this mean and wer can i add/change more $LANG04[8]
 Quote

Status: offline
Site Admin
Admin
Registered: 12/17/01
Posts: 405
You need to modify the function that saves a user and you need to change the switch statement at the bottom of the page to pass your custom attributes to the save user function. Also from an upgrade stand point messing with the user table is a bad idea (what if we ever added a field with the same name as one of your custom ones?). I'd considering using a seperate table keyed off user_id...just a thought. the $LANG references text in the language file. See /path/to/geeklog/language/english.php and it should make more sense.---The reason people blame things on previous generations is that there's only one other choice.
 Quote

All times are EDT. The time is now 02:55 pm.

  • 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