Auto Merge Double Post

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

Previous topic - Next topic

steve51184


atfosan

Ehm... very strange. I have same settings but my users of tested group see the Merge button... Try to reinstall mod maybe... if it will be useless you need to ask developers because I don't know what you need to do.

And in my opinion this problem doesn't relate to my fixed version of mod.
my SMF project - school site: forum with PortaMx and SimpleSEF mods

steve51184

Quote from: atfosan on February 11, 2010, 08:07:05 AM
Ehm... very strange. I have same settings but my users of tested group see the Merge button... Try to reinstall mod maybe... if it will be useless you need to ask developers because I don't know what you need to do.

And in my opinion this problem doesn't relate to my fixed version of mod.

yeah i tested it on a test forum and it works but not on my smf 1.1.11 updated to smf 2.0 rc2 forum... is it dut to having the old mod on 1.1.11 and it somehow messing the settings up?

atfosan

Quote from: ppbz on February 11, 2010, 02:40:02 PM
Quote from: atfosan on February 11, 2010, 08:07:05 AM
Ehm... very strange. I have same settings but my users of tested group see the Merge button... Try to reinstall mod maybe... if it will be useless you need to ask developers because I don't know what you need to do.

And in my opinion this problem doesn't relate to my fixed version of mod.

yeah i tested it on a test forum and it works but not on my smf 1.1.11 updated to smf 2.0 rc2 forum... is it dut to having the old mod on 1.1.11 and it somehow messing the settings up?

Try to install mod manually.
my SMF project - school site: forum with PortaMx and SimpleSEF mods

steve51184

Quote from: atfosan on February 11, 2010, 02:45:43 PM
Quote from: ppbz on February 11, 2010, 02:40:02 PM
Quote from: atfosan on February 11, 2010, 08:07:05 AM
Ehm... very strange. I have same settings but my users of tested group see the Merge button... Try to reinstall mod maybe... if it will be useless you need to ask developers because I don't know what you need to do.

And in my opinion this problem doesn't relate to my fixed version of mod.

yeah i tested it on a test forum and it works but not on my smf 1.1.11 updated to smf 2.0 rc2 forum... is it dut to having the old mod on 1.1.11 and it somehow messing the settings up?

Try to install mod manually.

i have/did but it still only works for admins and not mods

Bruno36

Hello!

I use SMF 2.0 RC2 and the default theme.
In Display.template.php I can not find the code line
   $split_button = create_button('split.gif', 'split', 'split', 'align="middle"');
Bruno36 the French
SMF 2.0.9

smldmr


atfosan

my SMF project - school site: forum with PortaMx and SimpleSEF mods


matiaz

#309
Hi M-DVD, first of all thanks for share your MOD. It's really very usefull. I've created [mergedate] TAG (thanks mark7144) and i want to mod merge the post like this:
Post 1[mergedate][b]** EDIT: Flood. Posts combinados. **[/b][/mergedate]Post 2

For the moment, the MOD it's doing it this way:
Post 1[mergedate][b]** EDIT: Flood. Posts combinados. **[/b][/mergedate]
Post 2


¿Any suggest?

Sorry about my poor english.





EDIT: Solved. On "Subs-Post.php" i've deleted the bold text.
Quote// Now Modify >:D
   $user_info['permissions'][] = 'modify_own';
   $modSettings['edit_disable_time'] = 0;
   $modSettings['max_messageLength'] = empty($modSettings['AutoMergePost_nomax']) ? $modSettings['max_messageLength'] : 0;
   $_REQUEST['msg'] = $_GET['msg'] = $row['ID_MSG'];
   $_REQUEST['subject'] = $_POST['subject'] = addslashes(un_htmlspecialchars($row['subject']));
   $_REQUEST['message'] = $_POST['message'] = un_htmlspecialchars(un_preparsecode($row['body'])) . "\n" . str_replace('$date', ''.time().'', $modSettings['AutoMergePost_div']) . "\n" . $_POST['message'];
}

steve51184

#310
found a rather big bug... when you merge a double post the topic notifications are cleared :\

matiaz

Quote from: zx71 on March 03, 2010, 08:52:45 AM
found a rather big bug... when you merge a double post the topic notifications are cleared :\
http://custom.simplemachines.org/mods/index.php?mod=1557  ;)

steve51184


matiaz

¿Can't you parse the files manually for test in local server?

steve51184

#314
Quote from: matiaz on March 03, 2010, 02:35:47 PM
¿Can't you parse the files manually for test in local server?

when trying to install this it will let me do it but i get this 1 error:

Quote3.     Execute Modification     ./Themes/default/scripts/xml_topic.js     File not found

and it looks like xml_topic.js was renamed topic.js so i've fixed the archive and it's working find on smf 2.0 rc2

steve51184

tested and it works perfect thank you :)

matiaz

Nice. The MOD now can be updated  ;D

matiaz

#317
Quote from: matiaz on February 27, 2010, 04:18:32 PM
Hi M-DVD, first of all thanks for share your MOD. It's really very usefull. I've created [mergedate] TAG (thanks mark7144) and i want to mod merge the post like this:
Post 1[mergedate][b]** EDIT: Flood. Posts combinados. **[/b][/mergedate]Post 2

For the moment, the MOD it's doing it this way:
Post 1[mergedate][b]** EDIT: Flood. Posts combinados. **[/b][/mergedate]
Post 2


¿Any suggest?

Sorry about my poor english.

¿Nobody can help me?  :-\




EDIT: Solved. On "Subs-Post.php" i've deleted the bold text.
Quote// Now Modify >:D
   $user_info['permissions'][] = 'modify_own';
   $modSettings['edit_disable_time'] = 0;
   $modSettings['max_messageLength'] = empty($modSettings['AutoMergePost_nomax']) ? $modSettings['max_messageLength'] : 0;
   $_REQUEST['msg'] = $_GET['msg'] = $row['ID_MSG'];
   $_REQUEST['subject'] = $_POST['subject'] = addslashes(un_htmlspecialchars($row['subject']));
   $_REQUEST['message'] = $_POST['message'] = un_htmlspecialchars(un_preparsecode($row['body'])) . "\n" . str_replace('$date', ''.time().'', $modSettings['AutoMergePost_div']) . "\n" . $_POST['message'];
}

Bugo

Updated russian translation:

$txt['permissionname_doublePost'] = 'Разрешить "двойные" сообщения';
$txt['permissionhelp_doublePost'] = 'Включая, вы разрешаете отправлять сообщения подряд (не склеивая).';
$txt['AutoMergePost_div'] = 'Добавлять текст при склеивании сообщений
<div class="smalltext">Можно использовать BB код и переменную $date</div>';
$txt['AutoMergePost_time'] = 'Время, по истечении которого сообщение не будет склеиваться и тема будет поднята
<div class="smalltext">Установите значение в днях. Значение "9999" полностью отключит данную опцию</div>';
$txt['AutoMergePost_4all'] = 'Игнорировать права по отправке "двойных" сообщений
<div class="smalltext">Всегда "склеивать" сообщения, даже для администраторов</div>';
$txt['merge_button'] = 'Объединить сообщения';
$txt['AutoMergePost_auto'] = 'Включить автоматическое объединение сообщений';
$txt['AutoMergePost_manual'] = 'Включить ручное объединение сообщений';
$txt['AutoMergePost_nomax'] = 'Игнорировать значение максимальной длины сообщения';
$txt['AutoMergePost_reason'] = 'Объединение сообщений';
$txt['permissionname_doublePostmerge'] = 'Разрешить ручное объединение двойных сообщений';
$txt['permissionhelp_doublePostmerge'] = 'Эта опция позволяет пользователям склеивать двойные сообщения.';
$txt['permissionname_doublePostmerge_own'] = 'Свои двойные сообщения';
$txt['permissionname_doublePostmerge_any'] = 'Любые двойные сообщения';
$txt['cannot_merged_replies'] = 'У Вас нет прав на склеивание сообщений.';
$txt['modlog_ac_merged'] = 'Сообщение &quot;{message}&quot; объединено пользователем &quot;{member}&quot;';
$txt['manageposts_automerge_settings'] = 'Склеивание двойных сообщений';
$txt['manageposts_automerge_settings_description'] = 'Здесь можно задать параметры автоматической и ручной склейки двойных сообщений.';


RacingETR

#319
Hola soy nuevo aqui pues mi problema es que no se como instalar esos archivos en mi foro u,u

Saludos y disculpen mi ignorancia. :'(

EDIT.

Sorry ya me explicaron Gracias por el Mod


QuoteTodo lo que se hace se puede medir, sólo si se mide se puede controlar, sólo si se controla se puede dirigir y sólo si se dirige se  puede mejorar

Racing

Advertisement: