Announcement

Collapse
No announcement yet.

New style of member info.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New style of member info.

    What'cha think?
    http://forums.psx-dude.net/member.ph...tinfo&userid=1

    I will show the template code iab, as well as my little mini-tiny-date hack for the birthday.
    My board: http://forums.psx-dude.net
    Others: Find it Damn't!, Anime Site.

  • #2
    Very cool, post the template changes!

    Comment


    • #3
      Yes, very impressive
      Ueli

      Comment


      • #4
        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>&nbsp;</p>
        <p>&nbsp;</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>
        getinfo_birthday template:
        Code:
        <tr><td valign="top"><smallfont><B>Birthday: </B></smallfont></td><td valign="top"><smallfont>$birthday</smallfont></td></tr>
        getinfo_customfields template:
        Code:
        <tr><td valign="top"><smallfont><B>$profilefield[title]: </B></smallfont></td><td valign="top"><smallfont>$profilefield[value]</smallfont></td></tr>
        getinfo_referrals template:
        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]);
        Replace it with:
        Code:
        $userinfo[datejoined]=vbdate("l, F d, Y. g:i a",$userinfo[joindate]);
        Last edited by psx-dude; Wed 31 Oct '01, 6:12pm.
        My board: http://forums.psx-dude.net
        Others: Find it Damn't!, Anime Site.

        Comment


        • #5
          Ooh, I like it! Looks very professional and put together! Great job!

          Kim

          Comment


          • #6
            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:
            website: joe.pcfx.cc
            forums: pcfx.cc
            gallery: here

            Comment


            • #7
              i know noticed the thread date too but mine doesnt even look right

              and i am running 2.2.5

              Comment


              • #8
                bump
                website: joe.pcfx.cc
                forums: pcfx.cc
                gallery: here

                Comment


                • #9
                  Originally posted by psx-dude
                  User Info Display Templates


                  Super Mini Date Hack

                  Find: (Around line 1077)
                  Code:
                  $userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]);
                  Replace it with:
                  Code:
                  $userinfo[datejoined]=vbdate("l, F d, Y. g:i a",$userinfo[joindate]);
                  what template is that located in...the super mini date hack?

                  Comment


                  • #10
                    Originally posted by psx-dude

                    User Info Display Templates


                    Super Mini Date Hack

                    Find: (Around line 1077)
                    Code:
                    $userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]);
                    Replace it with:
                    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


                    • #11
                      Nice... Worked like a charm
                      2.2.5

                      Troll, troll, troll your post, gently down the feed.
                      Merrily, merrily troll along, a life is what you need!

                      Comment


                      • #12
                        Thx
                        works great

                        Comment


                        • #13
                          How do you...

                          Add a field for the "awayuser" hack?

                          I have it installed, yet I cannot make the Away User Fields appear on the template...

                          Satan

                          Comment


                          • #14
                            Re: How do you...

                            Originally posted by hellsatan
                            Add a field for the "awayuser" hack?
                            The place to ask this question is at vbulletin.org.
                            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


                            • #15
                              Looks great. I'm using it.

                              Couldn't get the date hack to work for some reason.

                              Cheers
                              PLEASE VISIT US HERE. THANKS IN ADVANCE

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X