I don't know webmailfx at all.
Anyway, you should turn "PHP debug" on if you want to solve the problem.
Perhaps, some troubles of REFERER occurred.
Hello. Great jod guys.
I am using this hack and from
www.mysite.ro/modules/ i change it to
www.mysite.ro/buzau/.But my question is: how can i change from "newbb" to "forum"? Or from "catads" to "anunturi"? I am going to rename all modules to my languge but i need only an example. Can you help me whith this example? Please? Thank you verry much.
This is just an issue of mod_rewrite (Apache).
If you understand rewrite rules, just write conversion rules and corresponding .htaccess.
Hi there. I allready wrote my code, but it is not working and i can't figure it out why.
mainfile.php looks like this
$GLOBALS['_rewriteRulesFrom'] = array(
'/buzau/',
'buzau/anunturi/',
'buzau/forum/',
'buzau/matrimoniale/',
);
$GLOBALS['_rewriteRulesTo'] = array(
'modules/modules/',
'modules/catads/',
'modules/newbb/',
'modules/friendfinder/',
);
function modules_changer( $s )
{
return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/buzau/' , $s) ;
return str_replace( XOOPS_URL.'/modules/catads/' , XOOPS_URL.'/buzau/anunturi/' , $s ) ;
return str_replace( XOOPS_URL.'/modules/newbb/' , XOOPS_URL.'/buzau/forum/' , $s ) ;
return str_replace( XOOPS_URL.'/mosules/friendfinder/' , XOOPS_URL.'/buzau/matrimoniale/' , $s ) ;
}
ob_start( 'modules_changer' ) ;
.htaccess:
RewriteEngine on
RewriteRule ^buzau/(.*)$ modules/$1 [L]
RewriteRule ^buzau/forum/(.*)$ modules/newbb/$1 [L]
RewriteRule ^buzau/anunturi/(.*)$ modu;es/catads/$1 [L]
RewriteRule ^buzau/matrimoniale/(.*)$ modules/friendfinder/$1 [L]
About one week ago i found something related to this
http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=42036&start=0And everything is wright. But nothing change except from /modules/ to /buzau/ . Today, for almoust 10 hours i tested and still no result. At least can you tell me if the code it is OK? Please?
At just a glance...
function modules_changer( $s )
{
$s = return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/buzau/' , $s) ;
$s = return str_replace( XOOPS_URL.'/modules/catads/' , XOOPS_URL.'/buzau/anunturi/' , $s ) ;
$s = return str_replace( XOOPS_URL.'/modules/newbb/' , XOOPS_URL.'/buzau/forum/' , $s ) ;
return str_replace( XOOPS_URL.'/mosules/friendfinder/' , XOOPS_URL.'/buzau/matrimoniale/' , $s ) ;
}
ob_start( 'modules_changer' ) ;