View Full Version : Bug Report
silvrhand
05-03-2004, 04:31 PM
Probably not the right way to install PHPBB2 as a plugin but it's interesting in the side effect.
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.
Hi Silvrhand,
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.
silvrhand
05-03-2004, 05:11 PM
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 create a phpbb theme that looks like subdreamer?
Hi Silvrhand,
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.
On this website I used the automatic skinning feature that I have been working on. Basically it will theme your current forum to look exactly as if it was a plugin on your site.
silvrhand
05-03-2004, 05:21 PM
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,
- John
On this website I used the automatic skinning feature that I have been working on. Basically it will theme your current forum to look exactly as if it was a plugin on your site.
No problem, the new release will be out before you know it :)
silvrhand
05-03-2004, 05:39 PM
subduck,
Looking through your code I found the following information:
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..
Hi Silvrhand,
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.
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...
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.