PEAK XOOPS - Re: Testing /modules/ changer in englishin japanese

Re: Testing /modules/ changer

Target News
Subject Testing /modules/ changer
Summary Do you know short urls or simplified urls?Although it works fine with almost case, there are some unavoidable side effets .This hack is quite simple.You can change /modules/ as you like.I think there are much few side effect with this hack.insert 8 lin...

List posts in the topic

normal Re: Testing /modules/ changer

msg# 1
depth:
0
Previous post - Next post | Parent - No child | Posted on 2006/2/19 2:41 | Last modified
stelian  Private   Posts: 7
HI GIJOE

It still did'nt work, so i wrote somethnig verry ugly:

/*
function modules_changer( $m ) 
{
return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/buzau/' , $m) ;
}
ob_start( 'modules_changer' ) ;
*/

function catads_changer( $c ) 
{
return str_replace( XOOPS_URL.'/modules/catads/' , XOOPS_URL.'/buzau/anunturi/' , $c) ;
}
ob_start( 'catads_changer' ) ;

function newbb_changer( $nb ) 
{
return str_replace(XOOPS_URL.'/modules/newbb/' , XOOPS_URL.'/buzau/forum/', $nb) ;
}
ob_start( 'newbb_changer' ) ;

function friendfinder_changer( $f ) 
{
return str_replace( XOOPS_URL.'/modules/friendfinder/' , XOOPS_URL.'/buzau/matrimoniale/' , $f) ;
}
ob_start( 'friendfinder_changer' ) ;

function ircmod_changer( $i ) 
{
return str_replace( XOOPS_URL.'/modules/ircmod/' , XOOPS_URL.'/buzau/chat/' , $i) ;
}
ob_start( 'ircmod_changer' ) ;



function xcgal_changer( $x ) 
{
return str_replace( XOOPS_URL.'/modules/xcgal/' , XOOPS_URL.'/buzau/poze/' , $x) ;
}
ob_start( 'xcgal_changer' ) ;

Now it is working.
Votes:2 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!