|
|
| |
Forums ⇒ DragonflyCMS ⇒ Theme / Image / Logo requests :: Archives ⇒ TCD_Aquarium :: Archived
TCD_Aquarium :: ArchivedAsk for theme, logo or image design in here. Requests for addition/upgrade of abandoned themes should also be placed here.
Go to page 1, 2 Next
| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Tue Sep 25, 2007 10:32 pm Post subject: TCD_Aquarium |
|
I've searched the forums here, as well as google, and can't find a DL link for the old TCD_Aquarium theme. Does anyone out there have a copy of this free theme that I can beg off of you please?
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 2:39 am Post subject: Re: TCD_Aquarium request |
|
Thank you so much, Phoenix! I had even looked in the DL section, but must have passed right by it.
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 3:29 am Post subject: Re: TCD_Aquarium request |
|
So, installing it, I now see that I don't have the ThemeCP module. Once again, I don't see it on Devon's TCD site, and can't locate it here. Any chance you've got it in your archives as well?
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 2:12 pm Post subject: Re: TCD_Aquarium request |
|
Guess I'll do some testing then.
Thank you again for your quick response and help on this. The dive club it's for is going to love it!
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 6:10 pm Post subject: Re: TCD_Aquarium request |
|
OK... found an issue.
Uploaded the files, and clicked the Modules link from the Admin menu. The page comes up blank. Can't install the module, etc.
Removed the themecp folder from the modules one, and modules admin works fine. So the language file seems ok, and the fault lays somewhere in the module itself.
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Dizfunkshunal Platinum Supporter


