yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.5

Do you have an Open Source Product available for Joomla!? Let everyone know here.
kenreid
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 25, 2010 10:18 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by kenreid » Mon Jan 25, 2010 10:33 pm

I am using your plugin with Shoutbox and everything works fine. I have a few pages that are secure for memberships, etc. When yvSmiley is enabled, I get mixed content warnings when loading secure pages.

Is it possible to prevent default.js from loading for particular pages, or a way to force it load securely?

Thanks,

Ken

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley on HTTPS pages

Post by yvolk » Tue Jan 26, 2010 7:05 am

kenreid wrote:I am using your plugin with Shoutbox and everything works fine. I have a few pages that are secure for memberships, etc. When yvSmiley is enabled, I get mixed content warnings when loading secure pages.

Is it possible to prevent default.js from loading for particular pages, or a way to force it load securely?

Thanks,

Ken
Hi Ken,
Let's start from describing and understanding what exactly causes that warnings.
I propose this approach:
1. Open a secure page (HTTPS URL), which is as simple as possible.
2. Copy source code of that page to the new static page (sometest.html) with some close URL.
3. Open the secure page (HTTPS URL) of that static sometest.html.
4. Fix anything to see the same warnings...
5. Ok, now you have static page with all problems, save it for future reference.
6. Fix the page to eliminate warnings, find the best (and simplest solution?)
7. Now you have static page without problems, save it for future reference.
8. Send us the two pages with your comments :-)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kenreid
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 25, 2010 10:18 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by kenreid » Tue Jan 26, 2010 10:28 am

Wow, that's a lot of stuff, and completely unnecessary. I use Firefox with Firebug so I know exactly what causes the warnings. The net panel shows everything that loads with a page and in what order. The problem is below.

http://www.somepage.com/plugins/system/ ... default.js

This loads unsecured and so I get a mixed content warning.

If you don't know the answer, just say "I don't know".

My site will survive without smileys.

Thanks

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by yvolk » Tue Jan 26, 2010 10:45 am

kenreid wrote:Wow, that's a lot of stuff, and completely unnecessary. I use Firefox with Firebug so I know exactly what causes the warnings. The net panel shows everything that loads with a page and in what order. The problem is below.

http://www.somepage.com/plugins/system/ ... default.js

This loads unsecured and so I get a mixed content warning.

If you don't know the answer, just say "I don't know".

My site will survive without smileys.

Thanks
My instructions were NOT aimed to find "causes of the warnings",
they were intended to find solution how to get rid of them (for you and for other users of yvSmiley).
So, it's your choice :pop
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kenreid
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 25, 2010 10:18 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by kenreid » Tue Jan 26, 2010 8:14 pm

yvolk wrote: My instructions were NOT aimed to find "causes of the warnings",
they were intended to find solution how to get rid of them (for you and for other users of yvSmiley).
So, it's your choice :pop
Really? What was this supposed to mean?
yvolk wrote: Let's start from describing and understanding what exactly causes that warnings
Like I said before, I knew exactly what caused the mixed content warning and I shared it with you in explicit detail.

The problem was solved by editing line 379 of yvsmiley.php as follows.

$document->addScript( 'plugins/system/yvsmiley/default.js', 'text/javascript');

I removed $urlBase so that the script loads using a relative path, thus avoiding the mixed content warning.

Alternatively, I could have changed my $live_site URL in configuration.php, but that may have had unintended consequences.

The solution above has been fully tested.

Thanks,

Ken

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley-Smiley (Emoticon) native extension for Joomla! 1.5

Post by yvolk » Tue Jan 26, 2010 11:29 pm

Thanks, Ken for the testing. I didn't know your level of expertize that's why I wrote such long instructions. :)
Unfortunately, your solution with relative paths is only partial and wouldn't work e.g. with SEF URLs.

It looks like more reliable way will be to change all these lines of yvsmiley.php file (in 3 places!):

Code: Select all

$urlBase = $mainframe->isAdmin() ? $mainframe->getSiteURL() : JURI :: base();
to this:

Code: Select all

$urlBase = $this->_getRootAbsPath();
and add this function to the class plgSystemyvsmiley:

Code: Select all

	// Get Absolute path of the Joomla! site root
	function _getRootAbsPath() {
		$urlBase = JURI::root(true);
		if (substr($urlBase, 0, 1) != '/') {
			$urlBase = '/' . $urlBase;
		}
		return $urlBase;
	}
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kenreid
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 25, 2010 10:18 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by kenreid » Tue Jan 26, 2010 11:51 pm

Thank you. I made those changes. I still have a conflict in the back end with another component (CiviCRM). Is there a way to prevent YvSmiley from loading at all in the admin console?

kenreid
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 25, 2010 10:18 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by kenreid » Tue Jan 26, 2010 11:56 pm

Actually, sorry for the trouble. This plugin is causing some other issues that I just noticed in the front end also when I post forms.

I'm going to uninstall it and move on.

Thanks

x5erox
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Feb 14, 2010 11:28 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.

Post by x5erox » Sun Feb 14, 2010 11:40 pm

