Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

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
Topic Summary - Displaying 10 post(s). Click here to show all
Posted by: Monni
Posted on: Jul 23rd, 2014 at 5:31pm
Dandello wrote on Jul 23rd, 2014 at 5:27pm:
Yeah - I realized what the problem was while out to breakfast.  Grin
Thanks to Pyragony for noticing and Monni for coming up with a fix.


This time I wasn't listening to Céline Dion  Smiley
Posted by: Dandello
Posted on: Jul 23rd, 2014 at 5:27pm
Yeah - I realized what the problem was while out to breakfast.  Grin
Thanks to Pyragony for noticing and Monni for coming up with a fix.
Posted by: Monni
Posted on: Jul 23rd, 2014 at 4:38pm
Code
Select All
 Index: cgi-bin/yabb2/Templates/default/Micon.def
 ===================================================================
 --- cgi-bin/yabb2/Templates/default/Micon.def	(revision 1514)
 +++ cgi-bin/yabb2/Templates/default/Micon.def	(working copy)
 @@ -59,7 +59,7 @@
  'tabdel' => qq~<img src="$imagesdir/tabdelete.gif" alt="$tabmenu_txt_m{'tabdel'}" title="$tabmenu_txt_m{'tabdel'}" />~,
  'tabadd' => qq~<img src="$imagesdir/tabadd.gif" alt="$tabmenu_txt_m{'newtab'}" title="$tabmenu_txt_m{'newtab'}" />~,
  'tabedit' => qq~<img src="$imagesdir/tabedit.gif" alt="$tabmenu_txt_m{'edittab'}" title="$tabmenu_txt_m{'edittab'}" />~,
 -'new' => qq~<span style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
 +'new' => qq~<span class="NewLinks" style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
      background-repeat: no-repeat;">
      <span style="background-image: url($imagesdir/new-r.png); height:11px; display: inline-block; vertical-align:baseline; padding: 0 2px 0 0; background-position: right top;
      background-repeat: no-repeat;">
 @@ -66,7 +66,6 @@
          <span style="background-image: url($imagesdir/new-c.png); background-color:#0895d7; color:#fff; font-size:8px; height:11px; display: inline-block; vertical-align:top; padding: 0 2px" title="$messageindex_txt_m{'302'}"><b><i>$messageindex_txt_m{'302'}</i></b></spa
