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)
 Forum > cat > topic
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 22 February 2004 :  14:23:10  Show Profile  Visit PeeWee.Inc's Homepage
All Forums
Snitz Forums 2000 MOD-Group


You know how we have this menu on Forum.asp, well i would like to edit so it goes:

All Forums > Snitz Forums 2000 MOD-Group

And then the same for topic.asp

All Forums > Snitz Forums 2000 MOD-Group > topic name

However, after having a little look, i got a bit confused and deleted the wrong code. Does any of you ASP Gods know the code?

De Priofundus Calmo Ad Te Damine

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 22 February 2004 :  14:25:52  Show Profile  Visit D3mon's Homepage
This one for Speedball2 too?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 22 February 2004 :  14:28:40  Show Profile  Visit D3mon's Homepage
if so, these lines (about 352 - 371) are where its at:
"<td class=""l nw"" width=""33%"">" & _
"<a href=""default.asp"">" & getCurrentIcon(strIconFolderOpen,"All Forums","") & "</a> <a href=""default.asp"">All Forums</a><br />" & _
getCurrentIcon(strIconBar,"","")
if Cat_Status <> 0 then 
	Response.Write	getCurrentIcon(strIconFolderOpen,"","")
else 
	Response.Write	getCurrentIcon(strIconFolderClosed,"","")
end if
Response.Write " <a href=""default.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","")
if ArchiveView = "true" then 
	Response.Write 	getCurrentIcon(strIconFolderArchived,"","")
else
	if Cat_Status <> 0 and Forum_Status <> 0 then 
		Response.Write	getCurrentIcon(strIconFolderOpenTopic,"","")
	else 
		Response.Write	getCurrentIcon(strIconFolderClosedTopic,"","")
	end if
end if
Response.Write " <a href=""forum.asp?" & ArchiveLink & "forum_id=" & Forum_ID & """>" & ChkString(Forum_Subject,"display") & "</a></td>" & _


Simply replacing the <br /> tags with {space}>{space} should do it.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 22 February 2004 14:30:14
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 February 2004 :  15:00:36  Show Profile  Visit dayve's Homepage
one caveat... long forum, category and topic names.

Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 22 February 2004 :  16:23:25  Show Profile  Visit PeeWee.Inc's Homepage
That should not be too much trouble as i have taken away the "show topics from the last year" dropdown box.
I'll just have to move that around to the bottom or something. Maybe have it as a pop-up.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 22 February 2004 :  16:29:22  Show Profile  Visit PeeWee.Inc's Homepage

"<td class=""l nw"" width=""33%"">" & _
"<a href=""default.asp"">" & getCurrentIcon(strIconFolderOpen,"All Forums","") & "</a> <a href=""default.asp"">All Forums</a><br />" & _
getCurrentIcon(strIconBar,"","")
if Cat_Status <> 0 then 
	Response.Write	getCurrentIcon(strIconFolderOpen,"","")
else 
	Response.Write	getCurrentIcon(strIconFolderClosed,"","")
end if
Response.Write " <a href=""default.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","")
if ArchiveView = "true" then 
	Response.Write 	getCurrentIcon(strIconFolderArchived,"","")
else
	if Cat_Status <> 0 and Forum_Status <> 0 then 
		Response.Write	getCurrentIcon(strIconFolderOpenTopic,"","")
	else 
		Response.Write	getCurrentIcon(strIconFolderClosedTopic,"","")
	end if
end if
Response.Write " <a href=""forum.asp?" & ArchiveLink & "forum_id=" & Forum_ID & """>" & ChkString(Forum_Subject,"display") & "</a></td>" & _


The statment still keeps the images () in it. I wanna get rid of that, and just have text.



I feel stuuupid


De Priofundus Calmo Ad Te Damine
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 22 February 2004 :  16:42:46  Show Profile  Visit D3mon's Homepage
Just drop these parts:
<a href=""default.asp"">" & getCurrentIcon(strIconFolderOpen,"All Forums","") & "</a>


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 22 February 2004 :  17:05:05  Show Profile  Visit PeeWee.Inc's Homepage
I've cut it down to this:

"<td class=""l nw"" width=""33%"">" & _
"</a> <a href=""forumhome.asp"">All Forums</a> > " 
Response.Write " <a href=""forumhome.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
"<br />"


And it seems to do what i want now.



Cheers.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 24 February 2004 :  14:47:42  Show Profile
PeeWee.Inc,would you like test this method in it?
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=49605
i want to say a question:
if the name of the topic is too long(All Forums > Snitz Forums 2000 MOD-Group > .....)
and if it can be changed look like it:

it was a imagine image,not a realy,but i think we can do it.




Who am i?
I lost my dream!

Edited by - evol on 24 February 2004 14:48:15
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.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07