Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on October 07, 2008, 07:31:41 PM

Title: New Style Message Icon
Post by: M-DVD on October 07, 2008, 07:31:41 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1447)

MOD New Style Message Icon v1.1
=======================






  • Autor:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
  • Last Version:
1.1
  • Release:
07th October 2008
  • Languages:
Nothing ~ All
  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 Beta 3 & 4 & RC1

(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif) (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=1447)
Comment this Mod (http://www.simplemachines.org/community/index.php?action=post;topic=266723.0)
(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png) (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
My MODs (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)


With this Mod can change the style in which are displayed the "Message Icons".

==========================

Con este Mod puedes cambiar el estilo en que son mostrados los "Iconos de Mensajes".

Gracias a tavmarin (http://www.simplemachines.org/community/index.php?action=profile;u=166532) por la idea.

Fin.
Title: Re: New Style Message Icon
Post by: Sabre™ on October 08, 2008, 03:13:22 AM
I like this very much!  :D

ThankYou buddy, and keep up the good work  :)
Title: Re: New Style Message Icon
Post by: Marcus Forsberg on October 08, 2008, 03:19:48 AM
Nice one. I've seen some requests for a mod like this :)
Title: Re: New Style Message Icon
Post by: D.S on October 08, 2008, 06:54:45 AM
awesome mod ,thank u dude for effort ...
Title: Re: New Style Message Icon
Post by: edi67 on October 08, 2008, 08:52:27 AM
nice one
Title: Re: New Style Message Icon
Post by: shadow82x on October 08, 2008, 03:04:52 PM
Very nice :D
Title: Re: New Style Message Icon
Post by: M-DVD on November 10, 2008, 10:27:09 PM
Quote from: Sabre™ on October 08, 2008, 03:13:22 AM
I like this very much!  :D

ThankYou buddy, and keep up the good work  :)

Quote from: Nascar on October 08, 2008, 03:19:48 AM
Nice one. I've seen some requests for a mod like this :)

Quote from: D.S on October 08, 2008, 06:54:45 AM
awesome mod ,thank u dude for effort ...

Quote from: edi67 on October 08, 2008, 08:52:27 AM
nice one

Quote from: ShaDow82x on October 08, 2008, 03:04:52 PM
Very nice :D

Thanks for yours comments :D
Title: Re: New Style Message Icon
Post by: Bancherd on November 11, 2008, 10:23:31 AM
Nice mod!  Installed on my test site, and will be used on my live site later.  :D
Title: Re: New Style Message Icon
Post by: klra on November 13, 2008, 11:09:55 AM
works great - thanks!

Now if we can just get some better smileys for message icons....
Title: Re: New Style Message Icon
Post by: M-DVD on November 19, 2008, 09:38:39 AM
Quote from: klra on November 13, 2008, 11:09:55 AM
works great - thanks!

Now if we can just get some better smileys for message icons....

Thanks  :D

Quote from: klra on November 13, 2008, 11:09:55 AM
works great - thanks!

Now if we can just get some better smileys for message icons....

There are many websites where to get better smileys. mmm eg Here (http://www.famfamfam.com/lab/icons/silk/)  ;)
Title: Re: New Style Message Icon
Post by: Antechinus on November 19, 2008, 04:02:54 PM
Nice mod. Looks much better, and it's easier to use. Should be made a feature of SMF by default.
Title: Re: New Style Message Icon
Post by: pooya on November 19, 2008, 04:22:48 PM
Good mod.
Title: Re: New Style Message Icon
Post by: Sabre™ on November 19, 2008, 04:54:21 PM
Still enjoying this mod, just installed on another site.
This is how all my post templates will be set now.

Thank You :)

@ klra
You can add more icons via   Smileys and Message Icons >> Settings
Select  Enable customized message icons:   then click on  Edit Message Icons.
You can add or remove new icons there.
I use smilies etc as I have over 700 on an external hard lol   Yeah..  I like smilies lol

Hope that helped if you didnt know :)

regards
Title: Re: New Style Message Icon
Post by: ivo2296 on November 20, 2008, 03:11:35 PM
Thanks for this mod :)
Title: Re: New Style Message Icon
Post by: klra on November 20, 2008, 08:37:15 PM
I installed this mod and it worked great.

But then I updated to 1.1.7 and it only displays the standard icon like this -

(http://img151.imageshack.us/img151/4733/newmssgicontb0.jpg) (http://imageshack.us)

I unistalled the mod, then reinstalled it and it remains as it is above.

Any suggestions?
Title: Re: New Style Message Icon
Post by: M-DVD on November 28, 2008, 06:47:06 PM
MOD New Style Message Icon v1.1
=======================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?



Style 1.1aStyle 1.1b


(http://www.simplemachines.org/community/index.php?action=dlattach;topic=266723.0;attach=77759;image)
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=266723.0;attach=77759;image)


(http://www.simplemachines.org/community/index.php?action=dlattach;topic=266723.0;attach=77761;image)
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=266723.0;attach=77761;image)
Title: Re: New Style Message Icon
Post by: M-DVD on November 28, 2008, 07:02:17 PM
Quote from: antechinus on November 19, 2008, 04:02:54 PM
Nice mod. Looks much better, and it's easier to use. Should be made a feature of SMF by default.

Quote from: pooya on November 19, 2008, 04:22:48 PM
Good mod.

Quote from: ivo2296 on November 20, 2008, 03:11:35 PM
Thanks for this mod :)

