Page 1 of 1

Tiled Background

Posted: 01 Jun 2010, 17:38
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]
Screenshots
Screenshots

Re: Tiled Background

Posted: 01 Jun 2010, 17:56
by cisco007
do you have the bgimages? or do we have to find some that we might like!?

Re: Tiled Background

Posted: 01 Jun 2010, 19:59
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

Posted: 02 Jun 2010, 09:01
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

Posted: 02 Jun 2010, 17:03
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

Posted: 02 Jun 2010, 22:21
by kevinviet
No, it didn't work either cisco. Thanks

Re: Tiled Background

Posted: 03 Jun 2010, 07:40
by cronos

Code: Select all

<div align="center">
      <table>
.....
      </table>
</div>

Re: Tiled Background

Posted: 03 Jun 2010, 22:15
by kevinviet
Thanks for sharing cronos, It works perfectly.

Re: Tiled Background

Posted: 08 Jun 2010, 11:58
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.