vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Changeing the background of the message area in postbit. (https://vborg.vbsupport.ru/showthread.php?t=194593)

Tanpapasmurf 10-26-2008 03:57 AM

Changeing the background of the message area in postbit.
 
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!):

Code:

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

Code:

<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:

Code:

alt1

Replace with:

Code:

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

Code:

class="alt1 posttiler"

iogames 10-30-2008 12:48 AM

Nice!

needed...

ChaosBurnt 10-30-2008 05:04 AM

Quote:

Originally Posted by FRDS (Post 1655684)
won't you want to leave the alt1 in place and simply add the posttiler class as well

Code:

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

Thanks! :D


All times are GMT. The time now is 05:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete