PDA

View Full Version : Custom BB Code Help - Linked Image


transparent
11 Jun 2008, 22:11
Hello,

I need some help in creating a custom BBcode for posting images with links. I am using this (http://www.vbulletin.org/forum/showthread.php?t=172024&page=16) great hack but it will not allow images to point to a link it instead just opens them in the highslide.

So my thought is why not just create a custom BBcode that does the same thing as the default vb options but with a [IMGA] tag instead of [IMG] which the hack looks for.

I'm not a coder at all but this is what I have so far...it may be way off...

BB Code Tag Name
IMGA


Replacement
<a href="{param}">
<img src="{param}" /></a>


Thank you for the help!:)

Dismounted
12 Jun 2008, 06:50
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------