2010-12-21, 06:39 AM
Hi forum,
Because of some threads I've read here, other communities and some friends regarding adding the additional code to the functions.php file everytime the forum is upgraded for the Google-SEO plugin by frostschutz, I've decided to write this small script to do the work.
Teorically, this script would work with MyBB 1.4.x and 1.6.x, however I just tested it in 1.6.0, 1.6.1 and 1.4.14.
Also, it will create a copy of the original file under the name functions.php.bkp... but still I recommend doing your own backup copy.
Instructions:
Another note: This script will only work the functions.php file... it won't modify the .htaccess file.
Hope this comes in handy.
UPDATE: There was a bug in the method for writing the new file. Please re-download. Thanks.
Because of some threads I've read here, other communities and some friends regarding adding the additional code to the functions.php file everytime the forum is upgraded for the Google-SEO plugin by frostschutz, I've decided to write this small script to do the work.
Teorically, this script would work with MyBB 1.4.x and 1.6.x, however I just tested it in 1.6.0, 1.6.1 and 1.4.14.
Also, it will create a copy of the original file under the name functions.php.bkp... but still I recommend doing your own backup copy.
Instructions:
- Upload the script install_seo.php to the same directory where functions.php is located at.
- Navigate through your browser to install_seo.php.
- Delete the file as soon as the modification finishes.
Another note: This script will only work the functions.php file... it won't modify the .htaccess file.
Hope this comes in handy.
UPDATE: There was a bug in the method for writing the new file. Please re-download. Thanks.