Quote:
Originally Posted by CodeRed
Hey guys I've gotten a few PMs from people asking about my profile page that i had listed in the older thread so I thought i would post up the info here as well in case others are interested as well...
Click to see full size Profile Page ~450k
Link points to JPG screen capture since Guests can not view our forum's profile pages...
Installed hacks (that i can remember anyways!):
Who Viewed My Profile:
https://vborg.vbsupport.ru/showthread.php?t=91772
Userprofile Changed Date in Member Profile & recent changed on forumhome:
https://vborg.vbsupport.ru/showthread.php?t=101462
Parse BBCode in Custom Profile Fields:
(i believe this is the one that allowed paragraphs breaks in custom fields - you have include the fields you want parsed in the edit plugin section)
https://vborg.vbsupport.ru/showthread.php?t=103460
PhotoPost Recent Images on Profile Page:
(need PhotoPost forum access to get thread)
http://www.photopost.com/forum/showthread.php?t=121321
Link To Users Gallery In Profile [Updated]:
(need PhotoPost forum access to get thread - also think i used the previous version of this hack)
http://www.photopost.com/forum/showthread.php?t=118831
iTrader Hack v2.0.1:
https://vborg.vbsupport.ru/showthread.php?t=102965
Here is my MEMBERINFO 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
<table width="100%" align="center" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="tcat"><b>$userinfo[musername]'s Profile Page</b>
</td>
</tr>
</table>
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="alt1" valign="top" width="75%" rowspan="2">
<!-- START USER AVATAR -->
<if condition="$show['avatar']">
<div style="float:left;"><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" /></div> </if>
<!-- END USER AVATAR -->
<!-- USER INFORMATION -->
<div style="font-size:18pt">$userinfo[musername] $userinfo[onlinestatus]</div>
<div class="smallfont">
<b>$userinfo[usertitle]</b><br />
<b>$vbphrase[join_date]:</b> $userinfo[datejoined]<br />
<b>Location:</b> $userinfo[field2]<br />
<if condition="$show['lastactivity']">
<div><b>Last Online At:</b> $userinfo[lastactivitydate] - <span class="time">$userinfo[lastactivitytime]</span></div>
</if>
<!-- Hack: Userprofile Changed Date(MarcoH64) -->
<if condition="$mh_upcd_last_changed">
<b>$vbphrase[mh_upcd_last_change_date]:</b> $mh_upcd_last_changed
</if>
<!-- / Hack: Userprofile Changed Date(MarcoH64) -->
</div>
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="thead"><b>$userinfo[username]'s Information:</b></td>
</tr>
<tr>
<td class="alt1">
<div class="smallfont">
<b>$vbphrase[age] :</b> $userinfo[age]<br />
<b>Sex :</b> $userinfo[field5]<br />
<b>Occupation :</b> $userinfo[field4]<br />
<b>Interests :</b> $userinfo[field3]<br />
</div>
</td>
</tr>
<if condition="$userinfo[field6]">
<tr>
<td class="thead"><b>About Me:</b></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">$userinfo[field6]</div></td>
</tr>
</if>
<if condition="$userinfo[field12]">
<tr>
<td class="thead"><b>Favorite Aspect of Photography:</b></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">$userinfo[field12]</div></td>
</tr>
</if>
<if condition="$userinfo[field7]">
<tr>
<td class="thead"><b>Photo Gear:</b></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><div style="white-space:pre;">$userinfo[field7]</div></div></td>
</tr>
<if condition="$show['signature']">
<tr>
<td class="thead"><b>$vbphrase[signature]</b></td>
</tr>
<tr>
<td class="alt1">$userinfo[signature]</td>
</tr>
</if>
</table>
</td>
<td align="left" valign="top" class="alt1" width="25%" rowspan="2">
<if condition="$show['profilepic']">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /> <else /> <img src="http://www.texasphotoforum.com/forum/images/noimage.jpg" alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
</if>
<br />
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="thead"><b>General Information:</b></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">Send An E-Mail To $userinfo[username]</phrase></a></div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]"><phrase 1="$userinfo[username]">Send Private Message To $userinfo[username]</phrase></a></div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><if condition="$show['profileviews']"><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></td>
</tr>
<if condition="$userinfo[homepage]">
<tr>
<td class="alt1"><div class="smallfont"><b>$userinfo[username]'s Personal Homepage:</b><br /><a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a></div></td>
</tr>
</if>
<if condition="$userinfo[field8]">
<tr>
<td class="alt1"><div class="smallfont"><b>MySpace Profile Page:</b><br /><a href="$userinfo[field8]" target="_blank" dir="ltr">$userinfo[field8]</a></div></td>
</tr>
</if>
<if condition="$userinfo[field9]">
<tr>
<td class="alt1"><div class="smallfont"><b>Model Mayhem Profile Page:</b><br /><a href="$userinfo[field9]" target="_blank" dir="ltr">$userinfo[field9]</a></div></td>
</tr>
</if>
<if condition="$userinfo[field10]">
<tr>
<td class="alt1"><div class="smallfont"><b>One Model Place Profile Page:</b><br /><a href="$userinfo[field10]" target="_blank" dir="ltr">$userinfo[field10]</a></div></td>
</tr>
</if>
<if condition="$userinfo[field11]">
<tr>
<td class="alt1"><div class="smallfont"><b>Sports Shooter Profile Page:</b><br /><a href="$userinfo[field11]" target="_blank" dir="ltr">$userinfo[field11]</a></div></td>
</tr>
</if>
</table>
<br />
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="thead">Forum Information</td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">$vbphrase[total_posts]: $userinfo[posts] (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)</div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">Total User Images: $userimages[count]</div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">Find All Posts By $userinfo[username]</phrase></a></div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">Find All Threads Started By $userinfo[username]</phrase></a></div></td>
</tr>
<tr>
<td class="alt1"><div class="smallfont"><a href="/gallery/showgallery.php?cat=500&ppuser=$userinfo[userid]" title="View Gallery">View $userinfo[username]'s Gallery</a></div></td>
</tr>
<if condition="$vboptions['usereferrer']">
<tr>
<td class="alt1"><div class="smallfont"><b>$vbphrase[referrals]:</b> $referrals</div></td>
</tr>
</if>
</table>
<br />
<if condition="$show['hasimicons']">
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
<tr>
<td class="thead">Instant Messaging</td>
</tr>
<tr>
<td class="alt1"><div align="center">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></td>
</tr>
</table>
<br />
</if>
</td>
</tr>
</table>
<if condition="$profileimagebits">
<table align="center" width="100%" border="0" cellpadding="6" cellspacing="1" class="tborder">
<tr>
<td class="tcat" colspan="6"><a href="http://www.texasphotoforum.com/gallery/index.php?$session[sessionurl]">Recent Gallery Additions</a>
</td>
</tr>
<tr>
$profileimagebits
</tr>
</table>
<br />
</if>
<if condition="can_moderate()">
<div align="center" class="smallfont"><b>Moderator Control:</b> <a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></div>
</if>
$footer
<br />
</body>
</html>
The one thing that still doesnt work in the profile page is the Total User Images: portion. It's suppose to display the total number of images the user has in the PhotoPost Gallery. I have not been able to figure that one out yet so if anyone can find the fix I'd greatly appreciate it!
It may not be perfect but it seems to work ok on my end for what its worth (3.5.1)... use at your own risk.
Hope this helps some...
|
Using 3.5.4 I get this error when saving the template
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/*********/public_html/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 80