have changed forum module
from PEAK XOOPS Support&Experiment
(2006/11/9 17:44)
|
I've just changed forum module of this site from xhnewbb to d3forum.I thank you in d3forum debugging for your help :-DAccess for xhnewbb's post will be redirected correctly via modules/xhnewbb/viewtopic.php.[code] [/code]
|
mymenu and Cube 2.1 Legacy
from PEAK XOOPS Support&Experiment
(2006/10/31 18:42)
|
New mymenu is compatible with Cube 2.1 Legacy.(Just depends on altsys)But you as a module developper should insert these code into admin/index.php after including cp_header.php or cp_functions.php[code]// branch for altsysif( defined('XOOPS_TRUST_PATH')&&! empty( $_GET['lib'] ) ) {$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;$mydirpath = dirname( dirname( __FILE__ ) ) ;// common libs (eg. altsys)$lib = preg_replace('[^a-zA-Z0-9_-]','', $_GET['lib'] ) ;$page = preg_replace('[^a-zA-Z0-9_-]','', @$_GET['page'] ) ;if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php') ) {include XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php';} else if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php') ) {include XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php';} else {die('wrong request') ;}exit ;}[/code]
|
How to chase the code of Cube 2.1 (1)
from PEAK XOOPS Support&Experiment
(2006/10/30 18:51)
|
sorry, no English contents
|
header() 301 and 302
from PEAK XOOPS Support&Experiment
(2006/10/29 6:54)
|
On site moving like PEAK XOOPS, we should return 301 instead of 302.You should know php's header("Location:...") returns 302 if you don't send 301 additionally.I've just fixed this :-D[code]DocumentRoot-- xoops_redirect.php-- xoops/---- .htaccess---- index.html (dummy)[/code]/xoops_redirect.php[code] [/code]/xoops/.htaccess[code]ForceType xoops_redirectAction xoops_redirect /xoops_redirect.php[/code]
|
OSC2006 Tokyo/fall short report
from PEAK XOOPS Support&Experiment
(2006/10/28 18:04)
|
I've just returned from OSC2006 Tokyo/fall.Marijuana demonstrates Cube 2.1 lighten hack.nobunobu explains"Duplicatable Framework like D3".Both are quite interesting and full of hints.
|
OSC2006 Tokyo/fall
from PEAK XOOPS Support&Experiment
(2006/10/27 18:48)
|
Tomorrow(28 Oct), we'll hold Open Source Conference 2006 fall in Tokyo Japan.http://www.ospn.jp/osc2006-fall/
|
URI moved
from PEAK XOOPS Support&Experiment
(2006/10/26 17:08)
|
PEAK XOOPS is moved http://xoops.peak.ne.jp/ from http://www.peak.ne.jp/xoops/If you receive RSS from this site, change it please.
|
preferences of d3forum
from PEAK XOOPS Support&Experiment
(2006/10/25 17:42)
|
d3forum has overriding system of preferences.eg) Only"Q&A forum"has"solved"feature.In module's preferences:[code]use solved [ ]yes [x]no[/code]In forum's option[code]use_solved:1[/code]You can see overridable variables in the left site of forum or category's option area.With the latest version, you can see them.[code]allow_htmlallow_textimgallow_sigallow_sigimgposts_per_topichot_thresholdtopics_per_pageuse_solvedallow_markallow_hideuidviewallbreakselfeditlimitselfdellimitcss_urianonymous_nameicon_meaningsguest_vote_interval[/code]You have to separate variable name and the value with comma.(variable name):(value)
|
D3 templates development
from PEAK XOOPS Support&Experiment
(2006/10/24 5:10)
|
The latest altsys has a feature helping to develop templates of D3 modules.You may know"auto update feature"for conventional modules already.eg) updating templates developping modules of xhnewbb and xhld0.insert 2 lines into mainfile.php just after including"include/common.php".[code]$tplsadmin_autoupdate_dirnames = array('xhnewbb','xhld0') ;include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_module.inc.php";[/code]The new feature looks like it.(insert 2 lines into mainfile.php just after including"include/common.php")[code]$tplsadmin_autoupdate_mydirnames = array('d3forum','aaaaa') ;include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_d3module.inc.php";[/code]Care $tplsadmin_autoupdate_mydirnames should be assigned dirnames under XOOPS_ROOT_PATH/modules/ instead of XOOPS_TRUST_PATH/modules/Enjoy it!
|
D3 templates development
from PEAK XOOPS Support&Experiment
(2006/10/24 5:10)
|
The latest altsys has a feature helping to develop templates of D3 modules.You may know"auto update feature"for conventional modules already.eg) updating templates developping modules of xhnewbb and xhld0.insert 2 lines into mainfile.php just after including"include/common.php".[code]$tplsadmin_autoupdate_dirnames = array('xhnewbb','xhld0') ;include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_module.inc.php";[/code]The new feature looks like it.(insert 2 lines into mainfile.php just after including"include/common.php")[code]$tplsadmin_autoupdate_mydirnames = array('d3forum','aaaaa') ;include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_d3module.inc.php";[/code]Care $tplsadmin_autoupdate_mydirnames should be assigned dirnames under XOOPS_ROOT_PATH/modules/ instead of XOOPS_TRUST_PATH/modules/Enjoy it!
|