For those that wanted a tool to automatically update your smilie path's, here is a quick and ugly automated script:
Place the attached file in your admincp (or equivalent) folder and load it from the browser...
The first page you see prompts you for the extra path you want to add to the start of every smilie in your database: e.g. /forums/ to be added to the start of every images/smilies/{smilie}.gif, you would enter /forums/.
Then u press Update Smilie Path, and it will do it.
USE THIS AT YOUR OWN RISK - TAKE A DUMP OF YOUR SMILIE TABLE BEFORE USING THIS SCRIPT.
I used it on my site and it worked a charm - if you wanna see the SQL query to run it from your AdminCP, it goes as follows:
[sql]
UPDATE `smilie` SET `smiliepath`= CONCAT('/forums/',`smiliepath`);
[/sql]
If u use the above SQL query, make sure you append your table prefix to the start of the table name, and alter the /forums/ bit to match your site.
HTH
|