Yeah it is a virtual copy and past from PJ just changing the skin name. Here is the full file.My addition is at the bottom. The blog_profile does not display in the config.
<?php
defined('APP_DIR') or exit();
function MixAP_skin_config(){
$styles = array('light', 'dark');
$titles = array('Style','On Sale','Featured Artists', 'Charts');
$_tmp = array(
'name' => "style",
'type' => 'select',
'default' => 'light',
'options' => $styles,
'validate' => 'printable',
'label' => "Skin Style",
'help' => "Media Pro includes an alternative dark style.",
'section' => $titles[0],
'order' => 0,
);
jrCore_register_setting('MixAP', $_tmp);
foreach (range(1, 3) as $num) {
$_tmp = array(
'name' => "list_{$num}_active",
'type' => 'checkbox',
'default' => 'on',
'validate' => 'onoff',
'label' => "List Active",
'help' => 'If you have the payment processor, like of our Foxycart module, you may require a price for songs in this list.',
'order' => ($num * 10) + 1,
'section' => $titles[$num]
);
jrCore_register_setting('MixAP', $_tmp);
if ($num == 3) {
$days = array('1' => '1', '7' => '7','14' => '14','30' => '30','365' => '365');
$_tmp = array(
'name' => "chart_days",
'type' => 'select',
'default' => '30',
'options' => $days,
'validate' => 'printable',
'label' => "Chart Days",
'help' => "Enter the range of days your chart will calculate. it will show the top 17 Tracks.",
'section' => $titles[$num],
'order' => ($num * 10) + 2,
);
jrCore_register_setting('MixAP', $_tmp);
}
else {
$_tmp = array(
'name' => "list_{$num}_ids",
'type' => 'text',
'default' => '',
'validate' => 'printable',
'label' => "$titles[$num] IDs",
'help' => 'If you would like to choose which items appear on this list, enter the item IDs for those items. Separate entries by commas.',
'order' => ($num * 10) + 2,
'section' => $titles[$num]
);
}
jrCore_register_setting('MixAP', $_tmp);
$_tmp = array(
'name' => "require_price_{$num}",
'type' => 'checkbox',
'default' => 'off',
'validate' => 'onoff',
'label' => "Require Price",
'help' => 'If you have the payment processor, like of our Foxycart module, you may require a price for songs in this list. If this box is check soundcloud items will NOT be listed.',
'order' => ($num * 10) + 3,
'section' => $titles[$num]
);
jrCore_register_setting('MixAP', $_tmp);
$_tmp = array(
'name' => "list_{$num}_soundcloud",
'type' => 'checkbox',
'default' => 'on',
'validate' => 'onoff',
'label' => "Show SoundCloud",
'help' => 'With this box checked SoundCloud items will appear in this list. Note that if require price is checked it will override this setting.',
'order' => ($num * 10) + 4,
'section' => $titles[$num]
);
jrCore_register_setting('MixAP', $_tmp);
}
$_tmp = array(
'name' => 'auto_play',
'default' => 'off',
'type' => 'checkbox',
'validate' => 'onoff',
'required' => 'on',
'label' => 'Auto Play',
'help' => 'If this box is checked your players will play when loaded.',
'order' => 210,
'section' => 'Settings'
);
jrCore_register_setting('MixAP',$_tmp);
$_tmp = array(
'name' => 'forum_profile',
'default' => '',
'type' => 'text',
'validate' => 'url',
'label' => 'Forum Profile URL',
'sublabel' => 'Check the help section.',
'help' => 'If you have a Site Forum, enter the <b>Full URL</b> to the forum (usually the site admin Profile URL)<br><br><b>Note:</b> If you are using Site Builder, add the Discussion Link via the Site Builder menu manager',
'section' => 'Settings',
'order' => 213,
);
jrCore_register_setting('MixAP', $_tmp);
$num = 220;
foreach (array('twitter', 'facebook', 'google', 'youtube', 'linkedin') as $network) {
$_tmp = array(
'name' => "{$network}_url",
'type' => 'text',
'default' => '#',
'validate' => 'printable',
'label' => ucfirst($network) . " page",
'help' => "If you have an account for your site on " . ucfirst(str_replace('_', ' ', $network)) .", enter the page url. Enter 0 to disable.",
'order' => $num++,
'section' => 'social networks'
);
jrCore_register_setting('MixAP', $_tmp);
}
$_tmp = array(
'name' => 'blog_profile',
'type' => 'text',
'default' => '1',
'validate' => 'not_empty',
'label' => 'Blog Profile',
'help' => 'By default the admin blog is used to show site news - set this profile_id to a valid profile_id if you want to use a different profile for blogs.',
'order' => 9
);
jrCore_register_setting('MixAP', $_tmp);
return true;
}