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)
 Different images for each category
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gio
Starting Member

Italy
6 Posts

Posted - 15 November 2006 :  11:06:22  Show Profile  Reply with Quote
hi, i think a great mod if near the name of the category in a forum i have an image, different by categories..

How can i do this?

i.e: now i'm in category "MOD Add-On Forum (W/O Code)"...with my idea should be something like this:
MOD Add-On Forum (W/O Code)
MOD Add-On Forum (W/Code)
etc...


<

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 15 November 2006 :  11:09:13  Show Profile  Visit HuwR's Homepage  Reply with Quote
what would be even better would be a mod that forced people to do a search before they made a post

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61157&SearchTerms=Different,images,for,each,category<
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 15 November 2006 :  15:31:51  Show Profile  Visit rasure's Homepage  Reply with Quote
quote:
Originally posted by HuwR

what would be even better would be a mod that forced people to do a search before they made a post



I could certainly do with something like that on my forum<

Psychic & Spiritual Development Resources
Go to Top of Page

Gio
Starting Member

Italy
6 Posts

Posted - 16 November 2006 :  05:32:05  Show Profile  Reply with Quote
quote:
Originally posted by HuwR

what would be even better would be a mod that forced people to do a search before they made a post

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61157&SearchTerms=Different,images,for,each,category



English not my language but the problem i wrote is different by the a.m. topic...as a matter of fact, i've do a search founding that topic but, as i told, the argument is different...<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 November 2006 :  06:06:32  Show Profile  Visit HuwR's Homepage  Reply with Quote
well, then try to explain in more depth what you want, you 2-3 lines does not give enough information to even guess at what you want. when you are in a forum the category is not displayed so how could you put an image next to it ?

perhaps setting the country in your profile would give us more of a chance of knowing you ar not english <
Go to Top of Page

Gio
Starting Member

Italy
6 Posts

Posted - 16 November 2006 :  07:39:49  Show Profile  Reply with Quote
ok...profile updated!

...and, this is my need: (example using home page of this forum...)
http://www.ludogate.net/images/snitz.jpg


<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 November 2006 :  07:45:16  Show Profile  Visit HuwR's Homepage  Reply with Quote
ok, now I understand, I'm not sure but it may be possible to do that simply by adding an image tag in the category subject line, I'm not sure because I have never attempted it before <
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 November 2006 :  07:47:27  Show Profile  Visit HuwR's Homepage  Reply with Quote
No it isn't possible to do what I suggested <
Go to Top of Page

Gio
Starting Member

Italy
6 Posts

Posted - 16 November 2006 :  09:02:02  Show Profile  Reply with Quote
yesssssss....already tested!
another idea?<
Go to Top of Page

Gio
Starting Member

Italy
6 Posts

Posted - 17 November 2006 :  03:24:58  Show Profile  Reply with Quote
yuuuuuu-huuuuuuh!!<
Go to Top of Page

Gio
Starting Member

Italy
6 Posts

Posted - 17 November 2006 :  05:05:52  Show Profile  Reply with Quote

All done:

I add this lines (line 298 more or less. File: default.asp):

if CatID = "11" then
image = "red.gif"
end if

if CatID = "12" then
image = "silver.gif"
end if


if (recForumCount = "" or not bContainsForum) and (mLev = 4) then
Response.Write " -" & vbNewline & _
" <td bgcolor=""" & strCategoryCellColor & """ >"
if Cat_ID = "" then
Response.Write "<img src=""" & image & """><a href=""default.asp?CAT_ID=" & CatID & """ title=""View only the Forums in this Category""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>" & ChkString(CatName,"display") & "</b></font></a></td>" & vbNewline
else

Response.Write "<img src=""" & image & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>" & ChkString(CatName,"display") & "</font></td>" & vbNewline
end if



<

Edited by - Gio on 17 November 2006 08:25:58
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 17 November 2006 :  13:48:09  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Why not call images image_11.gif and image_12.gif and change only line to
Response.Write "<img src=""image_" & CatId & ".gif""><a href=""default.asp?CAT_ID=" & CatID & """ title=""View only the Forums in this Category""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>" & ChkString(CatName,"display") & "</b></font></a></td>" & vbNewline

so you have to set only omages with the right name and they will be displayed without changing your default.asp<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07