Ok, just released a new version and now it also shows you the images.
To upgrade, replace this:
PHP Code:
global $DB_site;
$replacementsetid = 1; ### Change me to use a different replacement set!
$vars = $DB_site->query("
SELECT findword,replaceword FROM replacement
WHERE replacementsetid IN(-1,'$replacementsetid')
ORDER BY replacementsetid DESC,replacementid DESC
");
while ($var=$DB_site->fetch_array($vars)) {
if ($var['findword']!="") {
$varinf .= 'inf = replace(inf,"'.addslashes($var['findword']).'","'.addslashes($var['replaceword']).'");
With this:
PHP Code:
global $DB_site, $bburl;
$replacementsetid = 1; ### Change me to use a different replacement set!
$vars = $DB_site->query("
SELECT findword,replaceword FROM replacement
WHERE replacementsetid IN(-1,'$replacementsetid')
ORDER BY replacementsetid DESC,replacementid DESC
");
while ($var=$DB_site->fetch_array($vars)) {
if ($var['findword']!="") {
if ($var['findword'] == '{images[i][/i]folder}'
or $var['findword'] == '{titl[i][/i]eimage}'
or $var['findword'] == '{newthr[i][/i]eadimage}'
or $var['findword'] == '{closed[i][/i]threadimage}') {
$var['replaceword'] = $bburl . '/' . $var['replaceword'];
}
$varinf .= 'inf = replace(inf,"'.addslashes($var['findword']).'","'.addslashes($var['replaceword']).'");