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)
 I need help with the coding on this
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gargoyle
Junior Member

USA
280 Posts

Posted - 01 December 2003 :  23:30:38  Show Profile  Visit Gargoyle's Homepage
What I need to do is figure out how to make this signature show up for non-logged in members but still be functional as a turn on/off feature for logged in users. I just can;t figure out the if end if's... Here is the code.

if flag_showsig = 1 then
			if CanShowSignature = 1 and Reply_Sig = 1 and Reply_MemberSig <> "" then
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td colspan=""2"" valign=""bottom""><font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText"">" & formatStr(Reply_MemberSig) & "</span></font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
                        end if

The flag currently allows logged in users to choose whether on not to display the signature among other things. But when I am not logged in the signature will not show. I would like it to show for non-logged in users but still be optional for the logged in members.

Any help would be great!

Here is a link to my Snitz powered Drag Racing site.

dayve
Forum Moderator

USA
5820 Posts

Posted - 01 December 2003 :  23:37:43  Show Profile  Visit dayve's Homepage
hmmm, the signature should show if a non-logged on member visits by default. I take
it your code is modified to prevent that.

I don't recognize the flag_showsig variable so I will assume that is custom.
You should be able to just edit that line to look like this:

if flag_showsig = 1  or mLev=0 then


That should take care of it, but if it doesn't, it is because the flag_showsig is
being used to prevent the signature from being read in the SQL statement.

Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 02 December 2003 :  09:42:56  Show Profile  Visit Gargoyle's Homepage
Yes the flag_showsig is added to prevent the signature from being loaded.
Thank-you very much for your help. You solution should work perfectly since
the flag is loaded from the table using the member ID. What I am doing is trying
to steamline the loading of a few things to help speed the site up for dial-up
users so I am giving them a few options to help with that since a lot of my members
signatures contain graphics that take a while to load all of them.

Once again... Thank-you!

Here is a link to my Snitz powered Drag Racing site.
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07