Author |
Topic |
Lon2
Junior Member
USA
151 Posts |
Posted - 15 February 2009 : 11:01:31
|
As admin (ID=1), I would like to be able to see, and perhaps change, the "View Signatures in Posts?" and "Signature checkbox checked by default?" drop-down menus in member's profile. Has this mod been done before?< |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 15 February 2009 : 11:12:15
|
Never noticed that it didn't let you. What you need is likely in inc_profile.asp< |
|
|
Lon2
Junior Member
USA
151 Posts |
Posted - 15 February 2009 : 12:51:59
|
Thanks Anon. I guess it would be nice to be available to members as well, in case they change their mind about the options after registration. I guess I'll see what I can do on my own. Hopefully I don't corrupt everything! < |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 15 February 2009 : 14:11:40
|
Members should be able to change it on their own, its just the Admins that don't seem to be able to change that on someone else's profile.< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 15 February 2009 : 15:45:12
|
In "inc_profile.asp", search for the following line: Change it to say:< |
|
|
Lon2
Junior Member
USA
151 Posts |
Posted - 17 February 2009 : 10:42:14
|
That was easy! Thank you Carefree!
P.S. You can move this topic to your Mod w/Code forum. < |
Edited by - Lon2 on 17 February 2009 10:43:18 |
|
|
Lon2
Junior Member
USA
151 Posts |
Posted - 19 February 2009 : 13:13:40
|
You are correct, AnonJr. As admin, when I change the options and submit, they don't stay changed. How involved would it be to change the code to allow this?< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 19 February 2009 : 16:21:12
|
Its been a while since I last looked at the profile code... couldn't say off the top of my head.< |
|
|
Lon2
Junior Member
USA
151 Posts |
Posted - 25 February 2009 : 12:29:22
|
Ok strangest thing, after looking at the code in pop_profile.asp I noticed it was already there but commented out. What?
if strSignatures = "1" and strDSignatures = "1" then
strSql = strSql & ", M_VIEW_SIG = " & cLng("0" & Request.Form("ViewSig"))
end if
if strSignatures = "1" then
strSql = strSql & ", M_SIG_DEFAULT = " & cLng("0" & Request.Form("fSigDefault"))
end if I uncommented the 6 lines and it works perfectly. Weird!
If anyone wants to add the code and don't already have it, insert the above 6 lines after this:
if strSignatures = "1" then
strSql = strSql & ", M_SIG = '" & chkString(Request.Form("Sig"),"message") & "'"
end if And before this:
strSql = strSql & ", M_LEVEL = " & cLng("0" & Request.Form("Level")) Toward the end of case "ModifyIt" around line 1480 of an unmodified pop_profile.asp.
P.S. If anyone knows why it would have been commented out of the original, I would appreciate knowing why.
< |
Edited by - Lon2 on 25 February 2009 12:40:03 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 25 February 2009 : 13:02:30
|
it was probably commented out because the code was simply copied from the previous section, and it was deemed inappropriate for an admin to be able to set these values so they were commented out.
Why should it be the admins choice as to whether or not I can view signatures ?< |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 25 February 2009 : 13:10:08
|
Hmmm mine is commented too. Anyway, what are you trying to do. I don't really get it.< |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 25 February 2009 : 13:34:56
|
everyones is commented out, it is commented out in the base code and allways has been.
he is trying to allow the admin the ability to change these values for a members profile, which currently is not possible.< |
|
|
Lon2
Junior Member
USA
151 Posts |
Posted - 25 February 2009 : 14:15:25
|
quote: Originally posted by HuwR
Why should it be the admins choice as to whether or not I can view signatures?
The reason we want to be able to change the settings is to help our forum members. We would not change the setting to view signatures if the member does not want to view them. Many times when our members sign up they set these two options to "No" not knowing exactly what they do or having an incorrect idea of what they do. Then they forget. We have had members ask why they can't see something that other members make reference to in a signature. You and I know the options are available in our profile but for new members, until they learn their way around, they'll never find it. I don't know how it is for you and any forums you run, but for ours, I would say less than half of all members actually read FAQs, instructions, policies, etc. Case in point, texanman above. No offense, texanman!
It has always been our goal to try and educate our frequent visitors on the different features of our online applications and how they work. And it helps if they are as user friendly as possible.< |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 25 February 2009 : 16:46:20
|
quote: Many times when our members sign up they set these two options to "No" not knowing exactly what they do or having an incorrect idea of what they do. Then they forget.
Well this is funny, I come here and this topic is in the active topics and I just had this topic pop up in my support section a few hours ago. < |
Switch the order of your title tags |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 25 February 2009 : 17:26:05
|
quote: Case in point, texanman above. No offense, texanman!
I invented the FAQS, what are you talking about??!!!!!!! I also invented the internet, right before Al Gore!!!!< |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 26 February 2009 : 01:38:26
|
so why not just tell them how to change them themselves ? after all changing them for them is not educating them. better to just tell them how to rather than rewrite the code so you can do it for them< |
|
|
Topic |
|