Tiled Background

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
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
Locked
User avatar
anybloodyid
BBCoder II
BBCoder II
Posts: 9
Joined: 29 May 2010, 14:06

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]
Screenshots
Screenshots
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Tiled Background

Post by cisco007 »

do you have the bgimages? or do we have to find some that we might like!?
User avatar
anybloodyid
BBCoder II
BBCoder II
Posts: 9
Joined: 29 May 2010, 14:06

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
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

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.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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">
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

Re: Tiled Background

Post by kevinviet »

No, it didn't work either cisco. Thanks
User avatar
cronos
BBCoder I
BBCoder I
Posts: 3
Joined: 17 Apr 2010, 15:53
Location: Moscow

Re: Tiled Background

Post by cronos »

Code: Select all

<div align="center">
      <table>
.....
      </table>
</div>
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

Re: Tiled Background

Post by kevinviet »

Thanks for sharing cronos, It works perfectly.
User avatar
anybloodyid
BBCoder II
BBCoder II
Posts: 9
Joined: 29 May 2010, 14:06

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.
Locked