Thanks for yours comments  :D

Quote from: klra on November 20, 2008, 08:37:15 PM
I installed this mod and it worked great.

But then I updated to 1.1.7 and it only displays the standard icon like this -

(http://img151.imageshack.us/img151/4733/newmssgicontb0.jpg) (http://imageshack.us)

I unistalled the mod, then reinstalled it and it remains as it is above.

Any suggestions?

1 .- When you uninstall the MOD, is it looks good? Are all?

2 .- Try one of the newer versions.

3 .- Attachment the Post.template.php, might help.
Title: Re: New Style Message Icon
Post by: klra on November 28, 2008, 10:49:30 PM
I uninstalled the mod and reinstalled 1.1b and it still is displaying only one message icon.

attached is my Post.template.php file.

Thanks -

Title: Re: New Style Message Icon
Post by: M-DVD on November 28, 2008, 11:37:31 PM
1.- When you uninstall the MOD, is it looks good? Are all?

2.- The problem is not caused by the MOD (the MOD work fine in 1.1.X and SMF 2 b3&4.)

3.- Post.template.php checked and is correct, I not found problem there, sorry.

Title: Re: New Style Message Icon
Post by: klra on November 28, 2008, 11:57:31 PM
No, it's still showing only one message icon as displayed in the image above.

Not sure what to do -
Title: Re: New Style Message Icon
Post by: Sudhakar Arjunan on November 29, 2008, 04:52:31 AM
Thank you for this good mod M-DVD,

I got my post page looks good using your mod.
Title: Re: New Style Message Icon
Post by: Sabre™ on November 29, 2008, 03:22:28 PM
@ klra

Have you tried checking  Smileys and Message Icons >> Settings
Select  Enable customized message icons:   then click on  Edit Message Icons  and see if they are all there?
Title: Re: New Style Message Icon
Post by: klra on November 29, 2008, 03:45:12 PM
Quote from: Sabre™ on November 29, 2008, 03:22:28 PM
@ klra

Have you tried checking  Smileys and Message Icons >> Settings
Select  Enable customized message icons:   then click on  Edit Message Icons  and see if they are all there?

I just checked- good catch!

I unchecked "use custom message icons" and my message icon list reappeared.

Sorry for the mix up & thanks!
Title: Re: New Style Message Icon
Post by: Sabre™ on November 29, 2008, 03:46:29 PM
Glad youve sorted it out.

Enjoy :)
Title: Re: New Style Message Icon
Post by: Adish - (F.L.A.M.E.R) on December 03, 2008, 03:24:16 PM
Firstly, your mod seemed very useful for me.

Secondly, i see the drop down bar in my classic theme instead of that getting disappeared, but i do see the message icons affected by this mod.

So what shall be the solution to get rid of the drop down in there ?
Title: Re: New Style Message Icon
Post by: M-DVD on December 04, 2008, 09:10:36 PM
Quote from: A.SK on November 29, 2008, 04:52:31 AM
Thank you for this good mod M-DVD,

I got my post page looks good using your mod.

Thank you for use this MOD  :D

Quote from: Sabre™ on November 29, 2008, 03:46:29 PM
Glad youve sorted it out.

Enjoy :)

Thank for help XD

Quote from: F.L.A.M.E.R on December 03, 2008, 03:24:16 PM
Firstly, your mod seemed very useful for me.

Secondly, i see the drop down bar in my classic theme instead of that getting disappeared, but i do see the message icons affected by this mod.

So what shall be the solution to get rid of the drop down in there ?


1.- Thanks you :D

2.- Is it replaces the "old style" by the "new style"?
Does it replaces, but then the icon that you choose isn't set in the post?
Title: Re: New Style Message Icon
Post by: Adish - (F.L.A.M.E.R) on December 04, 2008, 09:14:21 PM
It does everything properly, its only that the old style drop down is still there, but no message icons shown in the drop down. (i dont want the drop down as i have the new style :))

Its like an empty form but nothing in drop down.
Title: Re: New Style Message Icon
Post by: M-DVD on December 04, 2008, 09:36:26 PM
Ok, now i understand.

If you like, attach your post.template
Title: Re: New Style Message Icon
Post by: Adish - (F.L.A.M.E.R) on December 04, 2008, 10:21:27 PM
the classic theme has its own post.template.php so i have attached that :)
Title: Re: New Style Message Icon
Post by: M-DVD on December 06, 2008, 10:42:13 AM
Quote from: F.L.A.M.E.R on December 04, 2008, 10:21:27 PM
the classic theme has its own post.template.php so i have attached that :)

Done

Like this?

Question: did installation manual, right? :P
Title: Re: New Style Message Icon
Post by: Adish - (F.L.A.M.E.R) on December 06, 2008, 10:44:09 AM
yep its good. Thank you !
Title: Re: New Style Message Icon
Post by: Kimmie on February 16, 2009, 02:15:40 PM
which version (of the mod) is for which version of SMF? Could you pleae update the mod page and show your change log so that we know which is which?

