Page Index Toggle Pages: 1 2 3 [4] 5 6 ... 12 Send TopicPrint
Very Hot Topic (More than 25 Replies) Board Whisper (Read 63444 times)
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #45 - Jan 19th, 2003 at 9:57pm
Print Post  
Quote:
I just changed the bit where you had done $whisper_name ne 'Guest' you want it to run that bit, if the user is a guest am I right? should work, but I not tested it.


It didn't work,guest still see whisper message Cry

  

   
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Board Whisper
Reply #46 - Jan 19th, 2003 at 10:15pm
Print Post  
Try this:

Code
Select All
sub xwhisper {
	my ($whisper_name, $whisper_msg) = @_;
	&LoadUserDisplay($whisper_name);
	if ($whisper_name ne $username) {
		$whisper_msg =~ s~\/me\s+(.*?)(\n.*?)~<font color="#FF0000">* $1</font>~ig;
		$whisper_msg =~ s~<font color="#FF0000">(.*?)\/me~<font color="#FF0000">$1\&\#47\;me~ig;
		$whisper_msg =~ s~\/me\s+([\s\S]*)~<font color="#FF0000">* $1</font>~ig;
		$whisper_msg =~ s~\/me~\&\#47\;me~ig;
		return qq~$YaBBCtxt{'whsp2'}$whisper_msg~;
	} elsif ($username eq 'Guest'} {
		return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;
	} elsif ($username eq $tmpuname || $moderators{$username} || $settings[7] eq 'Administrator') {
		return qq~$YaBBCtxt{'whsp4'}$userprofile{$whisper_name}->[1]: $whisper_msg~;
	} else {
		return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;
	}
}
 



If this don't work, I'll install the mod, and fiddle around till I get it working.
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #47 - Jan 19th, 2003 at 10:27pm
Print Post  
Code
Select All
sub xwhisper {
 my ($whisper_name, $whisper_msg) = @_;
 &LoadUserDisplay($whisper_name);
 if ($whisper_name ne $username) {
  $whisper_msg =~ s~\/me\s+(.*?)(\n.*?)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~<font color="#FF0000">(.*?)\/me~<font color="#FF0000">$1\&\#47\;me~ig;
  $whisper_msg =~ s~\/me\s+([\s\S]*)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~\/me~\&\#47\;me~ig;
  return qq~$YaBBCtxt{'whsp2'}$whisper_msg~;
 } elsif ($username eq $tmpuname || $moderators{$username} || $settings[7] eq 'Administrator') {
  return qq~$YaBBCtxt{'whsp4'}$userprofile{$whisper_name}->[1]: $whisper_msg~;
} elsif ($username eq 'Guest'} {
  return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;
 } else {
  return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;
 }
}
 



i just try the code above it looks like that you suggest and it didn't work
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #48 - Jan 20th, 2003 at 12:14am
Print Post  
I've found the hole when you click on the print button you can read all the whisper messages  Embarrassed

whatever you are member or guest .   ???

sometimes when you post something like this Quote:
]gty:[[whisper=username]any messages you want to whisper ]eej[[/whisper]


when you viewed the preview page before printing(using print button of the board) ,you can see all the whisper messages

Notice: ]gty:[  and  ]eej[  are the charactors which stand for smiley of my board   8)

« Last Edit: Jan 20th, 2003 at 10:52am by Jake »  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #49 - Jan 21st, 2003 at 10:21am
Print Post  
Knock ! Knock! Knock! anyone out there Please come in.

Can you hear me this is whisper? Grin

Guest say: This is not  whisper but shouting bcause i can hear.

Please, need help the whisper mod now guest can see the whisper message when you post with
Code
Select All
[whisper!username]whisper messages[/whisper] 


Thanx
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #50 - Jan 22nd, 2003 at 12:52pm
Print Post  
Serious bug report

>> my member post with
Code
Select All
[whisper=Invalid username]whisper message[/whisper] 



>> If member post with the same invalid user name more than two times in the same post or in the cosecutive post it will cause untrapped error sources/Load.pl line 434

in the load.pl section is the Exp bar hack mod

Please help me
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #51 - Jan 23rd, 2003 at 6:14pm
Print Post  
UPDATE

Now if you posted with
Code
Select All
[whisper!username] whisper message [/whisper] 

Guest couldn't see the whisper message any more. Just change
Code
Select All
sub xwhisper {  
 my ($whisper_name, $whisper_msg) = @_;  
 &LoadUserDisplay($whisper_name);
 if ($whisper_name ne $username) {  
  $whisper_msg =~ s~\/me\s+(.*?)(\n.*?)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~<font color="#FF0000">(.*?)\/me~<font color="#FF0000">$1\&\#47\;me~ig;
  $whisper_msg =~ s~\/me\s+([\s\S]*)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~\/me~\&\#47\;me~ig;
  return qq~$YaBBCtxt{'whsp2'}$whisper_msg~;  
 } elsif ($username eq $tmpuname || $moderators{$username} || $settings[7] eq 'Administrator' || $settings[7] eq 'Global Moderator') {  
  return qq~$YaBBCtxt{'whsp4'}$userprofile{$whisper_name}->[1]: $whisper_msg~;  
 } else {  
  return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;  
 }  
}  

