vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - Background Image Surrounding Whole Profile (https://vborg.vbsupport.ru/showthread.php?t=171091)

TCE Killa 02-20-2008 10:00 PM

Background Image Surrounding Whole Profile
 
This will add a background image of your choice (editable via USER CP) to surround your whole profile. This should work on all 3.6 versions.

Install time: 1-2 minutes

Very easy to do. Just one simple template edit and a new profile field....

Step one

Creat a new Profile Field
Single Line Text Box
Title: Profile Background Image
Description: This will add a background image that'll surround your whole profile. (Example: http://www.example.com/example.jpg)

The rest is up to you to configure. Make sure you take note of the background profile field.

Step two

In your template MEMBERINFO, find: (their should be two of these - just add it below the first one):

PHP Code:

<!-- main info avatarprofilepic etc. --> 

Add below:

PHP Code:

<div style="background-image: url($post[fieldXX]);"

just replace XX with your field number. That's it, very simple yet very effective.

Please mark installed if you use... Thanks.:up::D

blind-eddie 02-21-2008 03:07 PM

WOOT...1st post....I will give this a try,...

This will work, but not much of it can be seen....Nice idea

G-man561 02-23-2008 01:52 AM

Nice...but it looks bad on my site... my profile covers up most of the bg :p

Still...installed

MiahBeSmokin420 02-23-2008 05:48 AM

thats funny im glad my site has inspired you but it will not inspire you anymore i promise you that

MiahBeSmokin420 02-23-2008 02:41 PM

ill do something better ill delete it myself

TCE Killa 02-23-2008 03:03 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1449185)
thats funny im glad my site has inspired you but it will not inspire you anymore i promise you that

I was the one who put that code in, in the first place (for the postbit), all I did was add to MemberInfo. Not hard at all. So it was basically my idea more than anything.

bornoffire 05-02-2008 09:10 AM

Is there a update for this in 3.7? I cant seem to get this to work.

aztecboi2003 09-20-2008 02:56 AM

Quote:

Originally Posted by bornoffire (Post 1505571)
Is there a update for this in 3.7? I cant seem to get this to work.

Bump

kstone 12-27-2008 02:14 PM

what if in a specific member? not in a memberinfo ... like for example .. Admin want to put a bg in my profile ...and that can be seen only in my profile but visible to anybody....

then if Admin again wants to put some bg in other member..it also be seen in other member and me also can see it .. but it will not affect my bg set by Admin.....

is this possible to be done by this hack ??? just asking .. ^^_

TCE Killa 01-26-2010 01:54 AM

Thanks everyone

ForenOpfer 07-14-2010 06:56 PM

Hey there,

is there any template modification or add-on for this in vb 4.0? I really want to offer this option in my board.

ForenOpfer


All times are GMT. The time now is 05:00 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.01254 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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