thanks. I installed the new version and it worked fine. I tried to change it to an aMSN smiley set and I got an error to an non member function or something like that. SO I changed it back to the default and I still got the error. I uninstalled it and reinstalled it and the default smileys worked fine. I guess I can't use the aMSN ones for some reason. But at least I have the default ones working.

Thankx for the update!

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - about aMSN smileys

Post by yvolk » Mon Feb 15, 2010 7:13 am

x5erox wrote:thanks. I installed the new version and it worked fine. I tried to change it to an aMSN smiley set and I got an error to an non member function or something like that. SO I changed it back to the default and I still got the error. I uninstalled it and reinstalled it and the default smileys worked fine. I guess I can't use the aMSN ones for some reason. But at least I have the default ones working.

Thankx for the update!
As I remember, some aMSN smileys xml files have error(s), that prevent them from parsing by Joomla xml parser... so the errors need to be fixed. Please see the post: "2008-02-02 yvSmiley - Problem with aMSN settings file solved" and around it...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

tess63
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Wed Jan 30, 2008 10:46 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by tess63 » Thu Jun 17, 2010 7:59 pm

My smileys have vanished from the AJAX shoutbox following a server move. What is odd is that going to the plugin manager, it says there are no parameters for yvsmilies.
Any suggestions on what might have happened there? I'm using Joomla 1.5.17

OK, I had to delete it from the database and then re-install. Everything now works like a dream.
:D :D :D

User avatar
Busby
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Sat Feb 10, 2007 10:07 pm
Location: Isle of Man
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by Busby » Fri Aug 20, 2010 12:02 am

Hi,

My site was recently brought down by hackers and I had to reinstall everything from backups..

Now, yvSmiley plugin shows in the listing, but when you go to edit the settings, most of them are missing.

I have tried to uninstall it but I get the error: Plugin Uninstall: Manifest File invalid or not found. If I try to install it again I get: Plugin Install: Plugin "yvsmiley" Already Exists!

Can you help please?
http://www.1mix.co.uk 1Mix Radio - its all about the music..
http://www.onemix.co.uk/j4/ Development site

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

How to reinstall yvSmiley on a corrupted site

Post by yvolk » Fri Aug 20, 2010 7:33 am

Busby wrote:My site was recently brought down by hackers and I had to reinstall everything from backups..

Now, yvSmiley plugin shows in the listing, but when you go to edit the settings, most of them are missing.

I have tried to uninstall it but I get the error: Plugin Uninstall: Manifest File invalid or not found. If I try to install it again I get: Plugin Install: Plugin "yvsmiley" Already Exists!
Hi, yvSmiley doesn't have anything specific on this subject. So you may search for advices about any extensions...
I think that in your case in order to uninstall the plugin correctly you have two options:
1) Manually delete information about this plugin from the database (if know how...)
2) Manually copy the plugin's files to your site (namely, it's plugins/system/yvsmiley.xml file). After this you won't get "Manifest File invalid or not found" message. Uninstall the plugin using Joomla! built-in tools.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
Busby
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Sat Feb 10, 2007 10:07 pm
Location: Isle of Man
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by Busby » Fri Aug 20, 2010 10:30 am

Hi Yvolk, thanks for the answer.

Thanks for the quick response. I found some missing files and all is well now.
http://www.1mix.co.uk 1Mix Radio - its all about the music..
http://www.onemix.co.uk/j4/ Development site

foodgy
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Oct 10, 2010 7:03 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by foodgy » Sun Oct 10, 2010 7:09 pm

Hi! Cant force this plugin to enable smileys only for section ID 3. What am i doing wrong?
Joomla 1.5.21
Image

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by yvolk » Mon Oct 11, 2010 6:58 am

Looking at the screenshot, I think you've configured the plugin correctly.
What's wrong/ how it works with these settings, can you give us more info?
foodgy wrote:Hi! Cant force this plugin to enable smileys only for section ID 3. What am i doing wrong?
Joomla 1.5.21
Image
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

kristen404
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Oct 18, 2010 12:05 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by kristen404 » Mon Oct 18, 2010 12:15 am

foodgy; I have had a similar problem myself, just can't remember right now how I solved it, but please do give some more info.
Webmaster - Joomla Novice - http://www.bestenettbutikker.no/

WAN_GHOST
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Dec 12, 2009 8:18 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by WAN_GHOST » Thu Oct 28, 2010 3:09 am

i dun be able to create captca security on this modules...why???...the cactca box it didnt appear..

dmcleman
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 19, 2010 12:54 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by dmcleman » Fri Nov 19, 2010 1:01 am

Thanks for a great extension, Yuri.

I've installed without problem in Joomla! 1.5. Could you please tell me how to display the smilies automatically without the link that users have to click on. My php is very limited and the answer isn't leaping out at me...

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by yvolk » Wed Dec 01, 2010 3:47 pm

dmcleman wrote:Thanks for a great extension, Yuri.

