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)
 Sticky Topic Seperator?
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

CalloftheHauntedMaster
Junior Member

289 Posts

Posted - 04 October 2006 :  19:42:56  Show Profile  Reply with Quote


I want the separator to say "Forum Topics". However, it's black on black and can't be seen. I want it to be the same font and color text as the Topic and Read and Replies as the separator at the top of the page. I want it to be larger and gray as well.

You'll have to pardon my coding ignorance in these matters.

Btw, how can I add another separator under the row with Topic and Read and Replies, just like on that gamingcrpyt.com site? I think it looks really cool.<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 04 October 2006 :  19:47:33  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
ok to get the seperators to the place like mine follow these instructions

find this line in forum.asp

if iTopicCount = "" then


and add this code above it


		"              <tr>" & vbNewLine & _
		"                <td colspan =""6"" align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Important Topics</font></b></td>" & vbNewLine & _
		"              </tr>" & vbNewLine


then find this code (this is the part that muzishun posted in his code)


				Response.Write	"              <tr><td colspan=""7"" bgcolor=""" & strHeadCellColor & """> </td></tr>" & vbNewLine


and replace it with this


				Response.Write  "              <tr>" & vbNewLine & _
								"                <td colspan =""6"" align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Forum Topics</font></b></td>" & vbNewLine & _
								"              </tr>" & vbNewLine


this should make the text all the same as how u want it ass well


hope this helps<

© 1999-2010 MaD2ko0l
Go to Top of Page

CalloftheHauntedMaster
Junior Member

289 Posts

Posted - 04 October 2006 :  19:57:03  Show Profile  Reply with Quote
I get this error:

Microsoft VBScript compilation error '800a0400'

Expected statement

/bbs/forum.asp, line 478

" <tr>" & vbNewLine & _
^
<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 04 October 2006 :  19:58:57  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
above this line
		"              <tr>" & vbNewLine & _


you will see this code

Response.Write	"              </tr>" & vbNewLine


you need to change that line to read this

Response.Write	"              </tr>" & vbNewLine & _


that should do it

here is a copy of my forum.asp for anyone that is intrested to see what i have done on this page so far.

forum.asp

hope this helps<

© 1999-2010 MaD2ko0l

Edited by - MaD2ko0l on 04 October 2006 20:02:13
Go to Top of Page

CalloftheHauntedMaster
Junior Member

289 Posts

Posted - 04 October 2006 :  20:09:37  Show Profile  Reply with Quote
Well, here's what I got:

http://www.schoolofduel.com/bbs/forum.asp?forum_id=33

It seems off-center though and I added the center tags. Ideas?

Is there also a way to add a line between the Topic, Author, Read and the "Important Topics"? It looks really jumbled...<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - CalloftheHauntedMaster on 04 October 2006 20:12:44
Go to Top of Page

CalloftheHauntedMaster
Junior Member

289 Posts

Posted - 04 October 2006 :  20:15:29  Show Profile  Reply with Quote
Never mind about that. I forgot that as admin, I have an options menu to the far right. Members don't have it and it looks perfectly centered.

However, I am interested in adding that line between Important Topics and the top bar.<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - CalloftheHauntedMaster on 04 October 2006 20:21:56
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 04 October 2006 :  20:52:04  Show Profile  Visit muzishun's Homepage  Reply with Quote
I did it slightly differently than that. I liked the idea of having a separator above both the stickys and the regular topics to help differentiate, but I don't want the "Important Topics" label there if there aren't stickies. Here's how I did it. Make the following block of code:
		If blnStickyTopics = True Then
			If Topic_Sticky and strStickyTopic = "1" Then
				'Do Nothing
			Else
				'We've had sticky topics, and now we are into the regular topics
				Response.Write	"              <tr><td colspan=""7"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Forum Topics</font></b></td></tr>" & vbNewLine
				blnStickyTopics = False
			End If
		End If

look like this
		If blnStickyTopics = True Then
			If Topic_Sticky and strStickyTopic = "1" Then
				'Do Nothing
			Else
				'We've had sticky topics, and now we are into the regular topics
				Response.Write	"              <tr><td colspan=""7"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Forum Topics</font></b></td></tr>" & vbNewLine
				blnStickyTopics = False
			End If
		End If

		If blnStickyTopics = False Then
			If Topic_Sticky and strStickyTopic = "1" Then
				'We've got sticky topics, so we should draw the line here
				Response.Write	"              <tr><td colspan=""7"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Important Topics</font></b></td></tr>" & vbNewLine
			End If
		End If

Like I said, this only adds the "Important Topics" header if there are stickies.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 05 October 2006 :  04:49:28  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
yeah i tryed doing that and it only chnages the 1 seperator...so if you have stcky topics it will show the "important topics" seperator under the sticky topics

if you look at the image below you will see that i have the "important topics" seperator above the sticky topics and "forum topics" seperator. when i used your code it will only change the "forum topics" seperator to and from "Forum topics" and "important topics"



i hope that made sense<

© 1999-2010 MaD2ko0l
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 05 October 2006 :  09:57:43  Show Profile  Visit muzishun's Homepage  Reply with Quote
Hmmm.. strange. Well, if you've got it working, that's all that matters. I'm using the same code (basically... I've tweaked it to use CSS classes and whatnot, but the table stuff is the same), and it displays fine on my page. But, if it's not broken, let's not try to fix it.

Glad you got it working.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

alanh
New Member

United Kingdom
92 Posts

Posted - 06 October 2006 :  10:25:52  Show Profile  Reply with Quote
Once again thanks for the MOD, I made the changes and now the locked Single Sticky issue is resolved and also I have the headers Important and Forum Topics.

**** I am easily pleased......<
Go to Top of Page

mama2000
Junior Member

Canada
100 Posts

Posted - 17 October 2006 :  21:42:56  Show Profile  Visit mama2000's Homepage  Reply with Quote
Thanks for this one! I think it looks awesome! I changed the colors around on the title rows, but WOOHOO! I love this!
<

:)
Kelly

http://atruckerswife.com/community/
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 16 May 2007 :  15:47:13  Show Profile  Reply with Quote
love it :)
<

Phil
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 16 May 2007 :  20:08:02  Show Profile  Visit muzishun's Homepage  Reply with Quote
Thanks. :)<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 01 July 2007 :  07:34:49  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Great stuff.

Thanks, Bill. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 01 July 2007 :  11:16:42  Show Profile  Visit muzishun's Homepage  Reply with Quote
You're welcome. Eventually I plan to pack this up with a couple of the other little MODs I've done and put them over on SnitzBitz. Perhaps this coming weekend I'll do that.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07