smilies in phocaguestbook v2.0.1

Phoca Guestbook - creating guestbooks in Joomla! CMS
hkatz
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Oct 2011, 08:57

smilies in phocaguestbook v2.0.1

Post by hkatz »

There seems to be a bug in phocaguestbook v2.0.1 for joomla 1,7. When I insert a smiley-icon into my guestbook, the image-file can not be found. when I look into the HTML-Code of the page, the src-attribute of the smiley-icon has the wrong code src="joomlafolder/../media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-file.gif" instead of src="joomlafolder/media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-file.gif".
Who knows, how to repair this bug?
with kind regards

Herbert
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smilies in phocaguestbook v2.0.1

Post by Jan »

Hi, I see no problem there:
https://www.phoca.cz/joomlademo/phoca-guestbook :idea:

Jan
If you find Phoca extensions useful, please support the project
hkatz
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Oct 2011, 08:57

Re: smilies in phocaguestbook v2.0.1

Post by hkatz »

ich bekomme leider im internet explorer eine anzeige, die auf ein nicht vorhandenes bild verweist und im mozilla wird der alt-Text des emoticons angezeigt. im Quellcode der Seite wird wie gesagt ein falscher pfad zur img-Datei angezeigt. vielleicht liegt es ja nicht am gästebuch, sondern am tiny mce-editor?

lg

herbert
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smilies in phocaguestbook v2.0.1

Post by Jan »

Hmmm, really no idea, maybe some extension change the url (paths) to the images on the site, maybe there is some wrong meta tag about urls, etc. :-( :idea:

Do you get the smileys e.g. if you edit an article in frontend?
If you find Phoca extensions useful, please support the project
therealkickers
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 13 Nov 2011, 19:16

Re: smilies in phocaguestbook v2.0.1

Post by therealkickers »

Same here. Following search results this issue had been reportet a few times, but alas there doesn't seem to be a solution for it yet.
In our case our emoticons are located on [www].mydomain.de/folder/media/...
But the gb assumes the smilies to be located in [www].mydomain.de/media/...
So it misses out the first folder of our domain.

I really love the Phoca and I would like to install it on our new webiste, but if there's no way to correct the path, we can't use it.

Where does the gb get the path from by the way? Is there no way we can edit the path for each smiley manually or anything else?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smilies in phocaguestbook v2.0.1

Post by Jan »

Hi, the path is defined by the tinymce editor - which is a part of Joomla!

Looking here:
https://www.phoca.cz/joomlademo/phoca-guestbook

see all ok, the path is defined by emotions.js which is a part of tinymce :idea: - just see the source of the popup.

Images in the posts:
media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/

the path is defined is stored in database, previously set by tinymce.
If you find Phoca extensions useful, please support the project
odin568
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Dec 2009, 19:27

Re: smilies in phocaguestbook v2.0.1

Post by odin568 »

I have the same problem. Can it be that my Joomla installation is not in the root of the FTP, but in a subdirectory?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smilies in phocaguestbook v2.0.1

Post by Jan »

Hi, not sure, but I think, this should not be a problem, because on Phoca Demo sites, it is not in root of server. :idea:
If you find Phoca extensions useful, please support the project
odin568
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Dec 2009, 19:27

Re: smilies in phocaguestbook v2.0.1

Post by odin568 »

Still have problem in 2.0.2 - you want to take a look at it?
odin568
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Dec 2009, 19:27

Re: smilies in phocaguestbook v2.0.1

Post by odin568 »

The following URL is generated in the Post of the Guestbook for a smily:

/Joomla/../media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif

where Joomla is my subfolder of root.
It would work like this:

/Joomla/media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif
Post Reply