THanks :)
Title: Re: New Style Message Icon
Post by: M-DVD on February 17, 2009, 04:47:21 PM
Quote from: Kimmie on February 16, 2009, 02:15:40 PM
which version (of the mod) is for which version of SMF? Could you pleae update the mod page and show your change log so that we know which is which?

THanks :)

Yes, the changelog you can see in this post:

http://www.simplemachines.org/community/index.php?topic=266723.msg1819423#msg1819423

And, in this post you can see which version of SMF is compatible

http://www.simplemachines.org/community/index.php?topic=266723.msg1741557#msg1741557

Ie, since the first version (MOD), it works for all the versions (SMF) :)
Title: Re: New Style Message Icon
Post by: MaryLouW on February 18, 2009, 09:07:01 AM
I tried to install this one but I get an error message.  Can you help?  I would really like to have this one.  This is the message I get:

Title: Re: New Style Message Icon
Post by: M-DVD on February 18, 2009, 10:04:59 PM
Sure, no problem.

What version (SMF and MOD) are you using?

And if you want, you can attach this file to make the change.  :)
Title: Re: New Style Message Icon
Post by: MaryLouW on February 18, 2009, 10:28:34 PM
Thanks!!  I am using SMF 1.1.8 and the file I attempted to install is NewStyleMessageIcon_v1_1b.zip  and I will attach the Post.template.php file.   hope this works because I really do like the way this mod looks.
Title: Re: New Style Message Icon
Post by: fords8 on February 18, 2009, 10:30:48 PM
Mod installed great M-DVD! But where can I change the color of *Message icon:* in the post view? The color of the text is to dark for my theme. I have the B ver. of the mod installed. Thanks!
Title: Re: New Style Message Icon
Post by: M-DVD on February 18, 2009, 10:43:41 PM
Quote from: MaryLouW on February 18, 2009, 10:28:34 PM
Thanks!!  I am using SMF 1.1.8 and the file I attempted to install is NewStyleMessageIcon_v1_1b.zip  and I will attach the Post.template.php file.   hope this works because I really do like the way this mod looks.

Ok, save the file you have now (in case you need to Uninstall the MOD).

Try using this file, and tell me how worked.  :)

Quote from: fords8 on February 18, 2009, 10:30:48 PM
Mod installed great M-DVD! But where can I change the color of *Message icon:* in the post view? The color of the text is to dark for my theme. I have the B ver. of the mod installed. Thanks!

No problem.

Edit the file style.css in your theme, and add at the end. (example)

#newstyleMI { color: white }

And do a hard refresh. Tell me how worked.  :)
Title: Re: New Style Message Icon
Post by: fords8 on February 18, 2009, 10:52:02 PM
#newstyleMI { color: white }

No change with that. I even changed the white to #FFFFFF. Still a no go!
Title: Re: New Style Message Icon
Post by: MaryLouW on February 18, 2009, 10:56:40 PM
Thank you!!!!  It works perfectly!!  All those cute little icons are right across the top with a thin black box around them!!  I really appreciate the help... and thank you again!!!!


I did not install the mod... I just uploaded the new file - why did it work without me installing it?  Did you just change the file?  I did have to remove the line from the style file because it made the text white and not visible on my board.  Actually, I just change the color to black.
Title: Re: New Style Message Icon
Post by: M-DVD on February 20, 2009, 08:30:59 PM
Quote from: fords8 on February 18, 2009, 10:52:02 PM
#newstyleMI { color: white }

No change with that. I even changed the white to #FFFFFF. Still a no go!

after this change you deleted temporary files internet? (or Hard refresh)

Quote from: MaryLouW on February 18, 2009, 10:56:40 PM
Thank you!!!!  It works perfectly!!  All those cute little icons are right across the top with a thin black box around them!!  I really appreciate the help... and thank you again!!!!

Thanks, I am glad it works for you. :)

Quote from: MaryLouW on February 18, 2009, 10:56:40 PM
I did not install the mod... I just uploaded the new file - why did it work without me installing it?  Did you just change the file?  I did have to remove the line from the style file because it made the text white and not visible on my board.  Actually, I just change the color to black.

The MOD works because I made the installation manual in the file.

If you want, you can install the mod (will show error in that file, but not problem, the installation will not modify that file, and already has been changed).

Also, you can put the color that is right in your theme.
Title: Re: New Style Message Icon
Post by: MaryLouW on February 20, 2009, 08:36:12 PM
Thanks!  Will just leave it as it is... if it's working, that's cool.  I don't like messing with the files. Thanks again, it's a nice mod!!  Now I need to find some better icons!
Title: Re: New Style Message Icon
Post by: M-DVD on February 28, 2009, 12:35:12 AM
You can found many  icons in this web (http://www.famfamfam.com/lab/icons/silk/) (for example).

There are many websites, but now i don't remember  :)
Title: Re: New Style Message Icon
Post by: MaryLouW on February 28, 2009, 12:36:41 AM
Thanks!!  I'll check them out.  I already found some I like but am always ready for more!!
Title: Re: New Style Message Icon
Post by: MaryLouW on March 08, 2009, 06:46:38 PM
Would it be possible to make the row of icons "hidden" when replying to posts?  It's not useable at that time anyway.  Just have them when someone starts a new message?  Am I asking for too much..  by that, I mean, is it possible?
Title: Re: New Style Message Icon
Post by: M-DVD on March 12, 2009, 08:50:51 PM
Quote from: fords8 on February 18, 2009, 10:52:02 PM
#newstyleMI { color: white }

No change with that. I even changed the white to #FFFFFF. Still a no go!

Ok, sorry.

Is:

#newstyleMI legend { color: white }

Quote from: MaryLouW on March 08, 2009, 06:46:38 PM
Would it be possible to make the row of icons "hidden" when replying to posts?  It's not useable at that time anyway.  Just have them when someone starts a new message?  Am I asking for too much..  by that, I mean, is it possible?

Save the file you have now (in case you need to Uninstall the MOD).

Try using this file, and tell me how worked.
Title: Re: New Style Message Icon
Post by: MaryLouW on March 12, 2009, 09:06:57 PM
Well, it wouldn't do me any good to save my current file because I can't uninstall that mod even if I wanted to.  It was never installed.  I had a problem with it and you fixed my post.template.php file for me.  :) 

