FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Basic scripted user manipulation
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Basic scripted user manipulation [message #33820] Fri, 22 September 2006 17:27 Go to previous message
pssc is currently offline  pssc   United Kingdom
Messages: 6
Registered: September 2006
Karma:
Junior Member
Script allows you to manipulate form logins allowing you to create,delete,ban,unban,rename,modify,display users.

lives in the scripts directory

eg.
./users.php create pssc "Phillip Camp" pssc(at)noware(dot)com 'zxy123:'

./users.php ban pssc

./users.php rename pssc pcamp

Small patch for rename to work in forum_data dir:-
--- src/users_reg.inc.t.orig 2006-09-20 23:35:16.000000000 +0100
+++ src/users_reg.inc.t 2006-09-20 23:37:15.000000000 +0100
@@ -178,6 +178,7 @@
$this->html_fields();

q("UPDATE {SQL_TABLE_PREFIX}users SET ".$passwd."
+ login="._esc($this->login).",
name="._esc($this->name).",
alias="._esc($this->alias).",
email="._esc($this->email).",

  • Attachment: user.php
    (Size: 4.89KB, Downloaded 1452 times)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Wikipedia plugin is not working for Russians
Next Topic: Bridge Fudforum <--> Elgg
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 17:50:29 GMT 2024

Total time taken to generate the page: 0.04594 seconds