Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jacortina

Pages: [1]
1
Digging through things after experiencing Shop checkbox misbehaviour in Manage Boards,
I discovered something which doesn't look quite right in the install_SMF1-1RC2.xml
(and reflected in mods to the Sub-Boards.php):

Code: [Select]
<file name="$sourcedir/Subs-Boards.php">
<operation>
<search position="before"><![CDATA[
// Should the board theme override the user preferred theme?
if (isset($boardOptions['override_theme']))
$boardUpdates[] = 'override_theme = ' . ($boardOptions['override_theme'] ? '1' : '0');

]]></search>
<add><![CDATA[
                //BEGIN SMFShop Shop MOD 1.3 (Build 6) code
// Should posts in this board give credits?
                if (isset($boardOptions['countMoney']))
                    $boardUpdates[] = 'countMoney = ' . ($boardOptions['override_theme'] ? '1' : '0');
                //End Shop MOD
]]></add>

This 'seems'  to be hooking the value of the countMoney flag to the value of the override_theme flag.

Pages: [1]