I just tried this new file and... it works perfectly!!!!!   Thank you so much! This definitely makes the posting process easier.  Some of my members were confused because they couldn't use them when doing a reply.  Now they won't see it at all - only on a new post.  I really do appreciate the help!!!  It's not too likely that I'd ever want to remove it - I like it!!! :)
Title: Re: New Style Message Icon
Post by: sweetooo.baba on March 13, 2009, 03:24:12 AM
awsome........
Title: Re: New Style Message Icon
Post by: MaryLouW on March 15, 2009, 08:02:51 PM
You know, I thought it worked okay but unfortunately, it didn't.  Somehow, it wiped out another mod I had that put a box around text and there were lots of errors when I checked my error page.  So, I just went back to the very first file I uploaded here and grabbed that and all the errors went away.  I had to reinstall my box mod and that works fine too. So, now I'm back where I was.

Will try this mod again but not today.
Title: Re: New Style Message Icon
Post by: M-DVD on March 23, 2009, 11:09:27 AM
Quote from: MaryLouW on March 12, 2009, 09:06:57 PM
I just tried this new file and... it works perfectly!!!!!   Thank you so much! This definitely makes the posting process easier.  Some of my members were confused because they couldn't use them when doing a reply.  Now they won't see it at all - only on a new post.  I really do appreciate the help!!!  It's not too likely that I'd ever want to remove it - I like it!!! :)

Quote from: sweetooo.baba on March 13, 2009, 03:24:12 AM
awsome........

Thank for your comments :)

Quote from: MaryLouW on March 15, 2009, 08:02:51 PM
You know, I thought it worked okay but unfortunately, it didn't.  Somehow, it wiped out another mod I had that put a box around text and there were lots of errors when I checked my error page.  So, I just went back to the very first file I uploaded here and grabbed that and all the errors went away.  I had to reinstall my box mod and that works fine too. So, now I'm back where I was.

Will try this mod again but not today.

In tests I did, (i remember) also i had errors, but, because you have installed some MODs that I haven't.

I found no error related to the change I made. And, while our forums are different, this should not change.

However, Could you write like these errors? :)
Title: Re: New Style Message Icon
Post by: MaryLouW on March 23, 2009, 05:25:11 PM
Well, I would but I no longer have them.  I keep my board pretty "clean" and if there are errors, I check them out, then delete. 

I will download the mod and give it another try and see how that goes. Thanks!!
Title: Re: New Style Message Icon
Post by: shanksta13 on April 21, 2009, 12:16:08 PM
Is there any way to set these rows to automatically go to the next row after a certain number of message icons.  I know there is, because I've done it before, but I forgot how.  I tried searching on here, but couldn't find it again.

Here's a screenshot showing you what I mean:
Title: Re: New Style Message Icon
Post by: M-DVD on April 21, 2009, 10:26:03 PM
Ok, you can try.

   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', (($x+1) % 6) ? '' : '<br />';


And tell me :)

Note: I haven't tested this.
Title: Re: New Style Message Icon
Post by: ericnet on May 20, 2009, 03:56:58 PM
Hi,

this mod is very nice.. thanks  ;D

I suggest add no icon option.
If I chose this option, in post view a small image but none in board

See this image
Title: Re: New Style Message Icon
Post by: M-DVD on May 20, 2009, 05:26:28 PM
Quote from: ericnet on May 20, 2009, 03:56:58 PM
Hi,

this mod is very nice.. thanks  ;D

I suggest add no icon option.
If I chose this option, in post view a small image but none in board

See this image

Thanks for this suggestion, but I think this feature not have relationship with this MOD.

Also, do this change isn't complicated, if you want help for this change, you should say what theme are you using, and can tell me or make a topic Here (http://www.simplemachines.org/community/index.php?board=60.0)
Title: Re: New Style Message Icon
Post by: ericnet on May 20, 2009, 05:38:44 PM
Hi,

very thanks for you reply

I use yabb SE theme  :)

regards
Title: Re: New Style Message Icon
Post by: Alyen on June 08, 2009, 01:27:44 PM
tengo un problema com el mod cuando lo instalo no puedo entrar e el painel de admin se queda en blanco como hago para desinstalar el mod ?
Title: Re: New Style Message Icon
Post by: M-DVD on June 09, 2009, 10:50:17 PM
Quote from: ericnet on May 20, 2009, 05:38:44 PM
Hi,

