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)
 All Forums > Category Name > Forum Name??
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  18:52:52  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
{icon}All Forums
     {icon}Category Name
        {icon}Forum Name
          {icon}Topic


You know how it currently says something like above in topic.asp, forum.asp, default.asp, my.asp, cal.asp, photo_album.asp, file_lister.asp, filelibrary.asp, and on admin_home.asp; how is it possible to make it look like this instead:

All Forums » Category Name » Forum Name
Topic

Is it really possible to make it look like this? I like this on my other forum using IPB..

I will post up all the files mentioned above in a moment...


»Snitz Graphics

Edited by - Faizan on 29 November 2003 18:55:18

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 29 November 2003 :  19:10:44  Show Profile  Visit MarcelG's Homepage
Faizan, of course it is, just look here for the examples. Okay, I don't have the icons along with it, but the general idea is the same.

I use this code (from topic.asp)
(I use > (>) instead of », but that's a detail)
Response.Write " <table border=""0"" width=""100%"">" & vbNewLine & _
			"        <tr>" & vbNewLine & _
			"          <td width=""50%"" align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
		"           <a href=""default.asp"">the forums</a> > " & vbNewLine
Response.Write	"<a href=""forums.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a> > " & vbNewLine
Response.Write	"<a href=""forum.asp?" & ArchiveLink & "FORUM_ID=" & Forum_ID & """>" & ChkString(Forum_Subject,"display") & "</a> <br> > " & vbNewLine
	if IsEvent=1 then
		Response.Write	"          " & getCurrentIcon(strIconEvent,"","") & " <b>" & strCalEvent
	else	
		if ArchiveView = "true" then
			Response.Write	"          " & getCurrentIcon(strIconFolderArchived,"","align=""absmiddle""") & " <b>"
		elseif Cat_Status <> 0 and Forum_Status <> 0 and Topic_Status <> 0 then
			Response.Write	"          " & getCurrentIcon(strIconFolderOpenTopic,"","align=""absmiddle""") & " <b>"
		else
			Response.Write	"          " & getCurrentIcon(strIconFolderClosedTopic,"","align=""absmiddle""") & " <b>"
		end if
	end if
	if Request.QueryString("SearchTerms") <> "" then
		Response.Write	SearchHiLite(ChkString(Topic_Subject,"title"))
	else
		Response.Write	ChkString(Topic_Subject,"title")
	end if
	if strUseOnlineOffline = "1" then
		Call ProcessInside(Topic_ID ,"T")
	end if	
	Response.Write	"</b></font></td>" & vbNewLine
	Response.Write	"</tr>" & vbNewLine & _


portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 29 November 2003 19:11:06
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  19:11:19  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Here are all the files mentioned above:
http://pakigeek.com/~faizan/snitz

(It's a Linux server so the .asp files will show up as .txt files..)



»Snitz Graphics
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  19:14:49  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Oh thanks, Marcel, I will give this a try!




»Snitz Graphics
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  19:32:03  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Find the table near the top of each page that has the all forums link and the icon_bar.gif in it and replace that with marcel's example. If it gives you grief one of us can help you I am sure.
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  19:38:25  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Thanks for the help guys, I am giving it a try tonight!

I am sure I will get problems, so wait until I post them..




»Snitz Graphics
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  20:09:05  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
OK Here we go...

I tried to put your code replacing mine but it did not work, I am not a programmer or anyone who
knows anything about ASP, all I know is a bit of HTML and that's it!

What I am trying to say there is that I think I need step by step instructions; like
"Find this, replace with this"

Is there anyone who'd be willing to helo me like this?

Here are all the files..

TIA..


»Snitz Graphics
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 29 November 2003 :  20:19:33  Show Profile  Visit MarcelG's Homepage
Faizan, I am willing to help, however I it's 02:13 here in the Netherlands, so I am trying to keep my face hovering above the keyboard.....So, I'm gonna sleep, and see if I can help you out tomorrow.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  20:25:39  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
It's 1:20AM here so that's not a problem for me..


Thanks a lot for your help Marcel!

Very much appreciated..


»Snitz Graphics
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 29 November 2003 :  20:51:06  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Here is an example that should get you started. Basically, you are cutting out the table row & br tags that make it several rows high and cutting out the icons. Just keep it all in one row.

In cal.asp

find this:

Response.Write " <TABLE width=""100%"" border=""0"">" & vbNewLine & _
" <TR>" & vbNewLine & _
" <TD><FONT face=" & strDefaultFontFace & " size=" & strDefaultFontSize & ">" & getCurrentIcon(strIconFolderOpen,"","") & " <A href=""default.asp"">All Forums</A><BR />" & vbNewLine & _
" " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconEvent,"","") & " " & strCalEventsCalendar & "</FONT></TD>" & vbNewLine & _
" </TR>" & vbNewLine & _
" </TABLE>" & vbNewLine


