Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 18th January 2009, 17:35
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Red face how to remove shoutbox & theme changer block
how to remove shoutbox & theme changer block
& how to make other theme as my tracker default?
Reply With Quote
  #2  
Old 18th January 2009, 17:39
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Azurious View Post
how to remove shoutbox & theme changer block
& how to make other theme as my tracker default?
to remove theme changer edit the theme main.php
to set theme default go to admin/settings
to remove shoutbox remove include("blocks/shoutbox.php"); in main.php
of theme
__________________
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
  #3  
Old 18th January 2009, 17:54
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Default
Quote:
Originally Posted by joeroberts View Post
to remove theme changer edit the theme main.php
to set theme default go to admin/settings
to remove shoutbox remove include("blocks/shoutbox.php"); in main.php
of theme

I have removed include("blocks/shoutbox.php");

but still shout box is there :(
Reply With Quote
  #4  
Old 18th January 2009, 17:55
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
my bad it needs removed from index.php for shoutbox
to remove theme changer take
Quote:
OpenTable('Theme Changer');
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 "</br><p align=\"center\"><font color='#ffffff'><b>Language</font></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();
out of theme main.php

By the way why do YOU wish to remove shoutbox?
__________________
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/

Last edited by joeroberts; 18th January 2009 at 17:57.
Reply With Quote
  #5  
Old 18th January 2009, 18:07
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Smile
Quote:
Originally Posted by joeroberts View Post
my bad it needs removed from index.php for shoutbox
to remove theme changer take
out of theme main.php

By the way why do YOU wish to remove shoutbox?
my community users use badwords alot

i reg a user & try to download torrent i got this message
An error occurred during a connection to 10.0.0.1:8080.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

seeders
2

leechers
Click the image to open in full size. 4294967294

Click the image to open in full size.

:shock:
Reply With Quote
  #6  
Old 18th January 2009, 18:11
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
I have no Idea where that error comes from as I can not duplicate it.
__________________
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
  #7  
Old 18th January 2009, 18:19
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Default
Quote:
Originally Posted by joeroberts View Post
I have no Idea where that error comes from as I can not duplicate it.
tracker working fine thanks that was brower security error srry
Reply With Quote
  #8  
Old 18th January 2009, 18:31
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
just to let you know the shoutbox has a bann feature so that if they miss behave you can bann there shout prevlages.
__________________
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
  #9  
Old 18th January 2009, 18:51
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Smile
Quote:
Originally Posted by joeroberts View Post
just to let you know the shoutbox has a bann feature so that if they miss behave you can bann there shout prevlages.
I got it :nosepick:
I Changed
if ($user->user AND $user->can_shout =="true")

to

if ($user->user AND $user->can_shout =="false")

it works but don't know will it make any error in future??
Reply With Quote
  #10  
Old 18th January 2009, 22:32
Subzero's Avatar
Subzero Subzero is offline
Coder
 
Join Date: Jul 2008
P2P
Posts: 190
Default
all this
Code:
if ($user->user AND $user->can_shout =="true")
Dose is stop any one under the class of users lets say guest viewing your shoutbox and checks if user is allowed to shout

so if your gonna do this

Code:
if ($user->user AND $user->can_shout =="false")
then you might as well remove that bit of code
Reply With Quote
Reply

Tags
block , changer , remove , shoutbox , 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Friends block Fynnon Mods & Themes 2 23rd June 2010 12:36
[TT 2.0.5] Block Donate matrix78 Mods & Themes 0 5th March 2010 13:52
How To Remove ShoutBox GauravJ123 xBTiT 1 9th August 2009 16:42
Block needed wMan BT.Manager (phpMyBitTorrent) 1 5th June 2009 11:10
Shoutbox block for Yuna 6.0? 50Cent Yuna Scatari Edition (YSE) 1 2nd September 2008 20:53



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