Log in

View Full Version : Image link question


AlexUK
09-14-2005, 12:42 PM
I have the columns hack installed in my forums vB 3.0.7 working fine and I have added images to the forums.
I want users to be able to click the images to enter the forums not the text, is this possible?

Look here: http://www.whitecordcult.com/forums/

The images above the text are dead and I want to make them link like the text.

peterska2
09-14-2005, 09:44 PM
ok. I'm not saying this will definately work, but I'm 95% sure it will.

You should have a template called forumhome_forumbit_columncell

Find <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /><br />
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
OR
<img src="$stylevar[imgdir_statusicon]/forum_$forum[forumid]_$forum[statusicon].gif" alt="" border="0" /><br />
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>

Replace with

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /><br />
<strong>$forum[title]</strong></a>

OR
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/forum_$forum[forumid]_$forum[statusicon].gif" alt="" border="0" /><br />
<strong>$forum[title]</strong></a>


Let me know if this works or not.

AlexUK
09-15-2005, 06:35 AM
Hey peterska2 that worked as you predicted thanks.
I have another question for you if you dont mind?

I want to only have the images on the forums not the text itself but vbulletin complaints if I leave the forum title blank, any way to make it ignore if its blank?

I want to have the images with the names on them instead.

peterska2
09-15-2005, 08:43 AM
Now that's a bit harder. I'll need to drag out my 3.0.7 files again and see what I can come up with.

AlexUK
09-16-2005, 07:34 PM
If you find a solution please let me know.
Thanks