Offline Joined: Mar 23, 2006 Posts: 2064
|
Posted: Wed Sep 26, 2007 7:30 pm Post subject: Re: TCD_Aquarium request |
|
What version of Dragonfly Are you using?
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups
|
|
| Back to top |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: Wed Sep 26, 2007 7:44 pm Post subject: Re: TCD_Aquarium request |
|
try replacing the template files in YOURTHEME\templates\admin with the files from default\templates\admin
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 7:46 pm Post subject: Re: TCD_Aquarium request |
|
I've hacked it into something that at least doesn't straight out give me sql errors.
The problem is that the admin icon for ThemeCP doesn't show in the admin menu, and that some of the images don't show up at all in the TCD_Aquarium theme, which is why I needed to install this CP in the first place.
9.1.2.1 is my current version. Contents of cpg_inst.php with the modifications I made posted below.
| Code:: |
<?php
/************************************************************************/
/* THEMECP 2.0 FOR DRAGONFLYCMS */
/* ============================================ */
/* Copyright (c) 2004 by Mtechnik */
/* http://mtechnik.net */
/* Made for PHP-Nuke ported to DragonflyCMS */
/* ============================================ */
/************************************************************************/
// Theme Cpanel
// Original Author of file: Mtechnik - http://mtechnik.net
//
// Dragonfly port and modifications by:
// DJDevon3 - http://www.TreasureCoastDesigns.com
// and
// SafeCracker4Hire - http://www.kylestubbins.com
//
// Developed at the1theme.com
// Copyright © 2004 by Mtechnik All Rights Reserved
// Copyright © 2005 by TCD All Rights Reserved
// ----------------------------------------------------------------------
// MODIFICATION
// Owners may alter or modify this add-on at their own risk,
// but only for their own use. Although users may modify the code for their use,
// modified code may not be resold or distributed, without express written
// permission from Mtechnik.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the script that the script generate,
// MUST remain intact, including any images, trademarks, logos with mtechnik
// or mdesign. Furthermore, these notices must remain visible.
// This theme license does not imply license to resell or
// redistribute any of those items without expressed permission.
//
// SUPPORT
// This is a Dragonfly port by DJDevon3 and SafeCracker4Hire
// All support should be found either at DragonflyCMS.com or TreasureCoastDesigns.com
// Mtechnik & DJDevon3 are not liable for any products or services affected by means of the script.
// The user must assume the entire risk of using the program.
// ----------------------------------------------------------------------
if (!defined('ADMIN_MOD_INSTALL')) { exit; }
class themecp {
var $description;
var $r;
var $modname;
var $version;
var $author;
var $website;
var $dbtables;
// class constructor
function themecp() {
$this->r = true;
$this->version = '2.0';
$this->modname = 'ThemeCP';
$this->description = 'Theme Control Panel 2.0 based on Mtechnik ThemeCP for PHP-Nuke';
$this->author = 'DJDevon3';
$this->website = 'www.TreasureCoastDesigns.com';
$this->dbtables = array('themecp');
}
// module installer
function install() {
global $installer;
$installer->add_query('CREATE', 'themecp', "
msg1 varchar(209) NOT NULL,
msg2 varchar(209) NOT NULL,
msg3 varchar(209) NOT NULL,
link1 varchar(25) NOT NULL,
link2 varchar(25) NOT NULL,
link3 varchar(25) NOT NULL,
link4 varchar(25) NOT NULL,
link5 varchar(25) NOT NULL,
link6 varchar(25) NOT NULL,
link7 varchar(25) NOT NULL,
link8 varchar(25) NOT NULL,
link9 varchar(25) NOT NULL,
link10 varchar(25) NOT NULL,
link1url varchar(255) NOT NULL,
link2url varchar(255) NOT NULL,
link3url varchar(255) NOT NULL,
link4url varchar(255) NOT NULL,
link5url varchar(255) NOT NULL,
link6url varchar(255) NOT NULL,
link7url varchar(255) NOT NULL,
link8url varchar(255) NOT NULL,
link9url varchar(255) NOT NULL,
link10url varchar(255) NOT NULL,
searchbox tinyint(1) NOT NULL default '1',
flash tinyint(1) NOT NULL default '1',
PRIMARY KEY (msg1)
", 'themecp');
$installer->add_query('INSERT', 'themecp', "'Welcome to the site!', 'Welcome to the site!', 'Welcome to the site!', 'Home', 'Topics', 'Forums', 'Stats', 'Links', 'Archives', 'Downloads', 'Submit News', 'Search', 'Account', 'index.php', 'index.php?name=Topics', 'index.php?name=Forums', 'index.php?name=Statistics', 'index.php?name=Web_Links', 'index.php?name=Stories_Archive', 'index.php?name=Downloads', 'index.php?name=News&file=submit', 'index.php?name=Search', 'index.php?name=Your_Account', '0', '0'");
return true;
}
// module uninstaller
function uninstall() {
global $installer;
$installer->add_query('DROP', 'themecp');
return true;
}
// module upgrader
function upgrade($prev_version) {
global $installer;
if ($prev_version == '1.0') {
$installer->add_query('ADD', 'themecp', "link6 varchar(25) NOT NULL AFTER `link5`");
$installer->add_query('ADD', 'themecp', "link7 varchar(25) NOT NULL AFTER `link6`");
$installer->add_query('ADD', 'themecp', "link8 varchar(25) NOT NULL AFTER `link7`");
$installer->add_query('ADD', 'themecp', "link9 varchar(25) NOT NULL AFTER `link8`");
$installer->add_query('ADD', 'themecp', "link10 varchar(25) NOT NULL AFTER `link9`");
$installer->add_query('ADD', 'themecp', "link6url varchar(255) NOT NULL AFTER `link5url`");
$installer->add_query('ADD', 'themecp', "link7url varchar(255) NOT NULL AFTER `link6url`");
$installer->add_query('ADD', 'themecp', "link8url varchar(255) NOT NULL AFTER `link7url`");
$installer->add_query('ADD', 'themecp', "link9url varchar(255) NOT NULL AFTER `link8url`");
$installer->add_query('ADD', 'themecp', "link10url varchar(255) NOT NULL AFTER `link9url`");
}
return true;
}
}
// ?> |
I noticed that other modules didn't have the closing php tag, so commented this one out, and that along with changing
| Code:: |
if (!defined('_MOD_INSTALL')) { exit; } |
to
| Code:: |
if (!defined('ADMIN_MOD_INSTALL')) { exit; } |
at least gave me a link to install it from the modules page.
Now, the include files both have the ?> tag at the end.. going to try commenting those out as well, perhaps this thing may actually work?
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Dizfunkshunal Platinum Supporter


Offline Joined: Mar 23, 2006 Posts: 2064
|
Posted: Wed Sep 26, 2007 8:04 pm Post subject: Re: TCD_Aquarium request |
|
Some hacking is required then that theme is for 9.0.6.1 they may be updated version of that theme coming out with no need for theme cp module. Keep your eyes open.
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups
|
|
| Back to top |
|
 |
PresumedEvil Newbie


Offline Joined: Aug 07, 2004 Posts: 39
|
Posted: Wed Sep 26, 2007 8:19 pm Post subject: Re: TCD_Aquarium request |
|
The instructions for adding the right code/files to a theme to convert it from needing the CP to not needing it used to be on the TCD site, but Devon's taken them down. (got them handy?)
I could probably follow the instructions and get it converted, and then use the theme conversion instructions to update it for 9.1.2.1.
I'm in a bit of a time crunch and want to do this by the end of the week. I've needed modules and themes before, and ended up porting/converting them myself because I didn't have the time to wait as long as it often takes.
I'm a total hack, but usually manage to cobble something together that works by following the examples of good themes.
PresumedEvil's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.7 on a virtual machine / Apache and Apache2 / MySQL 4.1.11 / PHP 4.3.8
|
|
| Back to top |
|
 |
Dizfunkshunal Platinum Supporter


Offline Joined: Mar 23, 2006 Posts: 2064
|
Posted: Wed Sep 26, 2007 8:23 pm Post subject: Re: TCD_Aquarium request |
|
thats pretty good. No I Don't have a copy of his instructions. Sorry
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed Sep 26, 2007 11:25 pm Post subject: Re: TCD_Aquarium request |
|
Aside from that ADMIN_MOD_INSTALL error, there is also another oversight in the install file - it doesn't add radminthemcp to the admins table in your database. If you add that, the admin side will work.
The Aquarium theme itself is supposed to be 9121 standard so you should be okay.
Edit: confirmed okay - themecp download updated - simply uninstall the old one, then upload the new cpg_inst.php file and re-install.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
|
|
All times are GMTGo to page 1, 2 Next
|
| |
 |
 Welcome Anonymous
|
|
|
|