TO
Code
Select All
sub xwhisper {  
 my ($whisper_name, $whisper_msg) = @_;  
 &LoadUserDisplay($whisper_name);
 if ($whisper_name ne $username && $username ne 'Guest') {  
  $whisper_msg =~ s~\/me\s+(.*?)(\n.*?)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~<font color="#FF0000">(.*?)\/me~<font color="#FF0000">$1\&\#47\;me~ig;
  $whisper_msg =~ s~\/me\s+([\s\S]*)~<font color="#FF0000">* $1</font>~ig;
  $whisper_msg =~ s~\/me~\&\#47\;me~ig;
  return qq~$YaBBCtxt{'whsp2'}$whisper_msg~;  
 } elsif ($username eq $tmpuname || $moderators{$username} || $settings[7] eq 'Administrator' || $settings[7] eq 'Global Moderator') {  
  return qq~$YaBBCtxt{'whsp4'}$userprofile{$whisper_name}->[1]: $whisper_msg~;  
 } else {  
  return qq~[$YaBBCtxt{'whsp5'}$userprofile{$whisper_name}->[1] ]~;  
 }  
}  



Thanks to Carsten for helping me

and now only one problem left
members usually post the screenname instead of username and this usually cause untrapped error
How to fix this Please Cry

  

   
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Board Whisper
Reply #52 - Jan 23rd, 2003 at 6:24pm
Print Post  
@Jake - you are welcome. The reason I did not post the fix here is this:
Quote:
yeah, I was thinking about adding that - [whisper!Carsten] = Whisper to everyone but Carsten Wink

I'm seriously gonna do that! Grin


j/k Grin

  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: Board Whisper
Reply #53 - Jan 24th, 2003 at 7:25pm
Print Post  
grrr...Carsten, our relationship is like love-hate Grin

I Kiss you because you fix that, and I Angry you for doing THAT! Tongue
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
SoddOff
Junior Member
**
Offline


Trust your technolust

Posts: 97
Joined: Oct 14th, 2002
Gender: Male
Re: Board Whisper
Reply #54 - Jan 26th, 2003 at 9:00pm
Print Post  
Is there an updated beta of this in the works to fix some of the minor things that have been mentioned.  This would be an awesome addition for my board and I am excited to see this one go.

I also use a different Screen Name than my username on YABB...  Just a thought about that.
  

"On some days you wonder what it all means. And on some days you find out. It's like suddenly seeing a huge black pig in your headlights when you're running 80 miles an hour on ice. Boom. Total clarity. No more gray area." - Hunter S. Thompson
Back to top
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #55 - Jan 26th, 2003 at 9:55pm
Print Post  
@SoddOff
have your bord the same problem as mine?

people usually use Display name or Screen name instead of username when they posted with
Code
Select All
[whisper=username]whisper messages[/whisper]
[whisper=username]whisper messages[/whisper]

 

and when they used mor than twice in the same post or in the cosecutive post then when whoever post later it will cause untrapped error

for example
#5 on Today
[whisper=Jake]whisper messages1[/whisper]

[whisper=Jake]whisper messages2[/whisper]


OR

#5 on Today
[whisper=Jake]whisper messages1[/whisper]

#6 on Today
[whisper=Jake]whisper messages2[/whisper]


Then when whoever starts post reply#7.It will show untrapped error but acttualy they can continue post if they do.

untrapped error showed that yabb can't count negative day in load.pl (this is some part of activity bar hack mod)
Please let me know this still happen on your board or not.
Anyway others of this mod works great and i think to use username while posting is better than screen name.

Thanx


  

   
Back to top
 
IP Logged
 
SoddOff
Junior Member
**
Offline


Trust your technolust

Posts: 97
Joined: Oct 14th, 2002
Gender: Male
Re: Board Whisper
Reply #56 - Jan 27th, 2003 at 2:28am
Print Post  
I have not even installed it.  I was asking to see if there was an update that addressed the issue you were having.  I have a hevily modified board and I just wanted to be sure there was a new verion out before I tried.  Smiley
  

"On some days you wonder what it all means. And on some days you find out. It's like suddenly seeing a huge black pig in your headlights when you're running 80 miles an hour on ice. Boom. Total clarity. No more gray area." - Hunter S. Thompson
Back to top
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Board Whisper
Reply #57 - Jan 27th, 2003 at 2:01pm
Print Post  
SoddOff wrote on Jan 27th, 2003 at 2:28am:
I have not even installed it.  I was asking to see if there was an update that addressed the issue you were having.  I have a hevily modified board and I just wanted to be sure there was a new verion out before I tried.  Smiley

Should be wait for mod writer,may be he's so busy.

Anywayz you can d/l whispermod3 and then change only the code in sub xwhisper  part i mentioned above  Grin
  

   
Back to top
 
IP Logged
 
SoddOff
Junior Member
**
Offline


Trust your technolust

Posts: 97
Joined: Oct 14th, 2002
Gender: Male
Re: Board Whisper
Reply #58 - Jan 27th, 2003 at 6:31pm
Print Post  
I would rather wait, just in case there are other issues/updates that have been done.  I spend alot of time wiht my board and have many many many mods on it.  I would rather wait for beta 4 to be out than risk spending more time than what I have to out there with it.  Wink
  

"On some days you wonder what it all means. And on some days you find out. It's like suddenly seeing a huge black pig in your headlights when you're running 80 miles an hour on ice. Boom. Total clarity. No more gray area." - Hunter S. Thompson
Back to top
IP Logged
 
SoddOff
Junior Member
**
Offline


Trust your technolust

Posts: 97
Joined: Oct 14th, 2002
Gender: Male
Re: Board Whisper
Reply #59 - Jun 7th, 2003 at 7:50pm
Print Post  
Has there been any progress on this?  I am waiting on it and would really like to see a [DONE] on it sometime.   Grin
  

"On some days you wonder what it all means. And on some days you find out. It's like suddenly seeing a huge black pig in your headlights when you're running 80 miles an hour on ice. Boom. Total clarity. No more gray area." - Hunter S. Thompson
Back to top
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 6 ... 12
Send TopicPrint