Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 09:27 pm EST

Geeklog Forums

How do you remove sign up as a new user


Anonymous

Anonymous
How easy is it to mod geeklog so that new users can only be added by admin, and not register themselves on a site? Simple instructions please Smile
 Quote

Anonymous

Anonymous
I\'ve done that for an older version of GL (1.5rc1 or ?) -- unfortnately my hacks are not packaged well for distribution nor are they at all compatible with the current stuff. What I did was add a new variable to the global config array called \'addself\' = 0; Search through the code for all instances of the language for \'Create Account\' and put tests of the \'addself\' variable != 0 to determine if you present that option to anyone. You\'d also want to do something with that test in here: /users.php?mode=new Preventing self addition seems like a reasonable feature to add for some sites, especially internal corporate use type applications. Perhaps its already in 1.3, I\'ve not looked through the code much. So in addition to $_CONF[\'loginrequired\'] = 0; add some functionality to deal with $_CONF[\'allowcomments\'] = 1 or 0 $_CONF[\'allowselfcreate\'] = 1 or 0 PS I had a similar need to remove the comment functions. PSPS Still trying to determine if, how, when to port my two 1.5rc? sites over.
 Quote

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