New style of member info.
Collapse
X
-
New style of member info.
Tags: None -
User Info Display Templates
getinfo template:
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>$bbtitle - View Profile</title> $headinclude <script language="javascript" type="text/javascript"> <!-- function aimwindow(aimid) { window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no") } // --> </script> </head> <body> $header <p> </p> <p> </p> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border: 1 solid {tablebordercolor}"><tr><td> <table cellpadding="4" cellspacing="0" border="0" width="100%"> <tr> <td bgcolor="{tableheadbgcolor}" colspan="2" align="center"> <normalfont><b>Viewing profile for user <i>$userinfo[username]</i></b></normalfont> </td> </tr> <tr><td bgcolor="{secondaltcolor}" valign="top"> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr><td align="center" bgcolor="{firstaltcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>Avatar</B></normalfont></td></tr> <tr><td align="center" valign="top"><img src="$userinfo[avatarurl]" border="0" align="middle"></td></tr> </table> </td><td bgcolor="{secondaltcolor}" rowspan="2" valign="top"> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr><td align="center" bgcolor="{firstaltcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>User Info</B></normalfont></td></tr> <tr><td valign="top"> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr><td valign="top"><smallfont><B>Registered: </B></smallfont></td><td valign="top"><smallfont>$userinfo[datejoined]</smallfont></td></tr> <tr><td valign="top"><smallfont><B>Status: </B></smallfont></td><td valign="top"><smallfont>$userinfo[usertitle]</smallfont></td></tr> <tr><td valign="top"><smallfont><B>Posts: </B></smallfont></td><td valign="top"><smallfont>$userinfo[posts]<BR><b>[</b> $postsperday posts per day <b>]</b><BR><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$userinfo[userid]">Search for all posts by this user.</a></smallfont></td></tr> <tr><td valign="top"><smallfont><B>Website: </B></smallfont></td><td valign="top"><smallfont><a href="$userinfo[homepage]" target="_blank">$userinfo[homepage]</a></smallfont></td></tr> $referrals $birthday $customfields <smallfont> <tr><td valign="top" colspan="2"><smallfont><a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$userinfo[userid]"><font color="{linkcolor}">Add to buddy list.</font></a><BR> <a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinfo[userid]"><font color="{linkcolor}">Add to ignore list.</font></a> </smallfont> </td></tr> </td></tr> </table> </td></tr> </td></tr></table> <tr><td bgcolor="{secondaltcolor}" valign="top"> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr><td align="center" bgcolor="{firstaltcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>User Contact</B></normalfont></td></tr> <tr><td align="center" valign="top"> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr><td valign="top"><smallfont><B>E-Mail: </B></smallfont></td><td valign="top"><smallfont><a href="member.php?s=$session[sessionhash]&action=mailform&userid=$userinfo[userid]">Click here to email $userinfo[username]</a></smallfont></td></tr> <tr><td valign="top"><smallfont><B>Private Message: </B></smallfont></td><td valign="top"><smallfont>$userinfo[sendpm]</smallfont></td></tr> <tr><td valign="top"><smallfont><B>ICQ: </B></smallfont></td><td valign="top"><smallfont>$userinfo[icq] $userinfo[icqicon]</smallfont></td></tr> <tr><td valign="top"><smallfont><B>AIM: </B></smallfont></td><td valign="top"><smallfont>$userinfo[aim] $userinfo[aimicon]</smallfont></td></tr> <tr><td valign="top"><smallfont><B>YAHOO: </B></smallfont></td><td valign="top"><smallfont>$userinfo[yahoo] $userinfo[yahooicon]</smallfont></td></tr> </table> </td></tr> </table> </td></tr> </td></tr></table> </td></tr></table> <br> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr> <td align="center"><smallfont><b> Administrative Options: <a href="moderator.php?s=$session[sessionhash]&action=useroptions&userid=$userinfo[userid]">User Options</a> </b></smallfont></td> </tr> </table> $footer </body> </html>
Code:<tr><td valign="top"><smallfont><B>Birthday: </B></smallfont></td><td valign="top"><smallfont>$birthday</smallfont></td></tr>
Code:<tr><td valign="top"><smallfont><B>$profilefield[title]: </B></smallfont></td><td valign="top"><smallfont>$profilefield[value]</smallfont></td></tr>
Code:<tr><td valign="top"><smallfont><B>Referrals: </B></smallfont></td><td valign="top"><smallfont>$referrals</smallfont></td></tr>
Super Mini Date Hack
Find: (Around line 1077)
Code:$userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]);
Code:$userinfo[datejoined]=vbdate("l, F d, Y. g:i a",$userinfo[joindate]);
Last edited by psx-dude; Wed 31 Oct '01, 6:12pm.Comment
-
I realize this thread is very old, and Im thinking that the problem I have is related to the version of vB im running (2.2.3) possibly, but can you tell me how to get rid of all the <tr> tags that show up? See shot:Comment
-
Originally posted by psx-dude
User Info Display Templates
Super Mini Date Hack
Find: (Around line 1077)
Code:$userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]);
Code:$userinfo[datejoined]=vbdate("l, F d, Y. g:i a",$userinfo[joindate]);
Comment
-
Originally posted by psx-dude
User Info Display Templates
Super Mini Date Hack
Find: (Around line 1077)
Code:$userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]);
Code:$userinfo[datejoined]=vbdate("l, F d, Y. g:i a",$userinfo[joindate]);
Originally posted by crossova
what template is that located in...the super mini date hack?
It's not a template hack, you need to modify a file called member.php.Last edited by 5861king; Fri 26 Apr '02, 5:23am.Comment
-
Re: How do you...
Originally posted by hellsatan
Add a field for the "awayuser" hack?
Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Looks great. I'm using it.
Couldn't get the date hack to work for some reason.
CheersComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment