Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic JavaScript error in instant message (Read 2781 times)
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: JavaScript error in instant message
Reply #6 - Aug 24th, 2014 at 10:11pm
Mark & QuoteQuote  
Dandello wrote on Aug 24th, 2014 at 9:03pm:
Hubby has a pair of Definitive Technology BP2000 speakers in the living room for the main sound system (about 48 inches tall). We don't turn them up very often.  Wink


I have too small apartment to use big speakers, but my dad has old Tandberg amplifier and pair of Tandberg Studio Monitor in his house... He basically keeps the volume at the one quarter of maximum level, because even at standing 35 inches they do shatter all nearby windows and glass objects. It's like Xmas when the red tweeter overload lights flash on the speaker front panels Wink There is no point in trying to connect bigger speakers to the amplifier as it would definitely launch people's eardrums to outer space. Instead of measuring dB of audio output, we should use Richter scale Wink
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: JavaScript error in instant message
Reply #5 - Aug 24th, 2014 at 9:03pm
Mark & QuoteQuote  
Hubby has a pair of Definitive Technology BP2000 speakers in the living room for the main sound system (about 48 inches tall). We don't turn them up very often.  Wink
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: JavaScript error in instant message
Reply #4 - Aug 24th, 2014 at 7:46pm
Mark & QuoteQuote  
It's fun up to the point when you have to take all the glassware outside because the vibration from the loudspeakers is enough to shatter glass even if it doesn't fall to the floor. 35 inch tall speaker cabinets are pretty much minimum for studio work... Cost about 1000 EUR a pair Wink
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: JavaScript error in instant message
Reply #3 - Aug 24th, 2014 at 7:34pm
Mark & QuoteQuote  
That sounds liike fun. Great BIG loud speakers...  Grin
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: JavaScript error in instant message
Reply #2 - Aug 24th, 2014 at 7:06pm
Mark & QuoteQuote  
Dandello wrote on Aug 24th, 2014 at 7:01pm:
Smiley
As you have no doubt realized, javascript is not my progamming language of choice. So any and all help is appreciated.


Neither is mine... but it is so close to C/C++ that I can read the code... Using debugger it is easy enough to figure out what solution works... I actually like writing mixed C/Assembly code... Some of my code has been used in professional audio equipment Wink Meyer Sound Laboratories is one of my business partners Wink
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: JavaScript error in instant message
Reply #1 - Aug 24th, 2014 at 7:01pm
Mark & QuoteQuote  
Smiley
As you have no doubt realized, javascript is not my progamming language of choice. So any and all help is appreciated.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
JavaScript error in instant message
Aug 24th, 2014 at 6:46pm
Mark & QuoteQuote  
Code
Select All
 --- C:/Users/Mika/AppData/Local/Temp/InstantMessage.pm-revBASE.svn000.tmp.pm	Sat Aug 23 02:48:28 2014
 +++ C:/build/yabb/trunk/cgi-bin/yabb2/Sources/InstantMessage.pm	Sun Aug 24 21:44:25 2014
 @@ -462,7 +462,7 @@

      function showimage() {
          $jsIM
 -        var icon_set = document.postmodify.status.options[document.postmodify.images.status.selectedIndex].value;
 +        var icon_set = document.getElementById("status").options[document.getElementById("status").selectedIndex].value;
          var icon_show = jsIM.getItem(icon_set);
          document.images.status.src = icon_show;
      }
 @@ -820,7 +820,7 @@
              $jsIM
              function showtpstatus() {
              var theimg = '$pmicon';
 -            var objIconSelected = document.postmodify.status[document.postmodify.status.selectedIndex].value;
 +            var objIconSelected = document.getElementById("status").selectedIndex != -1 ? document.getElementById("status").options[document.getElementById("status").selectedIndex].value : 's';
              if (objIconSelected == 's') { theimg = 'standard'; }
              if (objIconSelected == 'c') { theimg = 'confidential'; }
              if (objIconSelected == 'u') { theimg = 'urgent'; }
  



This defaults to standard icon, if none is selected.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
JavaScript error in instant message

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry