SteSpeak
08-27-2005, 10:38 PM
Hi, let me introduce myself.
My name is Stephen and i'm new to Subdreamer / Forum skinning so when my friend and host asked me to create a skin, it was a whole new job for me.
I started creating a layout in photoshop yesterday, you may find it here (http://slugclub.daspace.net/sigs/design_ver9.jpg).
I went ahead and actually brought it to life, my skin is very similar.
Now, I have got menu's and my host has setup a test enviroment for me. I believe you may have seen my host here, Chan Kong-sang, he's a good guy.
Well to get to the point, I have menu's for my plugins and i'm not very clear on how the plugin system actually works within skins. So after trying to convert mine to a similar system as used in wave's default skin, I run into alot of php code problems and it actually created some tables when I don't think it should have.
After a lot of fiddling with the code, I decide to just run a test, so I implement 2 php lines.
<?php echo '<td width="167" height="20" align="right" valign="top" class="pluginname2" background="skins/daspace/images/headercenter.gif"> ' . $pluginname[1] . '</td>'?>
and
<?php
include($pluginpath[1]);
?>
that worked, I had a empty heading and plugin contents.
So then I decide to switch it to
$pluginpath[46]);
for the site map, and it wont work. I get this problem:
Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/web395/html/skins/daspace/daspace1.php on line 64
Line 64 is:
* * * * * * * * * *include($pluginpath[46]);
I do not understand why I cannot include any plugins other than 1.
Once I fix this, or get help fixing this even, I will be able to use the for system.
Also I apologise if this is not the correct place to post.
Regards,
- Stephen Speakman
EDIT
Okay, so now I realised you set the ID inside the catagory page inside the admin area. But now another problem happens.
Whenever I set two or more plugins in our intro page, it will show one, but then make the other one show the error:
Fatal error: Cannot redeclare p13_displayrating() (previously declared in /srv/www/htdocs/web395/html/plugins/p13_download_manager/downloads.php:26) in /srv/www/htdocs/web395/html/plugins/p13_download_manager/downloads.php on line 26
I think this has something to do with my code not making each menu / content box unique.
My main content box holds the original one fine if I choose two, then the second one will appear in my top menu box, with a similar error. The page will be outstretched so you can't see the right side, and if I do 3 I would only be able to see the menu boxes and the top one has content, the other has that error.
Any ideas?
My name is Stephen and i'm new to Subdreamer / Forum skinning so when my friend and host asked me to create a skin, it was a whole new job for me.
I started creating a layout in photoshop yesterday, you may find it here (http://slugclub.daspace.net/sigs/design_ver9.jpg).
I went ahead and actually brought it to life, my skin is very similar.
Now, I have got menu's and my host has setup a test enviroment for me. I believe you may have seen my host here, Chan Kong-sang, he's a good guy.
Well to get to the point, I have menu's for my plugins and i'm not very clear on how the plugin system actually works within skins. So after trying to convert mine to a similar system as used in wave's default skin, I run into alot of php code problems and it actually created some tables when I don't think it should have.
After a lot of fiddling with the code, I decide to just run a test, so I implement 2 php lines.
<?php echo '<td width="167" height="20" align="right" valign="top" class="pluginname2" background="skins/daspace/images/headercenter.gif"> ' . $pluginname[1] . '</td>'?>
and
<?php
include($pluginpath[1]);
?>
that worked, I had a empty heading and plugin contents.
So then I decide to switch it to
$pluginpath[46]);
for the site map, and it wont work. I get this problem:
Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/web395/html/skins/daspace/daspace1.php on line 64
Line 64 is:
* * * * * * * * * *include($pluginpath[46]);
I do not understand why I cannot include any plugins other than 1.
Once I fix this, or get help fixing this even, I will be able to use the for system.
Also I apologise if this is not the correct place to post.
Regards,
- Stephen Speakman
EDIT
Okay, so now I realised you set the ID inside the catagory page inside the admin area. But now another problem happens.
Whenever I set two or more plugins in our intro page, it will show one, but then make the other one show the error:
Fatal error: Cannot redeclare p13_displayrating() (previously declared in /srv/www/htdocs/web395/html/plugins/p13_download_manager/downloads.php:26) in /srv/www/htdocs/web395/html/plugins/p13_download_manager/downloads.php on line 26
I think this has something to do with my code not making each menu / content box unique.
My main content box holds the original one fine if I choose two, then the second one will appear in my top menu box, with a similar error. The page will be outstretched so you can't see the right side, and if I do 3 I would only be able to see the menu boxes and the top one has content, the other has that error.
Any ideas?