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)
 View sig options for members
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Lon2
Junior Member

USA
151 Posts

Posted - 15 February 2009 :  11:01:31  Show Profile  Reply with Quote
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  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Never noticed that it didn't let you. What you need is likely in inc_profile.asp<
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 15 February 2009 :  12:51:59  Show Profile  Reply with Quote
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! <
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2009 :  14:11:40  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 15 February 2009 :  15:45:12  Show Profile  Reply with Quote
In "inc_profile.asp", search for the following line:

		if strMode <> "goModify" then

Change it to say:

		if strMode <> "goModify" or intAdminMemberID=MemberID then
<
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 17 February 2009 :  10:42:14  Show Profile  Reply with Quote
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
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 19 February 2009 :  13:13:40  Show Profile  Reply with Quote
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?<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 February 2009 :  16:21:12  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Its been a while since I last looked at the profile code... couldn't say off the top of my head.<
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 25 February 2009 :  12:29:22  Show Profile  Reply with Quote
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 25 February 2009 :  13:02:30  Show Profile  Visit HuwR's Homepage  Reply with Quote
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 ?<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 25 February 2009 :  13:10:08  Show Profile  Reply with Quote
Hmmm mine is commented too.
Anyway, what are you trying to do. I don't really get it.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 25 February 2009 :  13:34:56  Show Profile  Visit HuwR's Homepage  Reply with Quote
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.<
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 25 February 2009 :  14:15:25  Show Profile  Reply with Quote
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.<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 25 February 2009 :  16:46:20  Show Profile  Visit bobby131313's Homepage  Reply with Quote
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
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 25 February 2009 :  17:26:05  Show Profile  Reply with Quote
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!!!!<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 26 February 2009 :  01:38:26  Show Profile  Visit HuwR's Homepage  Reply with Quote
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<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07