Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Build 1611 (Read 6824 times)
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Build 1611
Reply #13 - Dec 4th, 2014 at 4:06am
Print Post  
Palette works. Please take into SVN, because I have it permanently integrated into the German language files.
  

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: Build 1611
Reply #12 - Dec 3rd, 2014 at 9:55pm
Print Post  
In ContextHelp.lng you no longer need the lower section that creates the javascript hash.
This means you can add items to %contextxt by using the
Code (Perl)
Select All
$contextxt{'newmod'} = 'New Mod Context Help'; 

above the 1; 

for offtopic it's:
Code (Perl)
Select All
$contextxt{'offtopic'} = "Mark an Off Topic Comment:<br /><br />Select the text: bla bla [SELECT]Hello World[/SELECT] bla bla<br /><br />Click on the \"[TITLE]\" button: [BUTTON]<br /><br /><b>YaBBC Code:</b> bla bla [offtopic]Hello World[/offtopic] bla bla<br /><br /><b>Result:</b> bla bla [OFFTOPIC]Hello World[/OFFTOPIC] bla bla"; 



And I'm in the middle of updating a 2.6.0 forum that has a lot of mods. Off-Topic is one of them.
  

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: Build 1611
Reply #11 - Dec 3rd, 2014 at 9:24pm
Print Post  
I did not mean now. Both write to the ContextHelp.lng and has undergone major change. Let's see, maybe I get it out, yes.
  

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: Build 1611
Reply #10 - Dec 3rd, 2014 at 9:20pm
Print Post  
Replace the graphics in ModImages and change the graphics names extensions in PostBox.pm to png
  

offtopic.png (Attachment deleted | 30 Downloads )
spoiler.png (Attachment deleted | 31 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: Build 1611
Reply #9 - Dec 3rd, 2014 at 8:57pm
Print Post  
I've got a fix for the Palette:
In Post.lng find the 1; and add above it
Code (Perl)
Select All
$post_txt{'palette'} = 'Change Text Color';
 



In PostBox.pm find
Code (Perl)
Select All
                <span class="ubbcbutton ubbcbuttonback"><img src="$yyhtml_root/UBBCbuttons/palette1.png" class="cursor" onclick="window.open('$scripturl?action=palette;task=post', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="" /></span> 


and replace with
Code (Perl)
Select All
                <span class="ubbcbutton ubbcbuttonback"><img src="$yyhtml_root/UBBCbuttons/palette1.png" class="cursor vtop" onmouseover='contextTip(event, this.alt);' onmouseout='contextTip(event, this.alt);' oncontextmenu='if(!showcontexthelp(this.src, this.alt)) return false;' onclick="window.open('$scripturl?action=palette;task=post', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="$post_txt{'palette'}" /></span> 



Now, why this was missing in 2.5AE, I don't know. But this looks like one of those cases where an omisson just kept being carried into new versions.

I haven't had a chance to check the UBBC mods
  

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: Build 1611
Reply #8 - Dec 3rd, 2014 at 8:45pm
Print Post  
Oh yeah, spoilers and off-topic must now be adjusted.
  

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: Build 1611
Reply #7 - Dec 3rd, 2014 at 8:42pm
Print Post  
Since you can just do anything. It's not vital.
  

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: Build 1611
Reply #6 - Dec 3rd, 2014 at 8:29pm
Print Post  
The ContextHelp on Palette has never worked as near as I can find. Even though the language is there.
  

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: Build 1611
Reply #5 - Dec 3rd, 2014 at 8:07pm
Print Post  
Works. Now it only context-sensitive help. Which is not shown, but is available in the language file.

Code
Select All
'palette1' => "Choose text color:<br /><br />Select the text: bla bla [SELECT]Hello World[/SELECT] bla bla<br /><br />Click on the \"[TITLE]\" button [BUTTON] and pick one of the 228 ready made colors or create a custom color tag\.<br /><br /><b>YaBBC Code:</b> bla bla [color=#ff0000]Hello World[/color] bla bla<br /><br /><b>Result:</b> bla bla [RED]Hello World[/RED] bla bla", 

 

  

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: Build 1611
Reply #4 - Dec 3rd, 2014 at 7:56pm
Print Post  
in PostBox.pm find
Code (Perl)
Select All
                <span class="ubbcbutton ubbcbuttonback"><img src="$imagesdir/UBBC/palette1.png" class="cursor" onclick="window.open('$scripturl?action=palette;task=post', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="" /></span> 


replace with
Code (Perl)
Select All
                <span class="ubbcbutton ubbcbuttonback"><img src="$yyhtml_root/UBBCbuttons/palette1.png" class="cursor" onclick="window.open('$scripturl?action=palette;task=post', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="" /></span> 



It's also in the SVN.  Smiley
  

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: Build 1611
Reply #3 - Dec 3rd, 2014 at 5:28pm
Print Post  
Okay so far, only the button for the color palette is not displayed correctly.
  

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: Build 1611
Reply #2 - Dec 3rd, 2014 at 4:43pm
Print Post  
Just fixed in the SVN.  Smiley (And this was AFTER I tested the freaking thing.)
  

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: Build 1611
Reply #1 - Dec 3rd, 2014 at 4:29pm
Print Post  
ARGH!!! Smiley

The backgrounds are in the download. But it looks like the CSS is wrong.
in default.css find
Code (CSS)
Select All
.ubbcbuttonback {
    background-image: url(./default/UBBC/ubbc2.png);
} 


replace with
Code (CSS)
Select All
.ubbcbuttonback {
    background-image: url(../../UBBCbuttons/ubbc2.png);
} 


  

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
Build 1611
Dec 3rd, 2014 at 3:23pm
Print Post  
Now I do not know if I have the correct version.
I downloaded the SVN Build 1611.
I see now UBBC buttons that are not here yet.
In addition, the button for the pallet is missing.
See picture.
  

Bild2_014.jpg (Attachment deleted | 31 Downloads )

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
Send TopicPrint