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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Mr. Kinser...a question (or anyone else)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Pat
New Member

50 Posts

Posted - 13 April 2001 :  13:36:36  Show Profile
Hey Richard,

It's me again. I know I've been asking a lot of questions lately and I really appreciate your help. Guess what...another question.

I remember you telling me how to re-organize the avatars in your code so that they automatically show in alphabetical order when members are selecting them. For the life of me I can't remember which file you told me to edit. I know I have to switch something so it says sortbyname. Which file can I edit that in?

A question about signatures...

1 - Is there a way so that the "Show Signature" check box in a New Topic or Post Reply can be automatically checked? I know it's nothing big but somebody asked about that.

2 - Is there anyway a file can be editted so that a person's post message is automatically seperated from their signature by some kind of line or something? Example:

**Message**

------------

**Signature**


...can usually be found on a UBB.

I hope that's not too much to ask. Once again, thanks so much to anyone that can help

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 April 2001 :  19:58:48  Show Profile
Can't help you with your first question since I don't use that mod. But I can help you with the others.
quote:
1 - Is there a way so that the "Show Signature" check box in a New Topic or Post Reply can be automatically checked? I know it's nothing big but somebody asked about that.
It already does that.
quote:
2 - Is there anyway a file can be editted so that a person's post message is automatically seperated from their signature by some kind of line or something?
In post_info.asp you will see this code:
if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbCrLf & vbCrLf & ChkString(GetSig(STRdbntUserName), "signature" )
end if
You would change it to look like this:
if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbCrLf & vbCrLf
txtMessage = txtMessage & "---------------------------------"
txtMessage = txtMessage & ChkString(GetSig(STRdbntUserName), "signature" )
end if
I think that should work. Haven't tried it though. There are 2 occurences that you would need to change. Just do a search for "Request.Form("sig")" and you will find the code you need to change.

Go to Top of Page

Pat
New Member

50 Posts

Posted - 13 April 2001 :  20:26:47  Show Profile
Alright! That worked great Davio. Thanks a lot, I appreciate it

I was looking for that because sometimes it seems like a member's sig will blend with the message itself.

Thanks again.

Go to Top of Page

Pat
New Member

50 Posts

Posted - 13 April 2001 :  21:22:52  Show Profile
Wait...I encountered a slight problem.

It works great but if the member doesn't start their sig by spacing down once, it shows like this...

**Message**

---------------**Signature**

I tried to enter a "<br>" somewhere in the code but that made it even worse. Any suggestions?

Go to Top of Page

mama2000
Junior Member

Canada
100 Posts

Posted - 13 April 2001 :  22:56:27  Show Profile  Visit mama2000's Homepage
change this
 if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbCrLf & vbCrLf
txtMessage = txtMessage & "---------------------------------"
txtMessage = txtMessage & ChkString(GetSig(STRdbntUserName), "signature" )
end if


to this
 if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbCrLf & vbCrLf
txtMessage = txtMessage & "---------------------------------" & vbCrLf
txtMessage = txtMessage & ChkString(GetSig(STRdbntUserName), "signature" )
end if


The & vbCrLf is the eqivalent to a <br> I just learned this one and I am so excited to know an answer!

:)
Kelly
http://theparentsite.com/club/default.asp
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 14 April 2001 :  01:25:29  Show Profile
Pat, for the thing with the Avatars and sorting Alphabetically:

The file you are going to need to edit is inc_avatar.asp

Find this line:


strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_ID ASC;"


change it to:


strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_NAME ASC;"
Go to Top of Page

Pat
New Member

50 Posts

Posted - 14 April 2001 :  10:54:39  Show Profile
Thanks a lot to all of you who helped me here. Both of those worked great.

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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07