very thanks for you reply

I use yabb SE theme  :)

regards

Your welcome :D

--

Quote from: Alyen on June 08, 2009, 01:27:44 PM
tengo un problema com el mod cuando lo instalo no puedo entrar e el painel de admin se queda en blanco como hago para desinstalar el mod ?

No es problema del MOD, algo debe haberte pasado.

Pero intenta restaurar todos los archivos backup (.php~), pero solo los modificado más reciente. (es decir, los que cambió este MOD).

O si no los tienes, entonces has la desinstalación manual.

--

Isn't a problem MOD's. Something must have ocurred.

But try to restore the backup files (.php~), but only the most recently modified (ie, changed for this MOD).

Or if you don't have them, then you have the manual uninstall.
Title: Re: New Style Message Icon
Post by: Alyen on June 10, 2009, 03:14:54 AM
hum vale, voy a probar hacer eso aver q tal me sale , gracias.
Title: Re: New Style Message Icon
Post by: Mraza on June 19, 2009, 12:57:10 PM
Quote from: M-DVD on April 21, 2009, 10:26:03 PM
Ok, you can try.

   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', (($x+1) % 6) ? '' : '<br />';


And tell me :)

Note: I haven't tested this.

hi thanks for this code...well i tried this and in my first 2 rows i have default icons from smf themes, these rows divided by 6 and they left too much space in the box until the end because the next two rows of my icons are a little bigger then the normal one. is it possible to make first rows to take space until the end of the message icon box: thanks
Title: Re: New Style Message Icon
Post by: M-DVD on June 21, 2009, 01:43:53 PM
Quote from: mraza on June 19, 2009, 12:57:10 PM
hi thanks for this code...well i tried this and in my first 2 rows i have default icons from smf themes, these rows divided by 6 and they left too much space in the box until the end because the next two rows of my icons are a little bigger then the normal one. is it possible to make first rows to take space until the end of the message icon box: thanks

Can you give me an image as it's now and how you want it?
Title: Re: New Style Message Icon
Post by: Tridrac on June 22, 2009, 09:58:30 PM
Quote from: M-DVD on April 21, 2009, 10:26:03 PM
Ok, you can try.

   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', (($x+1) % 6) ? '' : '<br />';


And tell me :)

Note: I haven't tested this.

Hi,

Here is an other option to break the icons in two rows:

   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', ($icon['name'] == 'solved') ? '' : '<br />';


This option allows for greater accuracy.
Title: Re: New Style Message Icon
Post by: M-DVD on June 22, 2009, 10:58:41 PM
Quote from: Tridrac on June 22, 2009, 09:58:30 PM
Hi,

Here is an other option to break the icons in two rows:

   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', ($icon['name'] == 'solved') ? '' : '<br />';


This option allows for greater accuracy.


Thanks for the trick :D
Title: Re: New Style Message Icon
Post by: Blinker on July 02, 2009, 09:55:00 AM
Hi mate

I love this mod, thank you.

Would it be possible to post the code changes for the request you handled in this post - http://www.simplemachines.org/community/index.php?topic=266723.msg1973337#msg1973337

I would also like to turn the icons off for replies and only have them visible for new topic compositions.

Thanks in advance.
Title: Re: New Style Message Icon
Post by: Shark-Time on September 12, 2009, 05:56:25 AM
it is very great mod and it is working perfectly fine on post.template.php but it is making problem in privatemessage.template.php..

as icons are not supposed appear in PMs and well they are not appearing but the border around icons are appearing in personalmessage...


look its working great in post reply..

(http://i341.photobucket.com/albums/o377/pakistanihaider/22264896.jpg)

but when sending private message it should not appear.. but it is appearing i mean the border..

(http://i341.photobucket.com/albums/o377/pakistanihaider/45682855.jpg)

please really need help to remove this from private message..or if it cant remove then tell me how to enable message icons in private message...


Title: Re: New Style Message Icon
Post by: Joker™ on January 04, 2010, 02:01:02 AM
any update on it for RC2  ::)
Title: Re: New Style Message Icon
Post by: EroticJudge on January 16, 2010, 08:55:29 PM
Hi there im trying to see if there is a way to change my message icons into letters (eg YES or NO) instead of image icons.

If you know where and how i can change it please reply and let me know.  Thank you.
Title: Re: New Style Message Icon
Post by: linette97 on January 26, 2010, 07:49:50 PM
Quote from: sid2varun on January 04, 2010, 02:01:02 AM
any update on it for RC2  ::)
Yea, Would love to see this updated
Title: Re: New Style Message Icon
Post by: Sabre™ on January 28, 2010, 03:07:15 PM
I repackaged this for my own RC2 site, here is that package if you'd like to try it.
I'll remove it when M-DVD or a staff member requests me to :)

