Saturday, 16 February 2013

How to remove SMFads footer for SMF forum


If you install smfads mod for your SMF forum you might see the following footer

SMFAds for Free Forums

If you want to remove this follow this procedure

You need to remove the following code from sources/QueryString.php

// SMF ADS
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);

// End SMF ADS

No comments:

Post a Comment