Announcement

Collapse
No announcement yet.

User ID's

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

  • User ID's

    How do I view everyones user id? Is this a feature on the admincp? If not, how hard would it be to do?

  • #2
    You can go to his profile and you will see his ID in the address bar.
    You can hover the [edit] link in the Admin CP and you will see his ID in the status bar.

    There are really a lot of ways.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

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

    Comment


    • #3
      would it take a hack to make it appear in the users profile?

      Comment


      • #4
        Originally posted by caphq
        would it take a hack to make it appear in the users profile?
        You can add it to the user's profle by modifying the getinfo template. Just copy another one of the lines and change it to User ID: and change the value to $userinfo[userid]. Watch out for the alternating colors to get the page to look right. You could also add it under location or wherever you want by adding it to the postbit template. Use $post[userid] there.
        FWC
        White Sox Interactive Forums

        Comment


        • #5
          Below is my getinfo template. What is the code I should add and where should I add it?

          {htmldoctype}
          <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,w idth=175,height=275,resizeable=yes,status=no")
          }
          // -->
          </script>
          </head>
          <body>
          $header

          <br>

          <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
          <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
          <tr>
          <td bgcolor="{tableheadbgcolor}" colspan="2">
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr id="cat">
          <td align="left"><normalfont color="{tableheadtextcolor}"><b>Profile For $userinfo[username]</b></normalfont></td>
          <td align="right"><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$userinfo[userid]"><smallfont color="{tableheadtextcolor}" class="thtcolor">Search for all posts by this user.</smallfont></a></td>
          </tr>
          </table>
          </td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}"><normalfont><b>Date Registered:</b></normalfont></td>
          <td bgcolor="{secondaltcolor}"><normalfont>$userinfo[datejoined]</normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{firstaltcolor}"><normalfont><b>Status:</b></normalfont></td>
          <td bgcolor="{firstaltcolor}"><normalfont>$userinfo[usertitle]&nbsp;<img src="$userinfo[avatarurl]" border="0" align="middle"></normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}"><normalfont><b>Total Posts:</b></normalfont></td>
          <td bgcolor="{secondaltcolor}"><normalfont>$userinfo[posts] ($postsperday posts per day)</normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{firstaltcolor}"><normalfont><b>Last Post:</b></normalfont></td>
          <td bgcolor="{firstaltcolor}"><normalfont>$lastpostdate $lastposttime<br><a href="$lastposturl">$lastposttitle</a>$nolastpost</normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}"><normalfont><b>Contact $userinfo[username]:</b></normalfont></td>
          <td bgcolor="{secondaltcolor}"><normalfont>
          <a href="member.php?s=$session[sessionhash]&action=mailform&userid=$userinfo[userid]">Click here to email $userinfo[username]</a>
          $userinfo[sendpm]
          </normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{firstaltcolor}"><normalfont><b>Homepage:</b></normalfont></td>
          <td bgcolor="{firstaltcolor}"><normalfont><a href="$userinfo[homepage]" target="_blank">$userinfo[homepage]</a>&nbsp;</normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}"><normalfont><b>ICQ Number:</b></normalfont></td>
          <td bgcolor="{secondaltcolor}"><normalfont>$userinfo[icq] <!-- $ userinfo[icqicon] THE ICQ FLOWER - remove comments --></normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{firstaltcolor}"><normalfont><b>AOL Instant Messenger Handle:</b></normalfont></td>
          <td bgcolor="{firstaltcolor}"><normalfont>$userinfo[aim] <!-- $ userinfo[aimicon] AIM ICON - remove comments --></normalfont></td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}"><normalfont><b>Yahoo Instant Messenger Handle:</b></normalfont></td>
          <td bgcolor="{secondaltcolor}"><normalfont>$userinfo[yahoo] <!-- $ userinfo[yahooicon] YAHOO ICON - remove comments --></normalfont></td>
          </tr>
          $referrals
          $birthday
          $customfields
          <tr>
          <td bgcolor="{tableheadbgcolor}" align="center" colspan="2"><smallfont>
          <a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$userinfo[userid]"><font color="{tableheadtextcolor}">Add $userinfo[username] to Your Buddy List</font></a>
          &nbsp; &nbsp;
          <a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinfo[userid]"><font color="{tableheadtextcolor}">Add $userinfo[username] to Your Ignore List</font></a>
          </smallfont></td>
          </tr>
          </table>
          </td></tr></table>

          <br>

          <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} 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>

          Comment


          • #6
            should work
            Rheena.com For Xbox360 Wii-u PS Vita 3DS iphone ipad Android Devices And More

            Comment


            • #7
              I added the code, but can't find where it shows up. =(

              Comment


              • #8
                OK, I found it... but the colors are all messed up on that screen.

                Comment


                • #9
                  Originally posted by caphq
                  OK, I found it... but the colors are all messed up on that screen.
                  I told you you had to look out for the alternating colors. The file that was uploaded didn't do that. You might want to add it after your custom fields and set it to the correct bgcolor.
                  Last edited by FWC; Sun 21 Oct '01, 4:10pm.
                  FWC
                  White Sox Interactive Forums

                  Comment


                  • #10
                    Ok. It works. Thank You.

                    Comment


                    • #11
                      Originally posted by caphq
                      Ok. It works. Thank You.
                      I'm glad it worked.
                      FWC
                      White Sox Interactive Forums

                      Comment

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