yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.5
-
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Jan 25, 2010 10:18 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
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
Is it possible to prevent default.js from loading for particular pages, or a way to force it load securely?
Thanks,
Ken
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley on HTTPS pages
Hi Ken,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
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
-
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Jan 25, 2010 10:18 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
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
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
- yvolk
- 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.
My instructions were NOT aimed to find "causes of the warnings",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
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
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html
-
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Jan 25, 2010 10:18 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
Really? What was this supposed to mean?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
Like I said before, I knew exactly what caused the mixed content warning and I shared it with you in explicit detail.yvolk wrote: Let's start from describing and understanding what exactly causes that warnings
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
- yvolk
- 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
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!):
to this:
and add this function to the class plgSystemyvsmiley:
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();
Code: Select all
$urlBase = $this->_getRootAbsPath();
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
-
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Jan 25, 2010 10:18 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
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?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Jan 25, 2010 10:18 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
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
I'm going to uninstall it and move on.
Thanks
-
- Joomla! Apprentice
- Posts: 13
- Joined: Sun Feb 14, 2010 11:28 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla! 1.
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!
Thankx for the update!
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley - about aMSN smileys
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...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!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html
-
- Joomla! Apprentice
- Posts: 31
- Joined: Wed Jan 30, 2008 10:46 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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.
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.
- Busby
- 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
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?
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
http://www.onemix.co.uk/j4/ Development site
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
How to reinstall yvSmiley on a corrupted site
Hi, yvSmiley doesn't have anything specific on this subject. So you may search for advices about any extensions...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!
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
- Busby
- 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
Hi Yvolk, thanks for the answer.
Thanks for the quick response. I found some missing files and all is well now.
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
http://www.onemix.co.uk/j4/ Development site
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Oct 10, 2010 7:03 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Hi! Cant force this plugin to enable smileys only for section ID 3. What am i doing wrong?
Joomla 1.5.21
Joomla 1.5.21
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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?
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
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Oct 18, 2010 12:05 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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/
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sat Dec 12, 2009 8:18 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
i dun be able to create captca security on this modules...why???...the cactca box it didnt appear..
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Nov 19, 2010 12:54 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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...
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...
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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...)!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...
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Nov 19, 2010 12:54 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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...
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...
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Hi dmcleman,
Now I don't understand: which button are you talking about?
(yvSmiley doesn't have such...)
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Nov 19, 2010 12:54 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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?
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?
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Nov 19, 2010 12:54 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Now, I see... this feature is integrated into the module Ajax Shoutbox
-
- Joomla! Intern
- Posts: 91
- Joined: Fri Mar 28, 2008 6:45 pm
- Location: New York
- Contact:
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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
You can see what I mean here
http://nyhostingsolutions.com/Getting-S ... arted.html
Pete
- yvolk
- Joomla! Guru
- Posts: 979
- Joined: Thu Jun 01, 2006 1:52 pm
- Location: Moscow, Russia
- Contact:
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Hi Pete,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
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
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Apr 13, 2011 3:19 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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.
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue May 25, 2010 11:05 am
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Hi there,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.
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
- sounds
- Joomla! Explorer
- Posts: 357
- Joined: Tue Jun 12, 2007 7:20 am
- Location: Republic of Ireland
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
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.
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 :
Thank you :
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue May 19, 2009 12:42 pm
Re: yvSmiley - Smiley (Emoticon) native extension for Joomla
Hisadiq1981 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.
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?