![]() |
separate images into a different hosts
HI guys
due to limited bandwidth, I had to to separate content and images into 2 different hosts as much as possible. My first step is to make a separation of smilies, I noticed of table smilie from which I manipulated values of field smiliepath. I inserted several new smilies into the table manually, and using URL http://remote/host/of/images as values for smiliepath, instead of /images/smilies/... Although, things seems to be working when I'm inside the WYSIWYG editor, i.e. the remote-hosted smilies were rendered correctly, they disappeared as long as I hit "submitted" If i used the locally-hosted simlies (those with smiliepath = images/smilies/....), things work out okay. can you please help? PS: I've been looking around the source for specific function that does rendering the smilies with posts/threads with no luck thanks!!! |
My guess is that the smilies have absolute paths added to them (i.e. they prefix the value set as the Forum URL). The probable fix is that you will need to edit the code that handles parsing (class_bbcode.php).
|
thanks!1
i actually had looked at that, but found nothing suspicious. File class_bbcode.php, around line 560 Code:
// we have to get the smilies from the database Then Code:
while ($smilie = $this->registry->db->fetch_array($smilies)) The smilie does show up in text-editor mode, but as long as I submit the post the smilie will be gone. and when I tried to edit that same post, the smilie was not there either. any insight will be great!!! |
All times are GMT. The time now is 11:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|