update located here (http://www.simplemachines.org/community/index.php?topic=266723.msg2609409#msg2609409)
Title: Re: New Style Message Icon
Post by: andris11 on January 28, 2010, 05:07:42 PM
I uploaded but nothing changed.. Should i allow something?
Title: Re: New Style Message Icon
Post by: Sabre™ on January 28, 2010, 05:28:07 PM
No, there is nothing to allow, it should have worked instantly.
Are you using the default SMF theme?
Which version of SMF?
Although you shouldn't have to, have you cleared your cache?
Title: Re: New Style Message Icon
Post by: Joker™ on January 29, 2010, 12:36:38 AM
Quote from: Sabre™ on January 28, 2010, 03:07:15 PM
I repackaged this for my own RC2 site, here is that package if you'd like to try it.
I'll remove it when M-DVD or a staff member requests me to :)

worked perfectly :D thanx alot ;)
Title: Re: New Style Message Icon
Post by: kicky on February 10, 2010, 09:21:26 AM
Thanks
Great mod, and it work in my SMF 1.1.11
:)
Title: Re: New Style Message Icon
Post by: steve51184 on March 09, 2010, 07:39:12 PM
rc3 update?
Title: Re: New Style Message Icon
Post by: TheListener on March 16, 2010, 06:50:31 PM
Quote from: zx71 on March 09, 2010, 07:39:12 PM
rc3 update?

Use the emulate function.

I am currently unable to install the mod due to an install error on the post template file.

Attachment included.
Title: Re: New Style Message Icon
Post by: aw06 on March 21, 2010, 10:29:38 AM
Need official update for rc3 8)
Title: Re: New Style Message Icon
Post by: Kimmie on May 01, 2010, 01:03:05 AM
Quote from: Sabre™ on January 28, 2010, 03:07:15 PM
I repackaged this for my own RC2 site, here is that package if you'd like to try it.
I'll remove it when M-DVD or a staff member requests me to :)

I tried using this one on RC3 but it said the files were corrupt when I tried to install it. I noticed that the one on the mod page says its only compatible with ".1.6, 1.1.7, 1.1.8, 2.0 Beta 4, 2.0 RC1" however it parses for RC3. Has anyone tried that one yet?
Title: Re: New Style Message Icon
Post by: Arantor on May 01, 2010, 05:46:11 AM
Just because it parses doesn't mean it works. The mod may not have a version number set in it.
Title: Re: New Style Message Icon
Post by: Kimmie on May 01, 2010, 06:32:28 PM
Quote from: Arantor on May 01, 2010, 05:46:11 AM
Just because it parses doesn't mean it works. The mod may not have a version number set in it.


yes I know, thats why I asked if anyone has tried it yet :). An official update would be better, but It was already asked for back on March 31st and hasnt been done so I figured the mod auth either doesnt have the time to do it, or they have stopped support on it all together.
Title: Re: New Style Message Icon
Post by: Sabre™ on May 01, 2010, 07:17:48 PM
You could try the attached for RC3.
Title: Re: New Style Message Icon
Post by: Kimmie on May 01, 2010, 09:07:36 PM
Quote from: Sabre™ on May 01, 2010, 07:17:48 PM
You could try the attached for RC3.

If thats the same one you posted above, I have already tried that one (see my previous post) and it wouldnt install.. gave a corruption error. :(
Title: Re: New Style Message Icon
Post by: TheListener on May 01, 2010, 09:08:41 PM
What was the error?
Title: Re: New Style Message Icon
Post by: Sabre™ on May 01, 2010, 09:22:00 PM
Quote from: Kimmie on May 01, 2010, 09:07:36 PM
If thats the same one you posted above, I have already tried that one (see my previous post) and it wouldnt install.. gave a corruption error. :(

There would be no need for me to post the same thing again ;)
The older one says it's for RC2, and the most recent attachment says it is for RC3, which you are using(actually works for both). It is only a small change between versions.
I'll remove the attachment you mentioned, as it is nolonger needed.
Title: Re: New Style Message Icon
Post by: Kimmie on May 01, 2010, 09:26:12 PM
ok I will try that one and let you know,  thanks :). Sorry, since there was only one letter difference on the file names all I did was glance at the name so I didnt catch the difference :).

Title: Re: New Style Message Icon
Post by: TheListener on May 01, 2010, 09:28:19 PM
it worked for me.

;)

Well except a theme error.

:(
Title: Re: New Style Message Icon
Post by: Kimmie on May 01, 2010, 09:30:00 PM
installed like a charm and appears to be working good with no errors :).

I only have one theme right now since the upgrade and it uses all the default themes files so it was good to go.
Title: Re: New Style Message Icon
Post by: Sabre™ on May 01, 2010, 09:36:20 PM
That's great to hear Kimmie :)
p.s.  Never apologise for such a small mishap buddy :) We all miss something one time or another.
Enjoy :)

TheListener, your theme error shouldn't be too difficult to correct, as this mod only edits 2 templates and a few lines(remember to add the css edits for custom themes aswell).
If you have any difficulty editing the file, then attach your themes Post.template.php
Title: Re: New Style Message Icon
Post by: TheListener on May 01, 2010, 09:40:33 PM
Here ya go kiddo.

;D
Title: Re: New Style Message Icon
Post by: Sabre™ on May 01, 2010, 09:49:32 PM
What is the issue exactly?
The code is installed correct.
This is your custom themes template yeah?
Title: Re: New Style Message Icon
Post by: aw06 on May 02, 2010, 09:08:00 AM
This installed without error and has been working flawlessly for me :)
Title: Re: New Style Message Icon
Post by: Am' on May 26, 2010, 06:26:28 AM
it's not compatible with rc3

