Docked Smiley Panel (v1.8b)

Questions about Thema's mods, & plugins will be answered here

Moderator: Thema

Docked Smiley Panel (v1.8b)

Postby Thema » Sun Feb 12, 2006 5:44 am

Take a look at the beta version of my docked Smiley panel.

So far it has been tested to work with:
Opera
Mozilla
Mozilla Firefox
Konqueror
IE6 & Sun Java
IE6 & the latest MS JVM
I cant help you if your users are too lazy to change what came with their machines, so don't even bother telling me about their old broken MS JVM that doesn't work. Sorry!

Tested to fail:
Epiphany. This could probably be fixed by configuring the browser though.

The Smileys will take a while to download, and like the Smileys popup the plugin uses a separate thread to do this.
What this means is that you won't see the smileys till they're all downloaded. This does not affect your ability to chat meanwhile.

Remember that more & larger smileys means longer download times for your SmileyPanel.

Please, I'll need some feedback from you people if you want me to fix anything for you.

See the working example at ADnD.com DSmileys preview

Go find it in downloads:-

8)
Last edited by Thema on Tue Mar 13, 2007 8:01 pm, edited 2 times in total.
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Comments

Postby jesusarmy » Sat Feb 18, 2006 1:53 pm

Looks good -- what I'd really like this to do is to be able to recognise several smilies for the same picture.

For example, :) and :-) should both display as the same smiley (to allow for users typing in different versions) but only one should come up on the panel.

Afrob does it well in his login mod, but that depends on JavaScript.
John C Campbell
jesusarmy
 
Posts: 14
Joined: Tue Feb 07, 2006 4:14 pm

Postby Thema » Sat Feb 18, 2006 9:23 pm

There's no reason why you can't have many different lines using the same smiley. Otherwise why not have a slightly different smiley for each slightly different text smiley?

I don't think I'm likely to attempt to make it so that the line will accept several text tokens for each smiley because that would require rewriting the applet, and all I'm writing here is a plugin.

However I am working very hard on a bugfix version that will hopefully have other enhancements.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Postby Thema » Mon Feb 20, 2006 7:13 pm

Updated with a bugfix version.
Applet should reload properly now.
The entire plugin is now loaded in it's own thread so it doesn't appear till all the smileys are downloaded.
The plugin will unload and reload properly using the
/load adnd.DSmileys & /unload adnd.DSmileys commands.

Another known bug:
Doesn't work with my PBtn GUI for some reason. No doubt fixing that bug will fix other bugs at the same time.

Same place as before for the preview.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Many-to-one mapping of smileys

Postby jesusarmy » Wed Feb 22, 2006 4:38 pm

Having thought about it, I think the plug-in could achieve what I wanted, if you included an optional parameter such as:

Code: Select all
<param name="dsmileys:maxsmileys" value="7">


with the smileys section in the normal parameter list being re-ordered to contain the unique smileys first, followed by the duplicates:

Code: Select all
<param name="style:bitmapsmileys" value="true" />
<param name="style:smiley1" value=":) img/sourire.gif" />
<param name="style:smiley2" value=":D img/content.gif" />
<param name="style:smiley3" value=":O img/OH-2.gif" />
<param name="style:smiley4" value=":P img/langue.gif" />
<param name="style:smiley5" value=";) img/clin-oeuil.gif" />
<param name="style:smiley6" value=":| img/OH-3.gif" />
<param name="style:smiley7" value=":( img/triste.gif" />

<param name="style:smiley8" value=":-) img/sourire.gif" />
<param name="style:smiley9" value=":-D img/content.gif" />
<param name="style:smiley10" value=":-O img/OH-2.gif" />
<param name="style:smiley11" value=":o img/OH-2.gif" />
<param name="style:smiley12" value=":-o img/OH-2.gif" />
<param name="style:smiley13" value=":-P img/langue.gif" />
<param name="style:smiley14" value=":p img/langue.gif" />
<param name="style:smiley15" value=":-p img/langue.gif" />
<param name="style:smiley16" value=";-) img/clin-oeuil.gif" />
<param name="style:smiley17" value=":-| img/OH-3.gif" />
<param name="style:smiley18" value=":I img/OH-3.gif" />
<param name="style:smiley19" value=":-I img/OH-3.gif" />
<param name="style:smiley20" value=":-( img/triste.gif" />


The smileys continue to be converted to bitmaps by the applet as before.

If the parameter maxsmileys is not specified, all the smilies included in the normal parameter list for the applet are displayed by the plugin. If it is, only the first 7, or whatever, appear.

That way I could have :) and :-) both producing the same smiley but the image being displayed only once.

I need hardly say that this is only a concept, and is not coded!
John C Campbell
jesusarmy
 
