Announcement

Collapse
No announcement yet.

New User Info Layout

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

  • New User Info Layout

    What I have here: http://forums.psx-dude.net/member.ph...tinfo&userid=1


    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 #555576"><tr><td>
    <table cellpadding="4" cellspacing="0" border="0" width="100%">
    <tr>
    	<td bgcolor="#8080A6" colspan="2" align="center">
    		<normalfont><b>Viewing profile for user <i>$userinfo[username]</i></b></normalfont>
    	</td>
    </tr>
    <tr><td bgcolor="#DFDFDF" valign="top">
    	<table width="100%" cellspacing="0" cellpadding="2" border="0">
    		<tr><td align="center" bgcolor="#F1F1F1" valign="top" style="border: 1 solid #555576"><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="#DFDFDF" rowspan="2" valign="top">
    	<table width="100%" cellspacing="0" cellpadding="2" border="0">
    		<tr><td align="center" bgcolor="#F1F1F1" valign="top" style="border: 1 solid #555576"><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="#000020">Add to buddy list.</font></a><BR>
    			<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinfo[userid]"><font color="#000020">Add to ignore list.</font></a>
    			</smallfont>
    			</td></tr>
    		</td></tr>
    	</table>
    </td></tr>
    </td></tr></table>
    <tr><td bgcolor="#DFDFDF" valign="top">
    	<table width="100%" cellspacing="0" cellpadding="2" border="0">
    		<tr><td align="center" bgcolor="#F1F1F1" valign="top" style="border: 1 solid #555576"><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
    Open member.php

    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; Thu 1 Nov '01, 9:27am.
    My board: http://forums.psx-dude.net
    Others: Find it Damn't!, Anime Site.

  • #2
    Thank you! Very cool. But where do I edit for the mini date hack?
    website: joe.pcfx.cc
    forums: pcfx.cc
    gallery: here

    Comment


    • #3
      member.php, Mr. X.

      Thanks for the template!
      Chen Avinadav
      Better to remain silent and be thought a fool than to speak out and remove all doubt.

      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

      Comment


      • #4
        Nice sJit!! Looks very good!

        Comment


        • #5
          nice one !!!!!!!!!!!!!!!!!!!!!!

          but the colours dont match with my board, how can I make sure they do ??

          Comment


          • #6
            I thought i changed them to the altcolor and such..... Wait, you have to quote my post, vb is changing the #F1F1F1 and such.


            ATTACHED: Hopefully this won't be parsed...
            My board: http://forums.psx-dude.net
            Others: Find it Damn't!, Anime Site.

            Comment


            • #7
              Well, I edited t myself . Anyway, thanks for sending it again
              Ueli

              Comment


              • #8
                nice i added this.. one thing is this custom getinfo template was missing the Last post cell for last post and last post date

                do add it find in getinfo template
                Code:
                 <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>
                and add below it
                Code:
                 <tr>
                 <td valign="top"><smallfont><b>Last Post:</b></smallfont></td>
                 <td valign="top"><smallfont>$lastpostdate $lastposttime<br>
                 <a href="$lastposturl">$lastposttitle</a>$nolastpost</smallfont></td>
                 </tr>
                :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                :: Nginx SPDY SSL - World Flags Demo [video results]
                :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                Comment


                • #9
                  Couldn't we also use the userinfo[post] variable?
                  Ueli

                  Comment


                  • #10
                    cool hack psx-dude !

                    Could you provide me the hack to get graphics into the catagory titles like on your forum where you use 'catbg.png'?

                    And the hack for highlighting a forum title?

                    Many many thanks in advance !!
                    Last edited by kcikees; Sun 4 Nov '01, 9:25pm.
                    KCi aka Rhyze

                    Comment


                    • #11
                      for hacks please go to http://www.vbulletin.org/index.php?s=
                      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                      :: Nginx SPDY SSL - World Flags Demo [video results]
                      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                      Comment


                      • #12
                        it's no so much hacking as it is normal template editing.
                        My board: http://forums.psx-dude.net
                        Others: Find it Damn't!, Anime Site.

                        Comment


                        • #13
                          for hacks please go to http://www.vbulletin.org/index.php?s=
                          Ermmm aint this a template hack ?

                          Looks like one to me so why the hell should it be refered to a site that is not dealing with template hacks ?

                          Make your mind up ! is this forum going over there too ?

                          HM

                          Comment


                          • #14
                            Actually since member.php is being altered it does fall into the hack category.
                            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
                              This was great, I was looking for something just like this. Thanks everyone!
                              http://www.tchracing.com/forums/live...h_live_sig.jpg

                              Comment

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