https://www.icyphoenix.com/viewtopic.php?f=35&t=1887&p=13870#p13870
-----------------------------------
ialvarez
Fri 11 May, 2007 17:48

Re: Emoticons & Domain Problem
-----------------------------------
I solved this by chaging code in [b]function_post.php and bbcode.php[/b]
Point is: why IP is resolving $_SERVER['HTTP_HOST'] as 150.150.1.75:8090 instead of www.miviajeaeuropa.com.ar?
Can I write anywhere in IP [color=#0026ff]$_SERVER['HTTP_HOST']='www.miviajeaeuropa.com'[/color] somewhere???
I know that $_SERVER['HTTP_HOST'] is a PHP variable but what Can I do? I dont know if I have other problems when getting something from MySQL like emoticons... or Albums pics, my page get blank when trying uploading a pic for example. 
What I mean, this solved emoticons loading in post but i had to modify bbcode.php too, because it wasn't saving it correctly in the post, it was saving as 150.150....
Here function_post.php, the bbcode was modify as [color=#ff0019]CRISTINA[/color] told me to do. Thank CRISTINA!

[code linenumbers=false]				$parsing_template = array(
					'SMILEY_CODE' => $rowset[$i]['code'],
					//'SMILEY_IMG' => 'http://' . $_SERVER['HTTP_HOST'] . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $rowset[$i]['smile_url'],
					'SMILEY_IMG' => 'http://www.miviajeaeuropa.com.ar' . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $rowset[$i]['smile_url'],
					'SMILEY_DESC' => $rowset[$i]['emoticon'][/code]


