Wrong folder
Hello, the links to the smileys are wrong, when you have the forum in a subfolder.
Esp. I have my Vanilla in http://www.domain.com/forum and it wants to display the smileys from here: http://www.domain.com/plugins/Emoticons/images/smile.gif not from http://www.domain.com/forum/plugins/Emoticons/images/smile.gif ...
Where do I have to change, to use the subfolder???
Esp. I have my Vanilla in http://www.domain.com/forum and it wants to display the smileys from here: http://www.domain.com/plugins/Emoticons/images/smile.gif not from http://www.domain.com/forum/plugins/Emoticons/images/smile.gif ...
Where do I have to change, to use the subfolder???
0
Comments
Strange, schouldn't be a problem. But try to open the file ~/Emoticons/default.php on look for line 227. There is an [img]-Tag with adressation.
Try to put your direct URL inside as a workyaround.
// return '
this:
// return '
???
Gdn::Config('Garden.WebRoot')
which doesn't seem to be available per default install.Adding the following line to your /conf/config.php might help:
$Configuration['Garden']['WebRoot'] = 'forums/';
(assuming "forums" is the (sub-)directory your vanilla is installed in)
$ImgPath = $this->GetWebResource('images/'.$Img);
Vanilla Forums COO [GitHub, Twitter, About.me]
I fixed the Plugin by following the standards as described by @Tim. Either I missed that when making the initial release, or this feature has not been there then ;-)
Anyway, it works now with the latest release of Vanilla (2.0.16) - probably even some older releases...:
http://vanillaforums.org/addon/emoticons-plugin-1.3