replace with this:

Response.Write " <TABLE width=""100%"" border=""0"">" & vbNewLine & _
" <TR>" & vbNewLine & _
" <TD><FONT face=" & strDefaultFontFace & " size=" & strDefaultFontSize & "> <A href=""default.asp"">All Forums</A> > " & strCalEventsCalendar & "</FONT></TD>" & vbNewLine & _
" </TR>" & vbNewLine & _
" </TABLE>" & vbNewLine
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 29 November 2003 :  21:46:34  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Thanks Rebel, this one works in cal.asp, and file_lister.asp. I tried to do similar stuff in Admin_home.asp, but did not work.. Still trying it in other files..






»Snitz Graphics

Edited by - Faizan on 30 November 2003 10:45:41
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 29 November 2003 :  23:03:39  Show Profile  Visit dayve's Homepage
I did this on my 3.1SR4 version and there is a caveat. Keep in mind that your titles for forums and categories can be long so it will not look right at times. For example, imagine this scenario (using this thread's info as an example):

All Forums » MOD Add-On Forum (W/Code) » All Forums > Category Name > Forum Name??

It could even get longer depending on how the categories and forums are titled.

Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 30 November 2003 :  02:28:45  Show Profile
quote:
Originally posted by dayve

I did this on my 3.1SR4 version and there is a caveat. Keep in mind that your titles for forums and categories can be long so it will not look right at times. For example, imagine this scenario (using this thread's info as an example):

All Forums » MOD Add-On Forum (W/Code) » All Forums > Category Name > Forum Name??

It could even get longer depending on how the categories and forums are titled.



That's why you should display it like this:


All forums > Category Name > Forum Name

<center>Topic Name</center>



That's what I did on my soon to be released forum.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 30 November 2003 :  03:02:11  Show Profile  Visit dayve's Homepage
Don't you think it can still get long at times?

Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 30 November 2003 :  10:11:05  Show Profile
I did this a while back. I changed it back to original because I thought it looked to long also. Just look at the nav for this post, it would span most the page. I think the break for the topic does the trick though. Marcels' looks so good, I might have another go at it .
I made a nav. bar that goes in the footer. I've never tried it in the header. It just covers a basic forum and would take more work to cover all your files.

    _-/Cripto9t\-_
Go to Top of Page

Faizan
Average Member

United Kingdom
592 Posts

Posted - 30 November 2003 :  10:52:52  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
quote:
Originally posted by dayve

I did this on my 3.1SR4 version and there is a caveat. Keep in mind that your titles for forums and categories can be long so it will not look right at times. For example, imagine this scenario (using this thread's info as an example):

All Forums » MOD Add-On Forum (W/Code) » All Forums > Category Name > Forum Name??

It could even get longer depending on how the categories and forums are titled.



Dayve, what you are saying is true but it would suit me as I have shorter category and forum names, plus I am putting the topic name on the next line:

quote:
All Forums » Category Name » Forum Name
Topic


»Snitz Graphics
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07