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 - Profile Page Banner (https://vborg.vbsupport.ru/showthread.php?t=199709)

blind-eddie 12-23-2008 10:00 PM

Profile Page Banner
 
1 Attachment(s)
Changeable Member Profile Page Banner

Will work on all 3.8 series

Description: Your members can add a banner above their Profile page.
================================================== ===
Demo: http://blind-eddie.com/forum/member.php?u=1

Music will play in profile, please adjust volume before clicking.
================================================== ===
Step One:
You will need to make a new User Profile Field.

Admincp/User Profile Fields/Add New User Profile Field

Single-Line Text Box

Title: Add a banner above your profile

Description: Please add your Image URL
(Example: http://blind-eddie.com/forum/imageho...bd890a86c3.jpg)

Field Required: No

Field Editable by User: Yes

Display Page: Edit Details


Save it Remember the field ID number, you will need it later.

================================================== ===
Step Two:

You will need to edit your MEMBERINO template.
(MAKE A BACKUP OF ANY TEMPLATE YOU EDIT BEFORE YOU EDIT IT, YOU MAY NEED IT IF YOU MAKE A MISTAKE.)
Find:
Code:

$navbar
Add below:
Code:

<div align=center><if condition="$userinfo['fieldxx']"><td class="vbmenu_option"><IMG SRC="$userinfo[fieldxx]" width="600" height="150"></td></tr> </if></div>
Note: Change the xx in fieldxx to the profile field you created.
================================================== ===

As you see, I set the default Image size allowed to 600 x 150. Any image a member adds will show image at that size.
================================================== ===

Step Four:
Inform your Members...Enjoy

You can click Installed above right, or you can just say Thanks blind-eddie
================================================== ===

Sweeks 12-26-2008 06:15 AM

Can you set the profile fields so only specified groups can use them? EDIT:

I have found this to work better on our style:

HTML Code:

<if condition="$userinfo['fieldxx']">
<div align="center"><img src="$userinfo[xx]" width="400" height="120"></div></if>

________
Blowjob mature

Hornstar 12-26-2008 11:58 PM

I dont see any picture come up in FF, it is just black where the banner should probably be.

Sweeks 12-27-2008 10:41 AM

1 Attachment(s)
Here is an example of ours working fine in FF
________
ZX14 VS HAYABUSA

TheInsaneManiac 01-23-2009 06:48 PM

only looks good on fixed styles.

blind-eddie 01-23-2009 11:25 PM

Change width="600" height="150" to what suits your needs, or remove that line of code altogether, but keep in mind that removing it will allow members to show images of any size.

XtremeOffroad 01-23-2009 11:51 PM

Quote:

Originally Posted by Sweeks (Post 1694678)
Here is an example of ours working fine in FF


hahaha look at the thread you were looking at when you took the screen shot.

Shaliza 01-24-2009 02:56 AM

This is a cool little hack. It reminds me of the way you can add your own images/banners at the top of your profile page on Myspace.

blind-eddie 01-24-2009 03:20 AM

Thanks, If you look at the demo, you will see I moved the banner to above the navbar. To do this,

In the MEMBERINO template, find

Code:

$header
delete it.




then add the line of code list in first post.

spirittina 02-01-2009 02:13 AM

awesome thank you so much so easy to do

blind-eddie 02-01-2009 04:22 AM

no problem, glad you can use it.

KrU$ty 02-03-2009 09:43 AM

im wondering if i can use this for social groups instead, so that when a user creates a social group, the banner shows on their social group page.

Keesa 03-14-2009 07:44 AM

It would rock if your demo page worked, but the youtube vid has been ganked for copyright

blind-eddie 03-14-2009 12:23 PM

I didn't know the vid didn't work, fixed.

down.low 03-20-2009 08:45 AM

On your demo, are you using a hack to get the "Welcome Message area", the custom colors, usercp menu, youtube video options?? IF so, which one because I don't see those options in my usercp.

blind-eddie 03-21-2009 02:49 AM

The welcome massage area is a mod/hack that is here on vb.org.
https://vborg.vbsupport.ru/showthrea...elcome+Message
--------------------------------------------------------------------------------------------------------------------
The custom colors you see are default with vbulletin.
--------------------------------------------------------------------------------------------------------------------

Usercp menu ?

--------------------------------------------------------------------------------------------------------------------

The youtube mod/hack can also be found here on vb.org , https://vborg.vbsupport.ru/showthrea...hlight=youtube

FTG LIQUID CL 01-05-2013 02:13 PM

i want this for 4.1.12

GamerUnguided 02-13-2014 09:19 PM

Im having some trouble getting this to work, every style i try this on it just messes up the UCP :/ i would have loved this mod

ozzy47 02-13-2014 10:27 PM

Quote:

Originally Posted by GamerUnguided (Post 2480958)
Im having some trouble getting this to work, every style i try this on it just messes up the UCP :/ i would have loved this mod

You need to clarify a bit more, that is a pretty vague statement. :)

blind-eddie 02-13-2014 11:34 PM

Its just a simple template edit for VB 3.8 and below, there there's no way it can mess up your page.

Max Taxable 02-13-2014 11:36 PM

How are you able to do this, being blind and all?

blind-eddie 02-14-2014 11:20 AM

I have been ask that many times over the years...... I would say its just a screen name I used during A A. Gaming days. But the question still was ask. So I would say"Braile Monitor"

blind-eddie 03-21-2014 01:04 PM

Updated to vb4.2

https://vborg.vbsupport.ru/showthread.php?t=309757

kiba snowpaw 12-16-2014 02:20 AM

OMG this Thread help me since i am using This Mod and didnt know how to make user to upload there own banner but i still have a little problem the banner link is showing in the About me page is there a way to make it not do that

blind-eddie 12-16-2014 03:12 AM

In your admincp/User Profile Fields/User Profile Field Manager/Add a banner above your profile,
Scroll to last section, "Display Page" in the drop down, select "Options:Other"
The banner link will not show in the About me section, it will show in the "Edit Options" page.

I will update this tomorrow to be like the 4.2.2 version.


All times are GMT. The time now is 04:37 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.04075 seconds
  • Memory Usage 1,766KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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