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: MOD Implementation
 last post info mod, help with link color...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 October 2003 :  15:44:49  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Hi, I installed this mod following this link: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42475&whichpage=1 and have a slight problem with the links color, here is the function I have:

Function DoLastPostLink(showicon)
 if len(ForumTopicSubject) > 10 then 
   ForumTopicSubject = left(ForumTopicSubject,10) & "..."
 end if
	if ForumLastPostReplyID <> 0 then
		PageLink = "whichpage=-1&"
		AnchorLink = "&REPLY_ID="
		DoLastPostLink = "<a href=""topic.asp?" & PageLink & "TOPIC_ID=" & ForumLastPostTopicID & AnchorLink & ForumLastPostReplyID & """>"
		if (showicon = true) then DoLastPostLink = DoLastPostLink & getCurrentIcon(strIconLastpost,"Jump to Last Post","align=""middle""") & " <font color==""" & strForumLinkColor & """>" &  ForumTopicSubject & "</font></a><br>"
	elseif ForumLastPostTopicID <> 0 then
		DoLastPostLink = "<a href=""topic.asp?TOPIC_ID=" & ForumLastPostTopicID & """>"
		if (showicon = true) then DoLastPostLink = DoLastPostLink & getCurrentIcon(strIconLastpost,"Jump to Last Post","align=""middle""") & " <font color==""" & strForumLinkColor &""">" &  ForumTopicSubject & "</font></a><br>"
	else
		DoLastPostLink = ""
	end if
end function


but the text link shows up as a baby blue color, but strForumLinkColor is defined as FFFFFF in my database and all other values for links are set to FFFFFF or CCCCCC, no blue link colors are defined in my db.
see it here:
http://www.coastercrazy.com/forum/

can anyone probably figure out what is causing this? Need a copy of my inc_header.asp file perhaps?
Thanks in advance
Also looking at the source through IE it defines the link color as FFFFFF as well, boggles my mind.
WWS

coaster crazy

Gargoyle
Junior Member

USA
280 Posts

Posted - 16 October 2003 :  17:26:11  Show Profile  Visit Gargoyle's Homepage
Looks more like a teal to me.... Send me the modified file WWS and I'll compare it to mine.

Nevermind I see what is wrong. Remove the forum color code from your code and it should work right.

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

Edited by - Gargoyle on 16 October 2003 17:29:38
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 October 2003 :  17:57:06  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
oops nevermind!
it was the double == sign before """ & strForumLinkColor &"""

lol I should have seen that before knocking my brains around Thanks for the help though

coaster crazy
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 16 October 2003 :  20:37:44  Show Profile  Visit Gargoyle's Homepage
DOH!! I missed that...

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