Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: nerbrume on October 22, 2009, 08:25:21 AM

Title: samarkasjunk
Post by: nerbrume on October 22, 2009, 08:25:21 AM
Hello,

I'm trying to use samarkasjunk. I've enabled the plugin as instructed, but the "mark as junk" button does not appear on the toolbar neither in "INBOX" nor in my "Spam" box.
However, in the context menu (as provided by the "contextmenu" extension), the two options "As spam" and "Not Spam" are available (depending on the box I'm in, of course).

Is there something I'm missing to activate the buttons on the toolbar ?

(as a side note, the markasjunk extension works fine, and the button appears as expected)
Title: samarkasjunk
Post by: JohnDoh on October 25, 2009, 09:47:36 AM
there is no button on the mailbox toolbar with the samarkasjunk plugin, the button is in the mark message menu. there is however a button on the mail view toolbar, when you have a message open.
Title: samarkasjunk
Post by: nerbrume on October 25, 2009, 04:39:44 PM
Indeed, I was missing something ! :p
Thanks for answering.

I had a look at the source, and tweaked it to always show the button (by removing the "show" requirement), but now, when switching to the Junk mailbox, the "mark as spam" button stays, and I need to reload the page to change it into the "this message is not spam" button.

Is there is a way to force the reload ?
Or else, I guess I'll reduce to display both buttons all the time...
Title: samarkasjunk
Post by: JohnDoh on October 27, 2009, 07:48:09 AM
try the latest version from the repo and check the readme
Title: samarkasjunk
Post by: nerbrume on October 27, 2009, 08:49:27 AM
Wonderful, work as a charm !
Thanks a lot !
While definitevely implenting it on my server, I made the french translation, alongside with the translation of contextmenu. I attach them to this message.
Title: samarkasjunk
Post by: max on October 27, 2009, 05:30:55 PM
works excellent. good job.

i attach the german translation.
Title: samarkasjunk
Post by: JohnDoh on October 28, 2009, 03:21:32 PM
thanks for the translations guys, glad you like the plugin