I've installed without problem in Joomla! 1.5. Could you please tell me how to display the smilies automatically without the link that users have to click on. My php is very limited and the answer isn't leaping out at me...
Users don't HAVE to click on Smiley links - They may type the codes of the smileys manually - and this works (Just like for BBCodes...)!
If you want to get rid of the "list of smileys" in yvComment form, you should set the "Use Smiley form buttons" yvComment's option to "No".
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

dmcleman
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 19, 2010 12:54 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by dmcleman » Wed Dec 01, 2010 7:28 pm

Thanks, Yuri, I didn't express myself clearly. I want the smileys to always be displayed - instead of having to click on a button in order to display them.

I've identified the div in the css for the smileys but I still can't get it to be visible all the time. I'm guessing there's a line in the Javascript that I need to change but I'm still struggling to find it...

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by yvolk » Thu Dec 02, 2010 1:00 am

Hi dmcleman,
Now I don't understand: which button are you talking about?
(yvSmiley doesn't have such...)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

dmcleman
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 19, 2010 12:54 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by dmcleman » Sun Dec 05, 2010 11:31 pm

Well… the setup on my page is the same as when I first installed it. There is a link saying 'Smileys', the user clicks on the link and only then does this display the smiley images (which are toggled out of view by again clicking on the 'Smiley' link).

What I was hoping to find was a way to always display the images without the user having to click on a link to see them.

That must make sense? Am I using a different version?

dmcleman
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 19, 2010 12:54 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by dmcleman » Fri Jan 07, 2011 10:31 am

Now, I see... this feature is integrated into the module Ajax Shoutbox

petermatra
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Fri Mar 28, 2008 6:45 pm
Location: New York
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by petermatra » Mon Feb 14, 2011 12:11 am

Is there a way to move the yvSmileys below the comment entry form? Right now it is on top of the form and left aligned. Can I move it below and right align it?

You can see what I mean here

http://nyhostingsolutions.com/Getting-S ... arted.html

Pete
Peter Matra
http://www.petermatra.com
[url]mailto://[email protected][/url]

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by yvolk » Mon Feb 14, 2011 9:18 am

petermatra wrote:Is there a way to move the yvSmileys below the comment entry form? Right now it is on top of the form and left aligned. Can I move it below and right align it?

You can see what I mean here

http://nyhostingsolutions.com/Getting-S ... arted.html

Pete
Hi Pete,
1. first: this is not subject of yvSmiley extention - this has to be done at the level of the component that uses it.
2. If we're talking about yvComment here, you have to customize yvComment's template (lookup "template override" Joomla! feature in the yvComment's forum).
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

sadiq1981
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 13, 2011 3:19 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by sadiq1981 » Wed Apr 13, 2011 3:27 pm

Hey

I have at problem, when the plugin is activated there is '1' on top of every article if you are logged in on the site.

Check for yourself at http://www.elendigebilister.dk username: tester password: tester, press "hjem" to go to the frontpage.

betteryouthanme
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue May 25, 2010 11:05 am

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by betteryouthanme » Sat May 14, 2011 11:47 am

sadiq1981 wrote:Hey

I have at problem, when the plugin is activated there is '1' on top of every article if you are logged in on the site.

Check for yourself at http://www.elendigebilister.dk username: tester password: tester, press "hjem" to go to the frontpage.
Hi there,
got exactly the same problem. I'm using Joomla 1.6.3
I also have that problem using Kunena Discuss plugin. It's discussed here:
http://www.kunena.org/forum/178-kunena- ... ber-thingy

Greetings

User avatar
sounds
Joomla! Explorer
Joomla! Explorer
Posts: 357
Joined: Tue Jun 12, 2007 7:20 am
Location: Republic of Ireland

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by sounds » Thu Jun 09, 2011 9:32 am

Hi i installed YVSmiley 2.00.001 on Joomla 1.6.3
Everything works cept when i add the yvsmiley.
I see text instead of the smileys, using default set.

Also i see these messages when debug option is enablem in yvsmiler plugin prems.

Smiley set file="/home/hyt/public_html/home/plugins/system/yvsmiley//phpbb/smileyset.csv"; instanceId=2133

&

Smiley set file="/home/hyt/public_html/home/plugins/system/yvsmiley//phpbb/smileyset.csv"; instanceId=5302

EDIT

Actually it is showing one debug messege now:

Smiley set file="/home/hyt/public_html/home/plugins/system/yvsmiley//phpbb/smileyset.csv"; instanceId=8034

The number on the end keeps changing on the above urls when i goto different pages on the site in admin.
Big party when I reach 10,000 posts.

Thank you :pop:

toomster
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue May 19, 2009 12:42 pm

Re: yvSmiley - Smiley (Emoticon) native extension for Joomla

Post by toomster » Thu Sep 01, 2011 9:57 pm

sadiq1981 wrote:Hey

I have at problem, when the plugin is activated there is '1' on top of every article if you are logged in on the site.

Check for yourself at http://www.elendigebilister.dk username: tester password: tester, press "hjem" to go to the frontpage.
Hi
i am using J1.7 with that plugin. everything works but the error with the leading 1 in every article comes up here too and it doesnt matter if i am logged in or not.
Is there already a solution?


Locked

Return to “Open Source Products for Joomla!”