Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Sticky Topic Converting Mods for 2.6.1 (Read 2266 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Converting Mods for 2.6.1
Sep 3rd, 2014 at 12:01am
Mark & QuoteQuote  
Luckily, many of the 2.6.0 mods will work with 2.6.1. I should have most of the 2.6.0 mods checked by the end of the week to make sure the BoardMod program can install them on 2.6.1.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Converting Mods for 2.6.1
Reply #1 - Nov 29th, 2014 at 4:42pm
Mark & QuoteQuote  
Nov 29th, 2014 at 3:36pm 2.6.1 Build 1606+ (AKA 2.6.11 I think) has a number of differences from 2.6.0:
  • Mod Hooks - these are comments in the code to make it easier to find where new items get added to various lists. For arrays use the Perl push function to add items to the end of the list.
    Code (Perl)
    Select All
    push @arrayname, $moditem; 
    
    
    For hashes use
    Code (Perl)
    Select All
    $hashname{'moditemname'} = 'ModItem text'; 
    
    
    - most of these are in the Language files and the new items inserted just above the '1;' at the bottom of the page. (In ContextHelp.lng there is a Mod Hook for new items to be added - the javascript hash for ContextHelp is generated from %contextxt as of Build 1608 or so.)
  • Mod locations: Mods should get put into the Mods folders ('Admin/Mods', Languages/language/Mods', and 'Sources/Mods'. This gets them away from the mainline code. It also keeps them from being read by Detailed Version Check.


Currently the above changes are only suggestions. These have been implemented here and will strongly suggested for 2.6.2.

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Converting Mods for 2.6.1

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