[BBCode] [FFH] Button BBCode

Find detailed tutorials to do many of the things you were probably going to ask about. Please read this section prior to asking for help.
User avatar
KoolKat™
Contributer
Contributer
Joined: October 7th, 2014, 1:41 am
Forum URL: http://forums.krazynet.net

January 24th, 2015, 10:01 pm

BBCode usage:
[button={URL1}]{URL2}[/button]
HTML replacement:
<a href="{URL1}"><img src="{URL2}" /></a>
Help line:
This BBCode can be used to make links in the form of images. The link should go between the = and the ] of the opening tag. The image link should go between the tags.
Reply

User avatar
Darklady
Premium Member
Premium Member
Joined: June 17th, 2013, 11:39 am
Forum URL: http://learn4free.org.uk/

January 24th, 2015, 11:10 pm

This can be achieved with the already existed BBcodes.

for example:

Code: Select all

[url=http://support.prophpbb.com][img]http://i60.tinypic.com/1607k6.png[/img][/url]     
gives this >>> Image

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If we are talking about buttons then you have to try the below.

BBCode usage

Code: Select all

[link={INTTEXT}]{URL}[/link] 
HTML replacement

Code: Select all

<input class="button2 btnlite" type="button" value="{INTTEXT}" title="{URL}" onclick="window.open('{URL}', '_blank')"/> 
Help line

Code: Select all

[link=your text goes here]the URL goes here[/link] 
Here is an example:

Code: Select all

[link=Prophpbb support]http://support.prophpbb.com[/link]  
on bmiles Image
on Artodia Elegance black Image
on Skymiles Image

you can see the BBcode in action on my forum under my signature.
Image
Reply

User avatar
KoolKat™
Contributer
Contributer
Joined: October 7th, 2014, 1:41 am
Forum URL: http://forums.krazynet.net

January 24th, 2015, 11:11 pm

I know that already, it's just a quicker and more convenient way to reach the end goal. Also a way of practicing HTML.
Reply