someone help me please ?
Title: Re: New Style Message Icon
Post by: Sabre™ on May 26, 2010, 10:03:03 AM
You should help yourself by learning to read.
The first few posts on this page are about an updated package, and the page before this one holds it.
Try and use your eyes next time please.
You've just been helped!!
Title: Re: New Style Message Icon
Post by: KensonPlays on July 09, 2010, 05:54:27 PM
please update to 2.0RC3!!!!!
Title: Re: New Style Message Icon
Post by: TheListener on July 09, 2010, 06:26:11 PM
Hey kiddo

Try reading through the posts.

The package has been updated so it works on RC3

How do I know?

Because I am already using it.
Title: Re: New Style Message Icon
Post by: KensonPlays on July 09, 2010, 06:27:48 PM
well on mod page it isn't, i will wait for "official" update
Title: Re: New Style Message Icon
Post by: TheListener on July 09, 2010, 06:30:50 PM
You may be waiting for a long long long time.

::) ::)
Title: Re: New Style Message Icon
Post by: steve51184 on July 09, 2010, 06:40:01 PM
Quote from: Kcmartz on July 09, 2010, 06:27:48 PM
well on mod page it isn't, i will wait for "official" update
this mod hasn't been updated in 17 month but feel free to wait ;)
Title: Re: New Style Message Icon
Post by: Sabre™ on July 09, 2010, 06:58:34 PM
lol

Lookin back, I was a bit of an a-hole in this (http://www.simplemachines.org/community/index.php?topic=266723.msg2643739#msg2643739) post, must've been that time of the month ;)

Update located [HERE] (http://www.simplemachines.org/community/index.php?topic=266723.msg2609409#msg2609409) for those that missed it.
Title: Re: New Style Message Icon
Post by: TheListener on July 09, 2010, 07:38:48 PM
*Brack is waiting for KCmartz to ask for an RC3 upgrade on the mod.*
Title: Re: New Style Message Icon
Post by: aelmiger on August 07, 2010, 02:28:53 PM
Quote from: Sabre™ on May 01, 2010, 07:17:48 PM
You could try the attached for RC3.

Thanks man for upgrade  :D
Title: Re: New Style Message Icon
Post by: Sabre™ on August 08, 2010, 12:40:28 AM
My pleasure buddy.
Enjoy :)
Title: Re: New Style Message Icon
Post by: Rain Forest on November 19, 2010, 05:48:24 PM
Please upgrade to RC4 :)
Title: Re: New Style Message Icon
Post by: robertoiui on November 27, 2010, 10:22:40 AM
uso la rc4 lo hoe instalado y sigue igual, que modificación tengo que hacer? esque eso de modificar php no es lo mio xd
Title: Re: New Style Message Icon
Post by: Veritas01 on November 30, 2010, 10:43:33 AM
Also looking for this to be updated to 2.0 RC4. Awesome mod!
Title: Re: New Style Message Icon
Post by: TheListener on November 30, 2010, 10:55:25 AM
This mod already works with 2.0 RC4
Title: Re: New Style Message Icon
Post by: asheashe on December 05, 2010, 06:40:59 AM
   foreach ($context['icons'] as $x => $icon)
      echo '
                              <input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" title="', $icon['name'], '" />', ($icon['name'] == 'solved') ? '' : '<br />';



where would I put this code to break them into 3 rows? we have about 30 post icons and this mod is great, just need to tidy up the layout a little
Title: Re: New Style Message Icon
Post by: diamondred123 on December 06, 2010, 04:58:12 PM
Quote from: Brack1 on November 30, 2010, 10:55:25 AM
This mod already works with 2.0 RC4

didnt for me
maybe its because you done a small update everyone else did a large or clean install
Title: Re: New Style Message Icon
Post by: jaisi on December 06, 2010, 08:27:34 PM
yeah this mod is not working for me my Forum Verison is R4.

please update this mod ..

Thanks in advance
Title: Re: New Style Message Icon
Post by: Sabre™ on December 07, 2010, 02:17:03 AM
@ asheashe
Post a screen pic of what you're seeing.
Otherwise, an easy way is to edit the width value in the css template.

To Everybody else
RC4 ported version attached
Title: Re: New Style Message Icon
Post by: diamondred123 on December 07, 2010, 11:12:04 AM
Quote from: Sabre™ on December 07, 2010, 02:17:03 AM
@ asheashe
Post a screen pic of what you're seeing.
Otherwise, an easy way is to edit the width value in the css template.

To Everybody else
RC4 ported version attached

OMG
i love you so much now :D
have you got msn or a website i can join??

Diamond
Title: Re: New Style Message Icon
Post by: jaisi on March 18, 2011, 08:22:15 PM
RC5 this mod is not working please check
Title: Re: New Style Message Icon
Post by: Rain Forest on March 19, 2011, 04:30:13 AM
Quote from: jaisi on March 18, 2011, 08:22:15 PM
RC5 this mod is not working please check

Have you tried this:
http://www.simplemachines.org/community/index.php?topic=266723.msg2873556#msg2873556

If not, replace all ''RC4'' with ''RC5''.
Title: Re: New Style Message Icon
Post by: jaisi on March 25, 2011, 02:08:20 PM
Erorr show The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
now how can i unistall this mod there is no option for unistall buttom.

