PDA

View Full Version : [PHP] Invision Board - Adding custom download BBcode


SaIRoS
10-05-2006, 02:23 PM
http://img101.imageshack.us/img101/7332/poweredbytechgfxnn0.png

In this tutorial you'll be learning how to add custom download BBcode in Invision Board 2.1 (it will work with 2.0 though).

What you need:

- IPB installed and running
- access to Admin Cp (you are supposed to be admin :P)
- basic Invision Board knowledge


Ok, let's start. Access your board Admin CP and select the Management tab:
http://img201.imageshack.us/img201/4127/1ti8.png

Once you are on the Management tab, on the left side scroll down to find Custom BBcode box and select Add New BBcode:
http://img379.imageshack.us/img379/9223/2bz9.png

In the new window fill all the spaces like below:
http://img136.imageshack.us/img136/5922/3lm2.png

Use this code to put into Custom BBCode Replacement box:
<div class='htmltop'>HTML</div><div class='htmlmain'><a href="{content}" target="_blank"><img src="http://url.to.the.image.goes.here" border="0" alt="DOWNLOAD from Your Site" /></a></div>

Well, at this point you'll need a Download Image like this one http://tech-gfx.net/images/tech_gfx_download_button.gif
Just put the URL to your image into the code above ;)

Then just click Add BBcode and you are done.

If you did everything well, when you typing

link here

you will have this
link here

In case you don't want an image to be showed use this code instead:
<div class='htmltop'>HTML</div><div class='htmlmain'><a href="{content}" target="_blank">DOWNLOAD</a></div>



Hope you'll find this tutorial good. :)

Enjoy :devil:

http://img101.imageshack.us/img101/7332/poweredbytechgfxnn0.png

Sniper Wolf
10-05-2006, 02:36 PM
http://url.to.the.image.goes.here ({content})

do i copy and paste that in the custom bbode replacement?

SaIRoS
10-05-2006, 02:37 PM
yessssss :D

Sniper Wolf
10-05-2006, 02:54 PM
sweet as sairos i luv u man it worked lol thanks man i appreciate u taking the time for this :D

geepee
10-05-2006, 08:07 PM
it's a great tutorial
d great that u made it in text instead of images, i'l do that too next time ;)

SaIRoS
10-05-2006, 08:18 PM
yes indeed. In this way is much better

mony
10-06-2006, 07:39 AM
Thnx sairos Really nice tut :D

Benna19
10-06-2006, 03:58 PM
Hehe
Nice tut for IPB starters :D