SEOPerfectCart Articles

SEOPerfectCart Articles

June 19, 2007

PHPnuke 7.9 3.2 javascript fix

Filed by: alterego @ 10:58 pm PHP Toolbox 101

Have you lost the ability to display html or javascript or google adsense banners in phpnuke 7.9 3.2 patched?

Change line 1458 in mainfile.php from

1458 $ad_code = filter($row2['ad_code'], "nohtml"); to 1458 $ad_code = $row2['ad_code'];

this will re-enable your banners in 7.9 3.2 patched

Changing Line 227 will allow you to add html in the Content pages

$Default_Theme = filter($row["Default_Theme'], "nohtml"); to $Default_Theme = filter($row['Default_Theme']);

Use these fixes with care I am sure there may be security issues with the fixes


Valid HTML 4.01 Transitional CSS_Validator Feed_Validator