Welcome, Guest. Please Login or Register
Welcome To Ask The Trades!
May 5th, 2024, 9:10pm
Quote: War does not determine who is right - only who is left


Page Index Toggle Pages: 1
Send Topic Print
Is it a bid odd that ... (Read 4449 times)
RabbitRabbit
GDPR opt-out









Is it a bid odd that ...
Jun 4th, 2007, 7:52am
 
...you can send yourself a PM on this forum.

Not that I mind, the best, witiest, cleverest, smartest, superbest, brilliantest PM's I have ever had were sent to me by me  :-D :-D
Back to top
 
 
IP Logged
 
Lectrician
Administrator
Trade Member
Author
*****
Offline

Ask The Trades
Posts: 8814


Total Thanks: 109
For This Post: 0


Braunton, North Devon, United Kingdom
Braunton, North Devon
United Kingdom

Gender: male

Trade: Electrician



Re: Is it a bid odd that ...
Reply #1 - Jun 4th, 2007, 8:05am
 
Well, when your bored.....

It could very easily be ommited, with a

Code:
if ($username eq $recipient){stop the prick sending himself mail}; 



type of thing Grin
Back to top
 

Need to post a picture? Click HERE for info!
Thank User For This Post WWW View members image gallery  
IP Logged
 
RabbitRabbit
Re: Is it a bid odd that ...
Reply #2 - Jun 4th, 2007, 8:19am
 
unless..

if ($username eq $recipient and $username eq 'rabbitrabbit') then
  sendmessage
else
  $printmessage  Tongue to ($username eq Lectrician)
endif

Standby for the messages Lec  :-D
Back to top
« Last Edit: Jun 4th, 2007, 8:20am by santacruz »  
Thank User For This Post  
IP Logged
 
Lectrician
Administrator
Trade Member
Author
*****
Offline

Ask The Trades
Posts: 8814


Total Thanks: 109
For This Post: 0


Braunton, North Devon, United Kingdom
Braunton, North Devon
United Kingdom

Gender: male

Trade: Electrician



Re: Is it a bid odd that ...
Reply #3 - Jun 4th, 2007, 4:42pm
 
Just for you RR :

Code:
  if ($FORM{'to'} eq $username){
&LoadUser($username);
$display_name = ${$uid.$username}{'realname'};
$hold_message = $message;
$ammend_message = qq~Not sure why you are sending a message to yourself $display_name, but here it is below!<br /><br />~;
$ammend_message .= $hold_message;
$message = $ammend_message;
}



Grin
Back to top
 

Need to post a picture? Click HERE for info!
Thank User For This Post WWW View members image gallery  
IP Logged
 
RabbitRabbit
Re: Is it a bid odd that ...
Reply #4 - Jun 4th, 2007, 6:31pm
 
lol Very good Lec  Grin
Back to top
 
Thank User For This Post  
IP Logged
 
Lectrician
Administrator
Trade Member
Author
*****
Offline

Ask The Trades
Posts: 8814


Total Thanks: 109
For This Post: 0


Braunton, North Devon, United Kingdom
Braunton, North Devon
United Kingdom

Gender: male

Trade: Electrician



Re: Is it a bid odd that ...
Reply #5 - Sep 2nd, 2007, 2:12pm
 
I forgot I added this code to the forum - I was testing a PM just now, and was surprised when I read it to find that text at the top......and then it dawned on me!
Back to top
 

Need to post a picture? Click HERE for info!
Thank User For This Post WWW View members image gallery  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print