![]() |
images in forum bit vb3
add images into forum bit .
What this hack does: this will add 1 images on forumlist 1 Query to run 1 Files to edit admincp/forum.php 2 Templates edit: forumhome_forumbit_level1_post forumhome_forumbit_level2_post working on vbb RC 2 |
I cannot image what this is doing. Can you please post a screenshot?
|
demo at : http://nguyenvu.org/ :D
|
Quote:
|
Quote:
|
screen shoot below :
|
Quote:
|
Quote:
for your path to your forum icon youd use $stylevar[statusicon]/$forumid/ :) or $stylevar[statusicon]/$forumid(rest of the img extension i dun remember atm).gif :) |
nice but it could be done via conditionals as you can see on www.sportboard.de :)
|
I'd like to go the conditionals route, can you quote the code you use?
Thanks man. :D |
Quote:
thanks |
Quote:
|
yeah i'm doing it with conditionals on my board
|
Quote:
|
Quote:
|
So it's the sutom on/off images hack.
Could you lower the alpha transparency to the off buttons and a 100% allpha to the on, the new threads in thge place of on.gif and off.gif - just one gif and two states of visibility with the help of CSS. |
Quote:
but to get the images to display it will just be "images/misc/$forumid.gif" |
Ok, great! Thank you, sir. ;)
|
who's known link to download the "icons" anh "smiles"
For VBB? |
thx it's a good job , ;)
|
Quote:
You dont need a hack for this. You just have to edit two templates, and this can be achived. You can even have both on and off status icons. |
It would be better to have JUST one icon, with different trasparency when on and off ...
|
Quote:
|
Quote:
|
Quote:
HTML Code:
<if condition="($forum[parentid] == XX) OR ($forum[parentid] == XX)"><img src="images/forumhome/$forum[forumid].gif" alt="" border="0" filter:alpha(opacity=80); -moz-opacity: 0.6;" align="left" /></if> |
You'd have to write this line of code for each forum then, right? That could get pretty long if you want to use different images for each forum. ;)
|
Quote:
|
What is this for then?
HTML Code:
<if condition="($forum[parentid] == XX) |
it's for if you wanted all the forums in the bears den to bear an image, instead of all the forums on the forumhome.
|
How did you know about the Bear's Den? Have you been peeking? ;)
Ahhh, ok, that makes sense now. Thank you for explaining it to me. ;) |
i find it's best to take a look at mods sites, but also it's easier to explain if you can relate to it ;) so no problem :)
|
working in gold?
thanks |
Quote:
|
This is almost totaly a template mod, not even worth hacking
|
Quote:
|
Quote:
|
Quote:
There is no need to touch the template again and again. Second is that I am using for example three styles. Making this working with template hacking means to do the changing always three times. |
Quote:
and also if your images are in the correct folder and named as the forumid then it's just a simple matter of changing images should you want to change the image rather than edit the templates, but each tot heir own i guess :) |
Quote:
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="forum_$forum[statusicon].gif" title="" border="0" /> |
Hi, I have installed this hack and like it's ease of use. However I have a forum that is set to "not act as a forum" and still need the image to show, but when the option not act as forum is selected the image doesn't appear, help! :)
|
All times are GMT. The time now is 04:43 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:
|