The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Alternative Profile Page Details »» | |||||||||||||||||||||||||
Step 1: Make sure your maximum dimensions on a profile pic are 300 [width] x 350 [height] or the frame won't work right.
To edit this, go to admincp => Usergroups => Usergroup Manager => edit whichever usergroup and scroll down to the Picture Uploading Permissions. Step 2: Upload the frame folder and its contents to your images/misc directory. It may be possibly that you might need to also put these in the respective style folders as well depending on how you have your styles set up. Step 3: In order to get the similar effects as what I have, you will want to install these hacks: Timezone Image In Profile - Required for integration. Friends and/or Buddies on Profile Who Viewed My Profile Step 4: This area you will want to create profile fields for - you can add as many as you like or have as little as you want. Go to admincp => User Profile Fields => Add New User Profile Field (then add whatever you like) or use your existing user profile fields. Once you are done click on User Profile Field Manager and take note of the Name column. Find what you want to use (newly created and/or existing) and write down the field Name in the Name column (field15 for example). Step 5: Copy out your existing Membefinfo template. Go to admincp => Styles & Templates => Style Manager => drop down All Style Options => choose Edit Templates => Memberinfo Templates => Memberinfo Copy the existing template to your notepad, dreamweaver, whatever so you have a backup. Copy and paste this code Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title> </head> <body> $header $navbar <div align="center" class="smallfont" style="font-size:18pt">"$userinfo[usertitle]"</div><br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="alt1"> <table width="100%" border="0" cellspacing="5" cellpadding="0"> <tr> <td width="100%" align="left" valign="top"> <table width="100%" border="0" cellspacing="5" cellpadding="5"> <tr> <td width="200" align="left" valign="top"> <if condition="$show['avatar']"><center><br /><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></center></if> </td> <td width="100%" align="left" valign="top"> <div style="font-size:18pt">$userinfo[musername] $userinfo[onlinestatus]</div> <if condition="$userinfo['usertitle']"><div class="smallfont"> <strong>$vbphrase[join_date]:</strong> $userinfo[datejoined]<br /> <if condition="$show['age']"><strong>$vbphrase[age]:</strong> $userinfo[age]<br /></if> <strong>$vbphrase[total_posts]: </strong>$userinfo[posts] (<phrase 1="$postsperday"> $vbphrase[x_posts_per_day]</phrase>)<br /> <if condition="$show['lastactivity']"><div><strong>Last Online At:</strong> $userinfo[lastactivitydate]<span class="time"> $userinfo[lastactivitytime]</span></div></if> </div></if> <if condition="$vboptions['usereferrer']"><div class="fieldset"><div style="padding:$stylevar[formspacer]px">$vbphrase[referrals]: <strong>$referrals</strong></div></div></if> <if condition="$show['profileviews']"><div class="fieldset"><div style="padding:$stylevar[formspacer]px"><if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews]</div></div></if> <if condition="$show['usernotes']"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[user_notes]: <if condition="$show['usernoteview']"><strong>$usernote[total]</strong>[<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]</if> <if condition="$show['usernotepost']">[<a href="usernote.php?$session[sessionurl]do=newnote&u=$userinfo[userid]">$vbphrase[post_user_note]</a>]</if> <if condition="$show['usernoteview']"><br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)</if> </div> </div> </if> </td> <td align="center" valign="top" class"alt2"> <if condition="$show['hasimicons']"><fieldset class="fieldset"><legend>$vbphrase[instant_messaging]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="$show['textimicons']"> <if condition="$userinfo['showicq']"><tr> <td>$vbphrase[icq]<td> <td>$userinfo[icq]</td> </tr></if> <if condition="$userinfo['showaim']"><tr> <td>$vbphrase[aim]<td> <td>$userinfo[aim]</td> </tr></if> <if condition="$userinfo['showmsn']"><tr> <td>$vbphrase[msn]<td> <td>$userinfo[msn]</td> </tr></if> <if condition="$userinfo['showyahoo']"><tr> <td>$vbphrase[yahoo]<td> <td>$userinfo[yahoo]</td> </tr></if> <else /> <if condition="$userinfo['showicq']"><tr> <td>$userinfo[icqicon]</td> <td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td> </tr></if> <if condition="$userinfo['showaim']"><tr> <td>$userinfo[aimicon]</td> <td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td> </tr></if> <if condition="$userinfo['showmsn']"><tr> <td>$userinfo[msnicon]</td> <td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td> </tr></if> <if condition="$userinfo['showyahoo']"><tr> <td>$userinfo[yahooicon]</td> <td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td> </tr></if> <if condition="$userinfo['showskype']"><tr> <td>$userinfo[skypeicon]</td> <td><a href="#" onclick="skypewindow('$userinfo[userid]', 400, 200); return false;">$userinfo[skype]</a></td> </tr></if> </if> </table> </fieldset></if> </td> </tr> </table> <div> <if condition="$userinfo['field100']!=''"><fieldset class="fieldset"><legend><strong>Title 1</strong></legend>$userinfo[field100]</fieldset><br /><else /> </if> <if condition="$userinfo['field101']!=''"><fieldset class="fieldset"><legend><strong>Title 2</strong></legend>$userinfo[field101]</fieldset><br /><else /> </if> <if condition="$userinfo['field102']!=''"><fieldset class="fieldset"><legend><strong>Title 3</strong></legend>$userinfo[field102]</fieldset><br /><else /> </if> <if condition="$userinfo['field103']!=''"><fieldset class="fieldset"><legend><strong>Title 4</strong></legend>$userinfo[field103]</fieldset><br /><else /> </if> <if condition="$userinfo['field104']!=''"><fieldset class="fieldset"><legend><strong>Title 5</strong></legend>$userinfo[field104]</fieldset><br /><else /> </if> <if condition="$userinfo['field105']!=''"><fieldset class="fieldset"><legend><strong>Title 6</strong></legend>$userinfo[field105]</fieldset><br /><else /> </if> <if condition="$userinfo['field106']!=''"><fieldset class="fieldset"><legend><strong>Title 7</strong></legend>$userinfo[field106]</fieldset><br /><else /> </if> </div> </td> <td valign="top"> <table width="383" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="$stylevar[imgdir_misc]/frame/topleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/topmiddle.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/topright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/frame/left.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><if condition="$show['profilepic']"><center><img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor]" /></center><else /><img src="$stylevar[imgdir_misc]/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor];" /></if></td> <td><img src="$stylevar[imgdir_misc]/frame/right.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/frame/bottomleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/bottommiddle.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/bottomright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td></td> <td align="center"> <if condition="$show['addbuddylist']"> <img src="$stylevar[imgdir_misc]/addFriendIcon.gif" border="0"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$userinfo[userid]">Add to Buddies</a> <else /> <img src="$stylevar[imgdir_misc]/blockuser.gif" border="0"> <a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$userinfo[userid]">Remove from Buddies</a> </if> <if condition="$show['addignorelist']"> <img src="$stylevar[imgdir_misc]/blockuser.gif" border="0"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$userinfo[userid]">Add to Ignore</a> <else /> <img src="$stylevar[imgdir_misc]/addFriendIcon.gif" border="0"> <a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$userinfo[userid]">Remove from Ignore</a> </if> </td> <td></td> </tr> <tr> <td></td> <td align="center"> <img src="$stylevar[imgdir_misc]/sendMailIcon.gif" border="0"> <a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]">Send Private Message</a> <img src="$stylevar[imgdir_misc]/sendMailIcon.gif" border="0"> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" rel="nofollow">E-mail User</a> </td> <td></td> </tr> </table><br /> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="left" valign="top" class"alt2"> <fieldset class="fieldset"><legend>Posting Information</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="$vboptions['profilelastpost']"> <tr> <td><strong>Most Recent Post:</strong><br /><a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span></td> </tr> </if> <tr> <td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td> </tr> <tr> <td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td> </tr> </table> </fieldset> <fieldset class="fieldset"><legend>Contact Information</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="!$show['contactlinks']"><tr> <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td> </tr></if> <if condition="$show['homepage']"><tr> <td><strong>$vbphrase[home_page]:</strong><br /><a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a> <br /></td> </tr></if> <if condition="$show['email']"><tr> <td><strong>$vbphrase[email]:</strong><br /><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td> </tr></if> <if condition="$show['pm']"><tr> <td><strong>$vbphrase[private_message]:</strong><br /><a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a></td> </tr></if> </table> </fieldset> </td> <td width="300" align="center" valign="top" class"alt2"> <fieldset class="fieldset"><legend>$vbphrase[timezone_image]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="panelsurround" align="center"><div class="panel"> <div align="$stylevar[center]"><img src="$stylevar[imgdir_misc]/gmt/gmt_$userinfo[timezoneoffset].gif" alt="$vbphrase[timezone_image]"/></div></div> </td> </tr> </table> </fieldset> </td> <td width="50%" align="left" valign="top" class"alt2"> <!-- <fieldset class="fieldset"><legend>Inventory:</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0"> <tr> <td></td> </tr> </table> </fieldset> --> <fieldset class="fieldset"><legend>$vbphrase[miscellaneous]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0"> <tr> <if condition="$show['membergroups']"> <td><strong>Public Groups:</strong><br /></td> <else /> <td><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></td> </if> </tr> $membergroupbits </table> </fieldset> </td> </tr> </table> </td> </tr> </table> $FNB_HTML <br /> <if condition="can_moderate()"> <div align="center" class="smallfont"><strong>Moderation Control:</strong> <a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a> </div> </if> $footer </body> </html> Then edit this area: Code:
<div> <if condition="$userinfo['field100']!=''"><fieldset class="fieldset"><legend><strong>Title 1</strong></legend>$userinfo[field100]</fieldset><br /><else /> </if> <if condition="$userinfo['field101']!=''"><fieldset class="fieldset"><legend><strong>Title 2</strong></legend>$userinfo[field101]</fieldset><br /><else /> </if> <if condition="$userinfo['field102']!=''"><fieldset class="fieldset"><legend><strong>Title 3</strong></legend>$userinfo[field102]</fieldset><br /><else /> </if> <if condition="$userinfo['field103']!=''"><fieldset class="fieldset"><legend><strong>Title 4</strong></legend>$userinfo[field103]</fieldset><br /><else /> </if> <if condition="$userinfo['field104']!=''"><fieldset class="fieldset"><legend><strong>Title 5</strong></legend>$userinfo[field104]</fieldset><br /><else /> </if> <if condition="$userinfo['field105']!=''"><fieldset class="fieldset"><legend><strong>Title 6</strong></legend>$userinfo[field105]</fieldset><br /><else /> </if> <if condition="$userinfo['field106']!=''"><fieldset class="fieldset"><legend><strong>Title 7</strong></legend>$userinfo[field106]</fieldset><br /><else /> </if> </div> If you do not wish to use the Friends and/or Buddies on Profile hack, find and remove this line: Code:
$FNB_HTML Code:
<div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews] </div> </div> Code:
<div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[profile_views]: $userinfo[profileviews] </div> </div> Then click Save & Reload Demo location: http://www.christianboards.org/member.php?u=1 Demo location 2: http://www.chicagovelocity.com/forum/member.php?u=5 See this post for alternate changes to location 2 demo. The frame and icons are located in the zip file. Added icons.zip - unzip the gif images and put them in your images/misc folder and/or each style/misc folder (depending on how you have it set up). I have included the PSDs so you can edit them however you want. Revision .01 - cleaned up code and updated frame. Show Your Support
|
Comments |
#12
|
|||
|
|||
very nice job, thanks for sharing........clicks installed
|
#13
|
||||
|
||||
I honestly wouldn't know where to start to create an addon, although I could use one myself. Perhaps I may code something in the future for this.
|
#14
|
||||
|
||||
I made a number of changes to what you posted. You forgot a few things like the Give Infraction command and I moved some things around a bit. I thought I would share my version of the template.
You can see it here: Joeychgo on Chicago Velocity I added another hack to the list - Threads in Profile (was made for 3.5 but works fine on 3.64) This ads the last x number of threads the user started to the profile. This helps with SEO since the content changes and it links back to threads, and also is cool to see the threads a person has started recently. If you dont want this hack remove this code - which is above the $footer PHP Code:
Also -- the frame was sliced too big for a 300x350 image, so I took care of that too. I hope its ok to post like this. I thought it would be nice for people to have another version. |
#15
|
||||
|
||||
Thanks, I will look at this today. I need to clean up the code a little, so I will probably do an update today.
|
#16
|
|||
|
|||
Awesome hack mate, just what I was looking for. I wanted to implement myspace profile hack but couldnt find a decent template you have just made my life easier. Take a bow
|
#17
|
||||
|
||||
Don't forget to click install
|
#18
|
|||
|
|||
Thanks nice hack.
I did not like frame images, so I decided to us different one. If you want to use them. Find attached images. And a bit of code modification. Find code: Code:
<table width="383" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="$stylevar[imgdir_misc]/frame/topleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/topmiddle.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/topright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/frame/left.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><if condition="$show['profilepic']"><center><img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor]" /></center><else /><img src="$stylevar[imgdir_misc]/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor];" /></if></td> <td><img src="$stylevar[imgdir_misc]/frame/right.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/frame/bottomleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/bottommiddle.gif" border="0" cellspacing="0" cellpadding="0"></td> <td><img src="$stylevar[imgdir_misc]/frame/bottomright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> Code:
<table border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="$stylevar[imgdir_misc]/frame/topleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td background="$stylevar[imgdir_misc]/frame/topmiddle.gif"> </td> <td><img src="$stylevar[imgdir_misc]/frame/topright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> <tr> <td background="$stylevar[imgdir_misc]/frame/left.gif"> </td> <td><if condition="$show['profilepic']"><center><img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor]" /></center><else /><img src="$stylevar[imgdir_misc]/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:0px solid $stylevar[tborder_bgcolor];" /></if></td> <td background="$stylevar[imgdir_misc]/frame/right.gif"> </td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/frame/bottomleft.gif" border="0" cellspacing="0" cellpadding="0"></td> <td background="$stylevar[imgdir_misc]/frame/bottommiddle.gif"> </td> <td><img src="$stylevar[imgdir_misc]/frame/bottomright.gif" border="0" cellspacing="0" cellpadding="0"></td> </tr> |
#19
|
||||
|
||||
This modification is no longer supported.
This modification has been marked re-usable. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|