Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 new idea, or does it already exist...?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fo3nix
Starting Member

21 Posts

Posted - 17 May 2002 :  13:45:47  Show Profile  Visit fo3nix's Homepage
i want my members to be able to choose their own title after they reach a certain number of posts.. i.e. be able to change that field in the members table only.

some members have asked for this, but i don't have the first idea about how to set it up.. i know it's possable, but how long would a script like that take??

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 17 May 2002 :  14:30:21  Show Profile
In inc_profile.asp about line 180 change this

if Request.Querystring("mode") = "goModify" then %>

to this

if Request.Querystring("mode") = "goModify" OR Request.Querystring("mode") = "goEdit" then %>


and in pop profile add

strSql = strSql & " M_TITLE = '" & chkString(Request.Form("Title"),"SQLString") & "', "

at about line 902, above the line it says

'## Forum_SQL
strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS "

strSql = strSql & " SET M_PASSWORD = '" & ChkString(Request.Form("Password"),"SQLString") & "', "




it works for me not sure if its the best way tho..also i'm not sure if there are any checks that are suppose to be done on the fields to see if they are blank..


.:: Brother Beyond::.

Edited by - brother beyond on 17 May 2002 14:31:40

Edited by - brother beyond on 17 May 2002 14:43:39
Go to Top of Page

fo3nix
Starting Member

21 Posts

Posted - 18 May 2002 :  03:24:59  Show Profile  Visit fo3nix's Homepage
thanks! i'll have a go with that.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07