Your Portal Version: 1.0.2
Your phpBB Type: other phpBB Distribution
MODs installed: No
Your knowledge: Advanced Knowledge
Boardlink: http://fireforumz.com
PHP Version: 5
What have you done before the problem was there?
came here.... this is the source
What have you already tryed to solve the problem?
really bad coding errors
Description and Message
I run a mutli-forum host and im needing some help.
The install folder works fine, but i have to keep it in the root for other forums to install it. Can i either get the MYSQL for the install so i can enter it in the install.sql.
Or could i get a modded install folder so only a admin can install it and that the portal.php doesnt check for the installation folder?
Modded Install Help!
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
Topic author - Active Member
- Posts: 2
- Joined: 13. October 2008 20:20
-
- Site Admin
- Posts: 2994
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Modded Install Help!
You may just disable / remove the check for the install directory, which can be found in portal.php:
Code: Select all
if ( is_dir( $phpbb_root_path . 'install_portal/' ) === TRUE )
{
if ( is_file( $phpbb_root_path . 'install_portal/install.'.$phpEx ) === TRUE )
{
include $phpbb_root_path . 'install_portal/install.'.$phpEx;
if ( version_compare( $current_version, $portal_config['portal_version'], '<=' ) === TRUE )
{
$template->assign_vars(array(
'S_DISPLAY_GENERAL' => true,
'GEN_TITLE' => $user->lang['PORTAL_ERROR'],
'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_DELETE_DIR'], $phpbb_root_path . 'install_portal' )
));
}
else
{
$template->assign_vars(array(
'S_DISPLAY_GENERAL' => true,
'GEN_TITLE' => $user->lang['PORTAL_UPDATE'],
'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_UPDATE_TEXT'], $phpbb_root_path . 'install_portal/install.'.$phpEx, $current_version )
));
}
$load_center = false;
}
}
The installer already checks for the user context - just admins are allowed to install the portal.emoruffino wrote:Or could i get a modded install folder so only a admin can install it
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
Topic author - Active Member
- Posts: 2
- Joined: 13. October 2008 20:20
Re: Modded Install Help!
thanks! 
---
also is there a way that there could be like a php eval that could redirect to portal.php or the index.php from a option in the acp?

---
also is there a way that there could be like a php eval that could redirect to portal.php or the index.php from a option in the acp?
-
- Site Admin
- Posts: 2994
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Modded Install Help!
Saint_hh http://www.phpbb.com/community/viewtopic.php?p=7270865#p7270865 wrote:Will be included in the next version.gavpedz wrote:Although you can turn all boxes off you can not actually turn the portal off as you just get the blank portal page i would love to be able to turn the whole portal on/off so that when it is off visitors/users will be directed to the normal board index and when portal is on visitors/users are directed to the portal page. how could i achieve this?
If you can't wait:
http://board3deportal.svn.sourceforge.n ... vision=394
The language edits should be like this:
http://board3deportal.svn.sourceforge.n ... athrev=402
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!