View Full Version : images in forum bit vb3
nguyenvu27
01-11-2004, 10:00 PM
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
jluerken
01-12-2004, 08:10 AM
I cannot image what this is doing. Can you please post a screenshot?
nguyenvu27
01-12-2004, 08:22 AM
demo at : http://nguyenvu.org/ :D
Allan
01-12-2004, 08:26 AM
demo at : http://nguyenvu.org/ :D
link down :(
Zachery
01-12-2004, 08:32 AM
link down :(imo if you want images for every category its not hard(as in no need for hack)
nguyenvu27
01-12-2004, 08:39 AM
screen shoot below :
Boofo
01-12-2004, 09:27 AM
imo if you want images for every category its not hard(as in no need for hack)
Ok, how would you do it for each forum without a hack? ;)
Zachery
01-12-2004, 09:31 AM
Ok, how would you do it for each forum without a hack? ;)its nothing more than a small trick :) two ways to do it i guess
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 :)
MrNase
01-12-2004, 10:32 AM
nice but it could be done via conditionals as you can see on www.sportboard.de :)
Alien
01-12-2004, 10:41 AM
I'd like to go the conditionals route, can you quote the code you use?
Thanks man. :D
its nothing more than a small trick :) two ways to do it i guess
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 :)
tbh...i wouldn't of know then witout you tellin me. So, GREAT hack! lol...
thanks
Zachery
01-12-2004, 04:57 PM
I'd like to go the conditionals route, can you quote the code you use?
Thanks man. :D
i think its already been released on vbulletin templates.com :)
sabret00the
01-12-2004, 09:16 PM
yeah i'm doing it with conditionals on my board
sabret00the
01-14-2004, 02:16 AM
i think its already been released on vbulletin templates.com :)was just about to install this but can't find it :(
Boofo
01-14-2004, 03:30 AM
yeah i'm doing it with conditionals on my board
Mind sharing how? ;)
gmarik
01-14-2004, 07:27 PM
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.
sabret00the
01-14-2004, 09:41 PM
Mind sharing how? ;)as soon as i find out or get enough energy to write the conditional i will.
but to get the images to display it will just be "images/misc/$forumid.gif"
Boofo
01-14-2004, 09:47 PM
Ok, great! Thank you, sir. ;)
nhochochack
01-26-2004, 08:49 AM
who's known link to download the "icons" anh "smiles"
For VBB?
sypher_again
01-27-2004, 03:01 PM
thx it's a good job , ;)
Matrixgl
01-27-2004, 03:50 PM
Ok, how would you do it for each forum without a hack? ;)
http://www.vbulletintemplates.com/mods/showthread.php?t=5037
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.
gmarik
01-31-2004, 02:56 PM
It would be better to have JUST one icon, with different trasparency when on and off ...
LordJMann
02-01-2004, 02:20 AM
It would be better to have JUST one icon, with different trasparency when on and off ...
gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.
Matrixgl
02-01-2004, 01:03 PM
gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.
You can use dhtml/javascript to change the transparency too, dont really need GD. GD would be the radiculas way of doing this.
sabret00the
04-01-2004, 09:14 AM
Ok, great! Thank you, sir. ;)
<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>here you go boofo, forgot you were after this.
Boofo
04-01-2004, 09:57 AM
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. ;)
sabret00the
04-01-2004, 10:23 AM
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. ;)
nope just add it to your "forumhome_forumbit_level2_post" template, the most you'd have to do is have the images in the right directory and named correctly.
Boofo
04-01-2004, 10:52 AM
What is this for then?
<if condition="($forum[parentid] == XX)
sabret00the
04-01-2004, 11:06 AM
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.
Boofo
04-01-2004, 11:10 AM
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. ;)
sabret00the
04-01-2004, 11:56 AM
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 :)
Vb-Hispano
04-11-2004, 03:37 PM
working in gold?
thanks
jluerken
05-05-2004, 09:29 AM
working in gold?
thanks
Not for me. Maybe the author can check this?
Zachery
05-05-2004, 05:34 PM
This is almost totaly a template mod, not even worth hacking
Boofo
05-05-2004, 05:42 PM
This is almost totaly a template mod, not even worth hacking
Yopu keep saying that but I haven't seen a template mod to do this yet. ;)
sabret00the
05-05-2004, 06:35 PM
Yopu keep saying that but I haven't seen a template mod to do this yet. ;)
i showed you one ;)
jluerken
05-06-2004, 06:02 AM
This is almost totaly a template mod, not even worth hacking
I do not agree. With this hack you're able to enter the img url directly during the creation of the board.
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.
sabret00the
05-06-2004, 08:15 AM
I do not agree. With this hack you're able to enter the img url directly during the creation of the board.
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.
if they're parent styles then it's only one setting
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 :)
msimplay
05-08-2004, 05:10 PM
nope just add it to your "forumhome_forumbit_level2_post" template, the most you'd have to do is have the images in the right directory and named correctly.
do i replace
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="forum_$forum[statusicon].gif" title="" border="0" />
to get this working and then replace make images for each forum id ?
sross
05-18-2004, 08:30 PM
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! :)
Zachariah
05-19-2004, 04:22 AM
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! :)
I have not installed this yet, but there is 2 templates
forumhome_forumbit_level1_xxxx
forumhome_forumbit_level2_xxxx
This hack prob. edited only one? If so add the variable for the image to show up into the other template.
proxyMX
05-20-2004, 02:11 PM
I have not installed this yet, but there is 2 templates
forumhome_forumbit_level1_xxxx
forumhome_forumbit_level2_xxxx
This hack prob. edited only one? If so add the variable for the image to show up into the other template.
i like this idea but am confused about what the hell i should edit
calvinnguyen
06-10-2004, 08:01 PM
I love this hack alot, check it out our website after we install in this: http://vietsupermodel.net
i`d love to see what qmarick was talking about! one image if there`s NEW post and other if there`s NO!
Any ideas?
mholtum
09-12-2004, 04:38 PM
was just about to install this but can't find it :(
http://www.vbulletintemplates.com/mods/showthread.php?t=2521
DJCobol
02-24-2005, 01:32 AM
http://www.vbulletintemplates.com/mods/showthread.php?t=2521
Thats a link to a vB2 hack, and wont work on vB3.
Thats a link to a vB2 hack, and wont work on vB3.
Try http://www.vbulletintemplates.com/mods/showthread.php?t=6335 then.
EDDIE!
02-24-2005, 04:47 PM
if I make it so pictures show on the forumbit through each forum's description by using HTML, how would I make it so the pictures only show on some skins but not on others? I know it would involve conditionals like <if condition="($styleid==17)"> but when I tried that, it didn't work. I am confused now. Please help!
aldo7a
07-30-2005, 04:16 PM
any bady update for this hack images in forum bit for 3.5.0 Release Candidate 1
please inform us how ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.