Author Topic: Roundcube 0.2 Stable Signature Fix  (Read 16240 times)

Offline coolsilver

  • Newbie
  • *
  • Posts: 1
Roundcube 0.2 Stable Signature Fix
« Reply #15 on: March 06, 2009, 08:28:07 AM »
Quote from: ABerglund;17248
In my experience, all these patches for moving the signature above the reply in HTML messages break the HTML word wrap. This one is no different.
Seems to me that if you have an HTML Signature, the body text and signature text does not leave a empty line without getting the font style i.e. Bold text. The very top line is the div tag for the signature and anything you type ends up in the div.

I have also seen the word wrap issues.

Offline zamri

  • Jr. Member
  • **
  • Posts: 16
Roundcube 0.2 Stable Signature Fix
« Reply #16 on: March 08, 2009, 05:26:01 AM »
I just think this mod should be made a plugin.

Offline schroederman

  • Newbie
  • *
  • Posts: 1
Roundcube 0.2 Stable Signature Fix
« Reply #17 on: March 13, 2009, 02:02:09 PM »
i will be the first to announce, sadly, this does NOT work with roundcube v 2.1

i have been playing with it all morning, not happening with my limited knowledge of .js files.

DO NOT upgrade your install if you want to keep this function.

Offline Napsty

  • Jr. Member
  • **
  • Posts: 20
Roundcube 0.2 Stable Signature Fix
« Reply #18 on: March 17, 2009, 05:22:57 AM »
oh noo! really?
i was just going to install the patch to my 0.2.1 roundcube! but wanted to check for new posts here to not destroy my working 0.2.1.

@a_magoon: is it possible to have the modification only by single line changes? like an overview of all codes which were added and/or replaced?

Offline pjamedia

  • Jr. Member
  • **
  • Posts: 21
Roundcube 0.2 Stable Signature Fix
« Reply #19 on: March 18, 2009, 06:41:17 AM »
Quote from: a_magoon;17136
Hi guys,

Here you go for the HTML part of the fix. Only need to update your app.js file.


Cheers.

Aaron M
YourHOST NZ

Aaron,

I must thank you for posting this - it's an excellent mod and I think RC developers should really consider adding this to the core code.

One small issue though using sig in HTML messages when replying, It puts the sig at the top as designed but doesn't leave a blank line above it or move the cursor above the sig as the place you would want to start typing. Is there any quick way to tweak the code to let this happen?

I am using v0.2.1 **UPDATE** It does work fine on my 0.2.1 version - not sure what the difference with my install and the one mentioed 2 posts above is! I had to also install the updated app.js file included in a separate post in this thread to get this working though.

Thanks again,

Paul A
« Last Edit: March 18, 2009, 09:42:26 AM by pjamedia »

Offline pjamedia

  • Jr. Member
  • **
  • Posts: 21
Roundcube 0.2 Stable Signature Fix
« Reply #20 on: March 23, 2009, 09:38:11 AM »
Just noticed, When I reply to a HTML message with a HTML signature configured, when I start typing above the signature the words I type don't wrap in the window. I think its something to do with a
Code: [Select]
<pre></pre> tag which is wrapped around the signature. Any ideas how I could format the signature to avoid this?

Thanks, Paul

Offline pjamedia

  • Jr. Member
  • **
  • Posts: 21
Roundcube 0.2 Stable Signature Fix
« Reply #21 on: March 25, 2009, 10:42:22 AM »
I resolved this issue by editing the html code of the signature in the database itself, removing the PRE tags. Using the Identities editor causes the signature to be wrapped in PRE tags, and these don't support word wrapping.

UPDATE - I didn't realise that you can actually edit the html in the Identities panel! Doh!

This of course would not be an issue if the sig is placed at the very foot of the document As RC is designed to do, but placing it at the top using this mod means that you intend to add your reply directly before your sig, which means you are typing your reply within the PRE tags which form part of the signature code. I can't find a way around this by formatting the signature any differently in the identities editor as PRE tags are always added. This is an oversight therefore on the mod's design. Editing the sig in the database directly is a work around.

Thanks, Paul A
« Last Edit: March 26, 2009, 07:16:03 AM by pjamedia »

Offline KenRJ

  • Newbie
  • *
  • Posts: 1
Fix for signature above text
« Reply #22 on: April 16, 2009, 02:23:19 AM »
Quote from: a_magoon;17094
Hi guys,

He has added another tick box inside Personal Settings where you can select to have the signature above the text or not. Here we are releasing it for the public to use as they'd like. There's a few modded files, but the originals are in the zip also.

Enjoy! Let me know how you all get on. Possibly add this to the actual package also Admins! Please read the readme also.

Cheers,

Aaron M
YourHOST NZ


I got on very well.

Just needed to discover two clarifications to the instructions:

1) don't forget to apply the patch.sql in the patches folder - another column is needed in the identities table:
ALTER TABLE `identities` ADD COLUMN `signature_above_quoted` tinyint(1) NOT NULL DEFAULT '0';

2) the tick box is under Personal Settings>Identities> and set the tick box for each identity.

Thank you Aaron and your freelancer.  It's a fix which should be in further releases even if only to stir discussion among purists.

Offline Anonymous

  • Newbie
  • *
  • Posts: 3
Roundcube 0.2 Stable Signature Fix
« Reply #23 on: May 30, 2009, 11:15:58 AM »
I guess I am a newbie at this, but where do I edit these files? Thanks.

Offline mlgreene

  • Newbie
  • *
  • Posts: 2
Error No. [0x01F4] ??
« Reply #24 on: July 06, 2009, 08:35:44 PM »
I went to the identities tab and selected the option to put signature at top of quoted message, but when i clicked save, the page just said "SERVICE CURRENTLY NOT AVAILABLE!  Error No. [0x01F4]"  

I replaced all files like explained.  I don't understand why it's not working though.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube 0.2 Stable Signature Fix
« Reply #25 on: July 07, 2009, 01:00:12 AM »
Did you update the database table identities?

ALTER TABLE `identities` ADD COLUMN `signature_above_quoted` tinyint(1) NOT NULL DEFAULT '0';
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline pjamedia

  • Jr. Member
  • **
  • Posts: 21
Roundcube 0.2 Stable Signature Fix
« Reply #26 on: July 07, 2009, 06:37:59 PM »
Will this mod work with the latest release 0.2.2 ??
I'd love it to work but looks like the code in the new app.js is a bit different from in 0.2.1

Thanks, Paul

Offline redmondtux

  • Newbie
  • *
  • Posts: 2
Now that 0.3-stable is out...
« Reply #27 on: September 07, 2009, 05:50:13 PM »
and plugins are supported, can this be made into a plugin?

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Roundcube 0.2 Stable Signature Fix
« Reply #28 on: September 07, 2009, 08:23:05 PM »
Quote from: redmondtux;21026
and plugins are supported, can this be made into a plugin?
I hope so...

http://www.roundcubeforum.net/api-based-plugins/5148-plugin-sig-above-reply-option.html
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline cafeolai

  • Newbie
  • *
  • Posts: 7
sig_above doesn't work with version 0.3.1
« Reply #29 on: February 09, 2010, 07:34:19 PM »
$rcmail_config['sig_above'] doesn't work anymore in version 0.3.1.
any idea ? the file app.js seems very different from 0.3

thanks for your help .

Joel