Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: pratik_1712 on December 29, 2010, 03:32:12 AM

Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 29, 2010, 03:32:12 AM
I am having hard time figuring out how to add another column along with name, sender, subject, attachment and flag..

I tried few things mentioned in the posts before, like editing 'main.inc.php.dist' but still no luck..

I am trying to insert a column for sender's reputation.. Any help will be highly appreciated..
Thanks..
Title: Adding Additional Colums at the sorting bar..
Post by: rosali on December 29, 2010, 03:45:55 AM
How do you plan to fill this column? This is a job for a plugin.
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 29, 2010, 04:08:30 AM
is any similar plugin available for reference..
If not.. could you guide me to the proper resource..

Thanks and Regards
Title: Adding Additional Colums at the sorting bar..
Post by: rosali on December 29, 2010, 07:36:31 AM
Plugin_Hooks ? Roundcube Webmail (http://trac.roundcube.net/wiki/Plugin_Hooks)
Title: Adding Additional Colums at the sorting bar..
Post by: umount on December 29, 2010, 08:01:15 AM
Quote from: pratik_1712;32058
is any similar plugin available for reference..
If not.. could you guide me to the proper resource..

Thanks and Regards


My plugin add colum checkbox to select message.

https://github.com/umount/rcplugin_chbox
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 30, 2010, 01:46:41 AM
Thanks for your reply Rosali and umount..
I am having l'il problem attaching the plugin to the cube..

I added the following line to main.inc.php:
$rcmail_config['plugins'] = array('archive','chbox');

Bt didn't get any visible change in the UI.. Am i missing on something..??
any help will be highly appriciated..
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 30, 2010, 03:25:06 AM
Any comments guyz...???
Title: Adding Additional Colums at the sorting bar..
Post by: rosali on December 30, 2010, 05:31:00 AM
Which Roundcube version do you use? Older versions do not support the plugin API. Your config looks ok to me.

You say you 'added' the line. If there was no default line ...

$rcmail_config['plugins'] = array();

... it looks to me like you are using a very old Roundcube version.
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 30, 2010, 06:26:58 AM
I edited the line(Didn't Add).. It was already there..
But "chbox" plugin is not displaying any check-box in the list of mails..

I was using 0.4
now upgraded to 0.5 RC.. Still no luck..

I tried "markasjunk" plugin.. This happens to work fine..
Any idea what is the problem..??

Thanks and Regards,
Pratik
Title: Adding Additional Colums at the sorting bar..
Post by: rosali on December 30, 2010, 06:30:42 AM
No, not really ... any chance to get Remote access (IMAP test account, phpmyadmin and ftp to Roundcube folder)?
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on December 30, 2010, 06:45:54 AM
I am currently working/Testing on my localhost..
I can provide u a team-viewer connection.. If its fine..??
Title: Adding Additional Colums at the sorting bar..
Post by: umount on December 31, 2010, 05:40:28 AM
Quote from: pratik_1712;32095
I edited the line(Didn't Add).. It was already there..
But "chbox" plugin is not displaying any check-box in the list of mails..

I was using 0.4
now upgraded to 0.5 RC.. Still no luck..

I tried "markasjunk" plugin.. This happens to work fine..
Any idea what is the problem..??

Thanks and Regards,
Pratik


You must add check box column in list column from menu.
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on January 03, 2011, 01:10:01 AM
Quote from: umount;32122
You must add check box column in list column from menu.

Can you be a li'l more specific please..??
its not listing in the drop list menu..
I am adding a screenshot..

(http://img411.imageshack.us/img411/9016/screenshot1bz.png)

I have already added "chbox" in plugins folder and added it in main.inc.php
$rcmail_config['plugins'] = array("chbox");
Title: Adding Additional Colums at the sorting bar..
Post by: umount on January 04, 2011, 02:12:13 PM
Quote from: pratik_1712;32166
Can you be a li'l more specific please..??
its not listing in the drop list menu..
I am adding a screenshot..

(http://img411.imageshack.us/img411/9016/screenshot1bz.png)

I have already added "chbox" in plugins folder and added it in main.inc.php
$rcmail_config['plugins'] = array("chbox");


I am add screenshot
Title: Adding Additional Colums at the sorting bar..
Post by: umount on January 05, 2011, 04:26:00 AM
I will look what not with a plugin so after holidays
Title: Adding Additional Colums at the sorting bar..
Post by: Jack! on January 05, 2011, 07:16:28 AM
Quote from: pratik_1712;32166
I have already added "chbox" in plugins folder and added it in main.inc.php $rcmail_config['plugins'] = array("chbox");

Probably you have a typo in your plugins line so try the following instead:
Code: [Select]
$rcmail_config['plugins'] = array('chbox'); (mind the single quotes instead of the double quotes around chbox)
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on January 17, 2011, 01:02:58 AM
@Jack : Itz not a typo.. I tried with both single and double quotes...
I think i am missing on something very minute..
Title: Adding Additional Colums at the sorting bar..
Post by: SKaero on January 17, 2011, 01:19:57 AM
Single quotes and double quotes will work the same, is there anything in your error log?
Title: Adding Additional Colums at the sorting bar..
Post by: pratik_1712 on January 20, 2011, 04:35:02 AM
@umount : Thanks a lot.. The updated version of the plugin is working great.. just what i needed..:)

@all: thanks for all the help.. I appreciate it..

Plz help me in the further query...

http://www.roundcubeforum.net/10-miscellaneous/33-roundcube-discussion/7869-retrieve-set-email-header.html

http://www.roundcubeforum.net/10-miscellaneous/33-roundcube-discussion/7871-how-retrive-data-database.html