Posts: 14
Joined: Tue Feb 07, 2006 4:14 pm

Postby Thema » Sun Feb 26, 2006 12:05 pm

I have found a way to achieve what you originally asked for.
You can now have as many lines as you like with the same image, but the plugin only uses the first one it comes across.

I don't know why I couldn't think of that before. Sometimes I guess I'm just dumb :P

Go look in downloads...

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

And another thing or two...

Postby jesusarmy » Mon Feb 27, 2006 11:30 am

1. The version I downloaded didn't do that -- it showed all the smileys :(

It's currently at http://www.jesus.org.uk/chat/index2.php

2. Also it nibbles a small bit off the right of the nick window's scroll bar and track

3. And it would be nice if it returned focus to the text entry bar after clicking on the smiley.
John C Campbell
jesusarmy
 
Posts: 14
Joined: Tue Feb 07, 2006 4:14 pm

Postby Thema » Mon Feb 27, 2006 1:02 pm

The version you have is the 1.2alpha
You should upload the 1.8beta. :¬)

You can see the version number in the Java console. As the plugin loads it announces itself there.

Meanwhile I'll double check that I have uploaded the correct files.

8)
Last edited by Thema on Mon Feb 27, 2006 1:28 pm, edited 1 time in total.
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

My fault...

Postby jesusarmy » Mon Feb 27, 2006 1:12 pm

Don't know why, but I downloaded the previous version. I think it was our system which has a nasty cache.
John C Campbell
jesusarmy
 
Posts: 14
Joined: Tue Feb 07, 2006 4:14 pm

Postby Jean__ » Wed May 16, 2007 8:45 am

Hi Thema
I'm using your smileys plugin, latest version I think, 2.0, thank you.
Any chance there will be an update which lets one set the height other than 20%?

Keep up the good work.
Greetings from Groningen, Netherlands.
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Thema » Thu May 17, 2007 1:45 am

Hi Jean,

I thought that I had allowed the hieght to be set in parameters.
Let me have some time to look into it and if I didn't I will try to improve it for you. Meanwhile check the readme in case you missed something.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Postby Jean__ » Thu May 17, 2007 7:24 am

This is from dsmileys-readme.txt

Thema's Dsmileys plugin v2.0
...
The Smiley panel will automatically set itself up with scrollbars,
and will size itself to 20% of the applet's height.
I will be adding parameters to alter this later.

Frankly me thinks it's strange you hadn't had this request earlier because the plugin has functionality most people want in a webchat.

Btw I'm using your style.ini's too, nice stuff.

Greets
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Thema » Thu May 17, 2007 2:11 pm

Ah yes. I remember.
Development kinda stalled due to lack of feedback really.

I think that I had a lot of trouble setting sizes using parameters because the panel had a will of it's own in that regard.
I will look into it this weekend, if not sooner, and see if I can do it for you.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Postby Jean__ » Thu May 17, 2007 2:29 pm

I haven't looked at java yet but I bet it's hard to do layout things, especially in an already existing applet.

We are very pleased with the applet and all, it allows me to run a irc server which is far more efficient on my old 500 mhz server, while people who don't have mirc can still come chat too.
Thanks, to you and to Plouf and I will be looking here again.
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Jean__ » Mon Oct 22, 2007 8:28 am

Hi Thema,

I wrote you a pm, but I guess I better repost here too.

While ago I asked you about configuring the height of the smileys panel, peope would like to have it occupy a bit less space. You said you would look into it. I would be obliged if you could write a param for that height.

Thanks, Jean
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Thema » Tue Oct 23, 2007 8:16 pm

Yeah sorry about that. I have so much to do that even finding five minutes can be hard. I haven't forgotten, and I will try as soon as I find a little time.
Usually what happens is I suddenly find myself awake with nothing to do when I least expect it. That's when I usually start writing/updating plugins.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Postby Jean__ » Wed Oct 24, 2007 8:14 am

Well then I hope you will find yourself awake with nothing to do some time soon Thema. :)

Gimme that param please. :)

Keep it up!

Jean.
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Thema » Thu Oct 25, 2007 10:15 pm

I've been working on it so keep your fingers crossed.

8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Postby Jean__ » Fri Oct 26, 2007 3:11 pm

Sure I will! :)
Thanks!
Jean__
 
Posts: 7
Joined: Wed May 16, 2007 8:41 am

Postby Thema » Fri Oct 26, 2007 6:33 pm

It's uploaded. Try it and let me know...


8)
Go on.
Tell me I'm not nice again.
See what it gets you!
*******************************
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
*******************************
Thema
 
Posts: 2881
Joined: Sat Oct 18, 2003 5:34 pm

Next

Return to Thema's Mods etc.

Who is online

Users browsing this forum: No registered users and 1 guest

cron