vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=289681

COVER image above profile (based on the profile picture)
by vladig
26 Oct 2012 21:34

1 Attachment(s)
Hey.

This is my second mod and this mod allows to set a COVER image above the, Just like Facebook. This mod is based on a system of "profile picture" that came with the system. Because it is based on the system profile picture, if other users have used image profile, the COVER image will stretch so don't forget to tell your visitors about thet changes.

How to do it?
Open the file "MEMBERINFO", delete it all and write instead:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the file.

Search the file memberinfo_block_profilepicture, delete everything and write:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Vick98 29 Oct 2012 06:58

Good mod. Is there any way to change the width of the cover image to a fixed width? I am using a fixed template and the image is overlapping the template.

Fixed: width was 975px

RamdonGhai 31 Oct 2012 01:36

Quote:

Originally Posted by Vick98 (Post 2376756)
Good mod. Is there any way to change the width of the cover image to a fixed width? I am using a fixed template and the image is overlapping the template.

Fixed: width was 975px

I agree completely, this mod stretches to fit, making most images look terrible.

Is there a way to where the image can be a fixed width, constraining proportions.

Or even a way to disable the stretching and center the image for the time being.

Vick98 31 Oct 2012 13:20

Quote:

Originally Posted by RamdonGhai (Post 2377169)
I agree completely, this mod stretches to fit, making most images look terrible.

Is there a way to where the image can be a fixed width, constraining proportions.

Or even a way to disable the stretching and center the image for the time being.

Change the width in the code provided below with the width of your template. My template width was 975 pixels and adjust the width to best fit your style.

</vb:if>
<style>.profileimg {
width: 1278px;
min-height: 250px;
max-height: 350px;
margin-top: -32px;
margin-bottom: -41px;
border-bottom: 5px solid hsla(204, 39%, 42%, 0.63);
border-top: 5px solid;
margin-right: -20px;
border-radius: 5px 5px 0 0;
}

FTG LIQUID CL 16 Dec 2012 14:02

i like the idea ,but i cant get the picture to look good

Kiran-E-Sehar 19 Jan 2013 16:26

sooper, but as i noticed its merging with Notifications area
how to fix it?

M.C. 17 Feb 2013 13:23

Idea is good but better to add this option to Customize block (I know it will need much more code edit)...

marccap 21 Feb 2013 21:00

Added - Works on 4.2 and I've amended the width and increase the usergroups profile pic dimensions

Divvy 13 Mar 2013 13:38

Great mod! But I have a suggestion:

Since this not work just like the facebook tool where the user can drag the image up and down to display what they want...

It is possible to add a default image to all users that don't have any profile pic yet? My idea is to appear an default image telling the recommended size of the image...

Thanks!

rgreene1971 24 Mar 2013 04:23

Where can I find these two files to edit? I am searching everywhere

Morrus 24 Mar 2013 19:58

This is such a good idea, and I'd love to see it implemented smoothly. If anyone does do so, any chance you could share it with us?

DJ29Joesph 01 Apr 2013 03:18

One suggestion is can we change it to a value (url) to a hidden user profile field?

Bestrafung 15 Jan 2014 22:29

Quote:

Originally Posted by DJ29Joesph (Post 2413500)
One suggestion is can we change it to a value (url) to a hidden user profile field?

Sorry to dig up such an old thread but I just stumbled across this and was wondering if anyone has figured out a way to do this. I'd like to see if it can be a custom image so the profile pic can be left alone.

MentaL 16 Jan 2014 00:04

cool idea.

rohirrim 05 Jul 2015 00:40

not working on 4.3


All times are GMT. The time now is 22:04.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.