Welcome, Guest. Please Login or Register.
August 29, 2025, 06:17:45 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  ID_MEMBER Quick Question « previous next »
Pages: [1] Reply Ignore Print
Author Topic: ID_MEMBER Quick Question  (Read 419 times)
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

ID_MEMBER Quick Question
« on: April 20, 2002, 06:49:03 PM »
Reply with quote

How do you display ID_MEMBER in the area under where they post?
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:ID_MEMBER Quick Question
« Reply #1 on: April 20, 2002, 07:47:54 PM »
Reply with quote

use $muserID enter ir under here


if($muserID != "-1") {
   global $hp,$maxhp,$mp,$maxmp,$ep
    //Messy crap - perhaps someone can alter this later
            $ptext=$userprofile[$mname]['personalText'];
            $ptext = str_replace (""", "\"", $ptext);
            $ptext = str_replace ("'", "'", $ptext);
            $ptext = str_replace ("&", "&", $ptext);
            $ptext = str_replace ("&lt;", "<", $ptext);
            $ptext = str_replace ("&gt;", ">", $ptext);
   print "            $star<br><br>".$userprofile[$mname]['avatar'];
   print "\n          ".$userprofile[$mname]['gender'];
   
   
}
   print <<< EOT
   
   <br>

add under: $muserID
Logged

ALL MODS Cancelled projected terminated
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Re:ID_MEMBER Quick Question
« Reply #2 on: April 20, 2002, 07:52:07 PM »
Reply with quote

Quote from: mcguire on April 20, 2002, 07:47:54 PMuse $muserID enter ir under here


if($muserID != "-1") {
   global $hp,$maxhp,$mp,$maxmp,$ep
    //Messy crap - perhaps someone can alter this later
            $ptext=$userprofile[$mname]['personalText'];
            $ptext = str_replace ("&quot;", "\"", $ptext);
            $ptext = str_replace ("&#039;", "'", $ptext);
            $ptext = str_replace ("&amp;", "&", $ptext);
            $ptext = str_replace ("&lt;", "<", $ptext);
            $ptext = str_replace ("&gt;", ">", $ptext);
   print "            $star<br><br>".$userprofile[$mname]['avatar'];
   print "\n          ".$userprofile[$mname]['gender'];
   
   
}
   print <<< EOT
   
   <br>

add under: $muserID


What file is this in?
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:ID_MEMBER Quick Question
« Reply #3 on: April 20, 2002, 07:54:47 PM »
Reply with quote

duh forgot to tell what file  ::)  under Sources/display.php also u willl

need to  under <br> add <p> <b>MemberID or whate ever you want to call it: $muserId<br>
« Last Edit: April 20, 2002, 07:57:25 PM by mcguire » Logged

ALL MODS Cancelled projected terminated
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Re:ID_MEMBER Quick Question
« Reply #4 on: April 20, 2002, 07:57:09 PM »
Reply with quote

Quote from: mcguire on April 20, 2002, 07:54:47 PMduh forgot to tell what file  ::)  under Sources/display.php

Also, what exactly do you add? It isn't exactly clear......
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:ID_MEMBER Quick Question
« Reply #5 on: April 20, 2002, 07:59:15 PM »
Reply with quote

From The First Post I Showed You The Last Variable Was <br>

Add This Under

 <p> <b>your name for the variable: $muserID<br>


sorry im eating at the moment an my lil sis is pusing buttons on the keyboard
Logged

ALL MODS Cancelled projected terminated
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Re:ID_MEMBER Quick Question
« Reply #6 on: April 20, 2002, 08:02:56 PM »
Reply with quote

Quote from: mcguire on April 20, 2002, 07:59:15 PMFrom The First Post I Showed You The Last Variable Was <br>

Add This Under

 <p> <b>your name for the variable: $muserID<br>


sorry im eating at the moment an my lil sis is pusing buttons on the keyboard

If so, is it possible to get it so that the member ID is displayed right under the user title?
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:ID_MEMBER Quick Question
« Reply #7 on: April 20, 2002, 08:10:18 PM »
Reply with quote

Dont Know Havent Really Tried It  Add It Some where in here..

or write your own print statement above  

  print "            $star<br><br>".$userprofile[$mname]['avatar'];

And See If It Woerks...


P.S I Cant Guarantee It Will Work I Havent Tried It.. Just For Reference Toy Around With It In This Area And You Might Get It To Work
Logged

ALL MODS Cancelled projected terminated
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Re:ID_MEMBER Quick Question
« Reply #8 on: April 20, 2002, 08:23:57 PM »
Reply with quote

I added it here:

print "     Member # $muserID<br>      $star<br><BR>\n$online            ".$userprofile[$mname]['gender'];
and it worked. Thanks for the help. Now if I could only change the user title so it was in plain text instead of bold, and if I could only get rid of those ranking stars....
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:ID_MEMBER Quick Question
« Reply #9 on: April 20, 2002, 08:39:05 PM »
Reply with quote

$star<br><BR>\n$online            


Try And Delete This
Logged

ALL MODS Cancelled projected terminated
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  ID_MEMBER Quick Question « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.097 seconds with 21 queries.