Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic $membername instead of $username ?? (Read 1080 times)
Gilles
Full Member
***
Offline


To be or not to be hersenloos,
that's the question

Posts: 133
Location: Amsterdam
Joined: Jun 5th, 2003
Gender: Male
$membername instead of $username ??
Jun 20th, 2003 at 8:20pm
Print Post  
Ok, i added this parameter to my JiRC Chat to include the username in the Nick Name field of the applet:

Code
Select All
<param name="NickName" value="$username"> 



And that works! So thats a good thing... The bad thing is that it uses the username (duh, it says so), but i want to include the membername! (the one that is next to Name: in the profile). How!? Because, this one doesn't work:

Code
Select All
<param name="NickName" value="$membername"> 

  
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: $membername instead of $username ??
Reply #1 - Jun 21st, 2003 at 1:55am
Print Post  
try something like:

Code
Select All
if ($username ne "Guest") {
  $displayname = $settings[1];
} else {
  $displayname = $username;
} 



Then use the variable $displayname.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Gilles
Full Member
***
Offline


To be or not to be hersenloos,
that's the question

Posts: 133
Location: Amsterdam
Joined: Jun 5th, 2003
Gender: Male
Re: $membername instead of $username ??
Reply #2 - Jun 21st, 2003 at 9:58am
Print Post  
Ok, so i paste this code above the applet code and than use $displayname in the parameter of the applet?
  
Back to top
WWW  
IP Logged
 
Tea-Master
Forum Administrator
*****
Offline



Posts: 1945
Location: north germany
Joined: Oct 21st, 2001
Gender: Male
Re: $membername instead of $username ??
Reply #3 - Jun 21st, 2003 at 10:22am
Print Post  
yep Smiley
  
Back to top
WWW  
IP Logged
 
Gilles
Full Member
***
Offline


To be or not to be hersenloos,
that's the question

Posts: 133
Location: Amsterdam
Joined: Jun 5th, 2003
Gender: Male
Re: $membername instead of $username ??
Reply #4 - Jun 21st, 2003 at 3:30pm
Print Post  
Ah, got it! Thanks all!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint