News:

Wondering if this will always be free?  See why free is better.

Main Menu

Auto Merge Double Post

Started by M-DVD, December 03, 2008, 10:18:25 AM

Previous topic - Next topic

M-DVD

#260
Quote from: Owdy on September 28, 2009, 02:01:53 AM
Awesome, manual setting is what i avve been waiting for. Thanks!

Thanks for your comments, and for help :D

Quote from: villasg on September 28, 2009, 02:28:01 AM
Greek-utf8

villasg & netoya, Thanks for translate, I have uploaded yours translations. :D

MrCreatoR

Very nice mod.
But i found a bug - with non english localization (of the forum), when we edit the merged post, the time tag does not parsed, it's edited like this:

QuoteДобавлено: Октябрь 08, 2009, 00:08:28

Any ideas on how to fix that?

Eclipse16V

This is a old Bug.
I have it too.  :(
I worked with:
SMF 2 in German

Shop:
SID Giessen

villasg


M-DVD

Quote from: MrCreatoR on October 07, 2009, 05:50:24 PM
Very nice mod.
But i found a bug - with non english localization (of the forum), when we edit the merged post, the time tag does not parsed, it's edited like this:

QuoteДобавлено: Октябрь 08, 2009, 00:08:28

Any ideas on how to fix that?

Quote from: Eclipse16V on October 08, 2009, 01:26:07 AM
This is a old Bug.
I have it too.  :(

Quote from: villasg on October 08, 2009, 07:36:11 AM
Me too !

>:( Oh ****, I thought I had already fixed.

Then find in Subs-Post.php

	
	
	
$parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie''\'[time]\' . timeformat(\'$1\', false) . \'[/time]\''$parts[$i]);


And replace

//
	
	
	
$parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie', '\'[time]\' . timeformat(\'$1\', false) . \'[/time]\'', $parts[$i]);


Anyway, it is a bug in time bbcode, I tried fix it :/

MrCreatoR

[?]
QuoteThen find in Subs-Post.php

And replace
They are the same, isn't? :)

M-DVD

Quote from: MrCreatoR on October 14, 2009, 10:47:10 PM
[?]
QuoteThen find in Subs-Post.php

And replace
They are the same, isn't? :)

No xD, the second line are commented. ie, will not be unparsed.


netoya

Quote from: M-DVD on October 14, 2009, 10:35:52 PM
Then find in Subs-Post.php

	
	
	
$parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie''\'[time]\' . timeformat(\'$1\', false) . \'[/time]\''$parts[$i]);


And replace

//
	
	
	
$parts[$i] = preg_replace('~\[time\](\d{0,10})\[/time\]~ie', '\'[time]\' . timeformat(\'$1\', false) . \'[/time]\'', $parts[$i]);


Anyway, it is a bug in time bbcode, I tried fix it :/

Thanks it helped on 1.2 version of mod. Still can't update to 1.3:( too many conflicts when uninstall

MrCreatoR

[?]
QuoteNo xD, the second line are commented. ie, will not be unparsed.
Oops, sorry, didn't see that :)
Thank you, now it's parsed properly.

MrCreatoR

Is there any chance to add an option to disable posts merging for the first post (when creating the topic)?

MrCreatoR


MrCreatoR

When merging post that have single quote char in his title ('), it's prefixed by slash character - like this: \'.

Any ideas how to fix that?

MrCreatoR

And one more request if possible - change days to hours, so we be able to limit by hours not only days.

netoya

0.5 is equivalent to 12 hours ;)

MrCreatoR

Quote from: netoya on October 28, 2009, 06:57:09 AM
0.5 is equivalent to 12 hours ;)
Are you sure? Have you tried this? ;)
I have, but it's turned to 0 :(


MrCreatoR


alx

I get this error.

8: Undefined index: merge_button
Arquivo: /home/XXXX/public_html/forum/Sources/Subs.php
Linha: 3619


and this is the line refered

Quotereturn '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');

someone could help me???
tks.
aLx | all4pg

since smf 1.1 RC 3

dj_pont

In RC2 no this string "$split_button = create_button('split.gif', 'split', 'split', 'align="middle"');"

Dreadaxe

#279
Quote from: villasg on September 28, 2009, 07:03:24 AM
Canot find in the admin panel the mod in ver 1.1.10

That work for me but I don't have option to the default theme!


Advertisement: