Modification - Merge Double Or Last Posts By The Same User


Goto page Previous  1, 2

Subject: Re: Modification - Merge Double Or Last Posts By The Same User
Lopalong wrote: [View Post]
Try this.

In the script:

Find:

$separator = ' \n\nAdded after';

BACKSPACE OUT: \n\n and then hit ENTER twice.

Find:

$separator .= ':
\n\n ';
And do the same thing.




You should be able to see what I mean with this.

$separator = '

Added after';

BACKSPACE OUT:

and then hit ENTER twice.

Find:

$separator .= ':


';



Thanks that seems to have solved it

double2

Inactive User
Subject: Re: Modification - Merge Double Or Last Posts By The Same User
You're welcome,

Why the hell you appear to be having problems with slashes is still a mystery, because no doubt you would be aware that \n is a carriage return in php and should not have created this problem. :(

Who cares - So long as it patched your problem. ;)

Edit:

Now that we know of a specific problem, would you try this.

Put back the code you changed to the original.

Open:

includes/page_header.php

Find:

?>

Before add:

Code: [Download] [Hide] [Select]
if (get_magic_quotes_gpc()) {
$in = array(&$_GET, &$_POST, &$_COOKIE);
while (list($k,$v) = each($in)) {
foreach ($v as $key => $val) {
if (!is_array($val)) {
$in[$k][$key] = stripslashes($val);
continue;
}
$in[] =& $in[$k][$key];
}
}
unset($in);
}


And see if it strips the slashes without you having to modify it.

Subject: Re: Modification - Merge Double Or Last Posts By The Same User
thanks for looking but it was the same result as the first image I posted with "nn"

Subject: Re: Modification - Merge Double Or Last Posts By The Same User
Lopalong wrote: [View Post]
And:

Is Not:

'L_CLOSE_WINDOW' => $lang['Close_window'],[...]
When you think you're right, and something say that not, please check manual/doc/... !

'{$v}' will output
Quote:
{$v}

"{$v}" will output value of $v

'\n' will output
Quote:
\n

"\n" will output a new line


see here
Quote:
Certain special characters are only recognized inside double quotes. The best examples are probably the new line characters \n and \r. Only inside double quotes are they actually new line characters (useful for formatting HTML outputted from PHP). In single quotes, they are merely a backslash followed by a letter.



(Please, stop taking things as if you were always right, because you are wrong ...)

Profile PM  
Inactive User
Subject: Re: Modification - Merge Double Or Last Posts By The Same User
I didn't suggest that I was or am always right, and I've said many times here that I'm no expert.

And you seem to never take the time to explain yourself but to prefer posting cryptics that you hope other people will understand.

Much like a lot of the users do. :(

Anyway - I've had enough of support forums, so I'll leave it all up to you my friend.

Subject: Re: Modification - Merge Double Or Last Posts By The Same User
Thanks David.. great addition i will add this to some of my sites...

I like it a lot

:mrgreen: :mrgreen:

Inactive User
Subject: Re: Modification - Merge Double Or Last Posts By The Same User
Download Link has been changed. :wink:

Subject: Re: Modification - Merge Double Or Last Posts By The Same User
Gran Mod.

Descargando.

Pero, tengo una duda.

¿Es posible aplicar este Mod, a cada foro de forma independiente?

Tengo un foro de Reunión, en el cual no me conviene tenerlo activo por el tema de las fotos.

Gracias por sus respuestas.




Great Mod

Downloading.

But I have a question.

Is it possible to apply this mod, each forum independently?

I have a forum meeting in which I should have it active in the subject of the photos.

Thanks for your responses.

Profile PM  
Goto page Previous  1, 2

Page 2 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1608s (PHP: 12% SQL: 88%)
SQL queries: 10 - Debug Off - GZIP Enabled