[!] ------------------------------------------------------------------------------------------------------------------------------------ [/!] [showif [perform]=edit] [Hideif [button]=delete] [Text multi=T]Process=T&ErrorFIELDS=&ErrorMSG=
The following error(s) occurred:[/Text] [!]### Grep out all unwanted characters before proceeding ###[/!] [Text show=F]_UserNICK=[grep search=[^-_0-9aA-zZ| ]&replace=][_UserNICK][/grep][/Text] [Text show=F]_UserNICK=[grep search=\\&replace=][_UserNICK][/grep][/Text] [Text show=F]_UserNICK=[grep search=\[UnUrl]%5B[/UnUrl]&replace=][_UserNICK][/grep][/Text] [Text show=F]_UserNICK=[grep search=\[UnUrl]%5D[/UnUrl]&replace=][_UserNICK][/grep][/Text] [Text show=F]_UserNICK=[grep search=\^&replace=][_UserNICK][/grep][/Text] [!]### Check for blank fields ###[/!] [Showif [Url][_UserNICK][/Url]=][Text multi=T]Process=F&ErrorFIELDS=[ErrorFIELDS]:username:&ErrorMSG=[ErrorMSG]
- Username not submitted[/Text][/showif] [!]### Check for existing username ###[/!] [Hideif [Process]=F] [Search db=sitedata/fusers.db&eqUSERNICKdatarq=[Url][_UserNICK][/Url]&neUSERIDdatarq=[UserID]&allblnk=T] [Showif [numfound]>0][Text multi=T]Process=F&ErrorFIELDS=[ErrorFIELDS]:username:&ErrorMSG=[ErrorMSG]
- Username already exists. Please select another Username[/Text][/Showif] [/Search] [/Hideif] [!]### Email check here ###[/!] [Showif [_Email]=][Text multi=T]Process=F&ErrorFIELDS=[ErrorFIELDS]:email:&ErrorMSG=[ErrorMSG]
- Email not submitted[/Text][/showif] [Hideif [Process]=F] [Hideif [_Email]^.][Text]Process=F[/Text][/Hideif] [Hideif [Process]=F][Hideif [grep search=[-aA-zZ0-9_.][-aA-zZ0-9_.]*@[-aA-zZ0-9.][-aA-zZ0-9.]*&replace=§][UnUrl][_Email][/UnUrl][/grep]=§][Text]Process=F[/Text][/Hideif][/Hideif] [Showif [Process]=F][Text multi=T]ErrorFIELDS=[ErrorFIELDS]:email:&ErrorMSG=[ErrorMSG]
- Invalid email address[/Text][/showif] [!]## check to see if email already exists in the database and is not the current users ##[/!] [Hideif [Process]=F] [Search db=sitedata/fusers.db&eqEMAILdatarq=[_Email]&neUSERIDdatarq=[UserID]&allblnk=T] [Showif [numfound]>0][Text multi=T]Process=F&ErrorFIELDS=[ErrorFIELDS]:email:&ErrorMSG=[ErrorMSG]
- Email already exists[/Text][/Showif] [/Search] [/Hideif] [/Hideif] [Showif [Process]=F][Text Show=T]ErrorMSG=[ErrorMSG]
[/Text][/Showif] [Showif [Process]=T] [Replace db=sitedata/fusers.db&eqUSERIDdatarq=[URL][UserID][/URL]][formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables][/Replace] [Redirect [thisurl]?page=forumadmin&task=users&Updated=true] [/Showif] [/Hideif] [showif [button]=delete] [Search db=sitedata/fusers.db&eqUSERIDdatarq=[URL][UserID][/URL]] [Founditems][Showif [ProfilePic]!][DELETEFILE file=/[ThePath]/siteimages/[ProfilePic]][/Showif][/Founditems] [/Search] [Delete db=sitedata/fusers.db&eqUSERIDdatarq=[URL][UserID][/URL]] [Redirect [thisurl]?page=forumadmin&task=users&Deleted=true] [/showif] [/showif] [!] ------------------------------------------------------------------------------------------------------------------------------------ [/!]
Edit the user details, then press Submit
Note: You can set a Users status to SUSPENDED if you do not wish to delete them permanently.


[Search db=sitedata/fusers.db&eqUSERIDdatarq=[URL][UserID][/URL]&max=1] [SHowif [numfound]=0]No Users Found!
[/Showif] [FoundItems]
User
Active
Password
Status
Title
If declared, this will be shown instead of the Moderator/Member Status
Email
Website
Location
Occupation
Interests
Signature

[/FoundItems] [/Search]

Back