• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Profile Page Banner

Admin

Well-Known Member
Staff member
Administrator
Changeable Member Profile Page Banner

Description: Your members can add a banner above their Profile page.
=====================================================
Demo: http://blind-eddie.com/forum/member.php?u=1
The demo is a 3.8 test site but it will look the same in 4.2

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/imagehosting/14f7bd890a86c3.jpg)

Field Required: No

Field Editable by User: Yes

Display Page: Edit Profile


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:
{vb:raw navbar}

Add below:
Code:
<div align=center><vb:if condition="$userinfo['fieldxx']"><td class="vbmenu_option"><img src="{vb:raw userinfo.fieldxx}" width="600" height="150"></td></tr> </vb: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.
Adjust these numbers to suit your needs or remove "width="600" height="150" to allow your members to add any size image.
raa2.png

=====================================================

Step Four:
Inform your Members...Enjoy
=====================================================
 

Facebook Comments

New posts New threads New resources

Back
Top