XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
 Pages:  1  2
Author: Subject: [New] Move text BELOW header in seperate tables.
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-8-2013 at 02:59 AM


Quote: Originally posted by Reesh  
No, but I would love it if you know how to change the icons to be different next to every forum :)


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.





View user's profile View All Posts By User
Reesh
Member
***




Posts: 14
Registered: 4-29-2013
Member Is Offline


[*] posted on 5-8-2013 at 03:14 AM


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? :)
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 461
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 5-8-2013 at 03:33 AM


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.



View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-8-2013 at 09:21 AM


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.





View user's profile View All Posts By User
Reesh
Member
***




Posts: 14
Registered: 4-29-2013
Member Is Offline


[*] posted on 5-8-2013 at 09:56 AM


The icons in the attachments should all be different. Is there any way?

Skjermbilde 2013-05-08 kl. 11.55.21.png - 21kB
View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-8-2013 at 09:29 PM


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.





View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-8-2013 at 10:21 PM


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



View user's profile View All Posts By User
lottos
Administrator
********




Posts: 461
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 5-9-2013 at 11:09 AM


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






View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-9-2013 at 09:30 PM


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.





View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-10-2013 at 01:01 AM


Quote: Originally posted by Reesh  
The icons in the attachments should all be different. Is there any way?



What do you think of this idea?



10-05-2013 10-55-09 AM.png - 9kB



View user's profile View All Posts By User
Reesh
Member
***




Posts: 14
Registered: 4-29-2013
Member Is Offline


[*] posted on 5-10-2013 at 02:49 AM


You are a genius!!! That is just what I'm looking for. How did you do it? (the print screen)
View user's profile View All Posts By User
Phil1ooo
Member
***




Posts: 85
Registered: 4-24-2013
Member Is Offline


[*] posted on 5-10-2013 at 03:23 AM


Quote: Originally posted by Reesh  
You are a genius!!! That is just what I'm looking for. How did you do it? (the print screen)


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



10-05-2013 1-22-30 PM.png - 40kB



View user's profile View All Posts By User
 Pages:  1  2

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 23.5% - SQL: 76.5%]