Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   how to remove shoutbox & theme changer block (http://www.bvlist.com/showthread.php?t=1829)

Azurious 18th January 2009 17:35

how to remove shoutbox & theme changer block
 
how to remove shoutbox & theme changer block
& how to make other theme as my tracker default?

joeroberts 18th January 2009 17:39

Quote:

Originally Posted by Azurious (Post 8304)
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

Azurious 18th January 2009 17:54

Quote:

Originally Posted by joeroberts (Post 8305)
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 :(

joeroberts 18th January 2009 17:55

my bad it needs removed from index.php for shoutbox
to remove theme changer take
Quote:

OpenTable('Theme Changer');
echo "

Theme

\n";
echo "
";
echo "

";
echo "

Language

\n";
echo "

";
echo "
";
CloseTable();
out of theme main.php

By the way why do YOU wish to remove shoutbox?

Azurious 18th January 2009 18:07

Quote:

Originally Posted by joeroberts (Post 8307)
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
http://www.axistorrent.com/themes/ac...s/leechers.png 4294967294

http://www.axistorrent.com/themes/ac...ger/pics/2.png

:shock:

joeroberts 18th January 2009 18:11

I have no Idea where that error comes from as I can not duplicate it.

Azurious 18th January 2009 18:19

Quote:

Originally Posted by joeroberts (Post 8310)
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 :ok:

joeroberts 18th January 2009 18:31

just to let you know the shoutbox has a bann feature so that if they miss behave you can bann there shout prevlages.

Azurious 18th January 2009 18:51

Quote:

Originally Posted by joeroberts (Post 8312)
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??

Subzero 18th January 2009 22:32

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


All times are GMT +2. The time now is 18:59.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.