name mode size
..
README.md 100644 1.51kB
editbio.php 100644 6.79kB
get_session_vars.php 100644 2.9kB
header.php 100644 18.48kB
queries.php 100644 1.76kB
README.md
This folder contains the default files for connecting to the default author table for eFiction. They are included here as a backup in case you need to restore from a failed bridge. This bridge can be used only for efiction installed as the subdirectory of e107 site 1. add `@ include_once(_BASEDIR.UN_FULLAPP_PATH."class2.php"); Note: Full path is important because modules, example: `define("UN_FULLAPP_PATH", "../");` after `@ include_once(_BASEDIR."config.php");` - you can't add this directly in config.php, because than ajax will stop to work `UN_FULLAPP_PATH` is constant defined in config.php - path to your e107 installation . 2. replace files from this directory queries.php - allows to use e107 user table as authors get_session_vars.php - allows to use e107 constants to detect if user is logged or not. Thanks installation in subdirectory, all cookies/sessions are available for efiction site too. using class2.php allows use any e107 feature inside efiction script 3. change paths in panels for login, signup and user info to e107 urls if your e107 use the same theme as efiction, user will not notice difference ## Way how to load e107 theme (to have css in one place and use e107 caching) `$cssId = "theme_css";` `$e_js->renderJs($cssId, false, 'css', false);` `$e_js->renderCached('css');` - removed all css from header.php ## User Profile Settings - add panel with /user/settings - use modified editbio.php to remove account related info (name, password, email)