Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 2nd January 2011, 10:47
Dynamic Dynamic is offline
Member
 
Join Date: Jan 2011
Canada
Posts: 2
Default Remove Theme Changer
I just installed phpMyBitTorrent2.0.4-repack and i like it (nice script)
I'm just getting the feel of it, and want to use the AcidTech Tiger theme (I will change some colors after)

Can someone tell me how to remove the Theme Changer box from the index page ?
It is not in the blocks category.

Thanks
Reply With Quote
  #2  
Old 2nd January 2011, 15:32
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in the theme main.php find
PHP Code:
OpenTable('Theme Change');
        echo 
"<p align=\"center\"><b>Theme</b></p>\n";
        echo 
"<form id=\"acp_styles\" type=\"hidden\" method=\"post\" action=\"#\">";
        echo 
"<p><select id=\"template_file\" name=\"theme_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".themechange()."</select></p>";
        echo 
"<p align=\"center\"><b>Language</b></p>\n";
        echo 
"<p><select id=\"language_file\" name=\"language_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".languagechange()."</select></p>";
        echo 
" <input class=\"button2\" type=\"submit\" value=\"SELECT\" /></form>";
CloseTable(); 
and remove it
dont for get to fix theme function themeheader()
by adding $shout_config to the globals and adding
HTML Code:
shoutrefresht = "<?php echo $shout_config['refresh_time']; ?>";
shoutidle = "<?php echo $shout_config['idle_time']; ?>";
in this
HTML Code:
<script type="text/javascript">
pmbtsite_url = "<?php echo $siteurl; ?>";
tag_prompt = "<?php echo _bb_tag_prompt; ?>";
img_prompt = "<?php echo _bb_img_prompt; ?>";
font_formatter_prompt = "<?php echo _bb_font_formatter_prompt; ?>";
link_text_prompt = "<?php echo _bb_link_text_prompt; ?>";
link_url_prompt = "<?php echo _bb_link_url_prompt; ?>";
link_email_prompt = "<?php echo _bb_link_email_prompt; ?>";
list_type_prompt = "<?php echo _bb_list_type_prompt; ?>";
list_item_prompt = "<?php echo _bb_list_item_prompt; ?>";
_btshoutnowprivate = "<?php echo _btshoutnowprivate; ?>";
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
changer , remove , theme

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 04:02. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.