jgruberman |
04-28-2009 01:43 PM |
I have vBulletin 3.8.2 and got this working by manually doing the template/plugin edits below(I just pulled the content out of the XML file so essentially it's the same thing as uploading the XML, just for some reason the XML import didn't change anything):
BACK UP ALL OF YOUR PAGES BEFORE EDITING THEM!
Replace ALL the content of each page with the content found below.
MEMBERINFO Style:
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$usercss
$memberinfo_css
<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";
<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView();
var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
return false;
}
</if>
-->
</script>
</head>
<body>
$header
<!-- begin user css -->
<div id="usercss" class="floatcontainer">
$navbar
<table border="0" width="100%" cellpadding="8" cellspacing="12">
<tr>
<td colspan="2" height="100" width="0" valign="top">
<table border="0" width="100%" cellpadding="5" height="100%" style="font-family: Verdana; font-size: 8pt; line-height: 200%">
<tr>
<td width="10%" valign="top">
<if condition="$prepared['profilepicurl']">
<img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" />
<else /><img src="images/misc/nopic.gif" width="150" height="150"><p></if>
<map name="FPMap0">
<area href="private.php?do=newpm&u=$userinfo[userid]" shape="rect" coords="5, 8, 161, 25">
<area href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$prepared[userid]" shape="rect" coords="7, 36, 170, 54">
<area href="visitormessage.php?$session[sessionurl]do=message&u=$prepared[userid]" shape="rect" coords="7, 66, 155, 84">
<area href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$prepared[userid]" shape="rect" coords="8, 95, 139, 114">
</map>
<if condition="$userinfo['field23']">
<img border="0" src="$userinfo[field23]" usemap="#FPMap0"><else /><img border="0" src="images/misc/contact_box.png" usemap="#FPMap0"></if>
</td>
<td style="line-height: 200%;
" valign="top" width="440"><b><font face="Arial" size="3">
$userinfo[username]</font></b>
$prepared[onlinestatus]<br><if condition="$userinfo['field24']">
<b>Mood</b>: $userinfo[field24]
<if condition="$userinfo['field24'] == Fantastic"><img src="/images/profile/biggrin.gif"></if>
<if condition="$userinfo['field24'] == Awesome"><img src="/images/profile/cool.gif"></if>
<if condition="$userinfo['field24'] == Determined"><img src="$vboptions[bburl]/images/profile/wink.gif"></if></if>
<br>
<b>View My:</b> <a href="$vboptions[bburl]/album.php?u=$userinfo[userid]">Photos</a><br>
<div class="alt2" style="line-height: 200%;
background-color: #D5E7FB; padding-left:8px; padding-right:3px; padding-top:2px; padding-bottom:2px"><b>Full Name:</b> <if condition="$userinfo['field1']">$userinfo[field1]</if><br>
<b>Age / Gender:</b> $prepared[age] / <if condition="$userinfo['field6']">$userinfo[field6]</if><br>
<b>Location:</b> <if condition="$userinfo['field7']">$userinfo[field7]</if>, <if condition="$userinfo['field8']">$userinfo[field8]</if><br>
<b>Last Login:</b> $prepared[lastactivitydate]</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="310" valign="top">
<if condition="$userinfo['field25']"><table border="0" width="100%" cellspacing="4" cellpadding="5" style="border:0px dotted #808080; font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="alt1">
<b>My Music Player
<!-- FLASH MUSIC PLAYER -->
<script type="text/javascript" src="$vboptions[bburl]/embed/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('$vboptions[bburl]/embed/player.swf','mpl','300','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=$userinfo[field25]&volume=100&autostart=true');
so.write('player');
</script>
<!-- /FLASH MUSIC PLAYER -->
</b></td>
</tr>
</table></if><br>
<table border="0" width="100%" cellspacing="4" cellpadding="5" style="border:0px dotted #808080; font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" bgcolor="#F3F3F3" class="alt1">
<b>URL:</b> <a href="$vboptions[bburl]/$userinfo[username]">$vboptions[bburl]/$userinfo[username]</a></td>
</tr>
</table>
<br><table border="0" width="100%" cellspacing="4" cellpadding="5" style="border:0px dotted #808080; font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="thead">
<font color="#FFFFFF"><b>Forum Stats</b></font></td>
</tr>
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="alt1">
<b>Posts</b>: $prepared[posts]
<if condition="$prepared['lastposturl']"><br>
<br>
<b>Last Post</b>: <a href="$prepared[lastposturl]">$prepared[lastposttitle]</a></if></td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="4" cellpadding="5" style="font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="thead">
<b><font color="#FFFFFF">Interests</font></b></td>
</tr>
<if condition="$userinfo['field9']"><tr>
<td class="alt1"><b>General</b><br>
<br>
$userinfo[field9]</td>
</tr></if>
<if condition="$userinfo['field15']"><tr>
<td class="alt1"><b>Music</b><br>
<br>
$userinfo[field15]</td>
</tr></if>
<if condition="$userinfo['field16']"><tr>
<td class="alt1"><b>Movies</b><br>
<br>
$userinfo[field16]</td>
</tr></if>
<if condition="$userinfo['field17']"><tr>
<td class="alt1"><b>Televsion</b><br>
<br>
$userinfo[field17]</td>
</tr></if>
<if condition="$userinfo['field18']"><tr>
<td class="alt1"><b>Books</b><br>
<br>
$userinfo[field18]</td>
</tr></if>
<if condition="$userinfo['field19']"><tr>
<td class="alt1"><b>Heroes</b><br>
<br>
$userinfo[field19]</td>
</tr></if>
</table><br>
<table border="0" width="100%" cellspacing="4" cellpadding="5" style="font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="thead" colspan="2">
<font color="#FFFFFF"><b>Details</b></font></td>
</tr>
<if condition="$userinfo['field10']"><tr>
<td class="alt2" width="40%">Status:</td>
<td class="alt1">$userinfo[field10]</td>
</tr></if>
<if condition="$userinfo['field20']"><tr>
<td class="alt2" width="40%">Weight:</td>
<td class="alt1">$userinfo[field20]</td>
</tr></if>
<if condition="$userinfo['field21']"><tr>
<td class="alt2" width="40%">Drink:</td>
<td class="alt1">$userinfo[field21]</td>
</tr></if>
<if condition="$userinfo['field22']"><tr>
<td class="alt2" width="40%">Smoke: </td>
<td class="alt1">$userinfo[field22]</td>
</tr></if>
<if condition="$userinfo['field11']"><tr>
<td class="alt2" width="40%">Height: </td>
<td class="alt1">$userinfo[field11]</td>
</tr></if>
<if condition="$userinfo['field12']"><tr>
<td class="alt2" width="40%">Zodiac:</td>
<td class="alt1">$userinfo[field12]</td>
</tr></if>
</table>
</td>
<td valign="top" width="65%">
<table border="0" width="100%" cellspacing="4" cellpadding="5" style="border:0px dotted #808080; font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="thead">
<b>Blurbs</b></td>
</tr>
<if condition="$userinfo['field13']"><tr>
<td class="alt1"><b>About Me:</b><br>
<br>
$userinfo[field13]</td></if>
</tr>
<if condition="$userinfo['field14']"><tr>
<td class="alt1"><b>Who I Would like to meet:</b><br>
<br>
$userinfo[field14]</td>
</tr></if>
</table>
<br>
$blocks[friends]<br>
$blocks[visitor_messaging]
<br />
<!-- USERS SIGNATURE PART -->
<if condition="$prepared['signature']">
<table border="0" width="100%" cellspacing="4" cellpadding="5" style="border:1px dotted #808080; font-family: Verdana; font-size: 10pt">
<tr>
<td style="font-family: Verdana; font-size: 10pt" class="thead" colspan="2">
<b>$userinfo[username]'s Signature</b></td>
</tr>
<tr>
<td class="alt1" width="81%" valign="top">$prepared[signature]</td>
</tr>
</table></if>
</td>
</tr>
</table>
<!-- /USERS SIGNATURE PART -->
<br><center>Copyright © 2009 <b>MySpace</b> 2.0 Theme made by <a href="http://www.newmodifications.com">New Modifications</a></center></p>
$footer
</body>
</html>
PLUGINS(Your plugins might not change, mine didn't):
Profile Update - Change MEMBERINFO template:
Code:
$templatename = 'MEMBERINFO';
eval('$memberinfo = "' . fetch_template('memberinfo') . '";');
Profile Update - Cache Template:
Code:
$globaltemplates[] = 'MEMBERINFO';
|