File: includes/functions_bbcode.php - Line 91 (smilies of "Quick Reply")
- 'URL' => 'http://' . $host . $config['script_path'] . $config['smilies_path'] . '/' . $row['smile_url'],
-
We've also got
functions_post.php
Line 729:
'SMILEY_IMG' => 'http://' . $host . $config['script_path'] . $config['smilies_path'] . '/' . $rowset[$i]['smile_url'],
And if we change it to the "relative" path.
'SMILEY_IMG' => './' . $config['smilies_path'] . '/' . $rowset[$i]['smile_url'],
It should work.
There's also this to deal with:
class_cache_extends.php
function obtain_smileys($from_cache = false)
{
global $db, $config;
if (($smileys = $this->get('_smileys')) === false)
{
$smileys = array();
$smileys_path = create_server_url() . $config['smilies_path'] . '/';
$sql = "SELECT code, smile_url FROM " . SMILIES_TABLE . " ORDER BY smilies_order";
$result = $from_cache ? $db->sql_query($sql, 0, 'smileys_') : $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$smileys[] = array(
'code' => $row['code'],
'replace' => '<img src="' . $smileys_path . $row['smile_url'] . '" alt="" />'
);
}
$db->sql_freeresult($result);
$this->put('_smileys', $smileys);
}
return $smileys;
}
I don't know if there is a global way to change all of this, so MG or informpro would be the ones to help sort this out..
