Browse code

new start point for integration

Jimmi08 authored on 2021/08/26 05:42:52
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,49 +0,0 @@
1
-This folder contains the default files for connecting to the default author
2
-table for eFiction.  
3
-
4
-They are included here as a backup in case you need 
5
-to restore from a failed bridge.
6
-
7
-This bridge can be used only for efiction installed as the subdirectory of e107 site
8
-
9
-1. add 
10
-`@ include_once(_BASEDIR.UN_FULLAPP_PATH."class2.php");
11
-
12
-Note: Full path is important because modules, example:
13
-`define("UN_FULLAPP_PATH", "../");`
14
-
15
-after 
16
-`@ include_once(_BASEDIR."config.php");`
17
-
18
-- you can't add this directly in config.php, because than ajax will stop to work
19
-
20
-`UN_FULLAPP_PATH` is constant defined in config.php - path to your e107 installation .  
21
-
22
-2.  replace files from this directory
23
-
24
-queries.php -  allows to use e107 user table as authors
25
-
26
-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.
27
-
28
-using class2.php allows use any e107 feature inside efiction script
29
-
30
-3. change paths in panels for login, signup and user info to e107 urls
31
-
32
-if your e107 use the same theme as efiction, user will not notice difference
33
-
34
-
35
-
36
-## Way how to load e107 theme
37
-(to have css in one place and use e107 caching)
38
-
39
-`$cssId =  "theme_css";`
40
-`$e_js->renderJs($cssId, false, 'css', false);`
41
-`$e_js->renderCached('css');`
42
-
43
-- removed all css from header.php
44
-
45
-## User Profile Settings
46
-- add panel with /user/settings 
47
-- use modified editbio.php to remove account related info (name, password, email)
48
-
49
-
Browse code

backup 3.52

Jimmi08 authored on 2021/04/02 11:08:04
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,49 @@
1
+This folder contains the default files for connecting to the default author
2
+table for eFiction.  
3
+
4
+They are included here as a backup in case you need 
5
+to restore from a failed bridge.
6
+
7
+This bridge can be used only for efiction installed as the subdirectory of e107 site
8
+
9
+1. add 
10
+`@ include_once(_BASEDIR.UN_FULLAPP_PATH."class2.php");
11
+
12
+Note: Full path is important because modules, example:
13
+`define("UN_FULLAPP_PATH", "../");`
14
+
15
+after 
16
+`@ include_once(_BASEDIR."config.php");`
17
+
18
+- you can't add this directly in config.php, because than ajax will stop to work
19
+
20
+`UN_FULLAPP_PATH` is constant defined in config.php - path to your e107 installation .  
21
+
22
+2.  replace files from this directory
23
+
24
+queries.php -  allows to use e107 user table as authors
25
+
26
+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.
27
+
28
+using class2.php allows use any e107 feature inside efiction script
29
+
30
+3. change paths in panels for login, signup and user info to e107 urls
31
+
32
+if your e107 use the same theme as efiction, user will not notice difference
33
+
34
+
35
+
36
+## Way how to load e107 theme
37
+(to have css in one place and use e107 caching)
38
+
39
+`$cssId =  "theme_css";`
40
+`$e_js->renderJs($cssId, false, 'css', false);`
41
+`$e_js->renderCached('css');`
42
+
43
+- removed all css from header.php
44
+
45
+## User Profile Settings
46
+- add panel with /user/settings 
47
+- use modified editbio.php to remove account related info (name, password, email)
48
+
49
+