Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Spoiler Tag (Derek's) (Read 17571 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #16 - Aug 16th, 2014 at 8:28pm
Print Post  
Here's the newest version of Spoiler Tag (requiring Build 1531 or better). I did test it but... Tongue

The widths for the UBBC array autoset.
  

SpoilerTag_260_01.zip (Attachment deleted | 41 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #15 - Aug 1st, 2014 at 5:12pm
Print Post  
Computers are weird. The files were edited yesterday. The files were updated yesterday. I did upload the updated ubbc.js (two or three times). But because somehow computers are weird, the new upload never 'took.' I uploaded it a fourth time, today, and this time it actually stuck. So now the slight box is there, and the button inserts the text. /Computers are weird.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #14 - Aug 1st, 2014 at 2:14pm
Print Post  
Did ubbc.js get updated? That's what controls the button functions.

As for the positioning of the buttons - that's been one of the ongoing problems with adding buttons to the UBBC controls.

What I want to see for the future is a method where the div widths are auto-calculated based on how many buttons are listed for a grouping and extra rows for the buttons appearing when a line or section gets too long. That would take care of a lot of the compatibility issues.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #13 - Aug 1st, 2014 at 8:09am
Print Post  
Just checking in on this one.

Installed, and the actual functionality is there. But for some reason, the button doesn't insert it. The button does not do anything for me. I have to manually type in the [ spoiler ] [ /spoiler ] tags to get them to work.

In addition the googie spell still needs to be moved over.

Next, I do agree with Pyragony ... I think most people who want to install one of Derek's extra UBBC codes will probably want to install both ... so the no parse should probably be left where it is, and the spoiler button be added between no parse and the spell checker, so the off topic button can go right below it, and not mess up any of the justify buttons.

I would also suggest an extra mod file for either Spoiler or Off Topic, which expects the other to already have been installed, because right now you can only have one or the other. (Or know enough to tweak all the code enough to make both fit.)

Finally, I will admit the new Hide/Show button looks nicer than than the old one did ... but the loss of the 'box' that used to surround the 'spoiled' text does hurt a little. (Not much, as it doesn't seem like it was much of a box to begin with.  Wink )
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #12 - Jun 30th, 2014 at 5:45am
Print Post  
Great.   Smiley
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #11 - Jun 30th, 2014 at 5:05am
Print Post  
Found it  Smiley
New zip in first post
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #10 - Jun 29th, 2014 at 8:38pm
Print Post  
Well, Opera uses in the meantime, the engine of Google Chrome.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #9 - Jun 29th, 2014 at 8:00pm
Print Post  
pyragony54 wrote on Jun 29th, 2014 at 6:54pm:
XTC and I have found that it does not work on Google Chrome and Opera. In Firefox and IE it works.



Two out of four ain't bad  Wink At least now I know where to look for the problem.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
XTC
Global Moderator
*****
Offline


YaBB 2.6.0/1/11 Mods

Posts: 159
Location: @ustria
Joined: Feb 12th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #8 - Jun 29th, 2014 at 6:55pm
Print Post  
Hello

Nice old Spoiler Tag in YaBB 1.3 .... with more Style versions ... maybe an option ....

YaBBC Code (The table should be revised) attach IMG attach ...

The Spoiler looks like this ...
http://www.xonder.com/cgi-bin/yabb13_off/YaBB.cgi?action=portal

lg XTC
  

code.txt (Attachment deleted | 51 Downloads )
minimize.gif (Attachment deleted | 46 Downloads )
maximize.gif (Attachment deleted | 44 Downloads )

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


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #7 - Jun 29th, 2014 at 6:54pm
Print Post  
pyragony54 wrote on Jun 27th, 2014 at 3:39am:
Before I try to open the spoiler is indeed only once "Show" button. Is the spoiler then opened, should actually be in the "Hide" button.


XTC and I have found that it does not work on Google Chrome and Opera. In Firefox and IE it works.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #6 - Jun 27th, 2014 at 6:28pm
Print Post  
Perfect.

Dandello wrote on Jun 27th, 2014 at 4:53pm:
I also cannot reproduce the Show/Hide issue - it switches over fine when I install it on a fresh YaBB install. I also made a different button. (Not in the zip yet.)



Is actually not a big problem. The main thing it works and it does. 
Will test on occasion with a fresh installation.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #5 - Jun 27th, 2014 at 4:53pm
Print Post  
pyragony54 wrote on Jun 27th, 2014 at 3:39am:
Works so far perfectly. Only problem is that the noparse-button is shifted further to the right and superimposed on the green tick of the spell checker.


Make sure that in the default.css this is correct:
Code (CSS)
Select All
.style_ubbc_box {
    float: left;
    width: 493px !important;
} 



That's the section that pushes over the spell check div.

Edited:
I also cannot reproduce the Show/Hide issue - it switches over fine when I install it on a fresh YaBB install. I also made a different button. (Not in the zip yet.)

  

spoiler.gif (Attachment deleted | 48 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Spoiler Tag (Derek's)
Reply #4 - Jun 27th, 2014 at 1:04pm
Print Post  
pyragony54 wrote on Jun 27th, 2014 at 3:39am:
Before I try to open the spoiler is indeed only once "Show" button. Is the spoiler then opened, should actually be in the "Hide" button.


I suspect this is one of the problems that was making Derek unhappy with this mod. (I didn't mess with the javascript.)

And I'll get on moving the spellcheck over (This will need to be done for Off Topic as well, I think.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #3 - Jun 27th, 2014 at 3:42am
Print Post  
Code
Select All
<edit file>
Languages/German_Du/ContextHelp.lng
</edit file>

<search for>
'noparse' => "Keine Syntaxanalyse:<br /><br />Wähle die YaBBC Code:<br />[SELECT][table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table][/SELECT]<br /><br />Klicke auf den \"[TITLE]\" -Button: [BUTTON]<br /><br /><b>YaBBC Code:</b><br />[table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table]<br /><br /><b>Ergebnis:</b><br />[table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table]");
</search for>

<add before>
'spoiler' => "Spoiler oder Warnungen ausblenden:<br /><br />Wähle den Text: bla bla [SELECT]Hallo Welt[/SELECT] bla bla<br /><br />Klicke auf den \"[TITLE]\" -Button: [BUTTON]<br /><br /><b>YaBBC Code:</b> bla bla [spoiler]Hallo Welt[/spoiler] bla bla<br /><br /><b>Ergebnis:</b> bla bla [SPOILER]Hallo Welt[/SPOILER] bla bla",
</add before>

<search for>
'right', '$contextxt{'right'}',
</search for>

<add after>
'spoiler', '$contextxt{'spoiler'}',
</add after>

<search for>
1;
</search for>

<add before>
## spoiler text
%spoiler_txt	=(
'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
'05' => 'Spoiler einfügen',
);
</add before>

<edit file>
Languages/German_Du/InstantMessage.lng
</edit file>

<search for>
'84' => 'Code wurde gelöscht',
</search for>

<add after>
'85' => 'Spoiler wurde gelöscht',
</add after>

<edit file>
Languages/German_Du/Main.lng
</edit file>

<search for>
1;
</search for>

<add before>

## spoiler text
%spoiler_txt	=(
'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
);

</add before>

<edit file>
Languages/German_Du/Post.lng
</edit file>

<search for>
1;
</search for>

<add before>

## spoiler text
%spoiler_txt	=(
'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
'05' => 'Spoiler einfügen',
);

</add before> 

  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Spoiler Tag (Derek's)
Reply #2 - Jun 27th, 2014 at 3:42am
Print Post  
Code
Select All
<edit file>
Languages/German/ContextHelp.lng
</edit file>

<search for>
'noparse' => "Keine Syntaxanalyse:<br /><br />Wählen Sie die YaBBC Code:<br />[SELECT][table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table][/SELECT]<br /><br />Klicken Sie auf den \"[TITLE]\" -Button: [BUTTON]<br /><br /><b>YaBBC Code:</b><br />[table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table]<br /><br /><b>Ergebnis:</b><br />[table][tr][td]Diese Tabelle wird nicht analysiert werden[/td][/tr][/table]");
</search for>

<add before>
'spoiler' => "Spoiler oder Warnungen ausblenden:<br /><br />Wählen Sie den Text: bla bla [SELECT]Hallo Welt[/SELECT] bla bla<br /><br />Klicken Sie auf den \"[TITLE]\" -Button: [BUTTON]<br /><br /><b>YaBBC Code:</b> bla bla [spoiler]Hallo Welt[/spoiler] bla bla<br /><br /><b>Ergebnis:</b> bla bla [SPOILER]Hallo Welt[/SPOILER] bla bla",
</add before>

<search for>
'right', '$contextxt{'right'}',
</search for>

<add after>
'spoiler', '$contextxt{'spoiler'}',
</add after>

<search for>
1;
</search for>

<add before>
%spoiler_txt	=(

'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
'05' => 'Spoiler einfügen',
); 
</add before>

<edit file>
Languages/German/InstantMessage.lng
</edit file>

<search for>
'84' => 'Code wurde gelöscht',
</search for>

<add after>
'85' => 'Spoiler wurde gelöscht',
</add after>

<edit file>
Languages/German/Main.lng
</edit file>

<search for>
1;
</search for>

<add before>

## spoiler text
%spoiler_txt	=(
'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
);

</add before>

<edit file>
Languages/German/Post.lng
</edit file>

<search for>
1;
</search for>

<add before>

## spoiler text
%spoiler_txt	=(
'01' => 'Spoiler',
'02' => 'Zeigen',
'03' => 'Verstecken',
'04' => 'für',
'05' => 'Spoiler einfügen',
);

</add before> 



« Last Edit: Jun 28th, 2014 at 7:46pm by pyragony54 »  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint