Old Customizations - Modification - Merge Double Or Last Posts By The Same User
Lopalong [ Fri 23 Oct, 2009 07:20 ] Post subject: Modification - Merge Double Or Last Posts By The Same User
Here's a handy little MOD that's a lot more friendly than the bump restrictions currently used by Icy Phoenix.
Package Icy Phoenix Modifications
File $Id: double_post_merge-en.txt
Version for Icy Phoenix: 1.3.0.*
Author: Mercuree ( Igor )
Copyright (c) Mercuree
Email:
License http://opensource.org/licenses/gpl-license.php GNU Public License
Extra credits for this MOD:
Extensively Modified for Icy Phoenix by Lopalong. 28th September 2009
Title:
Double post merge
Description:
This mod merges post text on posting to the last message in topic instead of adding a new one, only if the poster of the last message and the poster of current text is the same person (double post becomes one post)
I think Lopa already coded it to be an extra addon with only two small edits in core files.
I agree MG,
There comes a time when one has to really evaluate what should be added every time a user suggests something should be.
@Daniel,
No offence - But if everything was added that every user would like to see as a default application - Icy Phoenix would need two men and a boy just to lift it.
OT:
@MG,
I've got another one for you too that I'm about to post. Maybe you would like to run an eye over the code before it's "Officially" released.
And don't give me any MG_VIEWTOPIC stuff as viewtopic.' . PHP_EXT works just fine!
Danielc [ Tue 27 Oct, 2009 23:07 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
Yes, i understand you Lopalong and MG..
But i was thinking on it because MG said that will remove some unused features in IP, so, i think this is a good and small mod..
Anyway, there is no problem, i frequently visit this page and i can install the mod if i want (in next releases)..
n1cks21 [ Fri 30 Oct, 2009 17:54 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
Hi
I have a problem with this mod as you can see from the image below (not sure where the nn has come from) :-
however I think it might have something to do with my Slash Problem what do you think ??? have I done the mod wrong or am I right and this is a knock on effect of the my slash problem ???
cheers
Nick
Lopalong [ Fri 30 Oct, 2009 23:14 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
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 .= ':
';
Informpro [ Sat 31 Oct, 2009 10:14 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
Lopalong [ Sat 31 Oct, 2009 10:58 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
And:
Is Not:
'L_CLOSE_WINDOW' => $lang['Close_window'],
Is:
"L_CLOSE_WINDOW" => $lang['Close_window'],
What Rubbish!
So long as the encapsulation is the same on both ends, quotes and semi-quotes mean the same thing.
And did you take the time to read the other posts where people have installed it and don't have this problem?
Did you also note that it appears only n1cks21 has problems with slashes (For whatever reason) and this is hopefully a fix for that particular problem.
Possibly not!
n1cks21 [ Sat 31 Oct, 2009 11:35 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
Lopalong [ Sat 31 Oct, 2009 11:50 ] Post 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.
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 ...)
Lopalong [ Sat 31 Oct, 2009 21:50 ] Post 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.
DWho [ Sun 01 Nov, 2009 18:32 ] Post 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
Lopalong [ Mon 11 Jan, 2010 11:22 ] Post subject: Re: Modification - Merge Double Or Last Posts By The Same User
Download Link has been changed.
Aerosmith [ Fri 01 Jul, 2011 18:55 ] Post 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.