Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Different images for each category

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Gio Posted - 15 November 2006 : 11:06:22
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...


<
11   L A T E S T    R E P L I E S    (Newest First)
modifichicci Posted - 17 November 2006 : 13:48:09
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<
Gio Posted - 17 November 2006 : 05:05:52

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



<
Gio Posted - 17 November 2006 : 03:24:58
yuuuuuu-huuuuuuh!!<
Gio Posted - 16 November 2006 : 09:02:02
yesssssss....already tested!
another idea?<
HuwR Posted - 16 November 2006 : 07:47:27
No it isn't possible to do what I suggested <
HuwR Posted - 16 November 2006 : 07:45:16
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 <
Gio Posted - 16 November 2006 : 07:39:49
ok...profile updated!

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


<
HuwR Posted - 16 November 2006 : 06:06:32
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 <
Gio Posted - 16 November 2006 : 05:32:05
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...<
rasure Posted - 15 November 2006 : 15:31:51
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<
HuwR Posted - 15 November 2006 : 11:09:13
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<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07