Re: A short result on bug
|
Suguna Karyodi |
|
5/22/2008 4:44:25 AM |
View the rest: untar phpbb..tar.gz mv phpBB /subdreamer/plugins login to admin panel click on plugins, blank page displaying no plugins mv subdreamer/plugins/phpBB2 /tmp reload plugins page, everything works
Let me know if you can not reproduce it and I'll create you a user on our test site. Post Comments |
|
Re: A short result on bug
|
Jeiron Deivtan |
|
5/22/2008 4:45:04 AM |
Hi Suguna, You definitely do not want to put phpBB under the Subdreamer's plugin directory. Under admin->settings->plugins, that page will search through the plugins directory looking for plugins that have not been installed by searching for install.php files.
So if you put phpbb in that directory, then it will search through phpbb's install file. That is the reason a blank page is returned.
Only plugins that are downloaded from this site should be moved to that directory. If you are trying to integrate your site's skin with phpbb then you will have to wait for the next Subdreamer release 1.1.3 coming out May 14th. Post Comments |
|
Re: I'm trying to create a Forum category
|
Suguna Karyodi |
|
5/22/2008 4:46:04 AM |
No,
I'm trying to create a Forum category and then pull phpbb under it as you have done here. I'm assuming you created a custom plugin for phpbb2 to pull the theme in above it and rethemed phpbb/vb to come close to your current them?
Or did you actually c reate a phpbb theme that looks like subdreamer? Post Comments |
|
Re: I used the automatic skinning feature
|
Jeiron Deivtan |
|
5/22/2008 4:46:50 AM |
On this website I used the automatic skinning feat ure that I have been working on. Basically it wil l theme your current forum to look exactly as if it was a plugin on your site. Post Comments |
|
Re: So for now I'll work without the theme'ing
|
Suguna Karyodi |
|
5/22/2008 4:47:53 AM |
Ok,
So for now I'll work without the theme'ing and move on to the other things I want to work on as well.
Thanks, Post Comments |
|
No problem, the new release will be out before you know it Post Comments |
|
Re: Looking through your code I found the followin g information
|
Suguna Karyodi |
|
5/22/2008 4:50:31 AM |
Jeiron, I'm looking through your code I found the following information: Quote: Originally Posted by subduck if (is_dir($dirname."/".$entry)) // if file is a directory
{ GetDirList($dirname."/".$entry); // recursive call }
else if($entry == 'install.php') // its a file
{ $installpath = $dirname."/install.php";
include($installpath); | Instead of using a generic install.php file which is quite common these days you might want to use something like sb_install.php a little bit less generic so that if someone does drop something in there due to a mistake it doesn't mess things up.
Also you might want to check to make sure it's not a softlink which could potentially drop you into an unrecoverable loop.
is_link is_file
Ok, time to go home, finished cleaning stupid viruses.. Post Comments |
|
Good idea, but instead of renaming all the files, I'll just check if the plugin folder starts with the letter p followed by 1 to 3 numbers and an underscore.
Example: p2_News, p16_link_directory, etc... Post Comments |
|