vBulletin Mods

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

Myspace Profile Re-Write PRO! 1.0.0
by Stangsta
28 Feb 2006 05:04

3 Attachment(s)
Myspace Profile Re-Write PRO! 1.0.0


*** Screenshot removed, contains unwanted images ***

------------------------------------------------
Installation type: Template modification
Time to install using everything provided: 2 hours
Time to install minimally: 30 minutes
Level of difficulty: Hard (Tedious)
------------------------------------------------

What it does: This is a MEMBERINFO template re-write to put a little bling-bling in your profile! There is some work on your part to make this work correctly, and will be explained below. The goal of this template re-write is to make your user profiles look similar to "Myspace". You can customize this to look however you wish, and myself and MissKalunji have come together to bring this to you. There will be 2 examples, the first one will be mine, and the 2nd will be MissKalunji's.

Credits: This template would not be possile without HR3RDGEN and all those that posted and shared thier mods in his thread. It was a good resource, and was unfortunate it was taken down. Please do not bring ANY drama to this thread concerning what happened to the original template thread. Lets move forward. I would also like to thank MissKulanji for her infinate wisdom and talent. She has put alot of work into this as well and brings alot to the table.

What you will need: Below you will find the links to the hacks you will need to download and install. I STRONGLY RECCOMEND that you make ALL modifications to a "test style" first. If you do not have one, create one. This way, when you mess up, your users will not be affected. Please download and install the hacks listed below, and also...please remember to CLICK INSTALL on those threads! The below templates INCLUDE CSS modification ability!!!

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

Installation: Please install the following hacks!

vBJournal
Who Viewed My Profile
Friends and/or Buddies in Profile
Zodiac Sign in the Postbit and Elsewhere
Last Seen Online in postbit
Hide User Contact Info From Guests
Default Avatar
Pig's Subscription Gift (only if you use paid subscriptions)
Auto PM after add Buddy! (Optional)
Number of VBA Gallery Images in Profile

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

Download the .htaccess file I have attached and place it in your forum's root folder. This will give you those wonderful links for the usernames. ex. www.yourdomain.com/forums/stangsta

*NOTE: Please bear in mind, you may have to modify the above hacks after you install them. PLEASE refer to the hack specific thread for support, although we will still try to help you. ALSO, on any of those hacks, it may ask you to add or remove code from the MEMBERINFO template, SKIP THAT PART! It is already done for you in these templates. :)

To make this work for you, you have to create profile fields in the adminCP. Each profile field that you create will have its own unique number. ex. "feild24" Once created, each profile field will be editable by the user in thier userCP under edit profile. Start by creating all the fields to match the screenshots. Then, write down the name and field number on a piece of paper for quick reference (it will be much easier that way). Once you have done this, using the code below, change the profile fields to match YOURS.

Next, start by copying one of the template codes listed below in its entirety and paste it in your MEMBERINFO template OVERWRITING the existing contents (yes, erase the current contents). Please be sure to use a "test" style. Now save & reload. Remember that piece of paper you wrote everything down on? Change the profile fields in the template to match YOUR field numbers. When you are done, hit save.

Now, it can get annoying when someone types a couple paragraphs and it all ends up into one big paragraph. Thats because the BBCODE is not getting parsed! Well, go ahead and create a plugin. You should add the new plugin to the MEMBER_COMPLETE hook location. What you do is take the profile field number that you want people to be able to use BBCODE (the smileys, img tags, etc) in and replace the field number within the plugin. Heres an example:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change ['field1'] to the field you wish to parse. Now, what if you want to parse multiple fields? Then just keep adding it like this:

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

This is an example of my MEMBERINFO (screenshots below), I consider it a 90% myspace clone. PLEASE NOTE: I use avatars in this example AS a profile picture. So if you use a profile picture, you need to change it to show a profile picture instead of an avatar. Or if you like it, disable profile pics on your board via vBulletin Options. I find users are more confused with having a profile pic AND an avatar, so I did this to simplify the process for them. I use a max avatar size of 170x170, I think it looks good and consistant throughout the forum.

Here is some quick reference on the profile fields I used.

About Me Multiple-Line Text Box field8
Location Single-Line Text Box field2
Music Multiple-Line Text Box field3
Movies Multiple-Line Text Box field4
Who I'd like to meet Multiple-Line Text Box field25
Books Multiple-Line Text Box field27
Heroes Multiple-Line Text Box field31
TV Multiple-Line Text Box field32
Sex Single-Selection Radio Buttons field5
Interests Multiple-Line Text Box field6
Myspace URL Single-Line Text Box field9
Video Multiple-Line Text Box field10
Orientation Single-Selection Menu field14
Ethnicity Single-Selection Menu field16
Smoker Single-Selection Radio Buttons field17
Marital Status Single-Selection Menu field15
Drinker Single-Selection Radio Buttons field18
Education Single-Selection Menu field23
I am here for: Multiple-Selection Checkbox field24
Children Single-Selection Menu field22
CSS Multiple-Line Text Box field35




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

