Roundcube Community Forum

 

samarkasjunk

Started by nerbrume, October 22, 2009, 08:25:21 AM

Previous topic - Next topic

nerbrume

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)

JohnDoh

#1
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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

nerbrume

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...

JohnDoh

try the latest version from the repo and check the readme
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

nerbrume

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.

max

works excellent. good job.

i attach the german translation.
ubuntu 10.10, Linux version 2.6.35

JohnDoh

thanks for the translations guys, glad you like the plugin
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...