PDA

View Full Version : Changeing the background of the message area in postbit.


Tanpapasmurf
10-26-2008, 03:57 AM
How do i change the background where the message part is posted in the postbit display?

Thanks in advance.

ChaosBurnt
10-29-2008, 07:18 AM
If you mean in showthread as opposed to the data entry field then do this:


Create your tiling image.
Name it posttile.jpg
upload posttile.jpg to your skins misc folder.


Add the following to your skins Additional CSS Definitions (changing your_skins_name_here to your skins name!):

.posttiler {
background-color: #F7F7F7;
background-image: url(images/your_skins_name_here/misc/posttile.jpg);
background-repeat: repeat;
background-position: top center;
}

save


Open:

postbit

Find:

<tr>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">


In-line Find:

alt1


Replace with:

posttiler

save file

SEOvB
10-29-2008, 11:40 PM
won't you want to leave the alt1 in place and simply add the posttiler class as well


class="alt1 posttiler"

iogames
10-30-2008, 12:48 AM
Nice!

needed...

ChaosBurnt
10-30-2008, 05:04 AM
won't you want to leave the alt1 in place and simply add the posttiler class as well


class="alt1 posttiler"


I don't see why we would need to keep both, please do tell why this would be, I am fair new to vB skinning so I am curious where you're coming from.

MagicThemeParks
04-25-2011, 01:25 PM
Great tip :up:

Used it to add an image behind our message area for our 'special' posts (using 'chief first post' mod) at U.S. History Forum (http://www.unitedstateshistoryforum.com/showthread.php?t=5)

Thanks! :D