Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   [PMBT 2.0] DVTester (http://www.bvlist.com/showthread.php?t=1683)

joeroberts 1st January 2009 17:11

[PMBT 2.0] DVTester
 
2 Attachment(s)
dvtester is another new theme By me :)
Hope you like it!
it is a XHTML compliant theme tested here www.w3.org

Krypto 1st January 2009 20:40

Another fine theme :ok:

When you click on the Donate Icon I received this

Quote:

Warning: constant() [function.constant]: Couldn't find constant _btpage_donate.php in /home/rich/www/phpmybt/themes/dvtester/main.php on line 477
So I just removed this line 477

PHP Code:

'.constant("_btpage_".$pagename).' 

Maybe this is defined in the latest version?

joeroberts 1st January 2009 20:53

may be so open language files and add
Code:

define("_btpage_donate.php","Donations");

Krypto 1st January 2009 21:31

Thanks Joe, I knew it was something simple, must have something to do with being at the mother-in-laws all day :wild:

roland22 25th January 2015 10:16

error
 
i get this error

Deprecated: Function eregi() is deprecated in /home/royalrad/public_html/themes/dvtester/main.php on line 222

joeroberts 25th January 2015 13:33

change
PHP Code:

if (eregi("main.php",$_SERVER["PHP_SELF"])) die ("You can't access this file directly"); 

to
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 


roland22 25th January 2015 15:28

Quote:

Originally Posted by joeroberts (Post 46149)
change
PHP Code:

if (eregi("main.php",$_SERVER["PHP_SELF"])) die ("You can't access this file directly"); 

to
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 


i am on version phpMyBitTorrent2.0.4 is this theme ok for my?:wave:

joeroberts 25th January 2015 15:43

Yes its fine


All times are GMT +2. The time now is 11:22.

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