To show your gratitude, if you don't already have an account on IconBuffet*, go there and sign-up ;-) (if you are already on IconBuffet, add Lussomo in one of your list of favorite read).
*IconBuffet is not associated with this forum, this extension or me.
it shouldn't. The compressor look for a special version of the file, and if it can't find any, it will serve the original file. Can you give me the path to the file and describe the problem?
here what it looks like for global.js:...if(E){E.appendChild(A)}}}
function PopMusicBox(Url){
window.open(Url, "MusicBox", "toolbar=no,status=yes,location=no,menubar=no,resizable=yes,height=460,width=975,top=150,scrollbars=no");
}
Try disabling gzip ($Configuration['LOWCALVANILLA_GZIP_ALLOWED'] = '0';) to check if there is a problem with your compression.
Also you could try LowCalVanilla 0.4.1 and your script to the packer dynamically (the result is cached):
<?php
/*
Extension Name: MusicBox
Extension Url: N/A
Description: Add PopMusicBox js function.
Version: 0.1.0
Author: sjeeps
Author Url: N/A
*/
// Check the Low-Cal Vanilla is installed
if (!empty($Configuration['LOWCALVANILLA_TOOLS_PATH'])) {
// Include Low-Cal Vanilla.
// Important: Use require_once or include_once to not load it again if it is already done.
require_once($Configuration['LOWCALVANILLA_TOOLS_PATH']);
// Add your script
LowCalVanilla_AddScript($Context, $Head, 'extensions/MusicBox/pop-up.js');
} else {
$Head->AddScript('extensions/MusicBox/pop-up.js');
}
Comments
Короче, здеÑÑŒ точно еÑÑ‚ÑŒ руÑÑкие, чего Ñ Ð¼ÑƒÑ‡Ð°ÑŽÑÑŒ РебÑта, Ñкажите автору, пожалуйÑта, что модуль очень клаÑÑный, но при его иÑпользовании не отображаютÑÑ Ð¿Ð¾Ñ‡Ñ‚Ð¾Ð²Ñ‹Ðµ адреÑа в профиле, даже еÑли Ñтавишь галку "показывать". Я не Ñразу понÑл, из-за чего Ñто. Отключил Low-Cal и вÑе заработало.
Скорей вÑего Ñто проиÑходит потому что Java-Ñкрипты ÑжимаютÑÑ Ð² одну Ñтроку, и что-то там глючит.
ЕÑли хотите ответить по-руÑÑки, то пишите шепотом лучше, а то некраÑиво получитÑÑ.
*IconBuffet is not associated with this forum, this extension or me.
from LowCalVanilla/htaccess to the root folder of your forum"
Well, adding this code:
RewriteEngine on Options +FollowSymLinks -Multiviews RewriteCond %{SCRIPT_FILENAME} -f RewriteRule ^(.*\.css|.*\.js)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L]
Causes a problem for another script that uses js and css files, any thoughts how to fix this?
Can you give me the path to the file and describe the problem?
You can try this:
RewriteEngine on Options +FollowSymLinks -Multiviews RewriteCond %{SCRIPT_FILENAME} -f RewriteRule ^(themes/.*/[-_\.~a-zA-Z0-9]+\.css)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L] RewriteRule ^(js/[-_\.~a-zA-Z0-9]+\.css)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L] RewriteRule ^(js/[-_\.~a-zA-Z0-9]+\.js)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L] RewriteRule ^(extensions/.*/[-_\.~a-zA-Z0-9]+\.css)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L] RewriteRule ^(extensions/.*/[-_\.~a-zA-Z0-9]+\.js)$ extensions/LowCalVanilla/compressor.php?uri=$1 [QSA,L]
http://www.ventswap.com/vschat/incl/blab.js
http://www.ventswap.com/vschat/skin4-ventswap/style.css
Are not accessible and the server returns 404.
You can try the directives I posted above.
More details about Low-Cal Vanilla
...if(E){E.appendChild(A)}}} function PopMusicBox(Url){ window.open(Url, "MusicBox", "toolbar=no,status=yes,location=no,menubar=no,resizable=yes,height=460,width=975,top=150,scrollbars=no"); }
Try disabling gzip ($Configuration['LOWCALVANILLA_GZIP_ALLOWED'] = '0';) to check if there is a problem with your compression.
Also you could try LowCalVanilla 0.4.1 and your script to the packer dynamically (the result is cached):
<?php /* Extension Name: MusicBox Extension Url: N/A Description: Add PopMusicBox js function. Version: 0.1.0 Author: sjeeps Author Url: N/A */ // Check the Low-Cal Vanilla is installed if (!empty($Configuration['LOWCALVANILLA_TOOLS_PATH'])) { // Include Low-Cal Vanilla. // Important: Use require_once or include_once to not load it again if it is already done. require_once($Configuration['LOWCALVANILLA_TOOLS_PATH']); // Add your script LowCalVanilla_AddScript($Context, $Head, 'extensions/MusicBox/pop-up.js'); } else { $Head->AddScript('extensions/MusicBox/pop-up.js'); }
Thanks!
Let me know which extension you would like me to try.