vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - Custom Member Page Background (https://vborg.vbsupport.ru/showthread.php?t=274604)

Eplexx 11-24-2011 11:00 PM

Custom Member Page Background
 
1 Attachment(s)
Right so I've been wanting a way for my members to customize their own page just a bit more than the usual. I've attached the image of the example.

Example:
https://vborg.vbsupport.ru/external/2011/11/12.jpg

Template Mods etc:
Go to MEMBERINFO and find:
Code:

$header
add below:
Code:

<div id="profilebg">

Then find:
Code:

$navbar
add below:
Code:

<div id="stylingpage">
Save now head over to memberinfo_css.

Add this code wherever you'd like after the style codes:
Code:

#profilebg{
width: 100%;
height: 100%;
background: url($userinfo[field5]);
}

^^Once you have the profile field done change the field5 to your own field number.


and if you want opacity:
Code:

div#stylingpage{
opacity:0.8;
}

^^ Edit the opacity number if you'd like, just my preference.

After the template mods are finished head over to Add New User Profile Field in your admincp and add a single-line text box.

My settings:
Title: Profile Background
Description: Add a custom background to your profile!
Extra Stuff:
https://vborg.vbsupport.ru/external/2011/11/34.png

I have the location in my Edit Your Details section of the UserCp. Anyone can edit their own page background at any time.

Have fun =)

v123shine 11-26-2011 01:41 PM

Nice idea :) like it

Joanne Crane 01-24-2012 04:40 PM

is there a certain code you have to place in or just the url link ?
ie url code or html code ?

dizzynation 01-27-2012 05:58 AM

will all users be able to do this?

tommydamic68 01-28-2012 11:23 AM

it would be nice if you explained how to use it.

duketxboy 01-29-2012 07:34 PM

Quote:

Originally Posted by tommydamic68 (Post 2293408)
it would be nice if you explained how to use it.

I agree

sa3eka.com 02-03-2012 09:37 AM

Nice idea

Hawkmaster 04-11-2012 08:01 PM

I would like to have only certain usergroups benefit from this. Can it be done?

Akeles 05-22-2012 08:24 AM

Nice idea

Eplexx 06-17-2012 09:27 PM

Quote:

Originally Posted by Joanne Crane (Post 2291824)
is there a certain code you have to place in or just the url link ?
ie url code or html code ?

For this all your members have to do is enter the image url, such as http://www.blah.com/blah.jpg

Quote:

Originally Posted by dizzynation (Post 2292965)
will all users be able to do this?

Yes unless you set it to usergroups only.

Quote:

Originally Posted by tommydamic68 (Post 2293408)
it would be nice if you explained how to use it.

All you guys have to do is go into your edit your details after following all my instructions and then add an image url so your background is that image.

Quote:

Originally Posted by Hawkmaster (Post 2319160)
I would like to have only certain usergroups benefit from this. Can it be done?

Put the usergroup codes in front of
Code:

<div id="profilebg">


All times are GMT. The time now is 06:08 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.01038 seconds
  • Memory Usage 1,737KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete