omardealo
03-16-2013, 06:48 PM
Hello every one ,
i used that code but not worked
Hook : parse_templates
code :
$ain_nocopy = '<SCRIPT LANGUAGE="JavaScript"> CODE </SCRIPT>';
$ain_nocopy_css = '<style type="text/css">.ain_unselectable{CODE}</style>';
$search_text = '<!-- / CSS Stylesheet -->';
$vbulletin->templatecache['headinclude'] = str_replace($search_text, $ain_nocopy_css.$search_text.$ain_nocopy , $vbulletin->templatecache['headinclude']);
i know that "<!-- / CSS Stylesheet -->" not found in template headinclude , but i add it and still code not worked
Where the problem, thank you
i used that code but not worked
Hook : parse_templates
code :
$ain_nocopy = '<SCRIPT LANGUAGE="JavaScript"> CODE </SCRIPT>';
$ain_nocopy_css = '<style type="text/css">.ain_unselectable{CODE}</style>';
$search_text = '<!-- / CSS Stylesheet -->';
$vbulletin->templatecache['headinclude'] = str_replace($search_text, $ain_nocopy_css.$search_text.$ain_nocopy , $vbulletin->templatecache['headinclude']);
i know that "<!-- / CSS Stylesheet -->" not found in template headinclude , but i add it and still code not worked
Where the problem, thank you