![]() |
New Joe thanks for the sub-forum icon fix. It works as advertized. I installed and all my sub-forum icons showed up..:D
|
1 Attachment(s)
Is this what you guys are trying to do? It just takes one simple style change after installing this mod. I will not list the change without the mod authors approval.
|
1 Attachment(s)
Here's another example where I removed the commas and have all the sub forums on the same line with the subforum titles centered under the subforum icons. I also changed the link so the icons are hot links to the subforums just like the titles.
I think this one looks better than my first example. |
1 Attachment(s)
And here's one last example with several forums where the last forum has sub forums with the icons. I think you get the idea now so I won't clog up the thread with any more examples.
By the way, I'm using 4.2 PL2 |
1 Attachment(s)
Dark Wizard, do I have your permission to list my change? As you can see from my examples it does work for sub forums.
My change is very simple and takes about 1 minute to apply. I will not post my change without your approval. Update: I have a lot of work to do so I'll check back later for your reply otherwise this will have to wait until Monday. Second Update I have also figured out how to display the forum icon (or sub forum icon if displaying a sub forum ) at the top of the thread. Notice in the last screen I removed the "Sub-Forum" header on the forum home display. Do we really need to tell people that these are sub forums? I think they can figure that out on their own. *** Note that for these examples I changed some of the forums in post 674 to sub forums so you can see that my changes really do work for sub forums Hey Tup14, are you still "lmao!" ? (post 653) - next time try believing someone when they say something works instead of mocking them. I will explain how I made these changes after DW approves posting the changes. |
Quote:
|
Here are my changes. I suggest you make a copy of your original code first as I am not responsible for any changes to your forums you make.
To display the sub forum icons: Styles & Templates>Search In Templates>forumhome_subforums Look for this line of code: Code:
<a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>{vb:raw row.comma} Code:
<br> I also added a line break at the top of forumhome_subforums to add a line between the forum and sub forums. If you want to control how many subforums are displayed on each line (I limit it to 4) then do this: At the top of forumhome_subforums add this: Code:
<script type="text/javascript"> Then after this line of code Code:
<vb:each from="subforums" value="row"> Code:
<script type="text/javascript"> If you want to get rid of the "Sub-Forum" heading then comment out or delete this line of code at the top of forumhome_subforums: Code:
<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4> To add the forum or sub forum icon at the top of a thread do this: Styles & Templates>Search In Templates>FORUMDISPLAY after "{vb:raw navbar}" add this line of code: Code:
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw foruminfo.forumiconimg}" /> |
Does it work on 4.2.0 ?
|
I'm using it on 4.2 PL2
|
Quote:
|
All times are GMT. The time now is 09:56 PM. |
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:
|