Tiled Background

User submitted BBCodes
Let us see what You have
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.

[textarea]Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden[/textarea]

Tiled Background

Post by anybloodyid »

This will allow your members to have a tiled background in their posts.
You need to create a folder on your server called bgimages and place your tiled backgrounds (gif format) inside, numbered as follows.
01, 02, 03 etc; etc.

Code: Select all

BBcode usage
[bgimage]{COLOR},{NUMBER},{TEXT}[/bgimage]

HTML Replacement
<table>
     <tr>
	<td style="padding-left:1cm; padding-right:1cm; padding-top:1cm; padding-bottom:1cm; border: 5px ridge {COLOR};" background=bgimages/{NUMBER}.gif>{TEXT} 
         </td>
      </tr>
</table>

Help Line
[bgimage]Border_Color, Image_Number,Your Text[/bgimage]
bgimage.gif
You do not have the required permissions to view the files attached to this post.

Re: Tiled Background

Post by cisco007 »

do you have the bgimages? or do we have to find some that we might like!?

Re: Tiled Background

Post by anybloodyid »

You need to find your own, easy enough as there are loads on the net just Search background image tiles
Here's a couple worth a look.
http://www.nutrocker.co.uk/freetiles.html
http://www.allfreebackgrounds.com/backg ... elect.html

Re: Tiled Background

Post by kevinviet »

Thanks anybloodyid, look very interesting and work great :thumb: but how do i make the post in center ? I try using center BBcode but it's not work.

Re: Tiled Background

Post by cisco007 »

i don't have this installed but kevin what don't you try using this in the beginning <table>

Code: Select all

<table align="center">

Re: Tiled Background

Post by kevinviet »

No, it didn't work either cisco. Thanks

Re: Tiled Background

Post by cronos »

Code: Select all

<div align="center">
      <table>
.....
      </table>
</div>
You do not have the required permissions to view the files attached to this post.

Re: Tiled Background

Post by kevinviet »

Thanks for sharing cronos, It works perfectly.

Re: Tiled Background

Post by anybloodyid »

If you want to give your members the choice, then just do it like this

Code: Select all

[bgimage]#FF0000,21,[center]TOPIC HERE[/center][/bgimage]
or like this

Code: Select all

[bgimage]#FF0000,21,[right]TOPIC HERE[/right][/bgimage]
Just make sure all other BBcode is inside the [bgimage] tags and all should be well.
Sorry for the delay in replying been away.