The smile on my face is much much much wider
Thanks !!! you made my day !!!!!!!
( I tried replacing $xoTheme->addScript with $xTheme->addScript .... stupid me )
lapsa2000 wrote:
.... there is no css file .... you can help me?
rossymole wrote:
Hello,
I want to say I think that TinyEditor is great! Thank you and great work, I love it and it works great!
The issue I am having is I am using it in the Mail Users function of the admin section and it forces relative URLs through-out the site which is fine (good even) but in mail users it can't be there (the images in the email won't show up). The setting in the "Mod Conf Options", doesn't seem to work.
I looked on the tinyeditor site and can configure the tiny_mce_src.js (then rename it as; I don't have an editor that can edit the tiny_mce.js file directly) but it doesn't flow through in the module.
Like this:
relative_urls : false,
remove_script_host : false,
document_base_url : "http://www.site.com/path1/"
Any thoughts?
Thank You,
("remove_script_host",true)
("remove_script_host",true)
peterr wrote:
Some possible mainfile.php changes ..if $_SERVER["HTTP_HOST"] == sub.domain.com {
define('XOOPS_ROOT_PATH', '/home/username/public_html/modules/sub');
define('XOOPS_URL', 'http://sub.domain.com');
} else {
define('XOOPS_ROOT_PATH', '/home/username/public_html');
define('XOOPS_URL', 'http://domain.com');
}
but, no doubt you have already tried that, or there are other implications ??
Options +FollowSymLinks
rewriteEngine on
# Internally rewrite <subdomain>.mydomain.com/<URLpath> to inthetube.info/subs/<subdomain>/<URLpath>
rewriteCond $1 !^modules/
rewriteCond %{HTTP_HOST} !^www.mydomain.com
rewriteCond %{HTTP_HOST} ^([^.]+).mydomain.com
rewriteRule (.*) /modules/%1/$1
rewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /modules/
rewriteRule ^modules/([^/]+)/(.*)$ http://$1.mydomain.com/$1 [R=301,L]
// modules changer (insert this 8 lines)
if( ! function_exists( 'modules_changer' ) ) {
$_SERVER['REQUEST_URI'] = str_replace( 'bridge.mydomain.com' , 'www.mydomain.com/modules/bridge' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( 'bridge.mydomain.com' , 'www.mydomain.com/modules/bridge' , @$_SERVER['HTTP_REFERER'] ) ;
function modules_changer( $s ) {
return str_replace( 'www.mydomain.com/modules/bridge' , 'bridge.mydomain.com' , $s ) ;
}
ob_start( 'modules_changer' ) ;
}