![]() |
Sub Forum Icons help
Hey there everyone;
I was wondering if anyone could offer some assistance with something I am attempting to do with my site and that is to have custom sub forum images dependent on the forum. At the moment when you have sub forums displaying on the ForumHome it displays an image: images/statusicon/subforum_new-48.png However what I would like to do is have it so: Sub Forum 1 - displays image - images/statusicon/subforum_new-1.png Sub Forum 2 - displays image - images/statusicon/subforum_new-2.png Sub Forum 3 - displays image - images/statusicon/subforum_new-3.png Before anyone directs me to modifications available on these forums I have attempted to install them however they don't actually change those sub forum images per forum. I would really appreciate some help if someone knows how to do it. |
You can easily do this under the forum section's settings
Within Prefix for Forum Status Images, just put your custom path. For example, putting in: subforum/ will point to: images/statusicon/subforum This subforum folder images must use the same filenames from the default ones: forum_link-48.png forum_new_lock-48.png forum_new-48.png forum_old_lock-48.png forum_old-48.png |
No sorry - first of all thank you for your help - but I know how to change the Status Icons but what just suggested doesn't do what I have asked for.
I am looking at changing the icon that appears on the Forum Home Page when you have Sub Forums viewable on the home page - at the moment it displays: http://www.yourdomain.com/images/sta...rum_new-48.png What I would like for it to do is each sub forum has it's own little icon that displays ON THE FORUM HOME PAGE. Thank you for attempting to help. |
This requires template editing. Go to forumhome_subforumbit_post under forumhome:
Replace the code with this: Code:
<li class="subforum"> pathtoimage is your location of the image you want to use Of course, add more elseifs for more subforums. |
I want to have your babies :) Thanks I thought it was something basic but have the biggest headache today and can't really think straight.
I really appreciate it - if you have paypal please send me a message so I can send you a small donation for your assistance, I really do appreciate your help. --------------- Added [DATE]1276417513[/DATE] at [TIME]1276417513[/TIME] --------------- UPDATE: Just an Update, I installed this however the Subforum Title and other subforums have disappeared (I understand the other sub forums as I need to put this information for them) however the sub forum titles are completely gone. Sorry to be a pain but thought if we could get an update for this it would be greatly appreciated and useful to others. --------------- Added [DATE]1276423235[/DATE] at [TIME]1276423235[/TIME] --------------- I am hoping someone can help with this when attempting the above codes it comes up with: Code:
The following error occurred when attempting to evaluate this template: |
Sorry, forgot a trailing slash on the elseif.
Code:
<li class="subforum"> You replace xx and pathtoximage for your first subsection. You replace yy and pathtoyimage for your second subsection and etc. If you need to change more, you just copy paste the else if statement code and add it after your last elseif code: Code:
<vb:elseif condition="$forum[forumid] == zz" /> Code:
<li class="subforum"> Code:
<li class="subforum"> |
Now it's official I want to have your babies :D
|
All times are GMT. The time now is 07:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|