Do not install with TinyPortal. I'm developing a TP version soon.
Let me see...
TinyPortal: Do not install yet, I am developing a new TP version. The current TP version is based off of Apollo 1.0.
New Topic Button: Easy mod.
Find in Display.template.php:// Build the normal button array.
$normal_buttons = array(
'reply' => array('test' => 'can_reply', 'text' => 146, 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies']),
Add afterwards on a new line:'new_topic' => array((allowedTo('post_new')) ? 1 : 'test' => 'nothinglol', 'text' => 'smf258', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0'),
SMF Trader System: Similar mod.
Find in Display.template.php:global $context, $settings, $options, $txt, $scripturl, $modSettings;
and add after: global $db_prefix;
Also, find the following in the same file:// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
and add after: //Start SMF Trader System
//First do the query for the number of ratings
db_query("SELECT feedbackid FROM {$db_prefix}feedback WHERE ID_MEMBER =" . $message['member']['id'], __FILE__, __LINE__);
$tradecount = db_affected_rows();
//Show the trader info
echo '
<b>' . $txt['smftrader_profile'] . ' </b>
(<a href="' . $scripturl . '?action=trader&id=' . $message['member']['id'] . '">', $tradecount, '</a>)<br />';
//END SMF Trader System
Ad Management: ApolloBB has built-in support.
SMF Gallery Lite:
In index.template.php, find:$current_action = 'admin';
if (in_array($context['current_action'], array(
Add to that same line:'gallery',
Also, find: // the [member] list button
if ($context['allow_memberlist'])
echo '
<a href="', $scripturl, '?action=mlist" ' , $current_action == 'mlist' ? 'class="nav_important"' : '' , '>' , $txt[331] , '</a> |';
And add after on a new line: // the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo '
<a href="', $scripturl, '?action=gallery" ' , $current_action == 'gallery' ? 'class="nav_important"' : '' , '>' , $txt['smfgallery_menu'] , '</a> |';
YouTube BBC Tag: Just add the following to ApolloBB's Modifications.english.php: $txt['youtube'] = 'YouTube';
Also upload youtube.gif (copy it from the Themes/default/images/bbc/ directory) to ApolloBB/images/bbc.
SMF Sitemap:
Add the following to the end of the style.css:/* Style for Sitemap */
.showSwitch {
display: block;
}
.hideSwitch {
display: none;
}
Add the following line to your Modifications.english.php:$txt['apollobb_sitemap'] = "Sitemap";
In index.template.php, find: <div id="footer_right" class="smalltext">
and add on a new line: <a href="'.$scripturl.'?action=sitemap" title="',$txt['apollobb_sitemap'],'">',$txt['apollobb_sitemap'],'</a> |
Overall, just wait until I release the TP version (which will be soon) and apply the above edits to the theme. Everything should be great!