CSS: CSS usage is optional. Its what gives the ability for users to customize the look of thier profiles. Since I have already added the code, all you have to do is create a profile field where the user can enter lots of text. once you do that change the CSS profile field number at the top of the template to match YOURS. Then when they enter the CSS in the profile field, it will change the profile.

Here is an example of how it would look like:


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

*NOTE: You dont have to modify all the sections, you can change as much or as little as you wish. Its up to you! You can change the HEX color codes to suit your needs. I will get more into additional codes to make it really fun after I finish the rest of the documentation.

If you want to use an image for the background instead of a color code then use this code instead:

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

BE SURE TO CLICK INSTALL!!!!

MissKalunji 28 Feb 2006 05:06

2 Attachment(s)
Demo Site


http://profile.dancehallareaz.com/MissKalunji
http://profile.dancehallareaz.com/member.php?u=3024
http://www.sevencityforums.com/forums/member.php?u=18
http://redlinemotorsports.org/forum/member.php?u=1








Here is a Css Generator posted by quanvo81 pretty basic but will help your members to create fabulous profile!

and also the vbgallery showing the latest uploaded image in profile

Brandon Sheley 28 Feb 2006 05:07

nice.. looking forward to the screenshots
I'm going to have one question..

I have a journal that is with my portal.. phpportal, vbportal..
will I be able to his that journal with this ? I understand I'll have to edit something,, just what ?

HMBeaty 28 Feb 2006 05:11

You can see the demo of mine here http://redlinemotorsports.org/forum/member.php?u=1

My template code.....


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


MissKalunji 28 Feb 2006 05:13

Quote:

Originally Posted by Loco.M
nice.. looking forward to the screenshots
I'm going to have one question..

I have a journal that is with my portal.. phpportal, vbportal..
will I be able to his that journal with this ? I understand I'll have to edit something,, just what ?

you're trying to show the latest in the profile?

wich one is it?

Brandon Sheley 28 Feb 2006 05:15

the journal I have is part of the portal.. and on the list of hacks that are needed, it says the vbJournal.. I'm just wanting to use the one I have already..

this is what it looks like..
http://locoforum.com/sitemodules-Journal.html

I'm sure it can be integrated..

btw i haven't downloaded this hack yet, but I will, and more likely will install it....just waiting to see some screenshots :)

VBUsers 28 Feb 2006 05:15

good stuff i will try this asap.

MissKalunji 28 Feb 2006 05:16

here's mine like i posted before


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


MissKalunji 28 Feb 2006 05:19

Quote:

Originally Posted by Loco.M
the journal I have is part of the portal.. and on the list of hacks that are needed, it says the vbJournal.. I'm just wanting to use the one I have already..

this is what it looks like..
http://locoforum.com/sitemodules-Journal.html

I'm sure it can be integrated..

btw i haven't downloaded this hack yet, but I will, and more likely will install it....just waiting to see some screenshots :)


look at the demo site

where can i get the code?

Stangsta 28 Feb 2006 05:27

Some screenshots up to give some idea, ill post more (better ones) later tonight when I finish the 1st post.

Brandon Sheley 28 Feb 2006 05:32

take your time,,looks good

are your member profiles visible by guest,, could we get a demo link maybe :)

MissKalunji 28 Feb 2006 05:33

look in the first post :)

KevNJ 28 Feb 2006 05:42

For the CSS Generator doesnt a line of code have to be added to the memberinfo template first ? Also Is the whole folder uploaded to the site for the users to access it ? Also how can we edit the CSS to add custom fields that relate to our site specific profiles ?

Brandon Sheley 28 Feb 2006 05:54

Quote:

Originally Posted by MissKalunji
look at the demo site

where can i get the code?

hmm.. it's part of the vbportal.. I'll have to ask over there about this.. I'll get back to this thread about it.. thx :)

MissKalunji 28 Feb 2006 05:55

Quote:

Originally Posted by Loco.M
hmm.. it's part of the vbportal.. I'll have to ask over there about this.. I'll get back to this thread about it.. thx :)

ok sorry i dont have vbportal


All times are GMT. The time now is 00:33.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, 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.