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/Code)
 TITLE MOD - adds title to Topic
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aaron S.
Average Member

USA
985 Posts

Posted - 11 May 2002 :  16:45:33  Show Profile  Visit Aaron S.'s Homepage
Here is a quick and eady MOD to add the title to the initial posting in a topics.

Right now the only page you can get the topic from is the heirachtical menu which isn't the most intuiative place to look.


In TOPIC.ASP on about line 606 (fresh copy), look for:

<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =formatStr(Topic_Message) %></font></td>

And change it to:

<font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><B><% =formatStr(Topic_Subject) %></B><BR><BR><% =formatStr(Topic_Message) %></font></td>

That's it.

--Aaron



DOWNLOAD GREAT NEW MODS HERE

VodkaFish
Average Member

USA
654 Posts

Posted - 11 May 2002 :  17:38:37  Show Profile  Send VodkaFish an AOL message  Send VodkaFish an ICQ Message  Send VodkaFish a Yahoo! Message
I've been meaning to do this for a while. I still haven't, but thought I'd add in that this is good for search engines too. Gives you better placement.

Good thoughts Aaron

v ø d k â f ï § h
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 13 May 2002 :  13:46:31  Show Profile
i agree, a very good addition

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 May 2002 :  14:22:57  Show Profile
That adds the title above the actual message, right?

Why not make this small change:
Line 856 of topic.asp now shows this:
Response.Write (prevTopic & "<b><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """> Topic </font></b>" & nextTopic)

Change it to this by making the change in red:
Response.Write (prevTopic & "<b><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """> " & ChkString(Topic_Subject,"title") & " </font></b>" & nextTopic)

If you do that, you should get the same effect as what I have on my site: the title will show where it now says "Topic" (which is slightly indescriptive).




http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 13 May 2002 :  16:07:22  Show Profile  Visit Aaron S.'s Homepage
I had it that way to begin with... but then changed it.

I'm not exactly sure why I changed it (late night)... but I think it was because I had plans to let replies have subjects also (they would be displayed in the same way).

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 15 May 2002 :  00:37:40  Show Profile
how about having meta tags too .. or am i asking for more

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