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)
-   -   Adding a background image to user info in all posts (https://vborg.vbsupport.ru/showthread.php?t=215578)

NThomas 06-07-2009 05:00 PM

Adding a background image to user info in all posts
 
I was browsing other vBulletins to get design ideas and came across something really cool.

On http://www.fbodyonline.com, all of their posts have a background image on the side where all the user's information (User name, number of posts, date joined, etc) are located. Is this a mod or just a simple change in he Admin CP?

Here is an example post.

Quantnet 06-07-2009 05:15 PM

i think it's simply just a postbit template edit.
On the other hand, I'm curious as to what they use for their CMS.

NThomas 06-07-2009 05:20 PM

Quote:

Originally Posted by Quantnet.org (Post 1825198)
i think it's simply just a postbit template edit.
On the other hand, I'm curious as to what they use for their CMS.

:confused:

Seven Skins 06-07-2009 09:47 PM

Find this line in postbit_legacy template:

HTML Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Edit it similer to this:
HTML Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background: url(background-image.png) no-repeat bottom left">
.

NThomas 06-07-2009 10:06 PM

Quote:

Originally Posted by Seven Skins (Post 1825299)
Find this line in postbit_legacy template:

HTML Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Edit it similer to this:
HTML Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background: url(background-image.png) no-repeat bottom left">
.

Yeah... Tried it. No such luck.

Seven Skins 06-07-2009 10:08 PM

Code is tried and tested and works fine.
Did you change the url in the code "url(background-image.png)" for your image?

.

NThomas 06-07-2009 10:14 PM

Quote:

Originally Posted by Seven Skins (Post 1825310)
Code is tried and tested and works fine.
Did you change the url in the code "url(background-image.png)" for your image?

.

I added this: as a test "url(http://forum.austinurbanforum.com/images/icons/Zilker%20Park.png)"

I bet I did it wrong...

mmoore5553 06-08-2009 09:03 PM

I would take out the %20 ....As just a habit i never use spaces as they cause problems. Rename the image to something with no spaces or add and underscore instead of a space ...

your_image.png


All times are GMT. The time now is 06:57 PM.

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.01853 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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