Re: Re: Re: Re: how to fix this?

Hello... how to fix this...?

it should be  Re: how to fix this?

.

i'm using dolphin 6.0

.

error

thank

Quote · 5 Nov 2008

But this is not a bug, and reply get addition 're: ' string, .. if you want, you can try to search 'Re:' in dolphin files (in mail files), and try to cut it

Quote · 6 Nov 2008

OK, i will try to search!

Quote · 6 Nov 2008

open compose.php

see this:

		$sSubject = (isset($_REQUEST['subject'])) ? 'Re: '.process_db_input($_REQUEST['subject']) : '';

replace with this:

		$sSubject = (isset($_REQUEST['subject']) && !strstr($sSubject,"Re: ")) ? 'Re: '.process_db_input($_REQUEST['subject']) : '';
Quote · 6 Nov 2008

oupss.... sorry

the correct one is REPLACE WITH

		$sSubject = (isset($_REQUEST['subject'])) ? (!strstr($_REQUEST['subject'],"Re: "))?'Re: '.process_db_input($_REQUEST['subject']):process_db_input($_REQUEST['subject']) : '';
Quote · 6 Nov 2008

just removing "re:" won't be nice.

hint:

why dont you check if "re:" is already in the subject. so in case its there, don't add another...

sorry, don't have time to write the full code :)

Quote · 16 Feb 2009

just removing "re:" won't be nice.

hint:

why dont you check if "re:" is already in the subject. so in case its there, don't add another...

sorry, don't have time to write the full code :)

i dont rmove "re:" ,

i just replace dolphin default "Re: Re: Re: RE: " caracter with just "Re: ". it will be more usefull

Quote · 21 Feb 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.