n>
          </span>
      </span>~,
 -'new2' => qq~<img src="$imagesdir/new.gif" alt="$messageindex_txt_m{'302'}" title="$messageindex_txt_m{'302'}" />~,
  'sort_first' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_first'}" title="$messageindex_sort_m{'sort_first'}" />~,
  'sort_up' => qq~<img src="$imagesdir/sort_up.gif" alt="$messageindex_sort_m{'sort_za'}" title="$messageindex_sort_m{'sort_za'}" />~,
  'sort_down' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_az'}" title="$messageindex_sort_m{'sort_az'}" />~,
 @@ -149,9 +148,9 @@
  'eventprivate' => qq~<img src="$imagesdir/eventprivate.gif" alt="$var_cal_m{'calprivate'}" />~,
  'modify' => qq~<img src="$imagesdir/modify.png" alt="$var_cal_m{'caledit'}" title="$var_cal_m{'caledit'}" />~,
  'delete' => qq~<img src="$imagesdir/delete.gif" alt="$var_cal_m{'caldel'}" title="$var_cal_m{'caldel'}" />~,
 -'eventmore' => qq~<img  src="$imagesdir/eventmore.gif" alt="" />~,
 -'eventmorebd' => qq~<img  src="$imagesdir/eventmore.gif" alt="$var_cal_m{'calbirthdays'}" />~,
 -'eventmoreadd' => qq~<img  src="$imagesdir/eventmore.gif" alt="$var_cal_m{'getaddevent'}" />~,
 +'eventmore' => qq~<img src="$imagesdir/eventmore.gif" alt="" />~,
 +'eventmorebd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'calbirthdays'}" />~,
 +'eventmoreadd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'getaddevent'}" />~,
  'eventinfo' => qq~<img src="$imagesdir/eventinfo.gif" alt="$var_cal_m{'eventinfo'}" />~,
  'eventinfobd' => qq~<img src="$imagesdir/eventinfobd.gif" alt="" />~,
  'eventannounce' => qq~<img src="$yyhtml_root/EventIcons/eventannounce.gif" alt="$var_cal_m{'eventannounce'}" />~,
 @@ -223,7 +222,7 @@
  );

  %newload = (
 -'new_mess' => qq~<span style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
 +'new_mess' => qq~<span class="NewLinks" style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;
      background-repeat: no-repeat;">
      <span style="background-image: url($imagesdir/new-r.png); height:11px; display: inline-block; vertical-align:baseline; padding: 0 2px 0 0; background-position: right top;
      background-repeat: no-repeat;">
 @@ -244,7 +243,6 @@

  $newload = qq~
          <script type="text/javascript">
 -        var new_mess = "$newload{'new_mess'}";
          var brd_new = "$newload{'brd_new'}";
          var brd_old = "$newload{'brd_old'}";
          var sub_brd_new = "$newload{'sub_brd_new'}";
 Index: public_html/yabbfiles/ajax.js
 ===================================================================
 --- public_html/yabbfiles/ajax.js	(revision 1514)
 +++ public_html/yabbfiles/ajax.js	(working copy)
 @@ -165,9 +165,6 @@
              else if (src.match(imclose2)) {
                  images[i].setAttribute("src",src.replace(imclose2,imopen2));
              }
 -            else if (src.match(new_mess)) {
 -                images[i].style.display = "none";
 -            }
          }
          var newlinks = document.getElementsByTagName("span");
          for (var e=0; e<newlinks.length; e++) {
 @@ -777,4 +774,4 @@
              xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
          }
      } catch (e) { }
 -}
 +}
  

Posted by: Monni
Posted on: Jul 23rd, 2014 at 4:03pm
Dandello wrote on Jul 23rd, 2014 at 3:06pm:
'Mark all Topics Read' isn't working here in English either - the rotating gif in the pop-up comes up but the new button doesn't disappear until you reload the page. I know what the problem is, but it may take a bit to fix it - there's a 'disconnect' between the 'new' new button and the javascript that turns it off.


You need to edit both MarkFinished in ajax.js and Micon.def ... MarkFinished only looks for <img> tags, which won't work with css buttons.
Posted by: pyragony54
Posted on: Jul 23rd, 2014 at 3:52pm
Now I understand why it worked in English. Okay. Is it not a problem in the language files. And I thought .....!!
Posted by: Dandello
Posted on: Jul 23rd, 2014 at 3:06pm
'Mark all Topics Read' isn't working here in English either - the rotating gif in the pop-up comes up but the new button doesn't disappear until you reload the page. I know what the problem is, but it may take a bit to fix it - there's a 'disconnect' between the 'new' new button and the javascript that turns it off.
Posted by: pyragony54
Posted on: Jul 23rd, 2014 at 2:01pm
I think I've been misunderstood. In English it works. So the fault must lie in the German language files somewhere. When I click on a button, yes I solve some of something. So there must be a link somewhere in the language files is wrong. But where?
Posted by: Dandello
Posted on: Jul 23rd, 2014 at 1:56pm
Okay - it's not a problem with the German files. I think it's another problem with Subboards.
Posted by: Dandello
Posted on: Jul 23rd, 2014 at 1:08pm
That's in Menu.lng
'300' => 'Mark Topics as Read', (doesn't change)
'452' => 'Mark All Posts as Read',
'627' => 'Mark as Unread',

In German
'300' => 'Themen als gelesen markieren',
'452' => 'ALLE Beiträge als gelesen markieren',
'627' => 'Thema als ungelesen markieren',

I'll check and see if I can see what else might be happening there.

Edited:
MSIE 11 indicates an issue with the 'brd_new' call in Micon.def - looking into it.
Posted by: pyragony54
Posted on: Jul 23rd, 2014 at 10:57am
If you want to mark topics read, it does not work in the German files. I must have missed something somewhere. Where can I find the files in the language? In English it works.