![]() |
Prefix for Sub-Forum Status Images
This allows the Prefix for Forum Status Images on Sub forums.
In the template forumhome_subforumbit_nopost replace all the code with this: Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> forumhome_subforumbit_post replace all the code with this: Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/$forum[imageprefix]subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> |
Finally! :):up:
|
Well done! :up:
|
how to add img ?? link adresse ???
|
simply add a prefix to your subforum.
for an example lets say we have a subforum called "manutd" Now in: AdminCP > Forum & Moderators > Forum Manager > choose your sub forum in this case manutd then in the option > Prefix for Forum Status Images add a prefix called (this is an example) manutd_ Now create your images, I have two images and called them the following: manutd_subforum_new.png manutd_subforum_old.png Now upload these images to the directory /images/statusicon/ and thats it, if you want to change the file type of the status images simply change the file name in the code (above) to whatever you want. I have now highlighted that part in red! I have attached some images to help some of you out! |
very nice thank u sir.
|
thanks my friend
|
i have 1 question, this is for the subforums. and it also works for the forums status icon.
but i see on your forums that u have 3 icons. i was wondering how did u that other icon next to the forums, looks very nice. |
I dont know what you mean by 3 icons?
if you mean, what I think you mean (look at image) http://www.vbulletin.com/forum/showthread.php?t=114545 Dan |
hi Danny, interesting hack, but i saw that you have a trouble with the alignment of the subforums (if you have some) ... it's possible to fix this?
thanks |
@Kurtz
I have looked at my forum and I don't see any problem regarding the alignment, did you mean that you are having an alignment problem? If so I am using Cyb's Subforum hack https://vborg.vbsupport.ru/showthread.php?t=177954 |
@ Dan: i mean this alignment (check the pic attached)
|
Yeah I am trying to solve this at the moment lol
I'll post if I can fix it! |
thx Dan ;)
|
Quote:
|
Quote:
|
I'll give it a go, thanks Nexialys
|
news Dan?
|
Quote:
|
Nice mod sadly i found it when i finished doing it myself
Thanks :) |
Quote:
|
Er... Seems a nice mod, but no files uploaded? :P
|
Cool. Thanks
Quote:
|
Not showing any images for me... even after changing the format to .gif - any help? I'm running the latest version of vBulletin (3.7.4).
|
It's
Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/$forum[imageprefix]subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> But thanks a lot this is very usefull. |
any one used this on 3.8.1?
|
After I finished these changes, then I got a problem with sub-forum columns. Look at the picture. I put 2 columns in sub-forum manager. But It's not working
https://vborg.vbsupport.ru/external/2010/12/60.png |
All times are GMT. The time now is 05:49 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:
|