Pages:
1
2 |
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
Easy,,,go to your themes folder/images and change the image to the one you want giving it the same name as the one your replacing.
|
|
Reesh
Member
Posts: 14
Registered: 4-29-2013
Member Is Offline
|
|
Aware of that, but I need one icon for EACH forum category... 10-15 different. Not just folder.gif and red_folder.gif, but folder1.gif-folder15.gif,
get it?
|
|
lottos
Administrator
Posts: 479
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
Leave those images for now.
To add an image for your chosen forum area, go into
Administration Panel -> Forums ->
Choose the forum you are editing
-> More Options
In the Description field, add an <img src> for the image you want.
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
Quote: Originally posted by Reesh | Aware of that, but I need one icon for EACH forum category... 10-15 different. Not just folder.gif and red_folder.gif, but folder1.gif-folder15.gif,
get it? |
Sorry misunderstood which icons.
|
|
Reesh
Member
Posts: 14
Registered: 4-29-2013
Member Is Offline
|
|
The icons in the attachments should all be different. Is there any way?
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
I am not sure where these are but I will have a look.
I'm sure Lottos would know.
I'll let you know as soon as I find it.
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
OK here is what I have found. In the root in templates.xmb which can also be accessed from your admin panel in templates although I found that this
file is much more detailed. There you will find the names to each file relating to your images (example) all the ones that start with
ForumDisplay_Subforum and forumdisplay_thread.
But the same idea as I mentioned before about changing the images still stands for these but if you want a completely different image for each forum
name then I'm afraid I'm not that good with coding to help you there. Sorry
|
|
lottos
Administrator
Posts: 479
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
Technically it can be done (but my way outlined above is quick and easy and gives much the same result).
To get the desired result on the index page, you would need to:
Add a column to the forums table, perhaps called forumimage
Add the image location to each row on the forums table for each forum you want an image displayed for (easiest to do it via phpmyadmin to save having
to alter yet another script).
Edit index.php, look for the $fquery select that selected c.name as cat_name, c.fid as cat_fid and simply add in the new c.forumimage
Edit the index_forum template to display the forum image
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
Quote: Originally posted by lottos | Technically it can be done (but my way outlined above is quick and easy and gives much the same result).
To get the desired result on the index page, you would need to:
Add a column to the forums table, perhaps called forumimage
Add the image location to each row on the forums table for each forum you want an image displayed for (easiest to do it via phpmyadmin to save having
to alter yet another script).
Edit index.php, look for the $fquery select that selected c.name as cat_name, c.fid as cat_fid and simply add in the new c.forumimage
Edit the index_forum template to display the forum image
|
I tried the img code in the details section of the forum. It places an image to the end of the forum name or at the beginning depending on which you
prefer.
You also have to remember that by doing a recode you won't get the images changing according to the forum status as there is more than 1 image
available.
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
What do you think of this idea?
|
|
Reesh
Member
Posts: 14
Registered: 4-29-2013
Member Is Offline
|
|
You are a genius!!! That is just what I'm looking for. How did you do it? (the print screen)
|
|
Phil1ooo
Member
Posts: 85
Registered: 4-24-2013
Member Is Offline
|
|
This is just the start as although I'm no coder I am having a go at it.
Here is were I am up to but it doesn't display at front end yet.
Anyone who can help would be greatly appreciated.
Cheers
|
|
Pages:
1
2 |