Title: Re: New Style Message Icon
Post by: jaisi on April 07, 2011, 03:08:20 PM
Anybady help me i want this mod
Title: Re: New Style Message Icon
Post by: mandi007 on July 01, 2011, 03:30:36 AM
i really need this mode...........it is superb.
please any one help me  i am using smf 2.0 rc4 and i tried to install this mode 1 and also version 1.1 beta. but i am getting error are below

QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/Post.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Warning: Unterminated comment starting line 22 in .../Themes/default/Post.template.php on line 22

Parse error: syntax error, unexpected $end in .../Themes/default/Post.template.php on line 22

13:    // When using Go Back due to fatal_error, allow the form to be re-submitted with changes.
14:    if ($context['browser']['is_firefox'])
15:       echo '
16:          function reActivate()
17:          {
18:             document.forms.postmodify.message.readOnly = false;
19:          }
20:          window.addEventListener("pageshow", reActivate, false);';
21:

22:    /*

23:    // Start with message icons - and any missing from this theme.
24:    echo '
25:          var icon_urls = {';
26:    foreach ($context['icons'] as $icon)
please any one help me to solve this ...........
Title: Re: New Style Message Icon
Post by: mandi007 on July 01, 2011, 03:47:27 AM
please ignore the above message i have not seen the attachment before now i saw it and is working fine superb mod i love it thanks for the creater.
Title: Re: New Style Message Icon
Post by: jaisi on July 01, 2011, 09:14:06 AM
any chance to 2.0 version this mod ??
Title: Re: New Style Message Icon
Post by: Jessica. on July 01, 2011, 12:20:54 PM
Yes please update
Title: Re: New Style Message Icon
Post by: jaisi on August 03, 2011, 03:05:14 PM
now this mod is not working in 2.0 gold version please help me i wanna to install this mop

my forum version is 2.0
Title: Re: New Style Message Icon
Post by: jaisi on August 05, 2011, 08:29:53 PM
guys please help me i need this mod
Title: Re: New Style Message Icon
Post by: aelmiger on August 05, 2011, 08:35:29 PM
Me tooo please upgrade to 2.0
Title: Re: New Style Message Icon
Post by: Sabre™ on August 05, 2011, 11:00:33 PM
Since you said "Please" and M-DVD has never had an issue with me updating before, try the attached.
Alter the css file for your personal preference if you like.
Enjoy :)
Title: Re: New Style Message Icon
Post by: aelmiger on August 05, 2011, 11:06:01 PM
Thanks very much friend ^^
Title: Re: New Style Message Icon
Post by: jaisi on August 11, 2011, 12:48:44 PM
plz tell me this mod is working or not in 2.0 ???
Title: Re: New Style Message Icon
Post by: TheListener on August 11, 2011, 01:52:49 PM
Quote from: jaisi on August 11, 2011, 12:48:44 PM
plz tell me this mod is working or not in 2.0 ???

What do you think the attached file is for 2 posts above yours?

It works perfect on 2.0
Title: Re: New Style Message Icon
Post by: Claine on November 15, 2011, 09:04:15 AM
Quote from: Sabre™ on August 05, 2011, 11:00:33 PM
Since you said "Please" and M-DVD has never had an issue with me updating before, try the attached.
Alter the css file for your personal preference if you like.
Enjoy :)

Thank you VERY much for this.
Title: Re: New Style Message Icon
Post by: jaisi on January 02, 2012, 12:59:21 PM
please tell me this mod is working or not in 2.2 i really need this mod for 2.0.2.

Thanks in advance..
Title: Re: New Style Message Icon
Post by: Biology Forums on January 03, 2012, 01:48:46 AM
Quote from: jaisi on January 02, 2012, 12:59:21 PM
please tell me this mod is working or not in 2.2 i really need this mod for 2.0.2.

Thanks in advance..

It will still work for your version.
Title: Re: New Style Message Icon
Post by: Chalky on March 08, 2012, 06:28:18 PM
It does indeed work on 2.0.2!  Thank you  :D
Title: Re: New Style Message Icon
Post by: Dhayzon on May 17, 2013, 12:24:13 AM
you may upgrade to version 2.0.4?
Title: Re: New Style Message Icon
Post by: TheListener on May 17, 2013, 12:26:44 AM
Quote from: Geroku on May 17, 2013, 12:24:13 AM
you may upgrade to version 2.0.4?

The mod works on 2.0.4 already.

Have a read of the Mod Emulate link in my signature.
Title: Re: New Style Message Icon
Post by: Wutzmann on May 15, 2014, 08:17:49 AM
Dont work in 2.0.7.

is an update planned?
Title: Re: New Style Message Icon
Post by: Aaron10 on August 03, 2014, 12:13:45 AM
Works fine, just installed on 2.0.8, all you need to do is post.template.php:

Find:
<dd>
<select name="icon" id="icon" onchange="showimage()">';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

echo '
</select>
<img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
</dd>


Replace:

<dd>
<div>';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<input type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', ' /><img src="', $icon['url'], '" alt="', $icon['name'], '" style="vertical-align: top;" title="', $icon['name'], '" />';

echo '
</div>
</dd>