Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: [SiNaN] on January 19, 2009, 11:10:40 AM

Title: Topic Solved
Post by: [SiNaN] on January 19, 2009, 11:10:40 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1601)

Topic Solved

This mod adds the feature of marking a topic solved or unsolved. You can select the boards this feature to be active. It includes solve own topic and any topic permissions. It also has quick moderation option when selectboxes are used and topic solved log, which can be viewed both from Admin Logs are and Moderation Center.

To enable the mod:

Admin Control Panel >> Boards

Click on the "modify" link for the board you want to enable this feature for.

In the edit board page check "Topic Solved Board" option and save the changes.

Note: This mod uses FamFamFam Silk icons (http://www.famfamfam.com/lab/icons/silk/) licensed under Creative Commons Attribution 2.5 License.

-[SiNaN]
Title: Re: Topic Solved
Post by: phpMyTony on January 19, 2009, 11:51:01 AM
Great! Thanks!
Title: Re: Topic Solved
Post by: Ryan on January 19, 2009, 12:40:57 PM
Now this addition would be cool for version 1.2  :D

Ability to drop down and select multiple topics to be st as solved.
Title: Re: Topic Solved
Post by: Sudhakar Arjunan on January 19, 2009, 01:40:31 PM
Hey Author ,

This will be a real good mod.

Thanks for this mod, i have downloaded now.

Will install and leave my feedback here.
Title: Re: Topic Solved
Post by: edi67 on January 19, 2009, 05:04:58 PM
i cannot wait for use this great mod thx
Title: Re: Topic Solved
Post by: TW1ST3D on January 19, 2009, 05:49:53 PM
Any plan to port this back to 1.1.7 ?
Title: Re: Topic Solved
Post by: [SiNaN] on January 20, 2009, 06:48:25 AM
Thanks for the feedback.

M3THOD:

It already has that feature. Just apply the MessageIndex.template.php file edit to your theme's MessageIndex.template.php file. You can use the manual installation instructions on the Mod Site.

TW1ST3D:

No. There is already a similar mod by Grudge (http://www.simplemachines.org/community/index.php?action=profile;u=89) for SMF 1.x. Although he haven't updated it recently, I guess it works with 1.1.7 too.
Title: Re: Topic Solved
Post by: jacmoe on January 21, 2009, 01:15:11 AM
Great mod!  :)

Could you add a [solved] to the topic title?
Or, any admin defined prefix.
The tiny green check-mark is great, but not clear enough.
Just point me in the right direction, and I might be able to make the change myself.
Thanks.  ;)
Title: Re: Topic Solved
Post by: coldfusionpower on January 21, 2009, 01:47:49 PM
installed this on SMF 2.0.4 and it works on default theme.. on custom theme im using now, the codes for Display.template.php and MessageIndex.template.php is not in sight ..i do found something near but nothing at MessageIndex.template.php. :(

theme : blackrain V2

only code i can found on Display.template.php is
Quote$mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'javascript:document.quickModForm.submit();');

i cant find this on the page
Quote$mod_buttons[] = array('text' => 'quick_mod_restore', 'image' => '', 'lang' => true, 'url' => 'javascript:document.quickModForm.submit();', 'custom' => ' name="restore_selected" ');
Title: Re: Topic Solved
Post by: codnerd on January 25, 2009, 02:42:55 AM
Can you please make this for SMF 1.1.7 please. Grudge's does not work for 1.1.7 and he will not update.
Title: Re: Topic Solved
Post by: Nibogo on January 26, 2009, 05:00:21 PM
BlueDream this is just great dude!!

Thank you so much I was expecting this for SMF 2.0 ^^

BlueDream would be nice to add support for prefix ;)
Title: Re: Topic Solved
Post by: six_L on January 28, 2009, 05:51:41 AM
QuoteThis mod adds the feature of marking a topic solved or unsolved. You can select the boards this feature to be active. It includes solve own topic and any topic permissions. It also has quick moderation option when selectboxes are used and topic solved log, which can be viewed both from Admin Logs are and Moderation Center.
give me a picture to explain.
Title: Re: Topic Solved
Post by: Marcus Forsberg on January 30, 2009, 11:13:04 AM
Swedish translation.


// Topic Solved
$txt['topic_solved'] = 'Ämne löst';
$txt['topic_not_solved'] = 'Ämne ej löst';
$txt['topic_solved_quick'] = 'Markera valda som lösta';
$txt['topic_solved_quick_confirm'] = 'Är du säker på att du vill markera de valda ämnena som lösta?';

$txt['topic_solved_board'] = 'Tavla för lösta ämnen';
$txt['topic_solved_board_desc'] = 'Aktiverar Ämne löst-funktionen i denna tavla';

$txt['topic_solved_log'] = 'Ämne löst-logg';
$txt['topic_solved_no_log'] = 'Inga lösta ämnen har loggats.';
$txt['topic_solved_desc'] = 'Visar en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedan finns en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.<br /><b>Notera:</b> Poster kan inte raderas från denna logg förrän de är minst tjugofyra timmar gamla.';
$txt['modlog_ac_solve'] = 'Löste &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Markerade &quot;{topic}&quot; som ej löst.';

$txt['permissionname_solve_topic'] = 'Markera ämnen som lösta';
$txt['permissionhelp_solve_topic'] = 'Detta låter användare markera ämnen som lösta.';
$txt['permissionname_solve_topic_own'] = 'Egna ämnen';
$txt['permissionname_solve_topic_any'] = 'Alla ämnen';
$txt['permissionname_simple_solve_topic_own'] = 'Markera sina egna ämnen som lösta';
$txt['permissionname_simple_solve_topic_any'] = 'Markera alla ämnen som lösta';

$txt['topic_solved_error_no_board'] = 'Ledsen, ämne löst-funktionen är inte aktiverad i denna tavla.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan inte markera dina ämnen som lösta.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan inte markera ämnen som lösta.';
// Topic Solved
Title: Re: Topic Solved
Post by: six_L on January 30, 2009, 09:59:04 PM
Hey,Nas.
thanks your help.

i used Blue Dream's method to add "TopicSolved" with manul install instructions. but the "TopicSolved" of english still can't be showed. so it's not the problem of translation.
Title: Re: Topic Solved
Post by: [SiNaN] on January 31, 2009, 04:37:50 PM
jacmoe:
NBG:

It requires some work and I don't want to hardcode it. Though, I can give you some codes to add prefix only in MessageIndex.

../Sources/MessageIndex.php

Find:

t.id_previous_board,

Replace:

t.id_previous_board, t.is_solved,

Find:

// Decide how many pages the topic should have.

Replace:

$row['first_subject'] = $row['is_solved'] ? '[SOLVED] ' . $row['first_subject'] : $row['first_subject'];

// Decide how many pages the topic should have.


I may include this in the future versions though, I'll see.

coldfusionpower:

Display.template.php

Find:

if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)

Replace:

// The Topic Solved button.
if ($context['can_solve_topic'])
$mod_buttons[] = array('text' => $context['topic_solved'] ? 'topic_not_solved' : 'topic_solved', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id']);

if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)


MessageIndex.template.php

Find:

', $context['can_merge'] ? '<option value="merge">' . $txt['quick_mod_merge'] . '</option>' : '', '

Replace:

', $context['can_merge'] ? '<option value="merge">' . $txt['quick_mod_merge'] . '</option>' : '', '
', $context['can_solve'] ? '<option value="solve">' . $txt['topic_solved_quick'] . '</option>' : '', '


codnerd:

Sorry, I no longer code mods for SMF 1.x versions.

six_L:

Admin CP >> Boards

Click to the "modify" link for the board you want to enable this feature.

Then in the edit board page check "Topic Solved Board" option and save.

I couldn't understand your problem about language? Have you cleared your file cache?

Admin CP >> Forum Maintenance >> Empty the file cache

You should run that maintenance if you modify language files.

Nas:

Thanks for the translation.
Title: Re: Topic Solved
Post by: Nibogo on January 31, 2009, 09:18:11 PM
Bluedream , i know how to do it in a really simple but ugly way , i just was proposed a feature of can be useful for some members
Title: Re: Topic Solved
Post by: Apllicmz on February 01, 2009, 01:26:03 AM
Nice work
when update dont forget portuguese_pt and utf8

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved portuguese translate by Candidosa2
$txt['topic_solved'] = 'T&oacute;pico Resolvido';
$txt['topic_not_solved'] = 'T&oacute;pico N&atilde;o Resolvido';
$txt['topic_solved_quick'] = 'Marcar selecionados resolvidos';
$txt['topic_solved_quick_confirm'] = 'Tem certeza de que pretende marcar t&oacute;picos como resolvido?';

$txt['topic_solved_board'] = 'T&oacute;pico Resolvido no quadro';
$txt['topic_solved_board_desc'] = 'Resolvido caracter&iacute;stica permite que o tema no quadro de Administra&ccedil;&atilde;o';

$txt['topic_solved_log'] = 'T&oacute;pico Resolvido Log';
$txt['topic_solved_no_log'] = 'N&atilde;o h&aacute; nenhum t&oacute;pico solucionar a&ccedil;&otilde;es autenticado.';
$txt['topic_solved_desc'] = 'Listas t&oacute;pico resolvido a&ccedil;&otilde;es que t&ecirc;m sido realizadas pelos moderadores no seu f&oacute;rum.';
$txt['modlog_topicsolved_log_desc'] = 'Abaixo est&aacute; uma lista de todos os t&oacute;picos que t&ecirc;m sido resolvidos ac&ccedil;&otilde;es levadas a cabo pelos moderadores do f&oacute;rum.<br /><b>Observe:</b>As inscri&ccedil;&otilde;es n&atilde;o podem ser retirados a partir deste registo at&eacute; que estejam pelo menos vinte e quatro horas de idade.';
$txt['modlog_ac_solve'] = 'Resolvido &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'N&atilde;o-Resolvido &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcas t&oacute;picos resolvidos';
$txt['permissionhelp_solve_topic'] = 'Essa permiss&atilde;o permite que um utilizador para um assunto resolvido.';
$txt['permissionname_solve_topic_own'] = 'T&oacute;pico pr&oacute;prio';
$txt['permissionname_solve_topic_any'] = 'Qualquer T&oacute;pico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seu pr&oacute;prio t&oacute;pico como resolvido';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar t&oacute;pico de algu&eacute;m como resolver';

$txt['topic_solved_error_no_board'] = 'Desculpe, n&atilde;o &eacute; assunto resolvido recurso activado nesta quadro.';
$txt['cannot_support_tools_solve_topic_own'] = 'Voc&ecirc; n&atilde;o pode marcar o seu t&oacute;pico como resolvido.';
$txt['cannot_support_tools_solve_topic_any'] = 'Voc&ecirc; n&atilde;o pode marcar t&oacute;pico como resolvido.';
// Topic Solved translate suporte smfpt.net
]]></add>
        </operation>
    </file>


<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved portuguese translate by Candidosa2
$txt['topic_solved'] = 'T&oacute;pico Resolvido';
$txt['topic_not_solved'] = 'T&oacute;pico N&atilde;o Resolvido';
$txt['topic_solved_quick'] = 'Marcar selecionados resolvidos';
$txt['topic_solved_quick_confirm'] = 'Tem certeza de que pretende marcar t&oacute;picos como resolvido?';

$txt['topic_solved_board'] = 'T&oacute;pico Resolvido no quadro';
$txt['topic_solved_board_desc'] = 'Resolvido caracter&iacute;stica permite que o tema no quadro de Administra&ccedil;&atilde;o';

$txt['topic_solved_log'] = 'T&oacute;pico Resolvido Log';
$txt['topic_solved_no_log'] = 'N&atilde;o h&aacute; nenhum t&oacute;pico solucionar a&ccedil;&otilde;es autenticado.';
$txt['topic_solved_desc'] = 'Listas t&oacute;pico resolvido a&ccedil;&otilde;es que t&ecirc;m sido realizadas pelos moderadores no seu f&oacute;rum.';
$txt['modlog_topicsolved_log_desc'] = 'Abaixo est&aacute; uma lista de todos os t&oacute;picos que t&ecirc;m sido resolvidos ac&ccedil;&otilde;es levadas a cabo pelos moderadores do f&oacute;rum.<br /><b>Observe:</b>As inscri&ccedil;&otilde;es n&atilde;o podem ser retirados a partir deste registo at&eacute; que estejam pelo menos vinte e quatro horas de idade.';
$txt['modlog_ac_solve'] = 'Resolvido &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'N&atilde;o-Resolvido &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcas t&oacute;picos resolvidos';
$txt['permissionhelp_solve_topic'] = 'Essa permiss&atilde;o permite que um utilizador para um assunto resolvido.';
$txt['permissionname_solve_topic_own'] = 'T&oacute;pico pr&oacute;prio';
$txt['permissionname_solve_topic_any'] = 'Qualquer T&oacute;pico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seu pr&oacute;prio t&oacute;pico como resolvido';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar t&oacute;pico de algu&eacute;m como resolver';

$txt['topic_solved_error_no_board'] = 'Desculpe, n&atilde;o &eacute; assunto resolvido recurso activado nesta quadro.';
$txt['cannot_support_tools_solve_topic_own'] = 'Voc&ecirc; n&atilde;o pode marcar o seu t&oacute;pico como resolvido.';
$txt['cannot_support_tools_solve_topic_any'] = 'Voc&ecirc; n&atilde;o pode marcar t&oacute;pico como resolvido.';
// Topic Solved translate suporte smfpt.net
]]></add>
        </operation>
    </file>
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 01:38:11 AM
hey,Blue Dream
thanks for your responses
Quotesix_L:
Admin CP >> Boards
Click to the "modify" link for the board you want to enable this feature.
Then in the edit board page check "Topic Solved Board" option and save.
i did it. but No "Topic Solved" Menu has been displayed.
my language works nice in the forum.
Title: Re: Topic Solved
Post by: [SiNaN] on February 01, 2009, 05:25:11 AM
Are you using a custom theme? If yes, did you make the theme file edits for the files of your custom template too?
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 05:37:56 AM
QuoteAre you using a custom theme?
no, i use the default theme.
Title: Re: Topic Solved
Post by: [SiNaN] on February 01, 2009, 05:56:49 AM
May I see your forum?
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 06:02:54 AM
yes. how do you see?
Title: Re: Topic Solved
Post by: [SiNaN] on February 01, 2009, 06:31:36 AM
I link to your forum would be enough with a test account that has solve topic permission. You can pm me if you don't want it to post it publicly.

Before that, I should remind you that "Topic Solved" button should appear besides mod buttons like "Lock Topic", "Remove Topic" in topic display.
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 07:30:00 AM
hey,Blue Dream
thanks your help.

my forum has been used by our group members. if you'll access it from internet, it's need a VPN account. i'm not this permission.
i'll post the files about the relation of "topic Solved", help me to check some errors in it. if you need the screen bitmaps, let's me know.
Title: Re: Topic Solved
Post by: [SiNaN] on February 01, 2009, 07:33:07 AM
Codes look fine. Are you sure that you are viewing the topic with a user that has the permission for marking topics as solved?
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 07:44:47 AM
i login as administrator.

still now, the IE7 in myforum can't run the xml files. i don't know whether it affects the installation of  "TopicSolved".
Title: Re: Topic Solved
Post by: [SiNaN] on February 01, 2009, 09:31:24 AM
It is really not possible. Re-check if "Topic Solved Board" option checked for that board.
Title: Re: Topic Solved
Post by: six_L on February 01, 2009, 09:44:41 AM
i really don't know that's why?
Title: topicSolved again
Post by: six_L on February 03, 2009, 01:48:53 AM
here is another mod to topicSolved.
i translated the install.xml into manul mod. help me check errors.
0.
TopicSolved.php ==>./Sources/
topic_solved.gif  ==>./Themes/default/images/post/
1.   /index.php
search:
'sticky' => array('LockTopic.php', 'Sticky'),
before add:
'topicsolved' => array('TopicSolved.php', 'TopicSolved'),
2.   ./Sources/ManageBoards.php
search:
'settings' => array('EditBoardSettings', 'admin_forum'),
before add:
'topicsolved' => array('TopicSolvedSettings', 'manage_boards'),

search:
=> $_REQUEST['sa'] != 'newcat' && $_REQUEST['sa'] != 'settings',
);
$context['admin_tabs']['tabs']['add_cat'] = array(
'title' => $txt['mboards_new_cat'],
'description' => $txt[677],
'href' => $scripturl . '?action=manageboards;sa=newcat',
'is_selected' => $_REQUEST['sa'] == 'newcat',
'is_last' => !allowedTo('admin_forum'),
);

replace:
=> $_REQUEST['sa'] != 'newcat' && $_REQUEST['sa'] != 'settings' && $_REQUEST['sa'] != 'topicsolved',
);
$context['admin_tabs']['tabs']['add_cat'] = array(
'title' => $txt['mboards_new_cat'],
'description' => $txt[677],
'href' => $scripturl . '?action=manageboards;sa=newcat',
'is_selected' => $_REQUEST['sa'] == 'newcat',
);
$context['admin_tabs']['tabs']['topic_solved'] = array(
'title' => $txt['topic_solved_settings'],
'description' => $txt['topic_solved_description'],
'href' => $scripturl . '?action=manageboards;sa=topicsolved',
'is_selected' => $_REQUEST['sa'] == 'topicsolved',
'is_last' => !allowedTo('admin_forum'),
);

search:
[ mysql_free_result($request);

// Initialize permissions.
init_inline_permissions(array('manage_boards'), array(-1));
}

after add:
// Topic solved.
function TopicSolvedSettings()
{
global $txt, $context, $modSettings, $func;

// Set the pate title
$context['page_title'] = $txt[41] . ' - ' . $txt['topic_solved'];

loadTemplate('ManageBoards');
$context['sub_template'] = 'modify_topic_solved_settings';

if (!empty($_POST['save_settings']))
{
checkSession();

// Setup the boards.
if (in_array('-1', $_POST['topic_solved_boards']))
$boards = '-1';
else
{
$boards = array();
foreach ($_POST['topic_solved_boards'] as $board)
$boards[] = (int) $board;
$boards = implode(',', $boards);
}

// Save the settings.
updateSettings(array(
'topic_solved_prefix' => strtr($func['htmlspecialchars']($_POST['topic_solved_prefix'], ENT_QUOTES), array("\r"

=> '', "\n" => '', "\t" => '')),
'topic_solved_type' => (int) $_POST['topic_solved_type'],
'topic_solved_icon' => strtr($func['htmlspecialchars']($_POST['topic_solved_icon'], ENT_QUOTES), array("\r" =>

'', "\n" => '', "\t" => '')),
'topic_solved_boards' => $boards,
'topic_solved_lock' => isset($_POST['topic_solved_lock']) ? 1 : 0,
));
}

//Load the jump to data.
loadJumpTo();

// Explode post_prefix boards
if (!empty($modSettings['topic_solved_boards']) && $modSettings['topic_solved_boards'] != '-1')
$modSettings['topic_solved_boards'] = explode(',', $modSettings['topic_solved_boards']);
}

3.   ./Sources/ManagePermissions.php
search:
'announce_topic' => false,
after add:
'solve_topic' => true,
4.   ./Sources/Display.php
search:
global $scripturl, $txt, $db_prefix, $modSettings, $context, $settings;
global $options, $sourcedir, $user_info, $ID_MEMBER, $board_info, $topic;
global $board, $attachments, $messages_request, $language;

before add:
global $func;
search:
'can_remove_poll' => 'poll_remove',
'can_reply' => 'post_reply',

before add:
'can_solve_topic' => 'solve_topic',

search:
$context['can_reply'] &= empty($topicinfo['locked']) || allowedTo('moderate_board');
before add:
// Can topics in this board be marked as solved?
$topic_solved_boards = explode(',', $modSettings['topic_solved_boards']);
$context['can_solve_topic'] &= in_array($board, $topic_solved_boards) || in_array(-1, $topic_solved_boards);

// Lets cache this
if ((($topic_solved = cache_get_data('topic_solved_' . $topic, 120)) == null) && (!isset($_SESSION['topic_solved_' . $topic]) || (isset

($_SESSION['topic_solved_' . $topic]) && time() - $_SESSION['topic_solved_' . $topic]['time'] > 120)))
{
// Select the current subject.
$selectSubject = db_query("
SELECT m.subject, m.icon
FROM ({$db_prefix}messages AS m, {$db_prefix}topics AS t)
WHERE m.ID_TOPIC = $topic
AND t.ID_FIRST_MSG = m.ID_MSG
LIMIT 1", __FILE__, __LINE__);
list ($topic_solved_subject, $topic_solved_icon) = mysql_fetch_row($selectSubject);
mysql_free_result($selectSubject);

$topic_solved = array(
'subject' => $topic_solved_subject,
'icon' => $topic_solved_icon,
'time' => time(),
);

if (!empty($modSettings['cache_enable']))
cache_put_data('topic_solved_' . $topic, $topic_solved, 120);
else
$_SESSION['topic_solved_' . $topic] = $topic_solved;
}

if (isset($_SESSION['topic_solved_' . $topic]))
$topic_solved = $_SESSION['topic_solved_' . $topic];

// Get the length of the prefix
$prefixLength = $func['strlen']($modSettings['topic_solved_prefix']);

// Is this topic solved?
if ((substr($topic_solved['subject'], 0, $prefixLength) == $modSettings['topic_solved_prefix'] && in_array($modSettings

['topic_solved_type'], array(0, 1)) || $topic_solved['icon'] == $modSettings['topic_solved_icon'] && in_array($modSettings['topic_solved_type'],

array(0, 2))))
$context['topic_solved'] = true;
else
$context['topic_solved'] = false;


5.   ./Themes/default/ManageBoards.template.php
search:
</tr><tr class="windowbg2">
<td align="right" colspan="2">
<input type="submit" name="save_settings" value="', $txt['mboards_settings_submit'], '" />
</td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
}
   
before add:
// Topic Solved
function template_modify_topic_solved_settings()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

$tabIndex = 1;
echo '
<script language="JavaScript" type="text/javascript"><!--
function messageIcon()
{
var checkIcon = isEmptyText(document.forms.topic_solved.topic_solved_icon);
var isSelected = document.forms.topic_solved.topic_solved_type.value == 2 ||

document.forms.topic_solved.topic_solved_type.value == 0;

if (checkIcon == true && isSelected == true)
alert("', $txt['topic_solved_icon_empty'], '");
}
//--></script>
<form action="', $scripturl, '?action=manageboards;sa=topicsolved" method="post" id="topic_solved"

accept-charset="', $context['character_set'], '"s>
<table border="0" cellspacing="0" cellpadding="4" align="center" width="80%"

class="tborder">
<tr class="titlebg">
<td colspan="2">', $txt['topic_solved_settings'], '</td>
</tr>
<tr class="windowbg2">
<th align="right" width="40%">
<label for="topic_solved_prefix">', $txt['topic_solved_prefix'],

'</label>:<br />
<span class="smalltext" style="font-weight: normal;">', $txt

['topic_solved_prefix_help'], '</span>
</th>
<td>
<input type="text" name="topic_solved_prefix"

id="topic_solved_prefix" value="', empty($modSettings['topic_solved_prefix']) ? '' : $modSettings['topic_solved_prefix'], '" size="30" tabindex="',

$tabIndex++, '"/>
</td>
<tr><tr class="windowbg2">
<th align="right">
<label for="topic_solved_icon">', $txt['topic_solved_icon'],

'</label>:<br />
<span class="smalltext" style="font-weight: normal;">', $txt

['topic_solved_icon_help'], '</span>
</th>
<td>
<input type="text" name="topic_solved_icon"

id="topic_solved_icon" value="', empty($modSettings['topic_solved_icon']) ? '' : $modSettings['topic_solved_icon'], '" size="30" tabindex="',

$tabIndex++, '"/>
</td>
</tr><tr class="windowbg2">
<th align="right">
<label for="topic_solved_type">', $txt['topic_solved_type'],

'</label>:<br />
<span class="smalltext" style="font-weight: normal;">', $txt

['topic_solved_type_help'], '</span>
</th>
<td>
<select name="topic_solved_type" id="topic_solved_type"

onchange="return messageIcon();"tabindex="', $tabIndex++, '">';
for ($i = 0; $i < count($txt['topic_solved_type_array']); $i++)
echo '
<option value="', $i, '" ', isset($modSettings

['topic_solved_type']) && $modSettings['topic_solved_type'] == $i ? 'selected="selected"' : '', '>', $txt['topic_solved_type_array'][$i], '</option>';
echo '
</select>
</td>
</tr><tr class="windowbg2">
<th align="right">
<label for="topic_solved_lock">', $txt['topic_solved_lock'],

'</label>:<br />
<span class="smalltext" style="font-weight: normal;">', $txt

['topic_solved_lock_help'], '</span>
</th>
<td>
<input type="checkbox" name="topic_solved_lock"

id="topic_solved_lock" ', empty($modSettings['topic_solved_lock']) ? '' : 'checked="checked"', '" tabindex="', $tabIndex++, '"/>
</td>
</tr><tr class="windowbg2">
<th align="right" valign="top">
<label for="topic_solved_boards">' ,$txt

['topic_solved_boards'], '</label>:<br />
<span class="smalltext" style="font-weight: normal;">' ,$txt

['topic_solved_boards_help'], '</span>
</th>
<td>
<select name="topic_solved_boards[]"

id="topic_solved_boards" size="15" multiple="multiple">;
<option value="-1" ', (isset($modSettings

['topic_solved_boards']) && $modSettings['topic_solved_boards'] == '-1' ? 'selected="selected"' : ''), '>', $txt['topic_solved_boards_all'],

'</option>';
foreach ($context['jump_to'] as $category)
{
echo '
<option disabled="disabled">---------------------------

-------------------------</option>
<option disabled="disabled">', $category['name'],

'</option>
<option disabled="disabled">---------------------------

-------------------------</option>';
foreach ($category['boards'] as $board)
echo '
<option value="', $board['id'], '" ', (isset

($modSettings['topic_solved_boards']) && is_array($modSettings['topic_solved_boards']) ? in_array($board['id'], $modSettings

['topic_solved_boards']) ? 'selected="selected"' : '' : ''). '> ' . str_repeat('&nbsp;&nbsp;&nbsp; ', $board['child_level']) . '|--- ' . $board['name'] .

'</option>';
}
echo '
</select>
</td>
</tr><tr class="windowbg2">
<td align="right" colspan="2">
<input type="submit" name="save_settings" value="', $txt

['mboards_settings_submit'], '" />
</td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
}


6.   ./Themes/default/Display.template.php
search:
'move' => array('test' => 'can_move', 'text' => 132, 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' .

$context['current_topic'] . '.0'),

after add:
'topic_solved' => array('test' => 'can_solve_topic', 'text' => $context['topic_solved'] ? 'topic_unsolved' : 'topic_solved', 'image' =>

'topic_solved.gif', 'lang' => true, 'url' => $scripturl . '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id']),


7.   ./Themes/default/languages/ManagePermissions.english.php
end add:
// Topic Solved permissions.
$txt['permissionname_solve_topic'] = 'Solve Topic';
$txt['permissionhelp_solve_topic'] = 'If you enable this permission for this membergroup they will be allowed to mark topics as solved.';
$txt['permissionname_solve_topic_own'] = 'Own topic';
$txt['permissionname_solve_topic_any'] = 'Any topic';

8.   ./Themes/default/languages/Errors.english.php
search:
$txt['cannot_calendar_view'] = 'Sorry, but you are not allowed to view the calendar.';

before add:
$txt['cannot_solve_topic_any'] = 'Sorry, you\'re not allowed to just any topic as solved.';
$txt['cannot_solve_topic_own'] = 'Sorry, you\'re not allowed to your own topic as solved.';

9.   ./Themes/default/languages/Modifications.english.php
end add:
// Topic solved
$txt['topic_solved'] = 'Topic Solved';
$txt['topic_solved_settings'] = 'Topic Solved Settings';
$txt['topic_solved_description'] = 'Edit settings for the topic solved mod.';
$txt['topic_solved_error_board'] = 'Topics in this board can\'t be marked as solved';
$txt['topic_solved_prefix'] = 'Subject Prefix';
$txt['topic_solved_prefix_help'] = 'This is the text used to prefix the subject with. Usually [SOLVED] is used.';
$txt['topic_solved_icon'] = 'Message Icon';
$txt['topic_solved_icon_help'] = 'Set the name of the message icon to use (without the extension) solved.gif would be just solved.';
$txt['topic_solved_icon_empty'] = 'Please enter the name of the icon to use if you wish to use the Message Icon method for markng topics

solved.';
$txt['topic_solved_type'] = 'Solve Method';
$txt['topic_solved_type_help'] = 'You can select which method to use to mark a topic solved.  You can change the message icon to a check, prefix

the subject or you can do both.';
$txt['topic_solved_type_array'] = array('Both', 'Subject Prefix', 'Message Icon');
$txt['topic_solved_boards'] = 'Boards';
$txt['topic_solved_boards_help'] = 'Select the boards that topics can be marked solved in.';
$txt['topic_solved_boards_all'] = 'All Boards';
$txt['topic_solved_lock'] = 'Lock Topic';
$txt['topic_solved_lock_help'] = 'Lock topics after marking it solved?';
$txt['topic_unsolved'] = 'Topic Not Solved';
   
Title: Re: Topic Solved
Post by: niko on February 03, 2009, 04:36:39 AM
Thanks for great mod!
Title: Re: Topic Solved
Post by: niko on February 04, 2009, 04:00:53 PM
Seems like MessageIndex shows mark solved for all boards even those with topic solved unchcked (Topic view doesn't show)
Title: Re: Topic Solved
Post by: Eclipse16V on February 04, 2009, 04:08:16 PM
Can you please make this for SMF 1.1.7  :D
Title: Re: Topic Solved
Post by: [SiNaN] on February 04, 2009, 04:11:55 PM
Niko:

Thanks for pointing out the issue. I'll update it tomorrow.

Eclipse16V:

I'm sorry, I no longer code mods for SMF 1.1.7. There should be a similar mod for SMF 1.x versions too.
Title: Re: Topic Solved
Post by: Nibogo on February 04, 2009, 04:35:08 PM
Quote from: Eclipse16V on February 04, 2009, 04:08:16 PM
Can you please make this for SMF 1.1.7  :D

Check the grudge topic solved mod topic , in one of the last pages you will find a really pretty version for 1.1.7
Title: Re: Topic Solved
Post by: Smoky "Rider" Blue on February 05, 2009, 12:42:36 AM
needs updating for the new rc, please.. wont go in the default>display  :'(
Title: Re: Topic Solved
Post by: [SiNaN] on February 05, 2009, 07:34:27 AM
Updated mod to version 1.1.

+ Added SMF 2.0 RC1 Public compatibility
+ Fixed an issue with quick moderation (Thanks Niko (http://www.simplemachines.org/community/index.php?action=profile;u=189))
Title: Re: Topic Solved
Post by: Smoky "Rider" Blue on February 05, 2009, 09:56:14 AM
thanks Blue.. and Niko ;)
Title: Re: Topic Solved
Post by: InsaneneSs on February 05, 2009, 11:16:48 AM
Quote from: Blue Dream on January 20, 2009, 06:48:25 AM
Thanks for the feedback.

M3THOD:

It already has that feature. Just apply the MessageIndex.template.php file edit to your theme's MessageIndex.template.php file. You can use the manual installation instructions on the Mod Site.

TW1ST3D:

No. There is already a similar mod by Grudge (http://www.simplemachines.org/community/index.php?action=profile;u=89) for SMF 1.x. Although he haven't updated it recently, I guess it works with 1.1.7 too.

Are you sure about that? Cuz when i search for "Grudge" it just shows this mod:

http://custom.simplemachines.org/mods/index.php?mod=878

I really like this mod.. Congratz xD

Edit: i find it

http://custom.simplemachines.org/mods/index.php?mod=7
i will test it
Title: Re: Topic Solved
Post by: six_L on February 06, 2009, 06:15:14 AM
hey,Blue Dream
QuoteUpdated mod to version 1.1.

+ Added SMF 2.0 RC1 Public compatibility
+ Fixed an issue with quick moderation (Thanks Niko) 

thank you very much.
now it's worked for me.

some little errors:
1.   install.php
'profile' => array(
'title' => $txt['forumProfile'],
'href' => $scripturl . '?action=profile;area=forumProfile',

forumprofile ==> forumProfile

2.   source/MessageIndex.php (in install.xml)
search:
foreach ($stickyCache as $topic)
{
logAction('sticky', array('topic' => $topic, 'board' => $stickyCacheBoards[$topic]));
sendNotifications($topic, 'sticky');
}

replace:
foreach ($stickyCache as $topic)
{
logAction('sticky', array('topic' => $topic, 'board' => $stickyCacheBoards[$topic]));
sendNotifications($topic, 'sticky');
}
foreach ($solveCache as $topic)
{
logAction($solveStatus[$topic] ? 'solve' : 'not_solve', array('topic' => $topic, 'board' => $solveCacheBoards[$topic]), 'topic_solved');
}


3.   source/Subs-Boards.php
as following jpg, i don't know how to modify it.

Title: Re: Topic Solved
Post by: rayosx on February 08, 2009, 05:14:54 AM
Blue Dream,
I love your mod, I already installed it, thanks for your great  Package ( mod ) for my  SMF 2.0 rc1,   it looks ok in the topic  the  green check mark, but is there anyway that it can say   SOLVED IN THE TOPIC TOO AND WITH GREEN AS THE CHECK MARK ? PLEASE LET ME KNOW, THANKS
:)
thanks again for your
Title: Re: Topic Solved
Post by: Lyonsy on February 08, 2009, 02:51:10 PM
Hi all.

I have just install topic solved and set my boards to allow topic solved, But it is not showing in the post message icon: section, Any clues to what is wrong.

My system is SMF 2 RC1
Title: Re: Topic Solved
Post by: [SiNaN] on February 08, 2009, 02:55:50 PM
I don't think I understand what you mean by this:

QuoteBut it is not showing in the post message icon: section, Any clues to what is wrong.

Can you elaborate? Which section exactly?
Title: Re: Topic Solved
Post by: Lyonsy on February 08, 2009, 03:18:11 PM
ok it could be me not doing something right.

See attached image.

Or could you explain on how to use the mod.
Title: Re: Topic Solved
Post by: [SiNaN] on February 08, 2009, 03:21:45 PM
When you are in a topic, you should be able to see a button with the label "Topic Solved" just besides your moderator buttons at the bottom left. Clicking on that will make the topic (un)solved.

Also you can mark topics as (un)solved with the quick moderation.

Also... It has a log feature which you can access from Admin CP or Moderation Center.
Title: Re: Topic Solved
Post by: Lyonsy on February 08, 2009, 03:40:05 PM
 ::) ::) ::) ::) I think i need some new  8) Glasses how could I not see that :-[

Thanks I have it now.

Cheers
Title: Re: Topic Solved - with SQLite
Post by: stomic on February 09, 2009, 01:19:18 PM
Hi!

First, thanks for a great mod!
Then, I'm using it with 2.0RC1 and SQLite and I had a problem with the UPDATE query
together with LIMIT. This doesn't exist in SQLite and since SMF 2.0 officially supports SQLite I think that you should consider removing LIMIT from UPDATE queries.
It works for me now, after removing LIMIT.

The file in question is:
Subs-TopicSolved.php, lines 81 and 94

I simply removed "LIMIT = ..." from the query.

greetings!
Title: Re: Topic Solved
Post by: jacmoe on February 13, 2009, 08:38:13 AM
Quote from: Blue Dream on January 31, 2009, 04:37:50 PM
jacmoe:
NBG:

It requires some work and I don't want to hardcode it. Though, I can give you some codes to add prefix only in MessageIndex.
A bit late, but: Thanks a lot! Works perfect.  :)
Title: Re: Topic Solved
Post by: rayosx on February 14, 2009, 02:25:34 AM
Hello Blue Dream,

Is there something that you can do to get the a Green text with "solved" besides the check mark in a topic?, something similar like this  forum?

http://forums.t-mobile.com/tmbl/board?board.id=87

Check how they write its solved threads,      the reason that I am asking you this is because many users will not know what really is the green check mark,  I know that whether you put the mouse over it will say solved, but sometimes does not work when you put your mouse over the green check mark and actually not all people will do that.

your answer will be appreciated.

thanks
Title: Re: Topic Solved
Post by: [SiNaN] on February 14, 2009, 03:34:39 AM
First issue here:

http://www.simplemachines.org/community/index.php?topic=286932.msg1905700#msg1905700

You can change [SOLVED] to <span style="color: #00FF00;">[SOLVED]</span> to make it green.
Title: Re: Topic Solved
Post by: rayosx on February 15, 2009, 04:32:33 AM
Blue Dream,
I did what you told me and it worked, the only problem is that when I put this command on ../Source     MessageIndex.php

$row['first_subject'] = $row['is_solved'] ? '<span class="color: #00FF00;">[SOLVED]</span>' $row['first_subject'] : $row['first_subject'];

I got an error

Parse error: syntax error, unexpected T_VARIABLE in /home1/colorai7/public_html/casas-de-venta-en-colorado-foros/Sources/MessageIndex.php on line 451


Am I missing something in the command above?

this is what you asked to do
$row['first_subject'] = $row['is_solved'] ? '[SOLVED] ' . $row['first_subject'] : $row['first_subject'];

         // Decide how many pages the topic should have.

but you gave me other code to change the color and I am stuck there, thanks

Title: Re: Topic Solved
Post by: Chronus on February 23, 2009, 03:55:43 AM
Hi!

First, thanks for a great mod!

I'm using 2.0RC1, I installed mod but can't use it. I don't see any options for topic solved in admin panel or in topics. Using default theme. Can you explain how to set this up?
Title: Re: Topic Solved
Post by: [SiNaN] on February 23, 2009, 05:28:43 AM
rayosx:

'<span class="color: #00FF00;">[SOLVED]</span>' $row['first_subject']

should be

'<span class="color: #00FF00;">[SOLVED]</span>' . $row['first_subject']

Chronus:

Admin CP >> Boards

Click to the "modify" link for the board you want to enable this feature.

Then in the edit board page check "Topic Solved Board" option and save.
Title: Re: Topic Solved
Post by: Chronus on February 23, 2009, 05:43:26 AM
I don't have that option. Tried to modify each board but I just can't see it
Title: Re: Topic Solved
Post by: [SiNaN] on February 23, 2009, 05:46:26 AM
Any errors in the Forum Error Log?
Title: Re: Topic Solved
Post by: Chronus on February 23, 2009, 05:49:23 AM
Nope, all fine, even the mod is installed with no errors
Title: Re: Topic Solved
Post by: [SiNaN] on February 23, 2009, 06:02:56 AM
Can you attach your index.php file here?
Title: Re: Topic Solved
Post by: Chronus on February 23, 2009, 07:49:36 AM
here you go
Title: Re: Topic Solved
Post by: [SiNaN] on February 24, 2009, 06:48:56 AM
Mod doesn't seem to be installed. Is it shown as installed in Package Manager packages list?
Title: Re: Topic Solved
Post by: Antes on February 24, 2009, 07:10:47 AM
Stuning Performance ! This is what i'm looking For My Help Topics ;)
Title: Re: Topic Solved
Post by: Chronus on February 24, 2009, 11:34:06 AM
Quote from: Blue Dream on February 24, 2009, 06:48:56 AM
Mod doesn't seem to be installed. Is it shown as installed in Package Manager packages list?

It seems to be installed
Title: Re: Topic Solved
Post by: [SiNaN] on February 24, 2009, 11:43:20 AM
Do you have any other mods installed? It might be a Package Manager issue.
Title: Re: Topic Solved
Post by: Chronus on February 25, 2009, 02:17:26 AM
you can see in the picture which mods I have installed
Title: Re: Topic Solved
Post by: [SiNaN] on February 26, 2009, 12:30:35 PM
Sorry, I was in the wap mod. Try deleting (not uninstalling) the package and installing again.
Title: Re: Topic Solved
Post by: phpMyTony on March 03, 2009, 11:13:17 AM
Great mod :) How can I add a button to say Topic Solved, like the ones on this forum? I mean so that they are at the top and the bottom and they say topic solved.
Title: Re: Topic Solved
Post by: Marduke on April 05, 2009, 01:48:12 AM
REALLY nice mod!

Only thing that would make it at all better for me would be a default message icon for topics that are unsolved.  Is there any way to edit this in?  Would be awesome.

Thanks in advance.
Title: Re: Topic Solved
Post by: B.SkiLLs on April 10, 2009, 09:55:17 PM
I tryied checkin other solved mod and nobody is messing with that and i might see if i can mod it to work for 1.1.8 but..

is this one mod'able to work with 1.1.8 ??

Title: Re: Topic Solved
Post by: Jossy123 on April 17, 2009, 05:24:16 AM
My english is bad, i hope you understand me. :-X
I've installed the mod, but it don't work... :-\

I use the default theme.
When I go to Boards > Modify board, I see the "Topic Solved Board:". But I can't set a topic to solved/un solved.
Check the attached images please..

Thanks before.
Title: Re: Topic Solved
Post by: B.SkiLLs on May 01, 2009, 01:30:14 AM
Quote from: Josephine on April 17, 2009, 05:24:16 AM
My english is bad, i hope you understand me. :-X
I've installed the mod, but it don't work... :-\

I use the default theme.
When I go to Boards > Modify board, I see the "Topic Solved Board:". But I can't set a topic to solved/un solved.
Check the attached images please..

Thanks before.
What language is your forum set to mainly ?? Also did you maybe have to add the images into that themes image folder your using ??







Title: Re: Topic Solved
Post by: Jossy123 on May 06, 2009, 11:04:34 AM
It is set to Dutch, but I have the same problem if I set it to English...
there's one image: topic_solved.gif in $imagesdir/post.
Title: Re: Topic Solved
Post by: B.SkiLLs on May 07, 2009, 01:04:10 AM
try using English (not english-uf8] and putting the image in $themesdir/images
Title: Re: Topic Solved
Post by: Jossy123 on May 07, 2009, 02:37:34 AM
Thanks for reply. But it don't work...
Title: Re: Topic Solved
Post by: B.SkiLLs on May 07, 2009, 03:13:20 AM
Quote from: Josephine on May 07, 2009, 02:37:34 AM
Thanks for reply. But it don't work...

Have you tried or double checked the install with the manual edits to make sure every thing wwas there and installed correctly ??

Maybe even try first to uninstall and install by doing it the manual way.

Check those just by going threw your files and then get back to us.

Im about to reinstall this mod myself and ill let you know if i get the same issue. I didnt before but i will check also but go ahead and double check yours the way i just explained :)


Title: Re: Topic Solved
Post by: loveyoyo on May 13, 2009, 02:38:38 PM
Sorry, I come from Taiwan, so my english is very pool, hope someone can understand me.

If I selected 'Topic Solved', I hope this topic cannot reply (not including Administrator,Global Moderator,Moderator), how do I edit file?

Thanks in advance.

SMF Version : 2.0 RC1
Title: Re: Topic Solved
Post by: loveyoyo on May 17, 2009, 11:49:19 PM
Quote from: loveyoyo on May 13, 2009, 02:38:38 PM
Sorry, I come from Taiwan, so my english is very pool, hope someone can understand me.

If I selected 'Topic Solved', I hope this topic cannot reply (not including Administrator,Global Moderator,Moderator), how do I edit file?

Thanks in advance.

SMF Version : 2.0 RC1

install.xml

search

<file name="$sourcedir/Display.php">
<operation>
<search position="replace"><![CDATA[ $context['topic_first_message'] = $topicinfo['id_first_msg'];]]></search>
<add><![CDATA[ $context['topic_first_message'] = $topicinfo['id_first_msg'];
$context['topic_solved'] = $topicinfo['is_solved'];
$context['can_solve_topic'] =  (allowedTo('solve_topic_any') || (allowedTo('solve_topic_own') && $user_info['id'] == $topicinfo['id_member_started'])) && $board_info['topic_solved'];]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky]]></search>
<add><![CDATA[t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky, t.is_solved]]></add>
</operation>
</file>


replace

<file name="$sourcedir/Display.php">
<operation>
<search position="replace"><![CDATA[ $context['topic_first_message'] = $topicinfo['id_first_msg'];]]></search>
<add><![CDATA[ $context['topic_first_message'] = $topicinfo['id_first_msg'];
$context['topic_solved'] = $topicinfo['is_solved'];
$context['can_solve_topic'] =  (allowedTo('solve_topic_any') || (allowedTo('solve_topic_own') && $user_info['id'] == $topicinfo['id_member_started'])) && $board_info['topic_solved'];]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky]]></search>
<add><![CDATA[t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky, t.is_solved]]></add>
</operation>
<operation>
<search position="before"><![CDATA[$context['is_locked'] = $topicinfo['locked'];]]></search>
<add><![CDATA[$context['is_solved'] = $topicinfo['is_solved'];]]></add>
</operation>
<operation>
<search position="before"><![CDATA[$context['can_reply'] &= empty($topicinfo['locked']) || allowedTo('moderate_board');]]></search>
<add><![CDATA[$context['can_reply'] &= $context['is_solved'] == '0' || allowedTo('moderate_board');]]></add>
</operation>
</file>
Title: Re: Topic Solved
Post by: KensonPlays on June 20, 2009, 07:27:19 PM
Will someone help me get this set up on SMF 2.0 RC1-1? please?
Title: Re: Topic Solved
Post by: [SiNaN] on June 21, 2009, 10:03:55 AM
It works fine with 2.0 RC1-1.
Title: Re: Topic Solved
Post by: Eclipse16V on June 21, 2009, 03:05:52 PM
Yes,
it works fine with 2.0 RC1-1
Title: Re: Topic Solved
Post by: KensonPlays on June 21, 2009, 09:56:35 PM
Well, I downgraded to 1.1.9 and does it work for 1.1.9?
Title: Re: Topic Solved
Post by: [SiNaN] on June 22, 2009, 10:44:17 AM
Nope, but there is one for 1.1.9 by Grudge.
Title: Re: Topic Solved
Post by: dansmark on June 24, 2009, 03:49:51 PM
I installed "Topic Sloved 1.1", but don't find any evidence it is there (other than in the "Package Manager").

Any clue why I can't see anything related to it?
Does it respond to new topics posted "after" I've installe the Mod?

Thanks!
Title: Re: Topic Solved
Post by: [SiNaN] on June 24, 2009, 03:58:48 PM
Quote from: [SiNaN] on February 23, 2009, 05:28:43 AM
Admin CP >> Boards

Click to the "modify" link for the board you want to enable this feature.

Then in the edit board page check "Topic Solved Board" option and save.
Title: Re: Topic Solved
Post by: dansmark on June 25, 2009, 08:02:16 AM
There is NOT an option for "Topic Solved".

Forum/Boards/Modify Boards
The option is not here.

I click "Modify" on the board (lets called it "General Category"), and it takes me to the "Edit Catgory" page.
The option is not here.

I click on a child board of the main board ("General Category"), same thing...
The option is not here.

Is there another place to look?

It's like the install didn't work (I have several that i've installed, and are doing the same exact thing... not showing-up as an option and can't find any trace of their existance!).
Title: Re: Topic Solved
Post by: [SiNaN] on June 25, 2009, 08:33:22 AM
Quote from: dansmark on June 25, 2009, 08:02:16 AM
(I have several that i've installed, and are doing the same exact thing... not showing-up as an option and can't find any trace of their existance!).

Then it might be a Package Manager issue. I suggest that you create a support request in SMF 2.x Support (http://www.simplemachines.org/community/index.php?board=147.0) board.
Title: Re: Topic Solved
Post by: dansmark on June 25, 2009, 08:41:07 AM
Thanks for the patience and help!
I will create one now.
Title: Re: Topic Solved
Post by: dansmark on June 27, 2009, 07:00:17 AM
I created a help topic for "Package Manager", but nobody seems to answer.
Any other suggestions?
Title: Re: Topic Solved
Post by: dansmark on July 02, 2009, 08:13:18 PM
Update!!!!!

I'm having a lot of problems with my forum...
No mods will work...  yet the base forum, seems to operate just fine.

Not one "Mod" I install, shows up in "Modifications"

I'm not investing any more time in it!

Thanks everyone for the help!!!

Case closed!
Title: Re: Topic Solved
Post by: 72 454 on July 12, 2009, 02:30:30 AM
Quote from: [SiNaN] on February 14, 2009, 03:34:39 AM
You can change [SOLVED] to <span class="color: #00FF00;">[SOLVED]</span> to make it green.

Shouldn't that be <span style="color: ??

Great mod. I changed all instances of solve/solved to complete/completed (with proper case) to use your mod for completed events.
Title: Re: Topic Solved
Post by: rayosx on July 18, 2009, 01:14:07 PM
Blue Dream,

I'm Back again :)

How difficult is to implement the   "Topic Solved"   feature with a selection of colors of your choice in your mod/package?

People who are not developers or expert on php like us we don't mess with any code and screw up the forums.

Please let me know

Also, can you check the entire line why does it don't change the color to green?   

$row['first_subject'] = $row['is_solved'] ? '<span class="color: #00FF00;">[SOLVED ]</span>' . $row['first_subject'] : $row['first_subject'];

Why it does not work?  it does not change the green color 

BTW, here is how it looks for now, but I want it Green,  go to General Section and check it.
http://www.colorado-homes-for-sale.us/super



Title: Re: Topic Solved
Post by: rayosx on July 18, 2009, 06:55:29 PM
Someone can answer it ? Please help me
Title: Re: Topic Solved
Post by: 72 454 on July 18, 2009, 08:35:26 PM
Find:

$row['first_subject'] = $row['is_solved'] ? '<span class="color: #00FF00;">[SOLVED ]</span>' . $row['first_subject'] : $row['first_subject'];


Replace with:

$row['first_subject'] = $row['is_solved'] ? '<span style="color: #00FF00;">[SOLVED]</span> ' . $row['first_subject'] : $row['first_subject'];


Title: Re: Topic Solved
Post by: rayosx on July 18, 2009, 10:23:16 PM
ncvettes,
Thank  You, it worked like a charm !!!!!       

I have a question for you if you are experienced on this mod,   Who is able to complete the solved?     

the Admin, Mods and the user who started the thread?   It does not make any sense to me that any user can have access to that option, am I right?
Title: Re: Topic Solved
Post by: CesarManara on July 28, 2009, 01:45:03 PM
Language portuguese_brazilian on SMF 2.0 RC1.2.

Modifications.portuguese_brazilian.php
// Topic Solved
$txt['topic_solved'] = 'Tópico Solucionado';
$txt['topic_not_solved'] = 'Tópico Não Solucionado';
$txt['topic_solved_quick'] = 'Marcar os selecionados como solucionados';
$txt['topic_solved_quick_confirm'] = 'Você tem certeza que quer marcar os tópicos selecionados como solucionados?';

$txt['topic_solved_board'] = 'Habilitar tópicos solucionados';
$txt['topic_solved_board_desc'] = 'Habilita a opção para tópicos solucionados no fórum';

$txt['topic_solved_log'] = 'Log dos tópicos solucionados';
$txt['topic_solved_no_log'] = 'Não existem ações registradas.';
$txt['topic_solved_desc'] = 'Lista as ações de tópicos solucionados feitas em seu fórum pelos seus moderadores.';
$txt['modlog_topicsolved_log_desc'] = 'A lista abaixo contem todas as ações de tópicos solucionados que foram feitas em seu fórun]m.<br /><b>Atenção:</b> Entradas não poderão ser removidas desta lista enquanto não tiverem pelo menos vinte e quatro horas de existencia.';
$txt['modlog_ac_solve'] = 'Solucionado &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Não Solucionado &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Tópico como solucionado';
$txt['permissionhelp_solve_topic'] = 'Esta permissão permite um usuário marcar um tópico como solucionado.';
$txt['permissionname_solve_topic_own'] = 'Tópico Próprio';
$txt['permissionname_solve_topic_any'] = 'Qualquer Tópico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seus próprios tópicos como solucionados';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar qualquer tópico como solucionado';

$txt['topic_solved_error_no_board'] = 'Desculpe, a opção de marcar tópicos como solucionados não está ativa neste fórum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Você não pode marcar seus tópicos como solucionados.';
$txt['cannot_support_tools_solve_topic_any'] = 'Você não pode marcar tópicos como solucionados.';
// Topic Solved
Title: Re: Topic Solved
Post by: Roger Rabbit on July 30, 2009, 04:35:34 AM
hope that a version for 1.1.10 will be released soon... :)
Title: Re: Topic Solved
Post by: grafitus on July 31, 2009, 05:03:10 PM
Thanks [SiNaN] ...
Title: Re: Topic Solved
Post by: Arantor on August 18, 2009, 09:07:05 AM
Quote from: Roger Rabbit on July 30, 2009, 04:35:34 AM
hope that a version for 1.1.10 will be released soon... :)

There is already, and has been for years. http://custom.simplemachines.org/mods/index.php?mod=7 works fine with 1.1.10 if you read the notes in the thread.
Title: Re: Topic Solved
Post by: zeroandone on August 27, 2009, 01:46:44 PM
I got an error when installing this mod. See the attached screen shot.

I am using SMF 2.0 RC1.2 with Prof theme.

Please advice,

Thanks,

Jeffrey
Title: Re: Topic Solved
Post by: Arantor on August 27, 2009, 02:50:22 PM
Looks like you already have one or more modifications that it conflicts with. The only way to do it will be to manually modify the code.

What other mods do you have already?
Title: Re: Topic Solved
Post by: zeroandone on August 27, 2009, 02:57:06 PM
Quote from: Arantor on August 27, 2009, 02:50:22 PM
Looks like you already have one or more modifications that it conflicts with. The only way to do it will be to manually modify the code.

What other mods do you have already?

   
1.    Admin color in topic view    
2.    Ad Managment    
3.    AvatarSelect    
4.    Excellent Smileys    
5.    Global Topics    
6.    Hide Images From Guest    
7.    Karma Buttons    
8.    Locked Topic Color
9.    phpBB3_Login_Fix    
10.    Simple Award System
11.    SMF Media Gallery    2.0 beta 4    
12.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update
13.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    
14.    Topic Solved
15.    Yet Another Global Announcements Mod

Thank you.
Title: Re: Topic Solved
Post by: Arantor on August 27, 2009, 03:41:51 PM
The trouble is most of the mods you have appear to modify the code the Topic Solved was expecting to find - so you will have to get someone to install it manually, working through all the code changes to apply it. It won't be a quick or easy job :(
Title: Re: Topic Solved
Post by: zeroandone on August 27, 2009, 03:46:47 PM
Ugh...

Thanks anyway.
Title: Re: Topic Solved
Post by: danielwmoore on August 28, 2009, 09:03:10 PM
Since several people here were interested in the '[SOLVED]' prefix, or some sort of prefix, and I was extremely interested in it as well, I added the modifications to the install.xml file explaining how to prefix the '[SOLVED]' to the subject in the message index.  The text will be colored green, unless you manually edit that part of the mod.

I decided to make it more language friendly, so that you can edit your language file and make it say whatever you like.

I used $txt['topic_solved_msg_index_solved'] for the Modifications.language file.  I wasn't able to properly translate the Turkish already included in the package, so I just copied the $txt['topic_solved'].  Perhaps someone else can fix that part properly.  I only do English (and PHP)  ;D

I'm attaching a modified zip of the entire mod with the included, altered install.xml file for review by others, and hopefully to be included in a future version of the mod. 
Title: Re: Topic Solved
Post by: stephenb on September 10, 2009, 07:40:43 AM
i used topic solved mod 1.1 but nothing showing up like [topic solved] button or text

help please
Title: Re: Topic Solved
Post by: Arantor on September 10, 2009, 07:42:04 AM
Do you have a custom theme? And did you configure it in the admin panel (you have to enable it for each board you want it on)
Title: Re: Topic Solved
Post by: stephenb on September 10, 2009, 08:15:40 AM
Can u please guide me?

EDIT: Thanks Arantor...I found it  :)
Title: Re: Topic Solved
Post by: meehan09 on October 16, 2009, 12:16:30 PM
When trying to install via packages iam getting this test failed!

Replace     .Sources/ManagePermissions.php     Test failed

Ive tried to prase the mod to manually do this step but its not allowing me. If somone could tell me the steps in Sources/ManagePermissions.php to manually edit this that would be great, has its failing on this.


Thanks,
Paul

Title: Re: Topic Solved
Post by: Arantor on October 16, 2009, 02:00:08 PM
For Sources/ManagePermissions.php, 2 changes:

Find:
'remove_own',
'view_attachments',


Add after (on a new line immediately after it)
'solve_topic_own',




Find:
'poll_add_any',
'approve_posts',


Add after (on a new line immediately after it)
'solve_topic_any',
Title: Re: Topic Solved
Post by: P@P on October 22, 2009, 01:41:26 PM
any plans for an update to SMF 2.0 RC2?
Title: Re: Topic Solved
Post by: Arantor on October 22, 2009, 01:47:31 PM
I have a feeling it may even work on 2.0 RC2 if you just bypass the version check (and use the Advanced option in the package manager to supply version 2.0 RC1.2 to it)
Title: Re: Topic Solved
Post by: P@P on October 22, 2009, 04:53:18 PM
Actually, as you said it should work because the package-info.xml has this line:

<install for="2.0 - 2.0.99">

I had to emulate for 2.0 (without the RC).

When I tried to install I've got this error:

Table 'papuser_smf.topics' doesn't exist
File: /home/papuser/public_html/forum/Packages/temp/install.php
Line: 16[/quote]

I know that SMF 2.0 RC2 renamed some tables, how can I update this package?
Title: Re: Topic Solved
Post by: Arantor on October 22, 2009, 05:32:31 PM
RC2 changed how several things worked.

First up, yes it changed how the package manager worked; the old figure of 2.0 - 2.0.99 won't work any more.

Secondly, the DB structure was changed. You'll have to modify the DB queries it added. Offhand I'm not sure what they are. (Reason I figured it'd work is because it works on this site, but I guess it got tweaked when being added)

In the install script, you'll see the db_add_column query. One of the entries in that query will be 'topics'. Edit that to be '{db_prefix}topics' and it should install. Not sure offhand about the other DB queries.
Title: Re: Topic Solved
Post by: MrCreatoR on October 30, 2009, 11:04:05 AM
Is there any way to add an option to forum's search engine, so the users will be able to search only solved topics?
Title: Re: Topic Solved
Post by: MrCreatoR on November 04, 2009, 06:11:18 AM
*Bump* (http://files.myopera.com/Creat0R/Opera_AC/Icons/whistle.gif)
Title: Re: Topic Solved
Post by: Arantor on November 04, 2009, 06:12:09 AM
Not very easily, no. Would be a major overhaul of the search system, IMO.
Title: Re: Topic Solved
Post by: MrCreatoR on November 04, 2009, 06:25:59 AM
Quote from: Arantor on November 04, 2009, 06:12:09 AM
Not very easily, no. Would be a major overhaul of the search system, IMO.
Too bad :( I thought that we could search at least for title ([SOLVED] ...), but as i see it [SOLVED] prefix does not added to the title? from one side it's good, because that way users can not change the status accidentally (or in purpose), but from other side they can not search for solved topics, and this would make the mod much more usefull.
Title: Re: Topic Solved
Post by: Bruno36 on November 09, 2009, 08:26:27 AM
Hello!

An adaptation of the mod is scheduled for SMF 2.0 RC2
Title: Re: Topic Solved
Post by: Neverhurry on November 09, 2009, 02:35:48 PM
Hi,

i have installed Blue Dream [SiNaN]'s "Topic Solved" mod successfully, then I want very much a Topic featured mod, cause nobody has the time to develope it, i have to do it myself. :)  What I did is actually change of all "solve" and "Solve" to "feature" and "Feature" from all 4 files of Blue Dream's Topic Solved files, all seemed very fine, but before the install i got the warning that the modlog.php file failed the test.

I found out that there are five similar replacement in the modlog.php file failed to do, because the original codes have been already replaced by the Topic Solved mod installation, for example:

Find (code 1)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : 1;
Replace (code 2)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicfeaturedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicfeaturedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

actually code 1hasn't been in the modlog.php file no more, because it has been already replaced by the code 3:

$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicsolvedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicsolvedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

What can I do?
Can i just add code 2 after code 3?

I will very appreciate any help. Many many thanks.


Topic Featured mod (changed from Blue Dream's Topic Solved mod) and it belongs to Blue Dream is attached below:

Title: Re: Topic Solved
Post by: Bruno36 on November 10, 2009, 07:15:35 AM
Quote from: Bruno36 on November 09, 2009, 08:26:27 AM
Hello!

An adaptation of the mod is scheduled for SMF 2.0 RC2
Title: Re: Topic Solved
Post by: king kratos on November 10, 2009, 04:45:50 PM
Quote from: Bruno36 on November 10, 2009, 07:15:35 AM
Quote from: Bruno36 on November 09, 2009, 08:26:27 AM
Hello!

An adaptation of the mod is scheduled for SMF 2.0 RC2

You keep saying "An adaptation of the mod is scheduled for SMF 2.0 RC2", but are not elaborating on it. Is this mod being updated to be compatible with RC2? Or are you creating a completely new mod for RC2? What kind of time lines are we looking at here?

I ask because I may end up modding the mod for my own purposes to work with RC2 if we cannot get better information about this mod.

Thank you,
Kratos
Title: Re: Topic Solved
Post by: Bruno36 on November 11, 2009, 02:48:01 AM
I managed to adapt to SMF 2.0 RC2.
It works well now
Title: Re: Topic Solved
Post by: king kratos on November 11, 2009, 03:44:20 AM
Quote from: Bruno36 on November 11, 2009, 02:48:01 AM
I managed to adapt to SMF 2.0 RC2.
It works well now

So, are you the mod author now (I know it was, or still is, [SiNaN])? If so, have you released the new RC2 compatible version on the mod site yet? If not, can you please give me some pointers on how you were able to adopt it to RC2? I am having some issues getting it to work.

Thanks,
Kratos
Title: Re: Topic Solved
Post by: Neverhurry on November 11, 2009, 05:41:21 PM
Quote from: neverhurry on November 09, 2009, 02:35:48 PM
Hi,

i have installed Blue Dream [SiNaN]'s "Topic Solved" mod successfully, then I want very much a Topic featured mod, cause nobody has the time to develope it, i have to do it myself. :)  What I did is actually change of all "solve" and "Solve" to "feature" and "Feature" from all 4 files of Blue Dream's Topic Solved files, all seemed very fine, but before the install i got the warning that the modlog.php file failed the test.

I found out that there are five similar replacement in the modlog.php file failed to do, because the original codes have been already replaced by the Topic Solved mod installation, for example:

Find (code 1)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : 1;
Replace (code 2)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicfeaturedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicfeaturedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

actually code 1hasn't been in the modlog.php file no more, because it has been already replaced by the code 3:

$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicsolvedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicsolvedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

What can I do?
Can i just add code 2 after code 3?

I will very appreciate any help. Many many thanks.


Topic Featured mod (changed from Blue Dream's Topic Solved mod) and it belongs to Blue Dream is attached below:

I wish very much that somebody can have a look at this problem. It is such a good mod. If I just let the modlog.php file fail, would the mod still works? Help will be very much appreciated, man!
Title: Re: Topic Solved
Post by: tonnybarros on November 12, 2009, 06:11:34 AM
What is the procedure to install the version 2.0, when applied in my reports this:

No actions defined install or uninstall!
Title: Re: Topic Solved
Post by: king kratos on November 12, 2009, 11:32:36 AM
Quote from: tonnybarros on November 12, 2009, 06:11:34 AM
What is the procedure to install the version 2.0, when applied in my reports this:

No actions defined install or uninstall!

If you are meaning to install in SMF Version 2.0 RC2, then follow the following steps. If you are talking about any other version of 2.0 (ie 1-1, 2.1, etc), you should be able to just install with the package manager.

To install in SMF Version 2.0 RC2, follow the following instructions:

1) Download the package to your desktop and unpack (unzip) it.

2) Using your favorite editor (such as dreamweaver, notepad++, etc), open install.php, package_info.xml, AND install.xml. You may do this one at a time, depending on how comfortable you are with editing these pages.

3) In install.php do the following edit;
FIND:

if (!array_key_exists('db_add_column', $smcFunc))
db_extend('packages');

$columns = $smcFunc['db_list_columns']('topics');

if (!in_array('is_solved', $columns))
$smcFunc['db_add_column']('topics', array('name' => 'is_solved', 'type' => 'tinyint', 'size' => 3));

$columns = $smcFunc['db_list_columns']('boards');

if (!in_array('topic_solved', $columns))
$smcFunc['db_add_column']('boards', array('name' => 'topic_solved', 'type' => 'tinyint', 'size' => 4));

REPLACE THE ENTIRE SECTION ABOVE WITH:

if (!array_key_exists('db_add_column', $smcFunc))
db_extend('packages');

$columns = $smcFunc['db_list_columns']('{db_prefix}topics');

if (!in_array('is_solved', $columns))
$smcFunc['db_add_column']('{db_prefix}topics', array('name' => 'is_solved', 'type' => 'tinyint', 'size' => 3));

$columns = $smcFunc['db_list_columns']('{db_prefix}boards');

if (!in_array('topic_solved', $columns))
$smcFunc['db_add_column']('{db_prefix}boards', array('name' => 'topic_solved', 'type' => 'tinyint', 'size' => 4));


You are basically just adding {db_prefix) in front of 'topics' and 'boards', inside of the ''.

4) In package_info.xml, perform the following edit:
FIND:

<remove-file name="$imagesdir/post/topicsolved.gif" />
</uninstall>

ADD THE FOLLOWING CODE AFTER THE ABOVE CODE:

<install for="2.0 RC2">
<modification>install.xml</modification>
<require-file name="Subs-TopicSolved.php" destination="$sourcedir" />
<require-file name="topicsolved.gif" destination="$imagesdir/post" />
<code>install.php</code>
</install>
<uninstall for="2.0 RC2">
<modification reverse="true">install.xml</modification>
<remove-file name="$sourcedir/Subs-TopicSolved.php" />
<remove-file name="$imagesdir/post/topicsolved.gif" />
</uninstall>


This edit is telling the package manager that the package is compatible with RC2.

5) in install.xml perform the following edit:
FIND:

<tr class="windowbg2" id="topic_solved_div">
<td>
<b>', $txt['topic_solved_board'], ':</b><br />
<span class="smalltext">', $txt['topic_solved_board_desc'], '</span><br />
</td>
<td valign="top" align="left">
<input type="checkbox" name="topic_solved" ', $context['board']['topic_solved'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';

REPLACE THE ABOVE CODE WITH THE FOLOWING CODE:

<div id="topic_solved_div">
<dl class="settings">
<dt>
<strong>', $txt['topic_solved_board'], ':</strong><br />
<span class="smalltext">', $txt['topic_solved_board_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="topic_solved" ', $context['board']['topic_solved'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';


6) Save all three of the files and close them. Find the original compressed (zipped) topic solved file and delete it.

7) Find the topic solved folder on your desktop and right click it. Hover over "send to" and click" compressed (zipped) folder".

8) Finally, using your package manager, click "download package" and, using the last option, click "upload". Find the newly compressed topic solved folder and upload it. Follow the directions like normal.

Note: you may or may not get an error depending on what mods you have installed already. If you do get an error, just perform the edits in the files that the errors appeared in manually and then continue through the warning to install the package.


**************************Disclaimer*********************************
USE AT YOUR OWN RISK! This worked fine for me and I didn't have any issues installing it. I cannot and will not be responsible for any damage that may or may not be done to your forum due to the use of this edited mod. If you do not feel comfortable in performing these edits, please either find someone who will do them for you or simply wait for the mod to be officially compatible with SMF Version 2.0 RC2.

I am not a co-author of this mod and take no credit for anything in this mod. I am not affiliated with this mod, nor the creation of this mod, in any way whatsoever. I simply changed a little bit of the code in order to make it compatible with RC2.


Enjoy,
Kratos
Title: Re: Topic Solved
Post by: Arantor on November 12, 2009, 11:38:06 AM
One thing, the edit to package-info.xml can be simplified:

Code (find, twice) Select
for="2.0 - 2.0.99"

Code (replace, twice) Select
for="2.0 - 2.0.99, 2.0 RC2"
Title: Re: Topic Solved
Post by: king kratos on November 12, 2009, 11:50:54 AM
Quote from: Arantor on November 12, 2009, 11:38:06 AM
One thing, the edit to package-info.xml can be simplified:

Code (find, twice) Select
for="2.0 - 2.0.99"

Code (replace, twice) Select
for="2.0 - 2.0.99, 2.0 RC2"

Oh, sweet! I didn't realize that it could be done like that. I just assumed that each version had to be entered on it's own line. Thank you for the info. That is much easier than putting every version on it's own line.

Kratos
Title: Re: Topic Solved
Post by: PerM on November 12, 2009, 05:11:11 PM
Attached is a modified version for SMF2.0 RC2, according to the above instructions.

Maybe this will save some other people some time.

Provided "AS-IS" without any warranty.


To avoid any legal issues, the file has been removed.
Title: Re: Topic Solved
Post by: king kratos on November 12, 2009, 05:53:59 PM
Quote from: PerM on November 12, 2009, 05:11:11 PM
Attached is a modified version for SMF2.0 RC2, according to the above instructions.

Maybe this will save some other people some time.

Provided "AS-IS" without any warranty.

The last time I posted a modified mod, I was told that it was against the license to distribute the mod (original or modified). You may want to be careful with that. That is why I posted the instructions and not the package it's self.

Kratos
Title: Re: Topic Solved
Post by: PerM on November 12, 2009, 05:59:39 PM
Ok, better not do that then. Thanks for telling me.
Title: Re: Topic Solved
Post by: king kratos on November 12, 2009, 07:17:11 PM
No problem! Luckily, the author of the mod I did that on was nice about it.

Kratos
Title: Re: Topic Solved
Post by: tonnybarros on November 19, 2009, 06:14:13 AM
For me it worked normally, please find attached the MOD has changed. The same I use, see there:

http://www.tectonny.com/forum/index.php (http://www.tectonny.com/forum/index.php)


Attachment removed by Kat at request of mod author.
Title: Re: Topic Solved
Post by: Mig-32 on November 23, 2009, 06:32:48 PM
On the board settings the default is "unchecked" so we must activate it (chek it) manualy...

I Have a lot of boards and sub-boards... is there anyway to make all of them the default "Marked"?? So I don't do this manualy?? (A lot of cheking!!)

Thanks!
Title: Re: Topic Solved
Post by: Eclipse16V on November 24, 2009, 07:53:38 AM
Please update it for SMF 2.0 RC2

Thx
Title: Re: Topic Solved
Post by: king kratos on November 24, 2009, 11:53:14 AM
Quote from: Eclipse16V on November 24, 2009, 07:53:38 AM
Please update it for SMF 2.0 RC2

Thx

See this post: http://www.simplemachines.org/community/index.php?topic=286932.msg2354540#msg2354540 (http://www.simplemachines.org/community/index.php?topic=286932.msg2354540#msg2354540) for instruction on how to install on RC2.

Kratos
Title: Re: Topic Solved
Post by: tonnybarros on November 24, 2009, 12:00:51 PM
http://www.simplemachines.org/community/index.php?topic=286932.msg2365350#msg2365350
Title: Re: Topic Solved
Post by: king kratos on November 24, 2009, 12:43:09 PM
Quote from: tonnybarros on November 24, 2009, 12:00:51 PM
http://www.simplemachines.org/community/index.php?topic=286932.msg2365350#msg2365350

Well, apparently the author of this mod is allowing the distribution of this mod by means other than the mod page on this site. I did not package this update as a true mod because an author for a different mod that I had done that on did not allow the distribution of his mod other than through the mod page on this site.

But I guess that if the author of this mod is ok with it, then it's all good.


EDIT: The author has verified that they do not allow distribution of their mod outside of the forum mod page.

Kratos
Title: Re: Topic Solved
Post by: tonnybarros on November 24, 2009, 12:55:24 PM
I do not MODs but changed to use the new version, and it worked for me, for I do not know if all is going.
Title: Re: Topic Solved
Post by: [SiNaN] on November 24, 2009, 03:20:31 PM
Sorry, I don't allow distribution of my mod packages, modified or not. I would be happy if you could remove your attachment. I maybe able to update it to work with RC2 sometime soon.
Title: Re: Topic Solved
Post by: Mig-32 on November 24, 2009, 05:12:17 PM
Quote from: Mig-32 on November 23, 2009, 06:32:48 PM
On the board settings the default is "unchecked" so we must activate it (chek it) manualy...

I Have a lot of boards and sub-boards... is there anyway to make all of them the default "Marked"?? So I don't do this manualy?? (A lot of cheking!!)

Thanks!

So, is or isn't there a solution for this issue??
Title: Re: Topic Solved
Post by: Arantor on November 24, 2009, 05:13:04 PM
You can, but it requires manually editing the database to do it.
Title: Re: Topic Solved
Post by: [SiNaN] on November 24, 2009, 05:49:13 PM
Run this query via phpMyAdmin:

UPDATE smf_boards
SET topic_solved = 1
Title: Re: Topic Solved
Post by: Neverhurry on November 25, 2009, 12:52:44 PM
Quote from: neverhurry on November 11, 2009, 05:41:21 PM
Quote from: neverhurry on November 09, 2009, 02:35:48 PM
Hi,

i have installed Blue Dream [SiNaN]'s "Topic Solved" mod successfully, then I want very much a Topic featured mod, cause nobody has the time to develope it, i have to do it myself. :)  What I did is actually change of all "solve" and "Solve" to "feature" and "Feature" from all 4 files of Blue Dream's Topic Solved files, all seemed very fine, but before the install i got the warning that the modlog.php file failed the test.

I found out that there are five similar replacement in the modlog.php file failed to do, because the original codes have been already replaced by the Topic Solved mod installation, for example:

Find (code 1)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : 1;
Replace (code 2)
$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicfeaturedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicfeaturedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

actually code 1hasn't been in the modlog.php file no more, because it has been already replaced by the code 3:

$context['log_type'] = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'adminlog' ? 3 : ((isset($_REQUEST['area']) && $_REQUEST['area'] == 'topicsolvedlog') || (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'topicsolvedlog') || (isset($_REQUEST['type']) && $_REQUEST['type'] == 4) ? 4 : 1);

What can I do?
Can i just add code 2 after code 3?

I will very appreciate any help. Many many thanks.


Topic Featured mod (changed from Blue Dream's Topic Solved mod) and it belongs to Blue Dream is attached below:

I wish very much that somebody can have a look at this problem. It is such a good mod. If I just let the modlog.php file fail, would the mod still works? Help will be very much appreciated, man!

Dear SiNaN, could you please have a look at this post? Thank you very much!
Title: Re: Topic Solved
Post by: Arantor on November 25, 2009, 03:31:49 PM
neverhurry, no you cannot just change the 3 to a 2; that is the ident for user profile edit logging.
Title: Re: Topic Solved
Post by: Neverhurry on November 26, 2009, 03:35:08 PM
Quote from: Arantor on November 25, 2009, 03:31:49 PM
neverhurry, no you cannot just change the 3 to a 2; that is the ident for user profile edit logging.

Hi Arantor, i said "Can i just add code 2 after code 3?" not change the 3 to 2, is that possible?
Title: Re: Topic Solved
Post by: Arantor on November 26, 2009, 03:36:30 PM
Doesn't matter, it still won't work properly since 2 is the code for user profile edits, which is handled differently.
Title: Re: Topic Solved
Post by: Neverhurry on November 26, 2009, 03:37:57 PM
Quote from: Arantor on November 26, 2009, 03:36:30 PM
Doesn't matter, it still won't work properly since 2 is the code for user profile edits, which is handled differently.

What file is this modlog? do you know if this file is necessary for SMF to work? thanks!
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on November 30, 2009, 02:57:21 PM
For SMF 2.0 RC2 ?
Title: Re: Topic Solved
Post by: Arantor on November 30, 2009, 05:52:53 PM
Vyorel; it will be updated for RC2 when the author has time, not before.
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on December 01, 2009, 01:52:44 AM
Quote from: Arantor on November 30, 2009, 05:52:53 PM
Vyorel; it will be updated for RC2 when the author has time, not before.
Ok. Thanks!
Title: Re: Topic Solved
Post by: KensonPlays on December 02, 2009, 05:56:34 PM
yes, that would be helpfull for part of my forum!
Title: Re: Topic Solved
Post by: king kratos on December 03, 2009, 01:00:34 AM
Quote from: Kcmartz on December 02, 2009, 05:56:34 PM
yes, that would be helpfull for part of my forum!

Quote from: -=[Vyorel]=- on November 30, 2009, 02:57:21 PM
For SMF 2.0 RC2 ?

I am not sure how comfortable you are with editing files, but if you feel comfortable enough, just follow these instructions to make this mod compatible with RC 2:
http://www.simplemachines.org/community/index.php?topic=286932.msg2354540#msg2354540 (http://www.simplemachines.org/community/index.php?topic=286932.msg2354540#msg2354540)

As I have stated in that post, I am not the mod author nor am I a co-author. I take no credit for this as I simply did it for myself and am now sharing with you how to do it properly. Also, I take no responsibility for these edits and you are using my instructions at your own risk.

I hope it works for you and good luck.

Kratos
Title: Re: Topic Solved
Post by: islam2hamy on December 07, 2009, 10:05:51 AM
Table 'althrabl_smf.topics' doesn't exist
file: /home4/althrabl/public_html/smfarabic/Packages/temp/install.php
line: 16

the table correct name is "smf_topics" isn't it?
Title: Re: Topic Solved
Post by: islam2hamy on December 07, 2009, 10:08:36 AM
sorry i have found it

http://www.simplemachines.org/community/index.php?topic=286932.msg2354540#msg2354540
Title: Re: Topic Solved
Post by: KensonPlays on January 11, 2010, 01:19:28 PM
Quote from: king kratos on November 12, 2009, 11:32:36 AM
Quote from: tonnybarros on November 12, 2009, 06:11:34 AM
What is the procedure to install the version 2.0, when applied in my reports this:

No actions defined install or uninstall!

Thanks for this!!!!!! You rock!!!!!!!

If you are meaning to install in SMF Version 2.0 RC2, then follow the following steps. If you are talking about any other version of 2.0 (ie 1-1, 2.1, etc), you should be able to just install with the package manager.

To install in SMF Version 2.0 RC2, follow the following instructions:

1) Download the package to your desktop and unpack (unzip) it.

2) Using your favorite editor (such as dreamweaver, notepad++, etc), open install.php, package_info.xml, AND install.xml. You may do this one at a time, depending on how comfortable you are with editing these pages.

3) In install.php do the following edit;
FIND:

if (!array_key_exists('db_add_column', $smcFunc))
db_extend('packages');

$columns = $smcFunc['db_list_columns']('topics');

if (!in_array('is_solved', $columns))
$smcFunc['db_add_column']('topics', array('name' => 'is_solved', 'type' => 'tinyint', 'size' => 3));

$columns = $smcFunc['db_list_columns']('boards');

if (!in_array('topic_solved', $columns))
$smcFunc['db_add_column']('boards', array('name' => 'topic_solved', 'type' => 'tinyint', 'size' => 4));

REPLACE THE ENTIRE SECTION ABOVE WITH:

if (!array_key_exists('db_add_column', $smcFunc))
db_extend('packages');

$columns = $smcFunc['db_list_columns']('{db_prefix}topics');

if (!in_array('is_solved', $columns))
$smcFunc['db_add_column']('{db_prefix}topics', array('name' => 'is_solved', 'type' => 'tinyint', 'size' => 3));

$columns = $smcFunc['db_list_columns']('{db_prefix}boards');

if (!in_array('topic_solved', $columns))
$smcFunc['db_add_column']('{db_prefix}boards', array('name' => 'topic_solved', 'type' => 'tinyint', 'size' => 4));


You are basically just adding {db_prefix) in front of 'topics' and 'boards', inside of the ''.

4) In package_info.xml, perform the following edit:
FIND:

<remove-file name="$imagesdir/post/topicsolved.gif" />
</uninstall>

ADD THE FOLLOWING CODE AFTER THE ABOVE CODE:

<install for="2.0 RC2">
<modification>install.xml</modification>
<require-file name="Subs-TopicSolved.php" destination="$sourcedir" />
<require-file name="topicsolved.gif" destination="$imagesdir/post" />
<code>install.php</code>
</install>
<uninstall for="2.0 RC2">
<modification reverse="true">install.xml</modification>
<remove-file name="$sourcedir/Subs-TopicSolved.php" />
<remove-file name="$imagesdir/post/topicsolved.gif" />
</uninstall>


This edit is telling the package manager that the package is compatible with RC2.

5) in install.xml perform the following edit:
FIND:

<tr class="windowbg2" id="topic_solved_div">
<td>
<b>', $txt['topic_solved_board'], ':</b><br />
<span class="smalltext">', $txt['topic_solved_board_desc'], '</span><br />
</td>
<td valign="top" align="left">
<input type="checkbox" name="topic_solved" ', $context['board']['topic_solved'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';

REPLACE THE ABOVE CODE WITH THE FOLOWING CODE:

<div id="topic_solved_div">
<dl class="settings">
<dt>
<strong>', $txt['topic_solved_board'], ':</strong><br />
<span class="smalltext">', $txt['topic_solved_board_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="topic_solved" ', $context['board']['topic_solved'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';


6) Save all three of the files and close them. Find the original compressed (zipped) topic solved file and delete it.

7) Find the topic solved folder on your desktop and right click it. Hover over "send to" and click" compressed (zipped) folder".

8) Finally, using your package manager, click "download package" and, using the last option, click "upload". Find the newly compressed topic solved folder and upload it. Follow the directions like normal.

Note: you may or may not get an error depending on what mods you have installed already. If you do get an error, just perform the edits in the files that the errors appeared in manually and then continue through the warning to install the package.


**************************Disclaimer*********************************
USE AT YOUR OWN RISK! This worked fine for me and I didn't have any issues installing it. I cannot and will not be responsible for any damage that may or may not be done to your forum due to the use of this edited mod. If you do not feel comfortable in performing these edits, please either find someone who will do them for you or simply wait for the mod to be officially compatible with SMF Version 2.0 RC2.

I am not a co-author of this mod and take no credit for anything in this mod. I am not affiliated with this mod, nor the creation of this mod, in any way whatsoever. I simply changed a little bit of the code in order to make it compatible with RC2.


Enjoy,
Kratos

THANKS!

EDIT:
It 'appears to be empty' even tho the files are in the root dir of the folder...
Title: Re: Topic Solved
Post by: Pezmc on January 16, 2010, 03:52:28 PM
How do I get this mod to add/remove [SOLVED] to the beginning of the post name?
and/or make the topics background green like: phpfreaks.com/forums/index.php/board,1.0.html
Title: Re: Topic Solved
Post by: .Crazy.Face. on March 01, 2010, 01:18:50 AM
Could you make this mod compatible with RC2 please?
Title: Re: Topic Solved
Post by: MaXiForum.cz on March 07, 2010, 03:25:56 PM
Quote from: .Crazy.Face. on March 01, 2010, 01:18:50 AM
Could you make this mod compatible with RC2 please?

Yes RC2/3? :)
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on March 07, 2010, 03:52:16 PM
Quote from: .Crazy.Face. on March 01, 2010, 01:18:50 AM
Could you make this mod compatible with RC2 please?
For SMF 2.0 RC2


Attachment removed by Kat as requested by mod author.
Title: Re: Topic Solved
Post by: Arantor on March 07, 2010, 03:53:38 PM
/me waits for SiNaN to ask you to remove it.
Title: Re: Topic Solved
Post by: MaXiForum.cz on March 08, 2010, 11:43:22 AM
Quote from: -=[Vyorel]=- on March 07, 2010, 03:52:16 PM
Quote from: .Crazy.Face. on March 01, 2010, 01:18:50 AM
Could you make this mod compatible with RC2 please?
For SMF 2.0 RC2

Thank you -=[Vyorel]=- :-)
CZ translate (http://www.simplemachines.org/community/index.php?topic=301494.msg2528588#msg2528588)  ;)
Title: Re: Topic Solved
Post by: [SiNaN] on March 09, 2010, 05:36:41 AM
Please do not attach modified packages. I don't allow them. I can and will update the mod.
Title: Re: Topic Solved
Post by: Arantor on March 09, 2010, 06:07:14 AM
That even looks like the one submitted to the mod site a bit back, probably even the same package file.
Title: Re: Topic Solved
Post by: tonnybarros on March 09, 2010, 10:56:10 AM
rc3????
Title: Re: Topic Solved
Post by: Sabre™ on March 09, 2010, 11:00:05 AM
Will be on the way buddy :)
Title: Re: Topic Solved
Post by: tonnybarros on March 09, 2010, 11:08:51 AM
Is expected, because I depend much of the MOD?
Title: Re: Topic Solved
Post by: Arantor on March 09, 2010, 11:12:05 AM
Oh sure, just remember that not everyone has been able to update their mods within ~16 hours of RC3 being published...

/me wishes folks would remember that mod authors are real people, often tied up with real life...
Title: Re: Topic Solved
Post by: tonnybarros on March 09, 2010, 11:33:14 AM
oK
Title: Re: Topic Solved
Post by: steve51184 on March 12, 2010, 09:47:56 PM
would love this for rc2 or rc3 :)
Title: Re: Topic Solved
Post by: waruna on March 13, 2010, 03:57:33 AM
Quote from: zx71 on March 12, 2010, 09:47:56 PM
would love this for rc2 or rc3 :)

Same here. Can't wait for it.
Title: Re: Topic Solved
Post by: Eclipse16V on March 13, 2010, 08:38:01 PM
Quote from: waruna on March 13, 2010, 03:57:33 AM
Quote from: zx71 on March 12, 2010, 09:47:56 PM
would love this for rc2 or rc3 :)

Same here. Can't wait for it.

Same here.  ;)
Please
Title: Re: Topic Solved
Post by: Xenmorph on March 19, 2010, 08:32:53 PM
Quote from: Eclipse16V on March 13, 2010, 08:38:01 PM
Quote from: waruna on March 13, 2010, 03:57:33 AM
Quote from: zx71 on March 12, 2010, 09:47:56 PM
would love this for rc2 or rc3 :)

Same here. Can't wait for it.

Same here.  ;)
Please

Yup would be great to get this Updated for RC3.

Thanks we know sometimes Life comes first but I have the same dam Problem with my Forum members, lmao no patience and expect everything yesterday.
Title: Re: Topic Solved
Post by: rd on March 19, 2010, 09:50:00 PM
http://smfsupport.info staff has already updated it for RC3. You can see it being used on our support forums.
Title: Re: Topic Solved
Post by: Arantor on March 19, 2010, 09:52:33 PM
Yes, but you can't distribute it legally.
Title: Re: Topic Solved
Post by: steve51184 on March 19, 2010, 09:54:49 PM
damn was just about to ask for a copy :\
Title: Re: Topic Solved
Post by: rd on March 19, 2010, 10:07:12 PM
We know, we can't.
Title: Re: Topic Solved
Post by: Nibogo on March 19, 2010, 10:56:13 PM
Quote from: Royalduke on March 19, 2010, 10:07:12 PM
We know, we can't.

If you know it why you make this post:

Quote from: Royalduke on March 19, 2010, 09:50:00 PM
http://smfsupport.info staff has already updated it for RC3. You can see it being used on our support forums.

I mean nobody cares if you have update it if you can't share it
Title: Re: Topic Solved
Post by: rd on March 20, 2010, 09:01:56 AM
You misunderstood me.

We can share it but we won't because we RESPECT the coder. It's his code and we can't really distrubate it, but we can manually update it ;)
Title: Re: Topic Solved
Post by: Arantor on March 20, 2010, 09:05:17 AM
So again why bother pointing this out?

SMF did it here too, but you don't see them mentioning it. Sorry but if anything it just makes you look arrogant and "nyaah you can't have it but we can".
Title: Re: Topic Solved
Post by: rd on March 20, 2010, 09:10:16 AM
;) my bad. It was supposed to be a rc3 demo of the mod for a custom theme ;)
Title: Re: Topic Solved
Post by: ~DS~ on March 20, 2010, 09:15:58 AM
/me facepalms
Title: Re: Topic Solved
Post by: Arantor on March 20, 2010, 06:04:25 PM
So again, showing off and going 'nyaah look what we got'.

Please, make something original then you can show it off.
Title: Re: Topic Solved
Post by: Neverhurry on March 25, 2010, 01:37:27 PM
Hi, I wish somebody can tell me what's wrong with it. I installed this mod in SMF 2.0 rc2, I don't give regular members permission to mark solved topics, but in fact they can choose the solved topic icon from the message icons. Is it normal? Or maybe I did something wrong? Thank you!
Title: Re: Topic Solved
Post by: Andrew94© on March 28, 2010, 03:48:24 AM
Is this mod compatible with 2.0 RC3?
Title: Re: Topic Solved
Post by: Arantor on March 28, 2010, 12:54:32 PM
Does the mod's page say it is? If not, probably not.
Title: Re: Topic Solved
Post by: Andrew94© on March 28, 2010, 03:40:45 PM
It may work with RC3 but it just may not SAY it is. RC3 is still fairly new, maybe the author just didn't update the page to say it works with 2.0 RC3.
Title: Re: Topic Solved
Post by: Arantor on March 28, 2010, 03:44:43 PM
This mod isn't even compatible with RC2 let alone RC3. Virtually every mod that does something to display requires changes to go from RC1 to RC2... which haven't been published here for this mod...
Title: Re: Topic Solved
Post by: Bruno36 on April 12, 2010, 11:48:24 AM
an update to rc3 is scheduled??
Title: Re: Topic Solved
Post by: grafitus on April 12, 2010, 12:56:41 PM
Quote from: Bruno36 on April 12, 2010, 11:48:24 AM
an update to rc3 is scheduled??
I guess, no. :/
Title: Re: Topic Solved
Post by: Eclipse16V on April 16, 2010, 12:21:40 AM
Any News?

Please update it.
Here on SMF works it.  :(
Title: Re: Topic Solved
Post by: ggs234 on May 08, 2010, 01:52:15 PM
I am also waiting for 2.0 RC3 support
Title: Re: Topic Solved
Post by: Arantor on May 08, 2010, 02:01:19 PM
Quote from: Eclipse16V on April 16, 2010, 12:21:40 AM
Any News?

Please update it.
Here on SMF works it.  :(

Here was updated by the team and I'm not 100% sure it's the same.

That said, the SimpleDesk team have their own topic solved mod which does work on RC3, needs some clean-up before we can consider publishing it though.
Title: Re: Topic Solved
Post by: [SiNaN] on May 09, 2010, 02:30:49 PM
Updated the mod to work with SMF 2.0 RC3. I was hoping to add some new features but don't have much time these days.
Title: Re: Topic Solved
Post by: Andrew94© on May 09, 2010, 03:37:32 PM
Thank you [SiNaN]!
Title: Re: Topic Solved
Post by: grafitus on May 09, 2010, 04:01:10 PM
Eventually. :) I guess there are problems with Turkish characters: "çözülmüþ", "iþaretleme", "konularýný", "dýþý", "býrakýlmýþtýr"...
Title: Re: Topic Solved
Post by: steve51184 on May 09, 2010, 06:39:45 PM
Quote from: [SiNaN] on May 09, 2010, 02:30:49 PM
Updated the mod to work with SMF 2.0 RC3. I was hoping to add some new features but don't have much time these days.

thank you for taking the time to do this!!!

also is there any admin settings other then the 'Enable Topic Solved Board' option for boards?
Title: Re: Topic Solved
Post by: Andrew94© on May 11, 2010, 09:24:32 AM
[SiNaN] is it possible that you also update this for SMF 1.1.11? (I think it would be nice if it was for both the stable and RC version of SMF).
Title: Re: Topic Solved
Post by: Arantor on May 11, 2010, 09:30:51 AM
By update you mean backport, this mod has never worked on 1.1.x. The 1.1.x mod is a totally different mod.
Title: Re: Topic Solved
Post by: Andrew94© on May 11, 2010, 09:55:12 AM
Ah yes, I'm looking for this one :P

http://custom.simplemachines.org/mods/index.php?mod=7
Title: Re: Topic Solved
Post by: SAFAD on May 13, 2010, 06:17:52 AM
aaa
is there an option to activate it in all boards .?
Title: Re: Topic Solved
Post by: [SiNaN] on May 13, 2010, 09:14:14 AM
Quote from: zx71 on May 09, 2010, 06:39:45 PM
also is there any admin settings other then the 'Enable Topic Solved Board' option for boards?

Nope, there aren't any other settings.

Quote from: Andrew94 on May 11, 2010, 09:55:12 AM
Ah yes, I'm looking for this one :P

http://custom.simplemachines.org/mods/index.php?mod=7

Although I haven't checked it, it would probably work with 1.1.11 as well.

Quote from: SAFAD on May 13, 2010, 06:17:52 AM
aaa
is there an option to activate it in all boards .?

Nope, but you could run this query via phpMyAdmin:

UPDATE smf_boards
SET topic_solved = 1
Title: Re: Topic Solved
Post by: SAFAD on May 13, 2010, 10:12:20 AM
i don't know why after 4 years of programing
i see small codes big !!
Thanks
Title: Re: Topic Solved
Post by: - WoW - on May 14, 2010, 05:07:51 AM
[SiNaN]

Where can I optioned this mod?
I see only in the Mod center.
Where can I find it in the AdminCP?
Title: Re: Topic Solved
Post by: [SiNaN] on May 14, 2010, 07:40:27 AM
Quote from: [SiNaN] on February 23, 2009, 05:28:43 AM
Admin CP >> Boards

Click to the "modify" link for the board you want to enable this feature.

Then in the edit board page check "Topic Solved Board" option and save.

Quote from: [SiNaN] on February 08, 2009, 03:21:45 PM
When you are in a topic, you should be able to see a button with the label "Topic Solved" just besides your moderator buttons at the bottom left. Clicking on that will make the topic (un)solved.

Also you can mark topics as (un)solved with the quick moderation.

Also... It has a log feature which you can access from Admin CP or Moderation Center.
Title: Re: Topic Solved
Post by: Siirist on May 19, 2010, 12:16:54 PM
This is a GREAT mod and we appreciate it.  ;D
Running SMF2.0 RC3
Core
Default Curve
Mystic Jade

Read through the Description and then downloaded, installed, set the boards that I wanted it to function on by ticking the box.
Then went to test, by posting a new topic with a question. We then returned and replied to the question and grabbed the drop down and there was not a Topic Solved.  :o
So we took screen-shots of everything and came here to post the problem, but then we saw;


Quote from: [SiNaN] on February 23, 2009, 05:28:43 AM
Admin CP >> Boards
Click to the "modify" link for the board you want to enable this feature.
Then in the edit board page check "Topic Solved Board" option and save.

Maybe you want to add this info to the description, because those of us that have marked our topics as solved here on SMF, are expecting drop-down from the Message Icon below the Subject line
Thanks again for the cool mod 8)
Be Well,
Cloud :)
Title: Re: Topic Solved
Post by: ATLANTIS29 on May 22, 2010, 12:08:16 PM
just added the mod and want to set it for a bugs page BUT

(http://i229.photobucket.com/albums/ee100/Atlantis29/help.jpg)


see the problem i can not set boads to topic solved mode
Title: Re: Topic Solved
Post by: [SiNaN] on May 23, 2010, 08:41:36 AM
The mod might not have been installed then. Try installing it again.
Title: Re: Topic Solved
Post by: Siirist on May 23, 2010, 09:59:58 AM
Hi SiNaN,  :)

Just wanted to let you know that we are going to try your mod "Simple Ad" b/c you listed it in your signature. :D

We tried Ad Manager but didn't understand how to use it. :(

Thanks for making the mod and be well,
Cloud 8)
Title: Re: Topic Solved
Post by: ATLANTIS29 on May 23, 2010, 06:42:37 PM
Quote from: [SiNaN] on May 23, 2010, 08:41:36 AM
The mod might not have been installed then. Try installing it again.

done that and it still dose not appear it installs fine just dosent work
Title: Re: Topic Solved
Post by: Siirist on May 23, 2010, 07:56:44 PM
Quote from: ATLANTIS29 on May 23, 2010, 06:42:37 PM
Quote from: [SiNaN] on May 23, 2010, 08:41:36 AM
The mod might not have been installed then. Try installing it again.

done that and it still dose not appear

it installs fine just dosent work


ATLANTIS29,

Do the words
"Topic Solved Board:
Enables the Topic Solved feature in the board"
appear when you select Admin > Forum > Boards > Modify Board ?

OR

If you go into a topic on a board that has been selected as a "Topic Solved" board,
Do you see a button with the label "Topic Solved" just besides your moderator buttons at the bottom left.

OR

Have you looked at the parse and verified that the necessary changes were made?

Be Well,
Cloud 8)
Title: Re: Topic Solved
Post by: winky100 on May 23, 2010, 09:05:04 PM
First let me say I like your mod.

Second, it took me a while to figure out where to go to control you mod. I suggest that you add the path to  the controller for your mod in the Description on the mod page.
Title: Re: Topic Solved
Post by: [SiNaN] on May 24, 2010, 04:02:08 AM
Quote from: ATLANTIS29 on May 23, 2010, 06:42:37 PM
Quote from: [SiNaN] on May 23, 2010, 08:41:36 AM
The mod might not have been installed then. Try installing it again.

done that and it still dose not appear it installs fine just dosent work

The fact that the settings doesn't show up means it didn't install fine. I could only suggest installing it manually then.
Title: Re: Topic Solved
Post by: KensonPlays on June 03, 2010, 04:15:44 PM
Thanks for your wonderful mod! I am going to use it, a member (also here, smitthr), wanted to mark it solved, but I didn't have it installed.
Title: Re: Topic Solved
Post by: ACAMS on June 18, 2010, 02:39:19 PM
I give up......I need help!

I update my forums to RC3 from RC2 and uninstalled ALL mods, including this one.

I had lots of trouble installing my mods back....mainly the portal and tried 2 -3 times with the package installer and ended up doing most BY HAND....including this one.

I found some things installed and some things not....and some things THREE TIMES

I found triple entries in Modifications.english.php and in Sources/Display.php, BUT I still have triple entries somewhere and can't find it..

Here is my problem....see pics

(http://gametechmods.com/Pics/TopicSolvedx3.jpg)

(http://gametechmods.com/Pics/TopicSolvedx3-1.jpg)


Can somebody please tell me where this may be?

Title: Re: Topic Solved
Post by: ~DS~ on June 18, 2010, 04:40:12 PM
Quote from: ACAMS on June 18, 2010, 02:39:19 PM
I give up......I need help!

I update my forums to RC3 from RC2 and uninstalled ALL mods, including this one.

I had lots of trouble installing my mods back....mainly the portal and tried 2 -3 times with the package installer and ended up doing most BY HAND....including this one.

I found some things installed and some things not....and some things THREE TIMES

I found triple entries in Modifications.english.php and in Sources/Display.php, BUT I still have triple entries somewhere and can't find it..

Here is my problem....see pics

(http://gametechmods.com/Pics/TopicSolvedx3.jpg)

(http://gametechmods.com/Pics/TopicSolvedx3-1.jpg)


Can somebody please tell me where this may be?
Look in the ManageSettings.php I think.
Title: Re: Topic Solved
Post by: venex on June 18, 2010, 04:50:39 PM
First of all... Thanks and Congrats for this MOD... it's simple yet amazing. Thanks God I don't have any issues with it... I'm just here to give you and idea if you are planning to update this MOD anything....

It would be nice if you add an option where it reads "Additional Options..." when you going to replay a thread not using the quick reply.

It would be great if you can add that option because it would be really easy to just click that box and send all the info than go back and click the button.

Thanks!
Title: Re: Topic Solved
Post by: ACAMS on June 18, 2010, 05:04:47 PM
Quote from: DS™ on June 18, 2010, 04:40:12 PM
Quote from: ACAMS on June 18, 2010, 02:39:19 PM
I give up......I need help!

Can somebody please tell me where this may be?
Look in the ManageSettings.php I think.


Not in ManageSettings.php ...... I have looked until my eyes crossed, guess I will try again later.......THANKS for the try.
Title: Re: Topic Solved
Post by: grafitus on June 18, 2010, 07:31:11 PM
ACAMS, If can attach your ./Sources/ManageBoards.php file, I can look at it? ;)
Title: Re: Topic Solved
Post by: ACAMS on June 18, 2010, 10:07:29 PM
I found errors in the ManageBoards.php and fixed them, but there are still 3 boxes. I cleared my cache and they are still there.

I click Uninstall and only have 1 error and that is in ./Sources/Display.php

It wants....

t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky, t.is_solved

But I have other mods and it needs to be....
t.num_replies, t.num_views, t.locked, ms.subject, t.is_sticky, t.is_solved, t.id_poll,

Here is my ./Sources/ManageBoards.php file


EDIT: I now have no errors because I moved , t.is_solved to just after sticky.....like above.

BUT I still have 3 Topic Solved buttons in the forum and the Admin panel.

And 3 NOT solved buttons

(http://gametechmods.com/Pics/topicSolvedx3-2.jpg)
Title: Re: Topic Solved
Post by: amiralib on July 10, 2010, 03:53:32 AM
how can I change the color of "TOPIC SOLVED" on forum like SMF forum?
Title: Re: Topic Solved
Post by: grafitus on July 10, 2010, 04:31:50 PM
Quote from: amiralib on July 10, 2010, 03:53:32 AM
how can I change the color of "TOPIC SOLVED" on forum like SMF forum?
./Themes/default/languages/Modifications.english.php
Code (Find) Select
$txt['topic_solved'] = 'Topic Solved';
Code (Replace) Select
$txt['topic_solved'] = '<span style="color: green;">Topic Solved</span>';
Title: Re: Topic Solved
Post by: amiralib on July 11, 2010, 12:46:41 PM
thanks mate . it works :)
Title: Re: Topic Solved
Post by: Martinfin on July 12, 2010, 11:07:32 AM
Not sure if this was asked or not, but what I am trying to stop on my board is when a User clicks topic solved, any guests can still write to it. Is this normal or did I miss the big picture? :)

Thanks Community..
You guys are great!
Title: Re: Topic Solved
Post by: steve51184 on July 14, 2010, 09:52:32 AM
would it be possible to theme this with css so look a little more like the one on here?
Title: Re: Topic Solved
Post by: frozenas on July 25, 2010, 09:27:15 PM
Not working for me. The "mark topic as solved" is nowhere to be found. Not in the topic, not in modify, not in forum view... Do i need to somewhere active this mod maybe or something?
Title: Re: Topic Solved
Post by: TheKillers on July 26, 2010, 03:17:55 AM
How to make so that in the name of topic the word was added "solved"?
Title: Re: Topic Solved
Post by: backend on July 29, 2010, 10:16:32 AM
Hi guys,

I would like to use this mod for a different purpose, and would like to see if it is possible before installing it:

-I have a special forum for upcoming events and special occassions. Once the event is over, I want to be able to mark it as 'Over' or maybe even change its color, so people know which events are in the past and which ones are still upcoming.

Will this do it for me? or at least, instead of the word 'Solve' , can I use my own keyword?

Thanks a lot
Title: Re: Topic Solved
Post by: steve51184 on August 01, 2010, 01:43:07 PM
question why is the 'topicsolved.gif' icon added to the list of user selectable message icons? i don't want my users to be able to use it for any topic so can it be safely removed from the message icons list without affecting the mod? thanks :)
Title: Re: Topic Solved
Post by: KensonPlays on August 01, 2010, 06:01:03 PM
Steve51184:
Go to "Smileys and Message Icons" and  check in the settings page "enable custom message icons". Disable it from there. That SHOULD work...
Title: Re: Topic Solved
Post by: steve51184 on August 01, 2010, 06:09:57 PM
Quote from: Kcmartz on August 01, 2010, 06:01:03 PM
Steve51184:
Go to "Smileys and Message Icons" and  check in the settings page "enable custom message icons". Disable it from there. That SHOULD work...

i know how to delete it from there i was asking 1. why is it added there and 2. is it safe to delete it
Title: Re: Topic Solved
Post by: KensonPlays on August 01, 2010, 06:16:38 PM
If you can, just "hide" it so it isn't selectable for topics.
Title: Re: Topic Solved
Post by: steve51184 on August 01, 2010, 06:23:23 PM
Quote from: Kcmartz on August 01, 2010, 06:16:38 PM
If you can, just "hide" it so it isn't selectable for topics.
there isn't a hide option
Title: Re: Topic Solved
Post by: KensonPlays on August 01, 2010, 06:30:34 PM
Ok. Hmmmm....
Title: Re: Topic Solved
Post by: Sabre™ on August 01, 2010, 07:06:39 PM
It is in the message icons section, because that is what it is, a message icon.
Remove it from the "Edit Message Icons" section in your Admin Panel if you dont want it to be user selectable.
It will have no effect on the mods function.
Title: Re: Topic Solved
Post by: steve51184 on August 01, 2010, 07:17:42 PM
thank you
Title: Re: Topic Solved
Post by: Sabre™ on August 01, 2010, 07:19:11 PM
My pleasure buddy :)
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 12:25:31 PM
Quote from: frozenas on July 25, 2010, 09:27:15 PM
Not working for me. The "mark topic as solved" is nowhere to be found. Not in the topic, not in modify, not in forum view... Do i need to somewhere active this mod maybe or something?

I am having the same issue.
Title: Re: Topic Solved
Post by: LoonyToons on August 06, 2010, 04:01:53 PM
Hiya,

I've installed this great mod on my 2.0 RC3 version but something odd is going on.
I've tried this on the theme I'm using and the default theme.

When I'm logged in as admin I see the Topic Solved button, but when I'm logged in as anyone else, I can't see the Topic Solved Button.

Any help gratefully received!


*** Found what I think the problem is - change the settings in permissions for each board! Problem solved!
Title: Re: Topic Solved
Post by: winky100 on August 06, 2010, 04:57:30 PM
Am I supposed to have a green check box in the msg icon list? I have the topic solved button but not the green icon. On this site i can just changed the msg icon to the green check icon. But I dont have that ability on my site.

Thanks
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 06:47:06 PM
Quote from: LoonyToons on August 06, 2010, 04:01:53 PM
Hiya,

I've installed this great mod on my 2.0 RC3 version but something odd is going on.
I've tried this on the theme I'm using and the default theme.

When I'm logged in as admin I see the Topic Solved button, but when I'm logged in as anyone else, I can't see the Topic Solved Button.

Any help gratefully received!


*** Found what I think the problem is - change the settings in permissions for each board! Problem solved!

LT you muust remember to check the permissions everytime a mod is installed.

Quote from: winky100 on August 06, 2010, 04:57:30 PM
Am I supposed to have a green check box in the msg icon list? I have the topic solved button but not the green icon. On this site i can just changed the msg icon to the green check icon. But I dont have that ability on my site.

Thanks

Which theme are you using?
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:04:39 PM
Hey I'm using the default curve theme but I had created my own colors and buttons. I do not get aany errors when installing through package manager, however, there is no button anywhere. I even looked in the permissions and there were no permissions for thie mod. Please help.
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 08:07:51 PM
Can we see a link to ya forum please
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:09:29 PM
www.usgrantdiscussions.com

I uninstalled it a little bit ago to see if I would get any errors. I will go install it again real quick.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:10:50 PM
okay it's installed.
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 08:17:02 PM
The only thing I can think of is to look at the images folder in the default theme.





OFF TOPIC
(I notice ya use the same ajax chat mod as I do. Have ya looked at the edits which can be added?)
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:42:03 PM
No but I really ajax so I would appreciate any suggestions to make it better. It really is one of the best additions to the site imo.

ON TOPIC
What should I be looking for in  the images folder?
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 08:48:48 PM
At the link you used to download the mod should be a parser.

click on the smf version. At the bottom of the list it should tell you the name of the image.





OFF TOPIC


For the Ajax chat edits use the FAQs link on the mods first post.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:52:32 PM
Cool thanks, I will look into all of this and if I get it fixed, I will mark solved. Thanks for Ajax tip also, I'm excited to see what all there is for it.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 08:59:25 PM
Okay I don't see any images in the parse. Maybe I'm a reeree but what exactly should I be looking for or are yu suggesting going through all of the php files one by one to make sure everything is there?
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 09:08:53 PM
Did you not see this:

Move the included file "Subs-TopicSolved.php" to "./Sources".
Move the included file "topicsolved.gif" to "./Themes/default/images/post".

The bold text is the image you should be looking for. If it isn't in the images of the theme you are using check the default themes image folder.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 09:11:15 PM
Okay yeah I just saw that actually and yes it is there. Let me ask ypu this: Where would I find options for this mod and if it isn't there would that help to figure out what the problem is?

Also are there any mods that it doesn't work well with?
Title: Re: Topic Solved
Post by: TheListener on August 06, 2010, 09:16:07 PM
For the first question the admin area probably modifications

For the second I have no idea.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 06, 2010, 09:18:38 PM
Yeah man I don't get what's happening, everything I've looked for so far is there. I will go through the parse and check every edit one by one. I really want this mod to work since my site is about answering questions. I really appreciate everything so far and f you think of anything please post. I will leave post as unsolved until I figure it out.

EDIT: >< never mind this isn't my topic LOL.
Title: Re: Topic Solved
Post by: forumnepali on August 19, 2010, 09:25:39 AM
'am useing RC3 and i'am geeting this Error PLease see below Message

http://****.com/index.php?action=dlattach;attach=103;type=avatar2: Invalid argument supplied for foreach()File: /home/f***/public_html/Sources/Load.php
Line: 1820

more detail please read this link http://www.simplemachines.org/community/index.php?topic=396557.0
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 19, 2010, 03:21:56 PM
And I still can't get this mod to work at all. Nothing is showing up anywhere. No icons no options, nothing. No errors either.
Title: Re: Topic Solved
Post by: kaamaru on August 23, 2010, 01:35:14 PM
How can I get the solved button to go green and red like in this forum.
Title: Re: Topic Solved
Post by: tRu3_sKiTz0 on August 28, 2010, 05:40:26 PM
Okay guys I just wanted to let everyone know that I finally got this mod working properly and I know what I was doing wrong and want to let the community know so that other noobs don't get stuck on this. The issue was that it didn't automatically enable on boards that were already created. All I had to do was go into the boards settings and activate it individually. So I hope that helps others because I felt like a reeree when I finally figured it out.
Title: Re: Topic Solved
Post by: Sabre™ on August 28, 2010, 05:54:13 PM
@tRu3_sKiTz0
Good job on figuring it out :)

@Calumks
Use the search function, I found your answer straight away in this thread.
Title: Re: Topic Solved
Post by: gevv on August 29, 2010, 11:18:33 AM
Hello

How do I change topic solved button font color ??
Title: Re: Topic Solved
Post by: grafitus on August 29, 2010, 07:19:39 PM
Quote from: gevv on August 29, 2010, 11:18:33 AM
How do I change topic solved button font color ??

Quote from: grafitus on July 10, 2010, 04:31:50 PM
Quote from: amiralib on July 10, 2010, 03:53:32 AM
how can I change the color of "TOPIC SOLVED" on forum like SMF forum?
./Themes/default/languages/Modifications.english.php
Code (Find) Select
$txt['topic_solved'] = 'Topic Solved';
Code (Replace) Select
$txt['topic_solved'] = '<span style="color: green;">Topic Solved</span>';
Title: Re: Topic Solved
Post by: Sabre™ on August 29, 2010, 08:08:48 PM
Some custom themes would require
$txt['topic_solved'] = '<font style="color: green;">Topic Solved</font>';
$txt['topic_not_solved'] = '<font style="color: red;">Topic Not Solved</font>';


as the string may already be in span tags, and throw it out of line (unsure of the default layout).
Yeah, font styles is deprecated, but still works :P
Title: Re: Topic Solved
Post by: kaamaru on September 01, 2010, 05:18:49 PM
Thank You :).
Title: Re: Topic Solved
Post by: KensonPlays on October 03, 2010, 03:09:48 PM
New feature suggestion:
Wap2 integration! i would use it for forums that have it/im a moderator on
Title: Re: Topic Solved
Post by: Robert. on October 05, 2010, 12:25:04 PM
Awesome modification! :D I really like this mod. :) Good work! :)
Title: Re: Topic Solved
Post by: Kolya on November 05, 2010, 07:47:17 AM
Looking forward to an update for RC4. :)
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on November 08, 2010, 07:54:00 PM
Quote from: Kolya on November 05, 2010, 07:47:17 AM
Looking forward to an update for RC4. :)
Exactly!

When appearing for version SMF 2.0 RC4? :)
Title: Re: Topic Solved
Post by: TonyL on December 01, 2010, 10:05:18 AM
The current version seems to work fine with RC4  :)
Title: Re: Topic Solved
Post by: steve51184 on December 01, 2010, 10:25:59 AM
Quote from: TonyL on December 01, 2010, 10:05:18 AM
The current version seems to work fine with RC4  :)

no it fails on install...
Title: Re: Topic Solved
Post by: danielwmoore on December 02, 2010, 10:49:43 AM
Quote from: steve51184 on December 01, 2010, 10:25:59 AM
Quote from: TonyL on December 01, 2010, 10:05:18 AM
The current version seems to work fine with RC4  :)
no it fails on install...

Failing on install has absolutely nothing to do with whether or not the mod works fine with RC4.  If it would not work fine with it, it would give a warning stating that this mod is not compatible.

Failing on install simply means you have another mod that is causing compatibility issues, and you need to manually edit the install.xml file or manually install the mod.

I have installed it and it is working beautifully on 2.0 RC4, however, I had to clean up some bad code from other mods before it would install cleanly. 

It is compatible with RC4.  You may want to find someone willing to manually install it for you.  I'd do it for you, but we'd have to talk price first.  Doing PHP programming as a freelancer for a living, I can't give away my time for free on it.   Perhaps someone here would be kind enough to do it for you?  If not, PM me about price.
Title: Re: Topic Solved
Post by: steve51184 on December 02, 2010, 11:12:08 AM
Quote from: danielwmoore on December 02, 2010, 10:49:43 AM
Failing on install has absolutely nothing to do with whether or not the mod works fine with RC4.  If it would not work fine with it, it would give a warning stating that this mod is not compatible.

no your wrong if it says it's compatible or not is due to what it says in the 'package-info.xml' file and some have it set for a specific version and some don't and this is why some say there compatible and some don't

Quote from: danielwmoore on December 02, 2010, 10:49:43 AM
Failing on install simply means you have another mod that is causing compatibility issues, and you need to manually edit the install.xml file or manually install the mod.

seems your wrong again as falling on install is (mostly) due to the mod being made for (for example) rc3 and with some small changes in rc4 it's 'failing' to install but a few minor edits you can get it to work

Quote from: danielwmoore on December 02, 2010, 10:49:43 AM
I have installed it and it is working beautifully on 2.0 RC4, however, I had to clean up some bad code from other mods before it would install cleanly.

true but that's just compatibility problems nothing to do with this mod really

Quote from: danielwmoore on December 02, 2010, 10:49:43 AM
It is compatible with RC4.  You may want to find someone willing to manually install it for you.  I'd do it for you, but we'd have to talk price first.  Doing PHP programming as a freelancer for a living, I can't give away my time for free on it.   Perhaps someone here would be kind enough to do it for you?  If not, PM me about price.

wow you totally didn't get what i mean when i said it fails to install

i didn't say you can't get it to install without making a few edits i simple said it fails on install and it does

and no i'm not paying you to install it as i'm more then capable of doing it but thanks for the offer
Title: Re: Topic Solved
Post by: [SiNaN] on December 02, 2010, 11:13:46 AM
I'll be updating this mod soon, hopefully.
Title: Re: Topic Solved
Post by: steve51184 on December 02, 2010, 11:14:58 AM
Quote from: シナン on December 02, 2010, 11:13:46 AM
I'll be updating this mod soon, hopefully.

cool
Title: Re: Topic Solved
Post by: sharks on December 02, 2010, 11:24:07 AM
Please update this mod to support SMF 1.1.12! :)
Title: Re: Topic Solved
Post by: [SiNaN] on December 02, 2010, 12:05:00 PM
There should be one by Grudge for 1.1 versions. I won't be backporting this one.
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on December 02, 2010, 01:42:10 PM
Quote from: sharks on December 02, 2010, 11:24:07 AM
Please update this mod to support SMF 1.1.12! :)
And SMF 2.0 RC4!
Title: Re: Topic Solved
Post by: Spoogs on December 02, 2010, 03:28:51 PM
Quote from: -=[Vyorel]=- on December 02, 2010, 01:42:10 PM
Quote from: sharks on December 02, 2010, 11:24:07 AM
Please update this mod to support SMF 1.1.12! :)
And SMF 2.0 RC4!
Geeez... I wonder what was said just 4 posts above yours.
Title: Re: Topic Solved
Post by: NoFeaR / NFSMW on December 03, 2010, 01:05:58 AM
 I installed this mod on RC3 and i dont see functions anywhere.
Title: Re: Topic Solved
Post by: [SiNaN] on December 03, 2010, 06:12:59 AM
Quote from: NoFeaR / NFSMW on December 03, 2010, 01:05:58 AM
I installed this mod on RC3 and i dont see functions anywhere.

This:

Quote from: [SiNaN] on February 23, 2009, 05:28:43 AM
Admin CP >> Boards

Click to the "modify" link for the board you want to enable this feature.

Then in the edit board page check "Topic Solved Board" option and save.
Title: Re: Topic Solved
Post by: [SiNaN] on December 03, 2010, 06:13:17 AM
Mod is now updated to SMF 2.0 RC4!
Title: Re: Topic Solved
Post by: danielwmoore on December 03, 2010, 06:48:02 AM
Quote from: steve51184 on December 02, 2010, 11:12:08 AM
wow you totally didn't get what i mean when i said it fails to install

i didn't say you can't get it to install without making a few edits i simple said it fails on install and it does

You really have confused the terminology "compatible" and "fail on install".  If I don't get what you mean by "fails to install" then perhaps you should have actually elaborated a bit and told us what you meant by it.  It can mean many, many things.

I checked it myself.  I didn't need to make code changes to make it compatible from RC3 to RC4, only to clean up behind other mods that were badly written.

However, this mod has now been updated by the author.  See if it will now install.  If it fails again, then rest assured it is a problem with one of your other mods.
Title: Re: Topic Solved
Post by: NanoSector on December 03, 2010, 06:55:58 AM
Quote from: シナン on December 03, 2010, 06:13:17 AM
Mod is now updated to SMF 2.0 RC4!
Woo! Thanks.
Title: Re: Topic Solved
Post by: steve51184 on December 03, 2010, 06:59:09 AM
Quote from: danielwmoore on December 03, 2010, 06:48:02 AM
You really have confused the terminology "compatible" and "fail on install".  If I don't get what you mean by "fails to install" then perhaps you should have actually elaborated a bit and told us what you meant by it.  It can mean many, many things.

well the install FAILED so yeah i don't think i confused the terminology as like i said 'it failed to install' but lets not argue about this as i didn't mean anything from it ok?

Quote from: danielwmoore on December 03, 2010, 06:48:02 AM
I checked it myself.  I didn't need to make code changes to make it compatible from RC3 to RC4, only to clean up behind other mods that were badly written.

well i tested on a fresh forum like i do to test all my mods and it failed on a few parts (if i remember correctly)

Quote from: danielwmoore on December 03, 2010, 06:48:02 AM
However, this mod has now been updated by the author.  See if it will now install.  If it fails again, then rest assured it is a problem with one of your other mods.

no need i have the other one installed and have since rc4 come out and again i don't use other mods
Title: Re: Topic Solved
Post by: Masterd on December 04, 2010, 07:36:54 AM
Quote from: シナン on December 03, 2010, 06:13:17 AM
Mod is now updated to SMF 2.0 RC4!

I waited so long for this!  :D
Title: Re: Topic Solved
Post by: henrik1782 on December 06, 2010, 09:27:50 AM
Nice mod ... thanks a lot!

Here is the Danish translation


<file name="$languagedir/Modifications.danish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Emne løst';
$txt['topic_not_solved'] = 'Emne ikke løst';
$txt['topic_solved_quick'] = 'Marker valgte emne som løst';
$txt['topic_solved_quick_confirm'] = 'Er du sikker på du vil markere valgte emne som løst?';

$txt['topic_solved_board'] = 'Emne løst board';
$txt['topic_solved_board_desc'] = 'Aktiverer Emne løst funktionen i forum';

$txt['topic_solved_log'] = 'Emne løst log';
$txt['topic_solved_no_log'] = 'Der er ikke logget nogen handlinger om Emne løst.';
$txt['topic_solved_desc'] = 'List over Emne løst handlinger der er udført af moderatorer i dit forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedenfor er en lister over alle Emne løst handlinger der er udført af moderatorer i dit forum.<br /><b>Bemærk venligst:</b> Angivelser i denne log kan ikke slettet før efter mindst 24 timer.';
$txt['modlog_ac_solve'] = 'Løste &quot;{emner}&quot;';
$txt['modlog_ac_not_solve'] = 'Ikke løste &quot;{emner}&quot;';

$txt['permissionname_solve_topic'] = 'Marker emner som løst';
$txt['permissionhelp_solve_topic'] = 'Denne rettighed tillader brugeren at benytte emne løst.';
$txt['permissionname_solve_topic_own'] = 'Egne emner';
$txt['permissionname_solve_topic_any'] = 'Alle emner';
$txt['permissionname_simple_solve_topic_own'] = 'Markere egne emner som løst';
$txt['permissionname_simple_solve_topic_any'] = 'Markere enhvers emne som løst';

$txt['topic_solved_error_no_board'] = 'Beklager, Emne løst funktion er ikke aktiveret i dette forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan ikke markere dit emne som løst.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan ikke markere emne som løst.';
// Topic Solved
]]></add>
</operation>
</file>
    <file name="$languagedir/Modifications.danish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Emne løst';
$txt['topic_not_solved'] = 'Emne ikke løst';
$txt['topic_solved_quick'] = 'Marker valgte emne som løst';
$txt['topic_solved_quick_confirm'] = 'Er du sikker på du vil markere valgte emne som løst?';

$txt['topic_solved_board'] = 'Emne løst board';
$txt['topic_solved_board_desc'] = 'Aktiverer Emne løst funktionen i forum';

$txt['topic_solved_log'] = 'Emne løst log';
$txt['topic_solved_no_log'] = 'Der er ikke logget nogen handlinger om Emne løst.';
$txt['topic_solved_desc'] = 'List over Emne løst handlinger der er udført af moderatorer i dit forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedenfor er en lister over alle Emne løst handlinger der er udført af moderatorer i dit forum.<br /><b>Bemærk venligst:</b> Angivelser i denne log kan ikke slettet før efter mindst 24 timer.';
$txt['modlog_ac_solve'] = 'Løste &quot;{emner}&quot;';
$txt['modlog_ac_not_solve'] = 'Ikke løste &quot;{emner}&quot;';

$txt['permissionname_solve_topic'] = 'Marker emner som løst';
$txt['permissionhelp_solve_topic'] = 'Denne rettighed tillader brugeren at benytte emne løst.';
$txt['permissionname_solve_topic_own'] = 'Egne emner';
$txt['permissionname_solve_topic_any'] = 'Alle emner';
$txt['permissionname_simple_solve_topic_own'] = 'Markere egne emner som løst';
$txt['permissionname_simple_solve_topic_any'] = 'Markere enhvers emne som løst';

$txt['topic_solved_error_no_board'] = 'Beklager, Emne løst funktion er ikke aktiveret i dette forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan ikke markere dit emne som løst.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan ikke markere emne som løst.';
// Topic Solved
]]></add>
</operation>
</file>
Title: Re: Topic Solved
Post by: -=[Vyorel]=- on December 06, 2010, 10:22:42 AM
Romanian translation

<file name="$languagedir/Modifications.romanian.php">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Subiect Rezolvat';
$txt['topic_not_solved'] = 'Subiect Nerezolvat';
$txt['topic_solved_quick'] = 'Marcheaza Subiectul ca fiind rezolvat';
$txt['topic_solved_quick_confirm'] = 'Esti sigur ca vrei sa marchezi acest subiect ca fiind rezolvat?';

$txt['topic_solved_board'] = 'Subiect Rezolvat in Sectiune';
$txt['topic_solved_board_desc'] = 'Activeaza in aceasta sectiune butonul pentru a marca subiectele rezolvate';

$txt['topic_solved_log'] = 'Logo Subiect Rezolvat';
$txt['topic_solved_no_log'] = 'Nu sunt subiecte marcate ca fiind rezolvate.';
$txt['topic_solved_desc'] = 'Listele actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.';
$txt['modlog_topicsolved_log_desc'] = 'Mai jos este o lista a actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.<br /><b>Te rog noteaza:</b> Logo-urile nu pot fi sterse din aceasta lista decat peste 24 de ore.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; Rezolvat';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; Nerezolvat';

$txt['permissionname_solve_topic'] = 'Marcheaza subiectele ca fiind rezolvate';
$txt['permissionhelp_solve_topic'] = 'Aceasta permisiune perminte utilizatorilor sa marcheze subiectele ca fiind rezolvate.';
$txt['permissionname_solve_topic_own'] = 'In propriul subiect';
$txt['permissionname_solve_topic_any'] = 'In alt subiect';
$txt['permissionname_simple_solve_topic_own'] = 'Marcheaza propriul subiect ca fiind rezolvat';
$txt['permissionname_simple_solve_topic_any'] = 'Marcheaza alt\e subiect\e ca fiind rezolvat\e';

$txt['topic_solved_error_no_board'] = 'Ne pare rau, in aceasta sectiune nu este activata marcarea subiectelor ca fiind rezolvate .';
$txt['cannot_support_tools_solve_topic_own'] = 'Nu poti marca propriul subiect ca fiind rezolvat.';
$txt['cannot_support_tools_solve_topic_any'] = 'Nu poti marca subiectele ca fiind rezolvate.';
// Topic Solved
]]></add>
</operation>
</file>


Romanian-utf8
<file name="$languagedir/Modifications.romanian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Subiect Rezolvat';
$txt['topic_not_solved'] = 'Subiect Nerezolvat';
$txt['topic_solved_quick'] = 'Marcheaza Subiectul ca fiind rezolvat';
$txt['topic_solved_quick_confirm'] = 'Esti sigur ca vrei sa marchezi acest subiect ca fiind rezolvat?';

$txt['topic_solved_board'] = 'Subiect Rezolvat in Sectiune';
$txt['topic_solved_board_desc'] = 'Activeaza in aceasta sectiune butonul pentru a marca subiectele rezolvate';

$txt['topic_solved_log'] = 'Logo Subiect Rezolvat';
$txt['topic_solved_no_log'] = 'Nu sunt subiecte marcate ca fiind rezolvate.';
$txt['topic_solved_desc'] = 'Listele actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.';
$txt['modlog_topicsolved_log_desc'] = 'Mai jos este o lista a actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.<br /><b>Te rog noteaza:</b> Logo-urile nu pot fi sterse din aceasta lista decat peste 24 de ore.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; Rezolvat';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; Nerezolvat';

$txt['permissionname_solve_topic'] = 'Marcheaza subiectele ca fiind rezolvate';
$txt['permissionhelp_solve_topic'] = 'Aceasta permisiune perminte utilizatorilor sa marcheze subiectele ca fiind rezolvate.';
$txt['permissionname_solve_topic_own'] = 'In propriul subiect';
$txt['permissionname_solve_topic_any'] = 'In alt subiect';
$txt['permissionname_simple_solve_topic_own'] = 'Marcheaza propriul subiect ca fiind rezolvat';
$txt['permissionname_simple_solve_topic_any'] = 'Marcheaza alt\e subiect\e ca fiind rezolvat\e';

$txt['topic_solved_error_no_board'] = 'Ne pare rau, in aceasta sectiune nu este activata marcarea subiectelor ca fiind rezolvate .';
$txt['cannot_support_tools_solve_topic_own'] = 'Nu poti marca propriul subiect ca fiind rezolvat.';
$txt['cannot_support_tools_solve_topic_any'] = 'Nu poti marca subiectele ca fiind rezolvate.';
// Topic Solved
]]></add>
</operation>
</file>
Title: Re: Topic Solved
Post by: sharks on December 23, 2010, 05:05:59 PM
Hi Senbonzakura, your mod is awesome man! Please consider making it compatible with SMF 1.1.12.
Title: Re: Topic Solved
Post by: cloksin on January 13, 2011, 11:57:46 AM
I have this mod installed on 2.0 RC3 but I would like to use it for a different function than indicating that a topic has been solved.  The functionality of the mod will work as is, but I would like to change the text on the button at the bottom of a thread to say something other than "Topic Solved". How can I go about doing that?
Title: Re: Topic Solved
Post by: dkharp on January 21, 2011, 09:46:16 PM
Umm wear do you change the settings for this mod?
Title: Re: Topic Solved
Post by: Spoogs on January 21, 2011, 09:49:53 PM
modify board
permissions
Title: Re: Topic Solved
Post by: dkharp on January 21, 2011, 10:36:35 PM
Thanks
Title: Re: Topic Solved
Post by: Robert. on January 23, 2011, 11:42:32 AM
Dutch translation:
<?php

// Topic Solved
$txt['topic_solved'] = 'Topic Opgelost';
$txt['topic_not_solved'] = 'Topic Niet Opgelost';
$txt['topic_solved_quick'] = 'Markeer selectie als opgelost';
$txt['topic_solved_quick_confirm'] = 'Weet je zeker dat je de geselecteerde topics als opgelost wilt markeren?';

$txt['topic_solved_board'] = 'Topic Opgelost-Board';
$txt['topic_solved_board_desc'] = 'Dit schakelt de topic opgelost-feature in op dit board';

$txt['topic_solved_log'] = 'Topic Opgelost Log';
$txt['topic_solved_no_log'] = 'Er zijn geen topics als opgelost markeerd die gelogd zijn';
$txt['topic_solved_desc'] = 'Maakt een lijst van de topic opgelost-acties die zijn uitgevoerd door moderators.';
$txt['modlog_topicsolved_log_desc'] = 'Hieronder is een lijst met alle topic opgelost-acties die zijn uitgevoerd door moderators op dit forum.<br /><b>Notitie:</b> De acties kunnen niet verwijderd worden totdat ze tenminste 1 dag oud zijn';
$txt['modlog_ac_solve'] = 'Heeft het topic &quot;{topic}&quot; als opgelost gemarkeerd';
$txt['modlog_ac_not_solve'] = 'Heeft het topic &quot;{topic}&quot; als niet-opgelost gemarkeerd';

$txt['permissionname_solve_topic'] = 'Markeer topics als opgelost';
$txt['permissionhelp_solve_topic'] = 'Met deze permissie kunnen gebruikers een topic als opgelost markeren';
$txt['permissionname_solve_topic_own'] = 'Eigen topic';
$txt['permissionname_solve_topic_any'] = 'Elk topic';
$txt['permissionname_simple_solve_topic_own'] = 'Markeer eigen topics als opgelost';
$txt['permissionname_simple_solve_topic_any'] = 'Markeer alle topics als opgelost';

$txt['topic_solved_error_no_board'] = 'Sorry, in dit board is het niet mogelijk om topics als opgelost te markeren.';
$txt['cannot_support_tools_solve_topic_own'] = 'Je kunt je eigen topics niet als opgelost markeren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Je kunt topics niet als opgelost markeren';
// Topic Solved

?>
Title: Re: Topic Solved
Post by: NanoSector on January 23, 2011, 01:22:48 PM
Quote from: Tah Zonemaster on January 23, 2011, 11:42:32 AM
Dutch translation:
<?php

// Topic Solved
$txt['topic_solved'] = 'Topic Opgelost';
$txt['topic_not_solved'] = 'Topic Niet Opgelost';
$txt['topic_solved_quick'] = 'Markeer selectie als opgelost';
$txt['topic_solved_quick_confirm'] = 'Weet je zeker dat je de geselecteerde topics als opgelost wilt markeren?';

$txt['topic_solved_board'] = 'Topic Opgelost-Board';
$txt['topic_solved_board_desc'] = 'Dit schakelt de topic opgelost-feature in op dit board';

$txt['topic_solved_log'] = 'Topic Opgelost Log';
$txt['topic_solved_no_log'] = 'Er zijn geen topics als opgelost markeerd die gelogd zijn';
$txt['topic_solved_desc'] = 'Maakt een lijst van de topic opgelost-acties die zijn uitgevoerd door moderators.';
$txt['modlog_topicsolved_log_desc'] = 'Hieronder is een lijst met alle topic opgelost-acties die zijn uitgevoerd door moderators op dit forum.<br /><b>Notitie:</b> De acties kunnen niet verwijderd worden totdat ze tenminste 1 dag oud zijn';
$txt['modlog_ac_solve'] = 'Heeft het topic &quot;{topic}&quot; als opgelost gemarkeerd';
$txt['modlog_ac_not_solve'] = 'Heeft het topic &quot;{topic}&quot; als niet-opgelost gemarkeerd';

$txt['permissionname_solve_topic'] = 'Markeer topics als opgelost';
$txt['permissionhelp_solve_topic'] = 'Met deze permissie kunnen gebruikers een topic als opgelost markeren';
$txt['permissionname_solve_topic_own'] = 'Eigen topic';
$txt['permissionname_solve_topic_any'] = 'Elk topic';
$txt['permissionname_simple_solve_topic_own'] = 'Markeer eigen topics als opgelost';
$txt['permissionname_simple_solve_topic_any'] = 'Markeer alle topics als opgelost';

$txt['topic_solved_error_no_board'] = 'Sorry, in dit board is het niet mogelijk om topics als opgelost te markeren.';
$txt['cannot_support_tools_solve_topic_own'] = 'Je kunt je eigen topics niet als opgelost markeren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Je kunt topics niet als opgelost markeren';
// Topic Solved

?>

I was about to do that too....

Gonna add it to my forum's Dutch.Modifications.php :)
Title: Re: Topic Solved
Post by: Jeet Chowdhury on February 01, 2011, 12:33:16 PM
i have installed on 2.0 rc 4 no mark as solved button. why?
Title: Re: Topic Solved
Post by: Arantor on February 01, 2011, 12:38:54 PM
Did you turn it on and configure it for the boards you wanted it on?
Title: Re: Topic Solved
Post by: sviridovt on February 07, 2011, 11:46:49 PM
hello, I need help! I installed it on smf 2 rc4 and selected boards that I want to have topic solved button in, and permissions. yet it still doesnt work. its not a theme issue because I tested it on default theme too.

Thanks, Tim
Title: Re: Topic Solved
Post by: BaghdadGhost on March 26, 2011, 07:10:44 AM
installed without any errors, set it as was explained, I even made sure that the gif image and the php file are in the directories, yet still no image to indicate a solved topic !!


thanks in advance
Title: Re: Topic Solved
Post by: Jesna on April 01, 2011, 10:43:27 AM
Im trying to install this mod but the package manager tell me that is has to log in via ftp and chmod. The files it want to chmod is /home ?? if it does that the domain is giving a internal server error. Then I thought of to do manually but what is the /home folder?
I have tried:
/public_html 755
/forum 755

you have any idea what it could be? the other mods i have tried is installing with no problems

/Jakob
Title: Re: Topic Solved
Post by: GlitchPC on June 16, 2011, 04:21:47 PM
Installed on SMF 2.0 Final release.  Had to manually edit MessageIndex.template.php for Core theme...other than that...it's working fine.

Nice feature would be to have this mod lock the thread once the topic is marked solved...and unlock the thread if the topic is marked unsolved.
Title: Re: Topic Solved
Post by: Road Rash Jr. on June 26, 2011, 09:46:43 PM
Is this mod going to be updated for SMF 2.0 Final?
Thanks,
Title: Re: Topic Solved
Post by: venex on June 27, 2011, 01:28:19 AM
Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel...

:D
Title: Re: Topic Solved
Post by: Masterd on June 27, 2011, 04:57:43 AM
It's pretty easy to do that. You only need to edit the query in order set is_locked to 1.
Title: Re: Topic Solved
Post by: Road Rash Jr. on June 29, 2011, 11:16:53 AM
Is this mod going to be updated for 2.0?
Title: Re: Topic Solved
Post by: Jessica. on July 01, 2011, 01:53:40 PM
This forum has Topic Solved right? And it looks like this when it's "Topic Not Solved" - see attachment

But the button on my test forum doesn't look like that. "Topic Solved" isn't in green either. Do I have to refresh or something?
Title: Re: Topic Solved
Post by: Apllicmz on July 01, 2011, 01:57:35 PM
You are using the same themes

Title: Re: Topic Solved
Post by: rbeuker on July 08, 2011, 07:20:12 AM
Quote from: venex on June 27, 2011, 01:28:19 AM
Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel...

:D
You must edit the Subs-TopicSolved.php for that. It's not very hard. I am not sure if I can share the code here--if you cannot figure it out, send me a pm :)
Title: Re: Topic Solved
Post by: snooks on July 09, 2011, 03:34:07 AM
Quote from: Jessica. on July 01, 2011, 01:53:40 PM
This forum has Topic Solved right? And it looks like this when it's "Topic Not Solved" - see attachment

But the button on my test forum doesn't look like that. "Topic Solved" isn't in green either. Do I have to refresh or something?

I would also like this too, mine is the same using default theme if i hoover my mouse over the "topic not solved" its orange other than that just same colour as all the other buttons
anyone know why this is please ?
Title: Re: Topic Solved
Post by: GraphicJunki on July 16, 2011, 11:53:23 PM
Will this mod be upadted for gold?
i really like it and would be nice to use its
Title: Re: Topic Solved
Post by: SoulEdge on August 24, 2011, 05:32:21 AM
There's a way to add automatically [Solved] in the title as well?
Title: Re: Topic Solved
Post by: snooks on August 24, 2011, 07:00:11 AM
Quote from: Jessica. on July 01, 2011, 01:53:40 PM
This forum has Topic Solved right? And it looks like this when it's "Topic Not Solved" - see attachment

But the button on my test forum doesn't look like that. "Topic Solved" isn't in green either. Do I have to refresh or something?

Can anyone answer this please
Title: Re: Topic Solved
Post by: bearstreet on September 02, 2011, 01:31:24 PM
Quote from: rbeuker on July 08, 2011, 07:20:12 AM
Quote from: venex on June 27, 2011, 01:28:19 AM
Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel...

:D
You must edit the Subs-TopicSolved.php for that. It's not very hard. I am not sure if I can share the code here--if you cannot figure it out, send me a pm :)

well , IF you can help me with this.
Title: Re: Topic Solved
Post by: bearstreet on September 02, 2011, 01:42:08 PM
is there  a way to display the topics which are not solved considering the fact that I have made only one t\board as topic solved board?
like we can display recent topics or recent board news. Is there  way to display unanswered topics? 
Title: Re: Topic Solved
Post by: SoulEdge on September 04, 2011, 05:13:17 AM
...and what about [Solved] tag in the title topic?
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 06, 2011, 12:20:20 AM
Quote from: SoulEdge on September 04, 2011, 05:13:17 AM
...and what about [Solved] tag in the title topic?

mmmm...

In file MessageIndex.php
Search:

$result = $smcFunc['db_query']('substring', '
SELECT
t.id_topic, t.num_replies, t.locked, t.num_views, t.is_sticky, t.id_poll, t.id_previous_board,

Replace with:

$result = $smcFunc['db_query']('substring', '
SELECT
t.is_solved, t.id_topic, t.num_replies, t.locked, t.num_views, t.is_sticky, t.id_poll, t.id_previous_board,


Search:

// 'Print' the topic info.
$context['topics'][$row['id_topic']] = array(
'id' => $row['id_topic'],

Replace with:

// 'Print' the topic info.
$context['topics'][$row['id_topic']] = array(
'solved' => $row['is_solved'],
'solved_link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">[ Solved ]</a>',
'id' => $row['id_topic'],







En file MessageIndex.template.php
Search:

<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';


Replace with:

<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">'.(!empty($topic['solved']) ? $topic['solved_link'] : '').' ', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';



Regards ;)
Title: Re: Topic Solved
Post by: Hackathon on September 06, 2011, 03:14:52 AM
Cool mod..
Title: Re: Topic Solved
Post by: SoulEdge on September 06, 2011, 09:22:46 AM
Quote from: ^HeRaCLeS^ on September 06, 2011, 12:20:20 AM
Quote from: SoulEdge on September 04, 2011, 05:13:17 AM
...and what about [Solved] tag in the title topic?

mmmm...

[...]

Regards ;)

Thank you, thank you, thank yuu very much!

But in this way just in the topic list of the board Solved tag is visible...how could I add Solved Tag in "Search", "Show unread posts since last visit" and "Show new replies to your posts" as well?
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 06, 2011, 09:32:29 AM
For that and would have to change the title of the message to mark as solved.

It's a bit more complicated
Title: Re: Topic Solved
Post by: SoulEdge on September 06, 2011, 09:38:48 AM
Quote from: ^HeRaCLeS^ on September 06, 2011, 09:32:29 AM
For that and would have to change the title of the message to mark as solved.

It's a bit more complicated

Could you implement that functions as well?
In this way Topic Solved will be more complete :D
Title: Re: Topic Solved
Post by: rtil on September 07, 2011, 05:14:40 PM
i think it would be better if the author made these changes so that they would be more permanent for everyone.

is the author still supporting this mod? it doesn't seem like it.
Title: Re: Topic Solved
Post by: bearstreet on September 07, 2011, 10:33:24 PM
Quote from: bearstreet on September 02, 2011, 01:42:08 PM
is there  a way to display the topics which are not solved considering the fact that I have made only one t\board as topic solved board?
like we can display recent topics or recent board news. Is there  way to display unanswered topics?

anyone?
if i use send locked topics to bottom mod , then i can display the board which I have made topic solved board and only the topmost/recent  topics(which have not been solved as marked) will be displayed. But to do this, I need to know how to lock the topics once they are solved :-\

Or is there any other method too.. searched lots on this forum and have not found how to do it.

just dont know how to go about this . Anyone can suggest a solution? :(
Title: Re: Topic Solved
Post by: Kimmie on September 10, 2011, 11:46:20 PM
has anyone installed this on 2.0G0ld (emulating back to RC4) yet? and does it work?
Title: Re: Topic Solved
Post by: Eclipse16V on September 11, 2011, 01:52:02 AM
Yes work fine on 2.0 Gold
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 06:22:43 AM
Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel.. (Hoping for fast reply :D)
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 06:55:48 AM
Quote from: ^HeRaCLeS^ on September 06, 2011, 12:20:20 AM
Quote from: SoulEdge on September 04, 2011, 05:13:17 AM
...and what about [Solved] tag in the title topic?

mmmm...

In file MessageIndex.php
Search:

$result = $smcFunc['db_query']('substring', '
SELECT
t.id_topic, t.num_replies, t.locked, t.num_views, t.is_sticky, t.id_poll, t.id_previous_board,

Replace with:

$result = $smcFunc['db_query']('substring', '
SELECT
t.is_solved, t.id_topic, t.num_replies, t.locked, t.num_views, t.is_sticky, t.id_poll, t.id_previous_board,


Search:

// 'Print' the topic info.
$context['topics'][$row['id_topic']] = array(
'id' => $row['id_topic'],

Replace with:

// 'Print' the topic info.
$context['topics'][$row['id_topic']] = array(
'solved' => $row['is_solved'],
'solved_link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">[ Solved ]</a>',
'id' => $row['id_topic'],







En file MessageIndex.template.php
Search:

<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';


Replace with:

<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">'.(!empty($topic['solved']) ? $topic['solved_link'] : '').' ', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';



Regards ;)
Hey, the last code isnt in messageindex.template.php
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 11, 2011, 08:01:06 AM
strafe
yes this this code, unless it has been changed by another mod.
Attach your file to view it.
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 08:35:17 AM
Quote from: ^HeRaCLeS^ on September 11, 2011, 08:01:06 AM
strafe
yes this this code, unless it has been changed by another mod.
Attach your file to view it.
My messageindex.template.php?
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 08:38:43 AM
There
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 09:47:54 AM
Did you find out of it?
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 11, 2011, 11:29:57 AM
These files are not the default theme or are modified by some mod
Changes should only have to adapt.
From line 253

<td class="subject ', $color_class, '" ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>';

Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 11:36:38 AM
Quote from: ^HeRaCLeS^ on September 11, 2011, 11:29:57 AM
These files are not the default theme or are modified by some mod
Changes should only have to adapt.
From line 253

<td class="subject ', $color_class, '" ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>';


Wait what am i gonna change it to? o.o
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 11, 2011, 12:08:31 PM
Not send more mp.
I always look at all topics

Test this file.
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 12:18:13 PM
Thanks :D And sorry for pms, im not a patient guy :/

Btw can you help me with this too?:

Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel.
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 11, 2011, 12:34:28 PM
Would have to modify the query.
Later I look
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 12:49:00 PM
Quote from: ^HeRaCLeS^ on September 11, 2011, 12:34:28 PM
Would have to modify the query.
Later I look
Ok thanks :)
Title: Re: Topic Solved
Post by: bearstreet on September 11, 2011, 12:50:22 PM
Quote from: strafe on September 11, 2011, 12:18:13 PM


Btw can you help me with this too?:

Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel.

even i would like to know how to do this.
Title: Re: Topic Solved
Post by: Kimmie on September 11, 2011, 03:44:03 PM
Quote from: bearstreet on September 11, 2011, 12:50:22 PM
Quote from: strafe on September 11, 2011, 12:18:13 PM


Btw can you help me with this too?:

Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel.

even i would like to know how to do this.



well instead of being rude, why not tell them how?
Title: Re: Topic Solved
Post by: H3lioz on September 11, 2011, 05:39:01 PM
Quote from: Kimmie on September 11, 2011, 03:44:03 PM
Quote from: bearstreet on September 11, 2011, 12:50:22 PM
Quote from: strafe on September 11, 2011, 12:18:13 PM


Btw can you help me with this too?:

Is there any way to put that once u click the "solve" button the topic is not only mark as "solved" but also the topic gets closed?.. It's annoying to mark the topic solved and then close the topic. At least this option should be in the admin panel.

even i would like to know how to do this.



well instead of being rude, why not tell them how?
Me or Bear?

If you ment Bear. He only said that he also would like to know how to do it.

If you ment me. Wtf?
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 11, 2011, 06:15:24 PM
strafe and bearstreet: Test please.

In file Subs-TopicSolved.php

Search:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved

Replace with:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved, locked

Search:
// Change the status.
Replace with:

$smcFunc['db_query']('', '
UPDATE {db_prefix}topics
SET locked = {int:locked}
WHERE id_topic = {int:topic}
LIMIT {int:limit}',
array(
'topic' => $topic,
'locked' => empty($row['locked']) ? 1 : 0,
'limit' => 1,
)
);

// Change the status.


Title: Re: Topic Solved
Post by: bearstreet on September 12, 2011, 12:31:50 AM

// Let's get some info about the topic.
$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved, locked
FROM {db_prefix}topics
WHERE id_topic = {int:topic}
LIMIT {int:limit}',
array(
'topic' => $topic,
'limit' => 1,
)
);
$row = $smcFunc['db_fetch_assoc']($request);
$smcFunc['db_free_result']($request);

// Check if he is allowed.
if (!allowedTo('solve_topic_any') && $user_info['id'] == $row['id_member_started'])
isAllowedTo('solve_topic_own');
else
isAllowedTo('solve_topic_any');


$smcFunc['db_query']('', '
UPDATE {db_prefix}topics
SET locked = {int:locked}
WHERE id_topic = {int:topic}
LIMIT {int:limit}',
array(
'topic' => $topic,
'locked' => empty($row['locked']) ? 1 : 0,
'limit' => 1,
)
);

//change the status


did it
topics getting marked solved as usual and not getting locked

edit: it is getting locked now.
and now option of getting it unsolved is not present.
I guess this might be because only members with permissions to lock a topic can unlock it.

CAn we get to work it around for regular members?
Title: Re: Topic Solved
Post by: H3lioz on September 12, 2011, 04:14:40 AM
Quote from: ^HeRaCLeS^ on September 11, 2011, 06:15:24 PM
strafe and bearstreet: Test please.

In file Subs-TopicSolved.php

Search:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved

Replace with:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved, locked

Search:
// Change the status.
Replace with:

$smcFunc['db_query']('', '
UPDATE {db_prefix}topics
SET locked = {int:locked}
WHERE id_topic = {int:topic}
LIMIT {int:limit}',
array(
'topic' => $topic,
'locked' => empty($row['locked']) ? 1 : 0,
'limit' => 1,
)
);

// Change the status.

It locks topic when you solve a topic but, it dosnt give the option to unsolve now.
I also dont get the [Solved] In subject name now :s
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 12, 2011, 03:56:15 PM
With this modification, who have permission to mark the topic as solved, not only able to mark as solved, but also mark it as not resolved.
This gives permission to the user in question that unlocks the topic if the topic mark as unsolved.

That depends on the permissions the mod "topic solved".

You asked to be closed to mark the topic as solved and that is what he does.

I do not understand what you want ??? ???
Title: Re: Topic Solved
Post by: H3lioz on September 13, 2011, 04:27:19 AM
Im confused now  ???

Anyways, when i did what you said it wont add the [Solved] in subject after you solve the topic anymore.. :(
Title: Re: Topic Solved
Post by: H3lioz on September 13, 2011, 04:16:58 PM
Quote from: strafe on September 13, 2011, 04:27:19 AM
Im confused now  ???

Anyways, when i did what you said it wont add the [Solved] in subject after you solve the topic anymore.. :(
Heracles,

Can you help me? :/
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on September 13, 2011, 05:16:21 PM
made all the changes?

Clear the cache of your forum?
Title: Re: Topic Solved
Post by: H3lioz on September 13, 2011, 06:49:36 PM
Quote from: ^HeRaCLeS^ on September 13, 2011, 05:16:21 PM
made all the changes?

Clear the cache of your forum?
Yes.
Yes.

After i added the lock topic when solved code, it removed the [Solved] from subject when you solve the topic.
Title: Re: Topic Solved
Post by: saeger on October 27, 2011, 12:23:14 PM
Hello there,

i installed the mod and i'm getting the flowing error when i try to create a board:

Erro na Base de Dados Field 'topic_solved' doesn't have a default value
Arquivo: C:\Apache2\htdocs\smf\Sources\Subs-Board.php

ps: my version is 2.0.1
Title: Re: Topic Solved
Post by: Spect3r on November 03, 2011, 07:09:43 AM
Just installed this in smf 2.0.1, works as a charm.
Thanks  8)

But i was trying to make the changes u give here in order to add the Prefix to topic title, but i cant even find thus lines of code.
Probably too many modifications made?

Could you give me a hand on this? I can pay you if is too much work :)
Title: Re: Topic Solved
Post by: shaka on November 09, 2011, 09:40:49 AM
looking for some help folks I installed this mod and got this error I then unistalled it but I am left with this txt at the top of my forum

Title: Re: Topic Solved
Post by: cloksin on November 10, 2011, 04:31:42 PM
open up your Modifications.english.php file which shold be located at /Themes/default/languages/

edit the file, scroll all the way to the bottom of the file, you should see ?> followed by all that text you see up at the top of your forum.

If you uninstalled the mod you can remove all of that text, if you are keeping the mod installed move the ?> to after all the text.
Title: Re: Topic Solved
Post by: DeathSign on November 19, 2011, 02:35:08 PM
Hey guys, this is my french translation of this mod http://www.simplemachines.org/community/index.php?topic=459831.0 if [SiNaN] plans to include it =)
Title: Re: Topic Solved
Post by: ^HeRaCLeS^ on November 19, 2011, 05:29:50 PM
Quote from: Spect3r on November 03, 2011, 07:09:43 AM
Just installed this in smf 2.0.1, works as a charm.
Thanks  8)

But i was trying to make the changes u give here in order to add the Prefix to topic title, but i cant even find thus lines of code.
Probably too many modifications made?

Could you give me a hand on this? I can pay you if is too much work :)


That modification is trying to put on?
And what codes are not found?
Title: Re: Topic Solved
Post by: Spect3r on December 01, 2011, 03:29:45 AM
Quote from: ^HeRaCLeS^ on November 19, 2011, 05:29:50 PM
Quote from: Spect3r on November 03, 2011, 07:09:43 AM
Just installed this in smf 2.0.1, works as a charm.
Thanks  8)

But i was trying to make the changes u give here in order to add the Prefix to topic title, but i cant even find thus lines of code.
Probably too many modifications made?

Could you give me a hand on this? I can pay you if is too much work :)


That modification is trying to put on?
And what codes are not found?

Add prefix "solved" in topic title.
Title: Re: Topic Solved
Post by: rocknroller on December 02, 2011, 04:04:28 PM
Quote from: Jessica. on July 01, 2011, 01:53:40 PM
This forum has Topic Solved right? And it looks like this when it's "Topic Not Solved" - see attachment

But the button on my test forum doesn't look like that. "Topic Solved" isn't in green either. Do I have to refresh or something?

You can use my code as you wish:
(http://www.pohrani.com/f/d/Tm/4vPj3h9S/1.png)


(http://www.pohrani.com/f/2n/aA/13udfJMB/2.png)

in display.template
Search for:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;



replace with:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $topicinfo, $board_info;





search for:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';

echo '


and replace with:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
        if ($message['id'] == $context['topic_last_message'] && ($board_info['topic_solved']))
        {
            echo'<div style="float:left;font-size:x-small;padding:0 4px;border: 1px solid #ddd;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;">';
            if ($topicinfo['is_solved'])
                echo'<a style="color:#ff0000;" href="'. $scripturl. '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id'] . '"><strong>Topic Not Solved</strong></a>';
            else
                echo'<a style="color:#00bb00;" href="'. $scripturl. '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id'] . '"><strong>Mark Topic Solved</strong></a>';
            echo'</div>';
        }
echo '


Title: Re: Topic Solved
Post by: wolfetundra on December 15, 2011, 06:00:02 PM
I have it so when you click "Solve Topic" it puts a check mark on the left and puts [Solved] in the title in the beginning.

How do I;
Prevent the icon change to the green check mark
and
Put the green check mark at the end of the Topic title?

This Is The Title [check mark]
Title: Re: Topic Solved
Post by: Mstcool on January 17, 2012, 10:24:37 PM
can u update it to 2.0.2?
Title: Re: Topic Solved
Post by: Robert. on January 18, 2012, 03:32:35 AM
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Topic Solved
Post by: snooks on January 18, 2012, 02:18:09 PM
Quote from: rocknroller on December 02, 2011, 04:04:28 PM
Quote from: Jessica. on July 01, 2011, 01:53:40 PM
This forum has Topic Solved right? And it looks like this when it's "Topic Not Solved" - see attachment

But the button on my test forum doesn't look like that. "Topic Solved" isn't in green either. Do I have to refresh or something?

You can use my code as you wish:
(http://www.pohrani.com/f/d/Tm/4vPj3h9S/1.png)


(http://www.pohrani.com/f/2n/aA/13udfJMB/2.png)

in display.template
Search for:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;



replace with:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $topicinfo, $board_info;





search for:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';

echo '


and replace with:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
        if ($message['id'] == $context['topic_last_message'] && ($board_info['topic_solved']))
        {
            echo'<div style="float:left;font-size:x-small;padding:0 4px;border: 1px solid #ddd;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;">';
            if ($topicinfo['is_solved'])
                echo'<a style="color:#ff0000;" href="'. $scripturl. '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id'] . '"><strong>Topic Not Solved</strong></a>';
            else
                echo'<a style="color:#00bb00;" href="'. $scripturl. '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id'] . '"><strong>Mark Topic Solved</strong></a>';
            echo'</div>';
        }
echo '


thank you for posting this, hope you dont mind i am using it too

cheers
Title: Re: Topic Solved
Post by: rocknroller on January 18, 2012, 05:02:50 PM
Quote from: snooks on January 18, 2012, 02:18:09 PM

thank you for posting this, hope you dont mind i am using it too

cheers

course, therefore is there! cheers.
Title: Re: Topic Solved
Post by: hcfwesker on January 31, 2012, 11:58:37 PM
Nice custom edit rocknroller!  I'll have to try that out, along with placing the button above the topic in the header portion, as well.

Quote from: Mstcool on January 17, 2012, 10:24:37 PM
can u update it to 2.0.2?

It installs just fine on 2.0.2 , no emulation needed.
Title: Re: Topic Solved
Post by: wolfetundra on February 07, 2012, 01:20:09 PM
I have it so when you click "Solve Topic" it puts a check mark on the left and puts [Solved] in the title in the beginning.

How do I;
Prevent the icon change to the green check mark
and
Put the green check mark at the end of the Topic title?

This Is The Title [check mark]
Title: Re: Topic Solved
Post by: michaeloeser on March 01, 2012, 09:40:17 AM
I was able to install it properly on SMF 2.0.2 (latest version) but I don´t see the button in my theme. I´m not using the default theme and I guess I need to add something from the default theme to my them. Can you tell me what?

Thanks in advance
Title: Re: Topic Solved
Post by: michaeloeser on March 02, 2012, 09:55:18 AM
Was able to solve it. I just use the default Display.template.php now and it works
Title: Re: Topic Solved
Post by: michaeloeser on March 02, 2012, 04:27:12 PM
Hi everybody. I´m using the Mark Solved Mod which basically works fine but it only marks a topic as solved it doesn´t lock it. I guess it would make sense that a solved topic is closed for everybody. Only the person who has started the topic and the admin should be able to re-open it.

Any idea if that´s possible somehow?
Title: Re: Topic Solved
Post by: hcfwesker on March 02, 2012, 04:48:05 PM
there's a search box , that allows you to serach only in a topic.  Very useful for looking for specific stuff for a MOD.

I typed in "solved lock" in the search box while in this topic and got this

http://www.simplemachines.org/community/index.php?topic=286932.msg3158196#msg3158196

start reading from there and on for mnore info.  Be warned, this locks the topic, and the topic author cant unlock the topic, only those with permissions can.  but, if you gave members permissions to lock their own topics, I'm assuming that would work.
Title: Re: Topic Solved
Post by: michaeloeser on March 04, 2012, 10:50:32 AM
Quote from: ^HeRaCLeS^ on September 11, 2011, 06:15:24 PM
strafe and bearstreet: Test please.

In file Subs-TopicSolved.php

Search:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved

Replace with:

$request = $smcFunc['db_query']('', '
SELECT id_member_started, id_first_msg, id_last_msg, is_solved, locked

Search:
// Change the status.
Replace with:

$smcFunc['db_query']('', '
UPDATE {db_prefix}topics
SET locked = {int:locked}
WHERE id_topic = {int:topic}
LIMIT {int:limit}',
array(
'topic' => $topic,
'locked' => empty($row['locked']) ? 1 : 0,
'limit' => 1,
)
);

// Change the status.


Tried that but it doesn´t seem to work. I can mark a topic as solved but it´s

1. not locked This works now
2. Doesn´t have the "solved" text in the topics subject line

Anything else I can try?
Title: Re: Topic Solved
Post by: chr05210084 on April 05, 2012, 08:20:12 PM
Quote from: michaeloeser on March 01, 2012, 09:40:17 AM
I was able to install it properly on SMF 2.0.2 (latest version) but I don´t see the button in my theme. I´m not using the default theme and I guess I need to add something from the default theme to my them. Can you tell me what?

Thanks in advance
Quote from: michaeloeser on March 02, 2012, 09:55:18 AM
Was able to solve it. I just use the default Display.template.php now and it works

Hi, I installed this mod on my smf 2.0.2 forum but it only works on admin user. It doesn't show on registered users, I already set the permissions.  I can't seem to figure out how to solve this problem. I am also using a custom theme called vertex.

Can you please post the instructions.

Thanks while waiting for your response.
Title: Re: Topic Solved
Post by: michaeloeser on April 06, 2012, 03:16:33 AM
Actually no specific instructions. Just like I already said.  I just use the default Display.template.php from the default theme copied it into my theme and it works. Simple as that.
Title: Re: Topic Solved
Post by: shazoo! on April 06, 2012, 07:28:27 PM
LOVE THIS!!! thank you, it works beautifully!!
Title: Re: Topic Solved
Post by: Vahid‎‎ ‎Damanafshan on April 24, 2012, 05:28:07 PM
Quote from: michaeloeser on April 06, 2012, 03:16:33 AM
I just use the default Display.template.php from the default theme copied it into my theme
Did you copy all if it or part of it?
Title: Re: Topic Solved
Post by: Mstcool on August 09, 2012, 01:35:52 AM
Just to let every one know this mod works with 2.0.2
Title: Re: Topic Solved
Post by: bearstreet on August 16, 2012, 12:07:56 AM
is there a way I can make the users mark a reply as best answer?
Title: Re: Topic Solved
Post by: Mstcool on August 16, 2012, 07:18:01 AM
Why are you asking here? You can request a mod for that
Title: Re: Topic Solved
Post by: bearstreet on August 16, 2012, 09:25:59 PM
Quote from: Mstcool :þ ♂ on August 16, 2012, 07:18:01 AM
Why are you asking here? You can request a mod for that

because once a user selects the topic to be solved, he may as well be able to choose the best reply that marked his topic as solved
Title: Re: Topic Solved
Post by: Texan78 on August 20, 2012, 01:30:09 PM
Quote from: bearstreet on August 16, 2012, 09:25:59 PM
Quote from: Mstcool :þ ♂ on August 16, 2012, 07:18:01 AM
Why are you asking here? You can request a mod for that

because once a user selects the topic to be solved, he may as well be able to choose the best reply that marked his topic as solved

Very good suggestions, I like that idea as well.

Also in addition to it marking it solved, can there be a way to add a [Solve] prefix to the title. Would really help with SEO too if guests see a topic in search engine they would be more likely to visit it they know the topic they are looking for is solved and could help them.

-Thanks
Title: Re: Topic Solved
Post by: Mstcool on August 20, 2012, 03:08:14 PM
Yeah I like that above suggestion smfnew has it and they said its custom made for them. But still can u guys add it to?
Title: Re: Topic Solved
Post by: revwill on December 14, 2012, 04:40:15 AM
Greetings,

I hope I am not asking in the wrong area but here I go.

First, Happy Holidays to all.

I have a prayer site and was wondering if it was possible to configure this to say--"Thank you for your prayer, I have received an answer to my prayer"  instead of Topic Solved?    And, of course, if they change their mind-the same author could mark it as, Needed Prayer.  Sorry to inconveniece you all with this question, but thank you for your time in reading and responding.  I hope any changes one would consider I am an old fart that can be dangerous but definately not a php programmer.

Thanks again

William
Title: Re: Topic Solved
Post by: ivomirb on December 23, 2012, 01:40:23 PM
Hi. I'm trying to install this mod on SMF 2.0.3. There was a merge conflict on the Themes\Core\MessageIndex.template.php file, but I think I resolved it correctly (the code was rearranged a bit). I do see the new options in the board permissions, however I don't see a new button "mark as solved" or something like that. I tried both the default and the Core themes - still nothing.

Am I missing something? How do I mark a topic as solved?
Title: Re: Topic Solved
Post by: demlak on January 04, 2013, 11:07:08 PM
possible german translation (not a realy good one):

// Topic Solved
$txt['topic_solved'] = 'erledigt markieren';
$txt['topic_not_solved'] = 'nicht erledigt markieren';
$txt['topic_solved_quick'] = 'erledigt markieren';
$txt['topic_solved_quick_confirm'] = 'Bist du dir sicher, dass du die markierten Themen als erledigt markieren willst?';

$txt['topic_solved_board'] = 'Thema erledigt Board';
$txt['topic_solved_board_desc'] = 'Aktiviert das \"Thema-erledigt\"-Mod im Forum"';

$txt['topic_solved_log'] = 'Thema-erledigt Log';
$txt['topic_solved_no_log'] = 'Es wurde bisher nichts aufgezeichnet.';
$txt['topic_solved_desc'] = 'Listet von Moderatoren erledigte Themen.';
$txt['modlog_topicsolved_log_desc'] = 'Diese Liste enthält alle Log-Einträge der erledigten Themen.<br /><b>Beachte:</b> Einträge können erst nach 24h aus dem Log entfernt werden.';
$txt['modlog_ac_solve'] = 'erledigt markiert &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'nicht erledigt markiert &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Markiert Thema als erledigt';
$txt['permissionhelp_solve_topic'] = 'Dies erlaubt einem Benutzer ein Thema als erledigt zu markieren.';
$txt['permissionname_solve_topic_own'] = 'Eigene Themen';
$txt['permissionname_solve_topic_any'] = 'Alle Themen';
$txt['permissionname_simple_solve_topic_own'] = 'Markiert die eigenen Themen als erledigt';
$txt['permissionname_simple_solve_topic_any'] = 'Markiert alle Themen als erledigt';

$txt['topic_solved_error_no_board'] = 'Es tut mir leid, die Funktion ein Thema als erledigt zu markieren ist hier nicht aktiviert.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kannst deine Themen nicht als erledigt markieren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kannst keine Themen als erledigt markieren.';
// Topic Solved

Title: Re: Topic Solved
Post by: techguy on January 09, 2013, 12:37:57 AM
Hi all, I installed topic solved mod and on every topic I have the option to mark as resolved.
However the topic subject does not changes to [Solved]
Do I need to make any specific setting.
Also tell me if we mark a topic as resolved how to lock it
Title: Re: Topic Solved
Post by: Mstcool on January 09, 2013, 05:48:06 PM
You have to lock the topic maunally. The only thing that changes is the icon of the topic (it should be a check mark if its marked as "solved" if not its whatever the person or staff set it as..). No you don't need any settings I believe because I didn't.
Title: Re: Topic Solved
Post by: techguy on January 10, 2013, 01:42:43 AM
How can I add [Solved] if the topic is marked as solved
Title: Re: Topic Solved
Post by: Mstcool on January 10, 2013, 04:45:58 PM
That would require modification to the mod. You will have to add a code in the mod that will do that. I don't know what that code is so I'm sorry.
Title: Re: Topic Solved
Post by: Skaty on January 24, 2013, 04:49:29 PM
I want to use this mod in two ways. Like, in support category as usualy solved,  and in trade category like solved or something like that. so i wanna change the button name in different categories.

Can i do that ?
Title: Re: Topic Solved
Post by: pastorvictor on February 19, 2013, 08:47:43 PM
Hello. Is there a way to lock the topic automatically once it's marked as solved?
Title: Re: Topic Solved
Post by: MrPhil on April 28, 2013, 11:12:22 AM
It is critical that this mod be fixed to permit locking of the topic at the same time. This is one of the few mods this very forum uses, and moderators spend a huge amount of time chewing out newbies for posting into a "solved" topic instead of creating a new one. That time and energy would be much better spent on other things, and would not leave noobs feeling so discouraged.

It would be fine to make locking a preselected optional operation, i.e., you could mark "solved" without locking the topic, but it would be a separate and deliberate action (unchecking a checkbox). Likewise, marking a topic "unsolved" should unlock it if it is currently locked, but there's no reason it couldn't be manually unlocked while still marked "solved" (although that would be a bad idea and should be discouraged).

Potentially you could add an Admin option to this mod to preselect "lock this topic, too". It should be preselected itself, so the default mode for this mod is to lock "solved" topics, but gives the option of keeping them separate operations.
Title: Re: Topic Solved
Post by: Arantor on April 28, 2013, 11:15:48 AM
-sigh-

This forum doesn't even use the same as this mod, but a different version of it.

As for 'critical', that's a matter of perspective. I'm not convinced it would solve the problems. I think having so many locked topics would actually discourage newbies too.
Title: Re: Topic Solved
Post by: Aravot on August 08, 2013, 08:29:08 PM
Would love to see an option to highlight solved topic background, similar to http://custom.simplemachines.org/mods/index.php?mod=1310
Title: Re: Topic Solved
Post by: Arantor on August 10, 2013, 07:25:41 PM
The one that the SimpleDesk team wrote did that but it was kind of ugly on the code side and wouldn't work well with many SMF themes.
Title: Re: Topic Solved
Post by: ѕησω on August 11, 2013, 01:54:29 AM
Quote from: Aravot on August 08, 2013, 08:29:08 PM
Would love to see an option to highlight solved topic background, similar to http://custom.simplemachines.org/mods/index.php?mod=1310

http://www.simplemachines.org/community/index.php?topic=475844.msg3489111#msg3489111

That should be what you're looking for.
Title: Re: Topic Solved
Post by: Aravot on August 11, 2013, 01:50:05 PM
Thank you ѕησω.
Title: Re: Topic Solved
Post by: MechSpecs on September 12, 2013, 06:00:39 PM
Does this mod no longer work correctly with 2.0.5 or is the skin I'm using causing a conflict?

Quote
Core Theme
      Execute Modification    ./Themes/core/Display.template.php    Test successful
      1.    Replace    ./Themes/core/Display.template.php    Test successful
      Execute Modification    ./Themes/core/MessageIndex.template.php    Test failed
      1.    Replace    ./Themes/core/MessageIndex.template.php    Test failed
      Extract File    ./Themes/core/images/post/topicsolved.gif    

Zone99
      Execute Modification    ./Themes/zone99_20rc3/MessageIndex.template.php    Test failed
      1.    Replace    ./Themes/zone99_20rc3/MessageIndex.template.php    Test failed
      Extract File    ./Themes/zone99_20rc3/images/post/topicsolved.gif
Title: Re: Topic Solved
Post by: ѕησω on September 13, 2013, 01:55:13 AM
Doesn't look like it's compatible with Zone99.

You can ask the guys here for support since you have to purchase a license to use that theme. They'll be able to help you out.

http://www.dzinerstudio.com/index.php?board=47.0
Title: Re: Topic Solved
Post by: MechSpecs on September 13, 2013, 04:24:20 AM
Quote from: ѕησω on September 13, 2013, 01:55:13 AM
Doesn't look like it's compatible with Zone99.

You can ask the guys here for support since you have to purchase a license to use that theme. They'll be able to help you out.

http://www.dzinerstudio.com/index.php?board=47.0

Thanks Snow; yes that was my next step since I had purchased the skin and the support that comes with it. Figured this was the best place to start and then tap that resource as well.
Title: Re: Topic Solved
Post by: Dave J on October 02, 2013, 04:38:05 AM
Quote from: ѕησω on August 11, 2013, 01:54:29 AM
Quote from: Aravot on August 08, 2013, 08:29:08 PM
Would love to see an option to highlight solved topic background, similar to http://custom.simplemachines.org/mods/index.php?mod=1310

http://www.simplemachines.org/community/index.php?topic=475844.msg3489111#msg3489111

That should be what you're looking for.

Yes thank you for this.

I have now managed to incorporate Yoshi's code into the install file, changed the image and have successfully installed (and test uninstalled) the mod on my site with no issues.

I'm running SMF2.0.5.
Title: Re: Topic Solved
Post by: N i g h t m a r e on October 03, 2013, 02:54:22 AM
How can i make the "Topic Solved" bar Green and the "Topic Not Solved" bar Red?
Title: Re: Topic Solved
Post by: Dave J on October 03, 2013, 04:21:48 AM
Quote from: IIEvoLuTioNII on October 03, 2013, 02:54:22 AM
How can i make the "Topic Solved" bar Green and the "Topic Not Solved" bar Red?

Does it have to be red? The reason I ask is that if it's not green then in theory it's not solved...if you know what I mean!!
Title: Re: Topic Solved
Post by: N i g h t m a r e on October 03, 2013, 10:46:21 AM
Quote from: davejo on October 03, 2013, 04:21:48 AM
Quote from: IIEvoLuTioNII on October 03, 2013, 02:54:22 AM
How can i make the "Topic Solved" bar Green and the "Topic Not Solved" bar Red?

Does it have to be red? The reason I ask is that if it's not green then in theory it's not solved...if you know what I mean!!


Yeah but, you never know when users intend on acting slow so id like this done pleaese.
Title: Re: Topic Solved
Post by: Burke ♞ Knight on October 03, 2013, 10:49:05 AM
Hate to say it, but I can see that point.
With Topic Not Solved red, it stands out more, making it more noticeable to the user, so they see it to click it when topic is solved.
Title: Re: Topic Solved
Post by: N i g h t m a r e on October 03, 2013, 10:55:02 AM
Quote from: BurkeKnight on October 03, 2013, 10:49:05 AM
Hate to say it, but I can see that point.
With Topic Not Solved red, it stands out more, making it more noticeable to the user, so they see it to click it when topic is solved.


Yeah, it will be much more noticeable causing less confusion. Will get rid of an issue before it even starts..
Title: Re: Topic Solved
Post by: Burke ♞ Knight on October 03, 2013, 10:55:26 AM
This may work:

Modifications.english.php

$txt['topic_solved'] = '<div style="color: #00BB00; font-weight: bold;">Mark Topic Solved</div>';
$txt['topic_not_solved'] = '<div style="color: #FF0000; font-weight: bold;">Topic Not Solved</div>';
Title: Re: Topic Solved
Post by: N i g h t m a r e on October 03, 2013, 11:06:36 AM
Quote from: BurkeKnight on October 03, 2013, 10:55:26 AM
This may work:

Modifications.english.php

$txt['topic_solved'] = '<div style="color: #00BB00; font-weight: bold;">Mark Topic Solved<>';
$txt['topic_not_solved'] = '<div style="color: #FF0000; font-weight: bold;">Topic Not Solved<>';



Worked perfectly :) thanks for that!
Title: Re: Topic Solved
Post by: GamePersia on March 12, 2014, 05:32:23 AM
Update Needed,.. :(
Kindly update to 2.0.7.... :-*
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 19, 2014, 06:21:08 PM
Quote from: GamePersia on March 12, 2014, 05:32:23 AM
Update Needed,.. :(
Kindly update to 2.0.7.... :-*
Indeed it doesn't work on 2.0.7 i looked up on your forum as well and couldn't see any topic solved so i bet you didn't get it to work...
I have now 14 over 16 mods working (this would be the 17th..) so i guess it's not my bad if also you can't use it and you have many more messages than me...
Hope for a reply  or at least a link to the one now in use on this very same forum! :'( i googled it but couldn't find it :'(
Title: Re: Topic Solved
Post by: GamePersia on April 20, 2014, 01:49:36 AM
Quote from: Flavio93Zena on April 19, 2014, 06:21:08 PM
Quote from: GamePersia on March 12, 2014, 05:32:23 AM
Update Needed,.. :(
Kindly update to 2.0.7.... :-*
Indeed it doesn't work on 2.0.7 i looked up on your forum as well and couldn't see any topic solved so i bet you didn't get it to work...
I have now 14 over 16 mods working (this would be the 17th..) so i guess it's not my bad if also you can't use it and you have many more messages than me...
Hope for a reply  or at least a link to the one now in use on this very same forum! :'( i googled it but couldn't find it :'(
dear bud,..it works,..we are using it !!  ;)
Title: Re: Topic Solved
Post by: Dave J on April 20, 2014, 03:41:11 AM
I have it working on 2.0.7 without any problems at all.

Most of the time the reason someone want an update is because it causes errors in the installation, these are mostly caused by other mods that have written code to the same area of the template that this Mod wants to. This means that the person installing will have to do some manual editing of the templates, but it doesn't mean the Mod doesn't work.

This mod uses <install for="2.0 - 2.99.99"> which means it should install no matter what version of SMF2 the person has installed, so if there are errors in install the above reason for the fail will probably be the why.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 20, 2014, 05:05:52 AM
Quote from: davejo on April 20, 2014, 03:41:11 AM
I have it working on 2.0.7 without any problems at all.

Most of the time the reason someone want an update is because it causes errors in the installation, these are mostly caused by other mods that have written code to the same area of the template that this Mod wants to. This means that the person installing will have to do some manual editing of the templates, but it doesn't mean the Mod doesn't work.

This mod uses <install for="2.0 - 2.99.99"> which means it should install no matter what version of SMF2 the person has installed, so if there are errors in install the above reason for the fail will probably be the why.
Thank you for your reply davejo

Yeah you are probably right but in my case i get a somehow weird situation if i install it.. I can see the log of solved things but i can't solve them and nobody can do that (permissions are set properly both in sections and in groups)... That's kinda weird °-° but still can't get it to work it gave me and my colleague a bad head-ache but nothing, that's why i was wondering if an admin sees this he might tell me how they added the one they are using and its source code.
Title: Re: Topic Solved
Post by: Dave J on April 20, 2014, 10:51:28 AM
Quote from: Flavio93Zena on April 20, 2014, 05:05:52 AM
Quote from: davejo on April 20, 2014, 03:41:11 AM
I have it working on 2.0.7 without any problems at all.

Most of the time the reason someone want an update is because it causes errors in the installation, these are mostly caused by other mods that have written code to the same area of the template that this Mod wants to. This means that the person installing will have to do some manual editing of the templates, but it doesn't mean the Mod doesn't work.

This mod uses <install for="2.0 - 2.99.99"> which means it should install no matter what version of SMF2 the person has installed, so if there are errors in install the above reason for the fail will probably be the why.
Thank you for your reply davejo

Yeah you are probably right but in my case i get a somehow weird situation if i install it.. I can see the log of solved things but i can't solve them and nobody can do that (permissions are set properly both in sections and in groups)... That's kinda weird °-° but still can't get it to work it gave me and my colleague a bad head-ache but nothing, that's why i was wondering if an admin sees this he might tell me how they added the one they are using and its source code.

I don't know how much you know about manual installations so if you know what I have suggested below then please ignore it.

Access your site files via ftp and check each of the following files/templates has the word 'solve' in them (don't used 'solved' as some templates wont have that word)

Quote
boarddir/index.php
sourcedir/Admin.php
sourcedir/Display.php
sourcedir/Load.php
sourcedir/ManageBoards.php
sourcedir/ManagePermissions.php
sourcedir/MessageIndex.php
sourcedir/ModerationCenter.php
sourcedir/Modlog.php
sourcedir/Subs.php
sourcedir/Subs-Boards.php
themedir/Display.template.php
themedir/ManageBoards.template.php
themedir/MessageIndex.template.php
languagedir/Modifications.english.php
languagedir/Modifications.english-utf8.php

If you are using a custom theme you might want to check if it has installed the code into the custom theme directories too as shown in the list above.

If you find one of the above does not have it you'll have to manually copy and paste the code where it has to go.

Hope you find out what the issue is.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 20, 2014, 12:47:49 PM
Thanks again davejo
Due to the complexity of your answer i will have to show it and test it with my colleague that is the real code expert (even if he is not that good at php editing he is surely way better than me as i am a 3D editor xD). He has no internet (indeed that's why it's me posting and not him directly) so it may take me a few days because i have to wait for him to come to me and see everything.
Sorry if it will take some time. I'll update you asap.
ETA: 30 hours if he comes tomorrow.


Happy Easter!!!
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 21, 2014, 09:12:44 PM
Sorry i am a little late because i have made a lot of editing as we found out that our custom "Havvo" theme was giving us a lot of problems in general we uninstalled it and we are modifying the default one to (more or less) make it look similar as it used to be. Doing so i was very glad to discover the very few mods giving us problems are now working (including the hated Nibogo's shoutbox, i have to say that it now works despite his unhelpful behaviour) but damn this one has now become the only not-working mod! Trust me i double and triple-checked those files and they are ALL ok, they all contain "solve" or "solved" or whatever seems necessary but nothing! I can still see the "topic solved log" in moderation section but i still cannot solve any topics (permissions are again set up properly and the mod has been reinstalled more than once to try if that was the issue).
No good news then about this  :'( if you have any ideas let me know, thanks in advance man it must have been pretty boring doing that list lol
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 25, 2014, 11:53:20 PM
Up, please. This and the blinking mod are the only ones not working on my forum  :'(
Title: Re: Topic Solved
Post by: TheListener on April 25, 2014, 11:55:08 PM
Davejo has previously stated this mod works on 2.0.7

Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 12:04:57 AM
Quote from: Old Fossil on April 25, 2014, 11:55:08 PM
Davejo has previously stated this mod works on 2.0.7
That's why i am asking why it doesn't work on my 2.0.7 man, as i have explained :( and no it's not a theme-related issue because i have the default one edited only as regards its colors.
Title: Re: Topic Solved
Post by: TheListener on April 26, 2014, 12:07:12 AM
What about it doesn't work?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 12:19:07 AM
Quote from: Flavio93Zena on April 20, 2014, 05:05:52 AM
Thank you for your reply davejo

Yeah you are probably right but in my case i get a somehow weird situation if i install it.. I can see the log of solved things but i can't solve them and nobody can do that (permissions are set properly both in sections and in groups)... That's kinda weird °-° but still can't get it to work it gave me and my colleague a bad head-ache but nothing, that's why i was wondering if an admin sees this he might tell me how they added the one they are using and its source code.
I want to be as clear as possible it's not that i can't click on the topic solved button... It just doesn't show up at all, no matter if i am an admin or whatever member it doesn't show up and permissions are set up properly like i said... Also no custom themes as i stated in my previous message.

P.S.:I guess the whole smf has been down for a few minutes because i was getting no response from any browser and any other site was working. (Error 324 here, no response).
P.P.S: Already tried reinstalling it several times and it says everything successful.
Title: Re: Topic Solved
Post by: TheListener on April 26, 2014, 12:20:20 AM
Have you checked your error logs?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 12:24:11 AM
Very hard to believe but no errors by anything related to the mod...
Title: Re: Topic Solved
Post by: TheListener on April 26, 2014, 12:29:23 AM
if you have other errors then ya may wanna make a list in the main support board.

Have you checked your images file?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 12:41:18 AM
I was talking about errors related to wrong logins and that kind of things xD
Anyway i was able to find in forum/themes/default/images the "topic solved" gif so it's there. Nice try anyway because i didn't have that checked, now i do so it's not that..

I just tried uninstalling and reinstalling the mod itself and it came out only this error that is related to the "email inactive users" mod. Besides i know the "topic solved" issue is not related to some sort of incompatibility with that mod because i installed the "topic solved" thing much earlier than the "email inactive users" one, and even if i just reinstalled it that error is related to the other mod, hopefully the author will fix that.. However the weird thing is that to my system everything else looks fine but i still can't see the cursed topic solved button >.< i wonder if some admin might tell me how they managed to install it here. I would like the same thing for my forum, it's cool.

EDIT: I will go to sleep because here i have a very much different time zone :P feel free to tell me if you have any idea of what the problem could be. Ah yeah i already followed davejo's procedure but even double checking i found nothing wrong in those files... In all of them "solve" or "solved" with relative strings were present.
Title: Re: Topic Solved
Post by: Dave J on April 26, 2014, 01:49:24 AM
Ok one last thought as you haven't mentioned it

have you enabled the 'Topic Solved Board:' that is in each of your forums 'Boards'

See attachment for the screenshot of where it is.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 09:21:13 AM
Quote from: davejo on April 26, 2014, 01:49:24 AM
Ok one last thought as you haven't mentioned it

have you enabled the 'Topic Solved Board:' that is in each of your forums 'Boards'

See attachment for the screenshot of where it is.
YEAH! There you go man! I haven't seen anyone talking about this thing and as my boards are all done i didn't see that tiny bastard checkbox xD now it works, awesome! Thanks for the help and sorry if i looked like a retarded not seeing it but i open my board editing no more becuase like i said they are all completed and translated.. Never crossed my mind that could be a checkbox in each board.. Thanks again.
Title: Re: Topic Solved
Post by: Dave J on April 26, 2014, 12:52:59 PM
Well that's good you have it working now....we'll mark this as 'Topic Solved' then (http://www.davejohnson.co.uk/images/smilies/tiphat.gif)
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on April 26, 2014, 01:29:19 PM
Quote from: davejo on April 26, 2014, 12:52:59 PM
Well that's good you have it working now....we'll mark this as 'Topic Solved' then (http://www.davejohnson.co.uk/images/smilies/tiphat.gif)
Yeah man but i don't have permissions to do that here XD thanks again, awesome.
Title: Topic Solved in spanish
Post by: fapencio on May 21, 2014, 07:31:08 PM
ok, this mod is great, works fine, thanks

translate to spanish:

./Themes/default/languages/Modifications.spanish_es-utf8.php
or/and
./Themes/default/languages/Modifications.spanish_latin-utf8.php
Find (at the end of the file):
?>
Add Before:
// Topic Solved
$txt['topic_solved'] = 'Tema Resuelto';
$txt['topic_not_solved'] = 'Tema no Resuelto';
$txt['topic_solved_quick'] = 'Marcar seleccionado como resuelto';
$txt['topic_solved_quick_confirm'] = 'Estás seguro que quieres marcar temas seleccionados como resueltos?';

$txt['topic_solved_board'] = 'Foro Tema Resuelto';
$txt['topic_solved_board_desc'] = 'Activa la función de tema resuelto en el foro';

$txt['topic_solved_log'] = 'Registro de Tema Resuelto';
$txt['topic_solved_no_log'] = 'No hay acciones registradas de Tema resuelto.';
$txt['topic_solved_desc'] = 'Lista de acciones de temas resueltos que han sido realizados por moderadores en tu foro.';
$txt['modlog_topicsolved_log_desc'] = 'A continuación se muestra una lista de todas las acciones de temas resueltos que han sido llevadas a cabo por los moderadores del foro.<br /><b>A tener en cuenta:</b> Las entradas no se pueden eliminar de este registro hasta que tengan por lo menos veinticuatro horas.';
$txt['modlog_ac_solve'] = 'Resuelto &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'No resuelto &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Temas Resueltos';
$txt['permissionhelp_solve_topic'] = 'Este permiso permite a un usuario usar la función de tema resuelto.';
$txt['permissionname_solve_topic_own'] = 'Propio tema';
$txt['permissionname_solve_topic_any'] = 'Cualquier tema';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar su propio tema como resuelto';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar cualquier tema como resuelto';

$txt['topic_solved_error_no_board'] = 'Lo siento, la función Tema Resuelto no está activada en este foro.';
$txt['cannot_support_tools_solve_topic_own'] = 'No puedes marcar tus temas como resueltos.';
$txt['cannot_support_tools_solve_topic_any'] = 'No puedes marcar temas como resueltos.';
// Topic Solved


thats all, regards
Title: Re: Topic Solved
Post by: Kimmie on September 03, 2014, 02:21:06 PM
Has anyone tried this in 2.0.8? Is there plans on updating this mod?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 03, 2014, 02:38:37 PM
Works fine with 2.0.8 already.
Title: Re: Topic Solved
Post by: Kimmie on September 04, 2014, 12:26:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 03, 2014, 02:38:37 PM
Works fine with 2.0.8 already.

The mod page says it is only compatible with 2.0 RC4.  I need to emulate my forum to that to install it, right?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 04, 2014, 01:09:46 PM
Hell no just try to install it O.o the xml file works with version that are from RC4 to 2.0.99
Title: Re: Topic Solved
Post by: Arantor on September 04, 2014, 01:11:18 PM
The package manager's version detection was changed in 2.0 final, which means it might actually require emulation.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 04, 2014, 01:24:48 PM
Since that is one of the mods I am running on my SMF 2.0.8 without emulating I might disagree...
Title: Re: Topic Solved
Post by: Arantor on September 04, 2014, 01:29:10 PM
I wasn't disagreeing with you. I was merely saying it was possible there might be issues knowing as I do that related code was rewritten; I haven't touched this mod, and I haven't checked, but I do know other mods *did* have trouble on this point.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 04, 2014, 02:12:53 PM
Only a little thing for Kimmie... http://www.simplemachines.org/community/index.php?topic=286932.msg3690461#msg3690461 ;) be sure to activate it there :P dam when I was commenting this topic... It was like 1200 posts ago, still a total noob. It works by the way :) be sure to activate all the stuff though :P
Title: Re: Topic Solved
Post by: Westwegoman on September 10, 2014, 04:11:06 PM
I have this mod installed on a SMF 2.0.8 board. I would like it so that certain boards could be "topic solved" boards as it is now but add the option to make other boards able to be an "item sold" board, for like a classifieds board.

Would this be hard to do. I was thinking about trying to do it myself but not sure if I'm getting in over my head.
Title: Re: Topic Solved
Post by: Pipke on September 10, 2014, 04:52:07 PM
Quote from: Westwegoman on September 10, 2014, 04:11:06 PM
I have this mod installed on a SMF 2.0.8 board. I would like it so that certain boards could be "topic solved" boards as it is now but add the option to make other boards able to be an "item sold" board, for like a classifieds board.

Would this be hard to do. I was thinking about trying to do it myself but not sure if I'm getting in over my head.

You should post a request for that on the Mod Requests Board.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 10, 2014, 05:09:59 PM
Quote from: Pipke on September 10, 2014, 04:52:07 PM
Quote from: Westwegoman on September 10, 2014, 04:11:06 PM
I have this mod installed on a SMF 2.0.8 board. I would like it so that certain boards could be "topic solved" boards as it is now but add the option to make other boards able to be an "item sold" board, for like a classifieds board.

Would this be hard to do. I was thinking about trying to do it myself but not sure if I'm getting in over my head.

You should post a request for that on the Mod Requests Board.
Not really since he is not requesting a new mod but rather a customization of this one. If someone will be able to code it then he will be lucky :)
Title: Re: Topic Solved
Post by: Pipke on September 11, 2014, 09:09:35 AM
Quote from: ♦ Ninja ZX-10RR ♦ on September 10, 2014, 05:09:59 PM
Quote from: Pipke on September 10, 2014, 04:52:07 PM
Quote from: Westwegoman on September 10, 2014, 04:11:06 PM
I have this mod installed on a SMF 2.0.8 board. I would like it so that certain boards could be "topic solved" boards as it is now but add the option to make other boards able to be an "item sold" board, for like a classifieds board.

Would this be hard to do. I was thinking about trying to do it myself but not sure if I'm getting in over my head.

You should post a request for that on the Mod Requests Board.
Not really since he is not requesting a new mod but rather a customization of this one. If someone will be able to code it then he will be lucky :)

He said:

I have this mod installed on a SMF 2.0.8 board. I would like it so that certain boards could be "topic solved" boards as it is now but add the option to make other boards able to be an "item sold" board, for like a classifieds board.

So to me that makes 2 things, right?


Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 11, 2014, 09:27:37 AM
Indeed but said in that way he kinda wants a litttle customization of this mod in order to adapt it to fit his needs, it's not really a brand new mod to request that's what I mean ;)
For example this is a mod request (actually mod update in this case) --> http://www.simplemachines.org/community/index.php?topic=521853.msg3691052#msg3691052 P.s. That was one of my first topics in here!!! :P
Title: Re: Topic Solved
Post by: Pipke on September 11, 2014, 09:44:34 AM
As far as i see it you can to do it simple, copy the mod rename all text/folders and code inside the files from 'Topic solved' to 'Item sold', add new version and you got a new mod lol.
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 11, 2014, 10:48:11 AM
Not really since he wants both of them to be active and not just renaming the function ;) if you meant that he has to copy everything, rename it and then create the new functions accordingly then it *might* work, but I'm not a coder so no guarantee on that at all.
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 04:06:27 PM
i have installed this mod and everything seem to be well installled bt i dont see the mod working well dunno whats wrong?and i have activated the mod for the board dt it is needed
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 04:13:49 PM
If you didn't fix the error you were talking about here --> http://www.simplemachines.org/community/index.php?topic=527837.0 and you don't provide ANY detail we can't help you. It is like the 1000000 time we tell you to provide informations... :/
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 04:40:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 04:13:49 PM
If you didn't fix the error you were talking about here --> http://www.simplemachines.org/community/index.php?topic=527837.0 and you don't provide ANY detail we can't help you. It is like the 1000000 time we tell you to provide informations... :/
It was successfull when installed it i didnt get any error while installing it on the theme...my problem now is that i have installed it and selected the board that i wish for it to be in but i dont see the mark as solved button der thats the problem am having currently
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 04:52:41 PM
Did you set the permissions properly? Error log?
Also... Try anyway the default theme and see if it works there. ;)
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 07:32:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 04:52:41 PM
Did you set the permissions properly? Error log?
Also... Try anyway the default theme and see if it works there. ;)
yeah i did and i didnt get any error log..plus i tried it on the default theme and it seems to be working just fine
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 07:37:46 PM
Then the error is related to the theme... :/ I think that only the author could help you in this case since I don't know how to make it work on Curve as I use the default theme... :( it's VERY strange though that it installed with no errors... URL to your site anyway?
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 07:39:25 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 07:37:46 PM
Then the error is related to the theme... :/ I think that only the author could help you in this case since I don't know how to make it work on Curve as I use the default theme... :( it's VERY strange though that it installed with no errors... URL to your site anyway?
yes it did install...www.****.com register to understand wah am saying better
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 07:44:00 PM
Usually people asking for help should provide a test account with a PM if prompted not asking to register ;) feel free to shoot me a PM with a test acc I might have a look, I will need the permission to change permissions though since I have to check each one of them. You can remove any other useless permission :) even if I don't know if I will be really able to solve it, from what you told me it seems a theme problem and if that so I won't be able to solve it, I warn you already since I am not a theme coder nor a coder, just a supporter :)
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 07:50:30 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 07:44:00 PM
Usually people asking for help should provide a test account with a PM if prompted not asking to register ;) feel free to shoot me a PM with a test acc I might have a look, I will need the permission to change permissions though since I have to check each one of them. You can remove any other useless permission :) even if I don't know if I will be really able to solve it, from what you told me it seems a theme problem and if that so I won't be able to solve it, I warn you already since I am not a theme coder nor a coder, just a supporter :)
My Apology....Hv done just as you have said...
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 07:57:35 PM
Checked and confirm it doesn't work. I have PMed you telling you to ask the theme author whether on smf if there is a support topic for that theme or either on his site if you can't solve it here.
Last and worst option would be to change theme :(
Title: Re: Topic Solved
Post by: br360 on September 17, 2014, 08:20:02 PM
Quote from: swaggaderby on September 17, 2014, 07:32:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 04:52:41 PM
Did you set the permissions properly? Error log?
Also... Try anyway the default theme and see if it works there. ;)
yeah i did and i didnt get any error log..plus i tried it on the default theme and it seems to be working just fine

If it's working in your default theme, you may have to make manual changes to your custom theme's display.template.php- http://www.simplemachines.org/community/index.php?topic=286932.msg3308075#msg3308075

take a look at the parse instructions- http://custom.simplemachines.org/mods/index.php?mod=1601

***Edit- Just confirmed that this little snipet below is what will show the topic solved button in a topic of the board you have chosen to be a "topic solved" board.

In display.template.php- ( of your custom theme)

Find-
      
$mod_buttons[] = array('text' => 'restore_topic', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=restoretopic;topics=' . $context['current_topic'] . ';' . $context['session_var'] . '=' . $context['session_id']);

Replace with-

// The Topic Solved button.
   if ($context['can_solve_topic'])
      $mod_buttons[] = array('text' => $context['topic_solved'] ? 'topic_not_solved' : 'topic_solved', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id']);


Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 08:22:45 PM
Except...
Quote from: swaggaderby on September 17, 2014, 04:40:08 PM
It was successfull when installed it i didnt get any error while installing it on the theme...my problem now is that i have installed it and selected the board that i wish for it to be in but i dont see the mark as solved button der thats the problem am having currently
No idea about what to edit since there were no errors...
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 08:47:06 PM
Quote from: br360 on September 17, 2014, 08:20:02 PM
Quote from: swaggaderby on September 17, 2014, 07:32:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 04:52:41 PM
Did you set the permissions properly? Error log?
Also... Try anyway the default theme and see if it works there. ;)
yeah i did and i didnt get any error log..plus i tried it on the default theme and it seems to be working just fine

If it's working in your default theme, you may have to make manual changes to your custom theme's display.template.php- http://www.simplemachines.org/community/index.php?topic=286932.msg3308075#msg3308075

take a look at the parse instructions- http://custom.simplemachines.org/mods/index.php?mod=1601

***Edit- Just confirmed that this little snipet below is what will show the topic solved button in a topic of the board you have chosen to be a "topic solved" board.

In display.template.php- ( of your custom theme)

Find-
      
$mod_buttons[] = array('text' => 'restore_topic', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=restoretopic;topics=' . $context['current_topic'] . ';' . $context['session_var'] . '=' . $context['session_id']);

Replace with-

// The Topic Solved button.
   if ($context['can_solve_topic'])
      $mod_buttons[] = array('text' => $context['topic_solved'] ? 'topic_not_solved' : 'topic_solved', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id']);



just did what you just said still didnt work...:(
Title: Re: Topic Solved
Post by: br360 on September 17, 2014, 08:48:07 PM
Odd. I just tried it on a custom theme and it worked fine. What theme are you using?
Title: Re: Topic Solved
Post by: swaggaderby on September 17, 2014, 08:51:01 PM
Quote from: br360 on September 17, 2014, 08:48:07 PM
Odd. I just tried it on a custom theme and it worked fine. What theme are you using?
Reseller by Daniel
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 08:55:31 PM
That theme is very different from the other ones, that's why I didn't suggest him that edit already... Because it doesn't have buttons, it shows a dropdown list instead of the buttons themselves. :(
Title: Re: Topic Solved
Post by: br360 on September 17, 2014, 09:02:31 PM
Yeah, just installed that theme to test it. The code is all there in the display.template.php file, but like ninja said- with the unique drop down list in that theme, it's difficult to pinpoint why it's not appearing in that list (well difficult for me to pinpoint that is. ;) ) You may actually have some luck asking on Daniel's support topic for that theme, and see if he can help you with the issue.

Although looking at that theme's css/index.css, it may have to be added there?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 17, 2014, 10:32:00 PM
Well you surely can't add a php snippet into a .css but I don't know how to fix it, Daniiel is his best bet, methinks. :)
Title: Re: Topic Solved
Post by: swaggaderby on September 18, 2014, 04:05:46 AM
Quote from: br360 on September 17, 2014, 09:02:31 PM
Yeah, just installed that theme to test it. The code is all there in the display.template.php file, but like ninja said- with the unique drop down list in that theme, it's difficult to pinpoint why it's not appearing in that list (well difficult for me to pinpoint that is. ;) ) You may actually have some luck asking on Daniel's support topic for that theme, and see if he can help you with the issue.

Although looking at that theme's css/index.css, it may have to be added there?
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 10:32:00 PM
Well you surely can't add a php snippet into a .css but I don't know how to fix it, Daniiel is his best bet, methinks. :)

Thanks Guys
Title: Re: Topic Solved
Post by: swaggaderby on September 18, 2014, 01:39:19 PM
Here comes a new error...I deleted the Topic solved mod and den deleted den try uploading it again and all and  when i try uploading it i get d first pic showing the error....
i know i have to enter those codes manually and den the mod will install but here is the problem i cant find the code i was told to find

as attached on the 2nd pic
Title: Re: Topic Solved
Post by: Kindred on September 18, 2014, 01:43:51 PM
If it works on the default theme, then the issue is -- it was never installed into your custom theme.

You will have to manually apply the mod changes to any template files in your custom theme
Title: Re: Topic Solved
Post by: swaggaderby on September 18, 2014, 01:52:09 PM
Quote from: Kindred on September 18, 2014, 01:43:51 PM
If it works on the default theme, then the issue is -- it was never installed into your custom theme.

You will have to manually apply the mod changes to any template files in your custom theme
SINce am seeing errors i did not go ahead with the installation anymore plus yes i know have to manually enter the code on a custom theme but like i attached the first file i was supports to find and edit it with i cant find it on the display template...that seems to be the problem?OR do i attach the display template for u to see wah am talking abt?
Title: Re: Topic Solved
Post by: Kindred on September 18, 2014, 01:55:41 PM
well, see....  the errors indicate that the code was not found, as listed -- hence the auto installer could not complete that edit...   which means that you have to use human parsing to find the code (which will, obviously either be slightly different or completely different, depending on your theme's actual coding)

If you did not complete the install, then how do you know it is working on the default theme?
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 18, 2014, 02:08:10 PM
Quote from: swaggaderby on September 17, 2014, 07:32:08 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 17, 2014, 04:52:41 PM
Did you set the permissions properly? Error log?
Also... Try anyway the default theme and see if it works there. ;)
yeah i did and i didnt get any error log..plus i tried it on the default theme and it seems to be working just fine
That's how he knows ;)
Title: Re: Topic Solved
Post by: Kindred on September 18, 2014, 02:27:59 PM
except just above my post - he said:

Quote from: swaggaderby on September 18, 2014, 01:52:09 PM
SINce am seeing errors i did not go ahead with the installation anymore

which means (as far as I read it) that he never finished the installation
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 18, 2014, 02:32:32 PM
Read the last two pages of the thread ;) entirely, and you will understand :)
Title: Re: Topic Solved
Post by: swaggaderby on September 18, 2014, 03:15:55 PM
Nobody seems to understand me....that is the display.template php i explained and the path am suppose to edit isnt der
Title: Re: Topic Solved
Post by: Kindred on September 18, 2014, 04:45:48 PM
Quote from: Kindred on September 18, 2014, 01:55:41 PM
well, see....  the errors indicate that the code was not found, as listed -- hence the auto installer could not complete that edit...   which means that you have to use human parsing to find the code (which will, obviously either be slightly different or completely different, depending on your theme's actual coding)
Title: Re: Topic Solved
Post by: Ninja ZX-10RR on September 18, 2014, 05:10:43 PM
Try to download the file though, he tried to but it failed. I am not a coder but he tried to put the code into the file. I guess only Daniiel or a themer could understand how to do it :(
Title: Re: Topic Solved
Post by: swaggaderby on September 19, 2014, 12:19:54 PM
Quote from: ♦ Ninja ZX-10RR ♦ on September 18, 2014, 05:10:43 PM
Try to download the file though, he tried to but it failed. I am not a coder but he tried to put the code into the file. I guess only Daniiel or a themer could understand how to do it :(
Alright tnx
Title: Re: Topic Solved
Post by: samborabora on October 07, 2014, 09:54:27 AM
I've removed the post icons column from my forum, but I'd like to display the tick next to 'marked solved' topics on MessageIndex and Display. Is there a variable I can use to check if a topic is solved or not, and if so, place the img before the topic title?
Title: Re: Topic Solved
Post by: samborabora on October 10, 2014, 07:04:27 PM
I've tried topic[is_solved] and content[is_solved] and variations of these, but nothing seems to work on the messageindex page, context[is_solved] works great on display.template, but I'm really looking to test if a topic is solved from the message.index page, any ideas on how I can do this?
Title: Re: Topic Solved
Post by: Kindred on October 10, 2014, 07:18:37 PM
Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.
Title: Re: Topic Solved
Post by: samborabora on October 11, 2014, 10:26:43 AM
Quote from: Kindred on October 10, 2014, 07:18:37 PM
Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.

Yes, that's what I would expect too. Is it possible to modify it to incorperate a $topic variable that checks on messageindex per topic line? Either that or check which icon each topic has and set the image that way?
Title: Re: Topic Solved
Post by: Sagar_king on October 13, 2014, 07:47:52 AM
really good mod thank you
Title: Re: Topic Solved
Post by: samborabora on October 18, 2014, 05:27:32 AM
Or is there some kind of internal value for each $topic that I could flag on or off when the topic is solved? I'd really like to figure out a way to display an image or not dependent on the topics solve status without using post icons.
Title: Re: Topic Solved
Post by: samborabora on February 09, 2015, 06:12:49 PM
Quote from: Kindred on October 10, 2014, 07:18:37 PM
Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.

A bit old, but I'm still wondering about this mod, can you actually test on messageindex if a topic has a certain icon assigned to it? Then chose to display the icon only if it has the certain icon?
Title: Re: Topic Solved
Post by: SaltedWeb on March 01, 2015, 07:24:49 PM
Hi there,
Where are the words modified? I wanted change what they said .

Thanks
Title: Re: Topic Solved
Post by: SaltedWeb on March 01, 2015, 09:34:03 PM
Hunted around found it in Themes/default/languages/Modifications.english.php

Simple Edit.

Solved.
Title: Re: Topic Solved
Post by: samborabora on April 19, 2015, 11:21:48 AM
Just thought I'd ask, I'm still looking for a way to display on the messageindex a 'tick' corresponding to a solved topic. What would be the best way to implement this, by modding this mod?
Title: Re: Topic Solved
Post by: samborabora on April 21, 2015, 04:08:32 AM
Isn't it just a case of calling whatever variable says 'yep, this is solved/none, this ain't solved' into the messageindex for each topic? I'm not bothered about the overhead to the forum, it's only gonna be implemented on the support forum anyhow.
Title: Re: Topic Solved
Post by: samborabora on April 23, 2015, 01:56:58 PM
I did it with this:

../Sources/MessageIndex.php

Find:

t.id_previous_board,

Replace:

t.id_previous_board, t.is_solved,

Find:

// Decide how many pages the topic should have.

Replace:

$row['first_subject'] = $row['is_solved'] ? '<img src="' . $settings['images_url'] . '/solved.png" class="solved_img" alt="" align="middle" />' . $row['first_subject'] : $row['first_subject'];

// Decide how many pages the topic should have.
Title: Re: Topic Solved
Post by: krittin98 on April 29, 2015, 01:33:20 PM
Great mod!
Can anyone tell me how can I view the list of topics that are solved or unsolved in the board where this mod has been enabled?
Title: Re: Topic Solved
Post by: Kindred on April 29, 2015, 01:37:45 PM
I don't believe there is any sort based on status
Title: Re: Topic Solved
Post by: krittin98 on April 29, 2015, 02:11:28 PM
There is an option of "Mark this topic as solved" in some boards on this forum too. How do you guys then find out which topics are solved or not?
Title: Re: Topic Solved
Post by: margarett on April 29, 2015, 02:15:54 PM
We don't :P
Solved topics show in the MessageIndex with the "green checkmark" icon so it's easy to check. Not sure if it is custom here or it is the default behavior, though...
Title: Re: Topic Solved
Post by: Kindred on April 29, 2015, 02:42:14 PM
it's a custom mod here...

and we have another, unreleased piece of coding that queries the database in order to build the "pending answers" list in the team action bar.


it's all hacked together code though and is not appropriate for distribution.



So, the short answer, krittin98, is that we don't.
The longer answer is -- you COULD do it, if you know how to code and write mySQL queries.
Title: Re: Topic Solved
Post by: Siirist on April 30, 2015, 12:25:04 AM
I went to the first post 25 pages back, looked over the MOD, downloaded, uploaded to my test forum, installed, added a Questions board, posted a question, went back to index, then to topic and didn't see anything different.

I then parsed it for 2.0.10, and it was OVERWHELMING (for me that is), at the bottom of the parse I saw:
Quote
This file should be able to execute standalone.
File Operations
Move the included file "Subs-TopicSolved.php" to "./Sources".
Move the included file "topicsolved.gif" to "./Themes/default/images/post".

So, I went to the folder that contained the downloaded MOD, UN-zipped it using "7-zip", went into the new folder and found the two files above. Used FileZilla to look for them (they were not there), so I upload them to where they belonged on the server.

Refreshed index.php two times, looked at the topic posted again and discovered:

QuoteThis Is A Test Forum » Another Category » Ask Questions Here » Just a random question
    Move Topic    Remove Topic    Lock topic    Set topic sticky    Merge Topics    Topic Solved

I clicked on Topic Solved and it changed to "Topic Not Solved".
Exited topic to This Is A Test Forum » Another Category » Ask Questions Here and TADA the green check mark was there.

ALWAYS back-up BEFORE installing MODs.
Hope this helped. If not, just delete this post.

Cheers,
Siirist
Title: Re: Topic Solved
Post by: roshaoar on April 30, 2015, 06:10:11 PM
Hello,

Sorry, I'm not sure where to ask, but is the feature in the SMF forum here that makes the green ticks on individual forums? I mean like here - http://www.simplemachines.org/community/index.php?board=86.0 - there are ticks - is this part of this mod?

Thank you for your time,

-Johan

Title: Re: Topic Solved
Post by: Kindred on April 30, 2015, 08:20:15 PM
what we use here is a topic solved mod, but not this one
Title: Re: Topic Solved
Post by: roshaoar on May 01, 2015, 04:10:25 AM
Thanks Kindred! Is it Grudge's here?
Title: Re: Topic Solved
Post by: Kindred on May 01, 2015, 06:27:24 AM
no. the one here is not available (as I think I have said)
Title: Re: Topic Solved
Post by: roshaoar on May 01, 2015, 06:39:04 AM
Quote from: Kindred on May 01, 2015, 06:27:24 AMno. the one here is not available (as I think I have said)
Kindred I hate to say it, and I mean this in the best possible way, but no, you said "it wasn't this one". There are two available via the mods board so someone like me might think/hope it's the other one, ie Grudge's, as I asked. Which, as you've now responded, it isn't! But thank you.
Title: Re: Topic Solved
Post by: Steve on May 01, 2015, 09:05:27 AM
Actually, he did say it:

Quote from: Kindred on April 29, 2015, 02:42:14 PM
it's a custom mod here...

and we have another, unreleased piece of coding that queries the database in order to build the "pending answers" list in the team action bar.


it's all hacked together code though and is not appropriate for distribution.



So, the short answer, krittin98, is that we don't.
The longer answer is -- you COULD do it, if you know how to code and write mySQL queries.
Title: Re: Topic Solved
Post by: roshaoar on May 01, 2015, 09:18:38 AM
Hadn't seen that - my bad. Apologies Kindred.
Title: Re: Topic Solved
Post by: samborabora on May 01, 2015, 10:21:59 AM
Quote from: roshaoar on April 30, 2015, 06:10:11 PM
Hello,

Sorry, I'm not sure where to ask, but is the feature in the SMF forum here that makes the green ticks on individual forums? I mean like here - http://www.simplemachines.org/community/index.php?board=86.0 - there are ticks - is this part of this mod?

Thank you for your time,

-Johan

Quote from: samborabora on April 23, 2015, 01:56:58 PM
I did it with this:

../Sources/MessageIndex.php

Find:

t.id_previous_board,

Replace:

t.id_previous_board, t.is_solved,

Find:

// Decide how many pages the topic should have.

Replace:

$row['first_subject'] = $row['is_solved'] ? '<img src="' . $settings['images_url'] . '/solved.png" class="solved_img" alt="" align="middle" />' . $row['first_subject'] : $row['first_subject'];

// Decide how many pages the topic should have.

Title: Re: Topic Solved
Post by: roshaoar on May 01, 2015, 10:52:21 PM
Thank you! Turns out this does mark the board after all...
Title: Re: Topic Solved
Post by: samborabora on May 02, 2015, 06:44:05 AM
Quote from: roshaoar on May 01, 2015, 10:52:21 PM
Thank you! Turns out this does mark the board after all...

That mod was on the first page and I missed it, trying in vain to get this working for far too long :D
Title: Re: Topic Solved
Post by: Siirist on May 02, 2015, 11:26:30 AM
Okay members,

This MOD installed without any issues on my 2.0.10 production forum without any issues.

ALWAYS BACK UP BEFORE installing a MOD, or making changes.

See it live in my Test Forum by clicking here. (http://www.asanctuary.net/TestForum/index.php)

Be Well,
Siirist
Title: Re: Topic Solved
Post by: samborabora on July 16, 2015, 07:52:10 AM
I just discovered the "mark solved/unsolved" button is only showing for admins, not mods or even the OP. Where does one set the permissions for the button to show? I don't think it's controlled by the buttonstrip permissions, is it?
Title: Re: Topic Solved
Post by: Kindred on July 16, 2015, 08:21:48 AM
it's controlled in the membergroup permissions, like any other feature, AFAIK
Title: Re: Topic Solved
Post by: samborabora on July 16, 2015, 08:56:57 AM
Quote from: Kindred on July 16, 2015, 08:21:48 AM
it's controlled in the membergroup permissions, like any other feature, AFAIK

Thanks, got it working perfectly!
Title: Re: Topic Solved
Post by: SoftAid on August 07, 2015, 09:13:28 AM
Hello,

I managed to get the "Topic Solved" mod 1.1.1 working perfectly, thanks for the mod.
Still remains one problem.
My forum (oplossing.be) is a dutch website, and in the past someone who is not on here antmore.
Problem: the buttons on the boards are all translated to Dutch language, only the "Solved" button remains in English, and I notice that few people here do understand what the button is for.
So, I would like to change the text to Dutch. How can I do this?
I went troug the files with FileZilla, looking for an Image-file (gif, png, etc..) with "solved" in the name, but "nuts"...  ;)

Can someone show me the way...  :-*

Thanks

Theo Wolfs

SoftAid

marg edit: removed your email address, you don't want to be spammed to death, do you? :P
Title: Re: Topic Solved
Post by: Kindred on August 07, 2015, 09:22:06 AM
the "buttons" are no image files...

the text gets defined in
./Themes/default/languages/Modifications.english.php


So, you would have to change the Modifications.YOURLANGUAGE.php file to add the correct definitions/translations
Title: Re: Topic Solved
Post by: SoftAid on August 08, 2015, 05:55:20 AM
Hello Kindred,

fixed the Modificationq.english.php and all works well for now. All buttons and messages are in Dutch now.

Thank you very much for your help.

SoftAid
Title: Re: Topic Solved
Post by: Livaco on September 02, 2015, 03:39:45 PM
the icon doesent appear on my side. ive tried the defult theme and the theme my forum uses. ive also enabled the boards to have it.
Title: Re: Topic Solved
Post by: RICH BEAST on September 02, 2015, 04:41:00 PM
Quote from: Livaco on September 02, 2015, 03:39:45 PM
the icon doesent appear on my side. ive tried the defult theme and the theme my forum uses. ive also enabled the boards to have it.
Same here, i tried the code members have posted, non of them worked.
This mode is really useful, it needs to be fully updated.
I even tried what the mod says about replacing codes, when i search for the codes to replace, it says its not there.
Title: Re: Topic Solved
Post by: Livaco on September 29, 2015, 10:30:15 AM
Quote from: Livaco on September 02, 2015, 03:39:45 PM
the icon doesent appear on my side. ive tried the defult theme and the theme my forum uses. ive also enabled the boards to have it.
now its just not appearing on my custum theme, the defult theme is fine

picture:

Defult:
(http://s10.postimg.org/x27v1qrax/Bug_Pic_2.png)

My forum defult theme:
(http://s30.postimg.org/w4348y0ap/Bug_Pic_1.png)
Title: Re: Topic Solved
Post by: Kindred on September 29, 2015, 11:54:19 AM
you have to add the code into your custom theme template file(s) and make sure the image is in your custom theme directory...
Title: Re: Topic Solved
Post by: Livaco on October 01, 2015, 11:07:06 AM
Quote from: Kindred on September 29, 2015, 11:54:19 AM
you have to add the code into your custom theme template file(s) and make sure the image is in your custom theme directory...
(http://media.simplemachinesweb.com/smf/smileys/default/huh.gif)
Title: Re: Topic Solved
Post by: br360 on October 01, 2015, 11:07:12 PM
The theme you are using has its own Display.template.php and MessageIndex.template.php, and this mod edits both of those files-and that is why it's not working with that theme.

What Kindred is saying is that you can manually edit both of those files in your theme you are using by adding in the required changes this mod makes ( and make sure that the topicsolved.gif image that is in your ./Themes/default/images/post- gets downloaded to your computer and then uploaded to ./Themes/Exodus/images/post as well)

I just tested your theme and mod together though, and it looks like if you uninstall this mod, then reinstall it again (making sure that you check the option to install in other themes for your Exodus theme), it will install and work without having to make the edits posted above.
Title: Re: Topic Solved
Post by: Livaco on October 03, 2015, 05:25:04 AM
Quote from: br360 on October 01, 2015, 11:07:12 PM
I just tested your theme and mod together though, and it looks like if you uninstall this mod, then reinstall it again (making sure that you check the option to install in other themes for your Exodus theme), it will install and work without having to make the edits posted above.
Il try that thanks!
Title: Re: Topic Solved
Post by: Livaco on October 03, 2015, 05:38:35 AM
Quote from: br360 on October 01, 2015, 11:07:12 PM
(making sure that you check the option to install in other themes for your Exodus theme)
I cant find that option in the settings of the theme
Title: Re: Topic Solved
Post by: br360 on October 03, 2015, 05:42:06 AM
That would be in the package manager. When you go to install the mod, you will see a list of any other themes you have installed; and the option to check those themes to have the mod install in those as well.
Title: Re: Topic Solved
Post by: Livaco on October 03, 2015, 05:50:53 AM
Quote from: br360 on October 03, 2015, 05:42:06 AM
That would be in the package manager. When you go to install the mod, you will see a list of any other themes you have installed; and the option to check those themes to have the mod install in those as well.
Well, I'm in file permissions and ive got 5 options



Read

Write

Execute

Custom

No Change
Title: Re: Topic Solved
Post by: Kindred on October 03, 2015, 08:12:08 AM
???   That is not what he said...

he said
WHEN YOU GO TO INSTALL THE MOD.....


on the screen with the file checks...
Title: Re: Topic Solved
Post by: Livaco on October 04, 2015, 05:12:39 AM
No it cant because themes are installed in "Themes and Layout" not the package manager.
Title: Re: Topic Solved
Post by: Kindred on October 04, 2015, 08:28:01 AM
you did not read what he said... Stop doing what you THINK is right (because you are wrong) and do exactly what was SAID....


WHEN YOU GO TO INSTALL THE MOD....  there is an option to install the mod into themes other than the default.

this option is not part of a THEME installation
It is not in the themes section
it is not in the file permissions section
it is something that is presented during the installation of the mod -- on the page which shows the file tests...
Title: Re: Topic Solved
Post by: Livaco on October 05, 2015, 10:16:59 AM
I doint get a file test page, it just says after I hit the first step "Exodus Has Been Installed Successfully"
Title: Re: Topic Solved
Post by: Kindred on October 05, 2015, 10:23:43 AM
For the love of gods...  READ WHAT WE ARE WRITING!

WHEN YOU INSTALL THE *****MOD******
Title: Re: Topic Solved
Post by: Livaco on October 05, 2015, 10:26:07 AM
OHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

That makes more sence

sorry!
Title: Re: Topic Solved
Post by: Livaco on October 05, 2015, 10:29:38 AM
now it working

Thanks

btw no need to thank me for annoying you :P
Title: Re: Topic Solved
Post by: Deprecated on February 21, 2016, 08:23:25 PM
Well this mod doesn't say it works with 2.0.11 but I decided to give it a try on a test forum (no other mods).

I clicked install and got all the right answers, went ahead with the installation. And then... Nothing. No mod settings, no new permissions I can find. Absolutely no perceptible change in the forum.

I verified the Subs file got where it should go, and the GIF image got in the right (default) theme.

I'm at a loss. The package manager said it was going to modify the various edits so I'm not going to bother checking that. That's what the package manager does.

So what is happening? This mod does absolutely nothing.
Title: Re: Topic Solved
Post by: grafcom on October 11, 2016, 02:29:15 PM
Hello, (I hope this is the right place to post this)

Since a few days I get error messages. My forum has moved to another provider.

I changed all the references, I think.

If I want to start a new topic, I get the following message;
QuoteField 'is_solved' doesn't have a default value
File: /home/xxxxxxxx/domains/mysite.com/public_html/support/Sources/Subs-Post.php
Line: 1856

The mods installed are: Social Login - Board Icons -  Advanced Contact Form - Topic Solved - Add size info to Avatar upload - Relative Time And Date - Default Avatar by Username and SA KB.

SMF version is 2.0.11 - this worked all well for a long time.

Does anyone have a suggestion?

Thanks in advance
Title: Re: Topic Solved
Post by: Kindred on October 11, 2016, 02:33:42 PM
you have to have your host turn off strict mode or upgrade mySQL again... the version of mySQL that they are running has a bug in it.
Title: Re: Topic Solved
Post by: grafcom on October 11, 2016, 04:08:40 PM
Which version of mySQL are you talking about? My host says they use version MySQL 5.6
Title: Re: Topic Solved
Post by: Kindred on October 11, 2016, 07:48:03 PM
Look up the error...  I think it was fixed in 5.7
Title: Re: Topic Solved
Post by: landyvlad on February 01, 2017, 09:01:46 PM
So this would be a useful mod for me, but it doesn't mention compatibility beyond 2.0.8.

Is it in fact compatible with 2.0.13? (and if so, mod page needs to be updated to say that)

Will it install satisfactorily via the package manager without errors ?  (by which I mean, without me having to do additional manual edits to code or file uploads to server etc)

Thanks.
Title: Re: Topic Solved
Post by: Kindred on February 01, 2017, 09:24:02 PM
Almost all mods for 2.0.x will work with any other 2.0.x version, although you may have to use the emulate featu.

As for install without errors... that will really depend on whatever other mods you may have installed?
Title: Re: Topic Solved
Post by: landyvlad on February 01, 2017, 09:33:03 PM
Yep that figures  Thanks mate.
Title: Re: Topic Solved
Post by: GravuTrad on September 18, 2018, 02:20:05 PM
French

// Topic Solved
$txt['topic_solved'] = 'Sujet r&eacute;solu';
$txt['topic_not_solved'] = 'Sujet non r&eacute;solu';
$txt['topic_solved_quick'] = 'Marquer la s&eacute;lection comme r&eacute;solue';
$txt['topic_solved_quick_confirm'] = 'Etes vous s&ucirc;r de vouloir marquer les sujets s&eacute;lectionn&eacute;s comme r&eacute;solus?';

$txt['topic_solved_board'] = 'Forum avec sujets r&eacute;solus';
$txt['topic_solved_board_desc'] = 'Active l\'option Sujet r&eacute;solu sur ce forum';

$txt['topic_solved_log'] = 'Journal de Sujet R&eacute;solu';
$txt['topic_solved_no_log'] = 'Pas d\'actions de sujet r&eacute;solu enregistr&eacute;es.';
$txt['topic_solved_desc'] = 'Liste les actions de sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs de votre forum.';
$txt['modlog_topicsolved_log_desc'] = 'Ci-dessous se trouve une liste de toutes les actions sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs du forum.<br /><b>Veuillez noter:</b> Les entr&eacute;es ne peuvent pas être supprim&eacute;es de ce log avant 24 heures.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; r&eacute;solu';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; non r&eacute;solu';

$txt['permissionname_solve_topic'] = 'Marquer les sujets r&eacute;solus';
$txt['permissionhelp_solve_topic'] = 'Cette permission permet &agrave; un utilisateur de marquer les sujets r&eacute;solus.';
$txt['permissionname_solve_topic_own'] = 'Sujet personnel';
$txt['permissionname_solve_topic_any'] = 'Tout sujet';
$txt['permissionname_simple_solve_topic_own'] = 'Marquer son propre sujet comme r&eacute;solu';
$txt['permissionname_simple_solve_topic_any'] = 'Marquer tout sujet comme r&eacute;solu';

$txt['topic_solved_error_no_board'] = 'D&eacute;sol&eacute;, l\'option sujet r&eacute;solu n\'est pas activ&eacute; sur ce forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Vous ne pouvez pas marquer vos sujets comme r&eacute;solus.';
$txt['cannot_support_tools_solve_topic_any'] = 'Vous ne pouvez pas marquer les sujets comme r&eacute;solus.';
// Topic Solved


Why languages posted here are not integrated in the mod? (more useful)

This mod can be marked working with 2.0.15.
Title: Re: Topic Solved
Post by: demlak on September 19, 2018, 02:14:25 AM
Because the mod does not get any update since 4 years.. and the maintainer wasn't online in here since 8 months.

in other words: development for this mod is dead.
Title: Re: Topic Solved
Post by: aegersz on February 11, 2020, 01:31:54 AM
not compatible with SMF 2.0.16 and needs updating. I had to uninstall it but had to uninstall Global Topics mod first
Title: Re: Topic Solved
Post by: RockLee on February 11, 2020, 09:03:20 AM
Quote from: aegersz on February 11, 2020, 01:31:54 AM
not compatible with SMF 2.0.16 and needs updating. I had to uninstall it but had to uninstall Global Topics mod first

Did you use it in a clean installation? I have it applied in 2.0.17 running smoothly, just emulate the necessary version. The data of where the mod is installed along with other modifications:

QuoteVersion Information:
Forum version: SMF 2.0.17 (more detailed)
Current SMF version: SMF 2.0.17
GD version: bundled (2.1.0 compatible)
Database Server: MariaDB
MySQL version: 10.2.31-MariaDB-cll-lve
PHP: 7.1.33


Regards!
Title: Re: Topic Solved
Post by: aegersz on February 11, 2020, 09:29:03 AM
Hi Rock, no - i have many mods on and I am installing this AFTER 2.0.16 is on so i wonder why it worked for you when the original mod never had any GDPR related code in there.

This is the only problem for ./Sources/Modlog.php as it is looking for:

'value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : 'moderation') . '_log_desc'],

but finds the GDPR code references here and fails:

'value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : 'moderation') . '_log_desc'] .
                                         (!empty($modSettings['force_gdpr']) && $context['log_type'] == 3 ? '<br />' .
                                        $txt['modlog_admin_log_gdpr_no_delete'] : ''),


I could do it manually but i'd rather not
Title: Re: Topic Solved
Post by: RockLee on February 11, 2020, 09:44:54 AM
I'm not sure if it's the right way to have it but when I had to edit it I didn't pay much attention to it while it worked:

''value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : ($context['log_type'] == 4 ? 'topicsolved' : 'moderation')) . '_log_desc'] . (!empty($modSettings['force_gdpr']) && $context['log_type'] == 3 ? '<br />' . $txt['modlog_admin_log_gdpr_no_delete'] : ''),


That should work without so many problems...


Regards!
Title: Re: Topic Solved
Post by: aegersz on February 11, 2020, 11:05:20 AM
Quote from: Rock Lee on February 11, 2020, 09:44:54 AM
I'm not sure if it's the right way to have it but when I had to edit it I didn't pay much attention to it while it worked:

''value' => $txt['modlog_' . ($context['log_type'] == 3 ? 'admin' : ($context['log_type'] == 4 ? 'topicsolved' : 'moderation')) . '_log_desc'] . (!empty($modSettings['force_gdpr']) && $context['log_type'] == 3 ? '<br />' . $txt['modlog_admin_log_gdpr_no_delete'] : ''),


That should work without so many problems...

Thanks, i did it manually as you suggested and it's OK. Much appreciated !  8) :D


Regards!
Title: Re: Topic Solved
Post by: gevv on November 19, 2020, 02:33:36 PM
Hi,

Will there be an update for smf 2.1?
Title: Re: Topic Solved
Post by: shadav on January 21, 2021, 09:34:06 PM
since I was installing this on a new site, thought I'd be nice ;)
here's all the translations that have been posted
*don't blame me for erros  :P *
in the install.xml
find
</modification>
add before
<file name="$languagedir/Modifications.swedish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Ämne löst';
$txt['topic_not_solved'] = 'Ämne ej löst';
$txt['topic_solved_quick'] = 'Markera valda som lösta';
$txt['topic_solved_quick_confirm'] = 'Är du säker på att du vill markera de valda ämnena som lösta?';

$txt['topic_solved_board'] = 'Tavla för lösta ämnen';
$txt['topic_solved_board_desc'] = 'Aktiverar Ämne löst-funktionen i denna tavla';

$txt['topic_solved_log'] = 'Ämne löst-logg';
$txt['topic_solved_no_log'] = 'Inga lösta ämnen har loggats.';
$txt['topic_solved_desc'] = 'Visar en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedan finns en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.<br /><b>Notera:</b> Poster kan inte raderas från denna logg förrän de är minst tjugofyra timmar gamla.';
$txt['modlog_ac_solve'] = 'Löste &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Markerade &quot;{topic}&quot; som ej löst.';

$txt['permissionname_solve_topic'] = 'Markera ämnen som lösta';
$txt['permissionhelp_solve_topic'] = 'Detta låter användare markera ämnen som lösta.';
$txt['permissionname_solve_topic_own'] = 'Egna ämnen';
$txt['permissionname_solve_topic_any'] = 'Alla ämnen';
$txt['permissionname_simple_solve_topic_own'] = 'Markera sina egna ämnen som lösta';
$txt['permissionname_simple_solve_topic_any'] = 'Markera alla ämnen som lösta';

$txt['topic_solved_error_no_board'] = 'Ledsen, ämne löst-funktionen är inte aktiverad i denna tavla.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan inte markera dina ämnen som lösta.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan inte markera ämnen som lösta.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.swedish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Ämne löst';
$txt['topic_not_solved'] = 'Ämne ej löst';
$txt['topic_solved_quick'] = 'Markera valda som lösta';
$txt['topic_solved_quick_confirm'] = 'Är du säker på att du vill markera de valda ämnena som lösta?';

$txt['topic_solved_board'] = 'Tavla för lösta ämnen';
$txt['topic_solved_board_desc'] = 'Aktiverar Ämne löst-funktionen i denna tavla';

$txt['topic_solved_log'] = 'Ämne löst-logg';
$txt['topic_solved_no_log'] = 'Inga lösta ämnen har loggats.';
$txt['topic_solved_desc'] = 'Visar en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedan finns en lista över alla ämnen som lösts eller markerats som ej lösta av moderatorerna på ditt forum.<br /><b>Notera:</b> Poster kan inte raderas från denna logg förrän de är minst tjugofyra timmar gamla.';
$txt['modlog_ac_solve'] = 'Löste &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Markerade &quot;{topic}&quot; som ej löst.';

$txt['permissionname_solve_topic'] = 'Markera ämnen som lösta';
$txt['permissionhelp_solve_topic'] = 'Detta låter användare markera ämnen som lösta.';
$txt['permissionname_solve_topic_own'] = 'Egna ämnen';
$txt['permissionname_solve_topic_any'] = 'Alla ämnen';
$txt['permissionname_simple_solve_topic_own'] = 'Markera sina egna ämnen som lösta';
$txt['permissionname_simple_solve_topic_any'] = 'Markera alla ämnen som lösta';

$txt['topic_solved_error_no_board'] = 'Ledsen, ämne löst-funktionen är inte aktiverad i denna tavla.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan inte markera dina ämnen som lösta.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan inte markera ämnen som lösta.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved portuguese translate by Candidosa2
$txt['topic_solved'] = 'T&oacute;pico Resolvido';
$txt['topic_not_solved'] = 'T&oacute;pico N&atilde;o Resolvido';
$txt['topic_solved_quick'] = 'Marcar selecionados resolvidos';
$txt['topic_solved_quick_confirm'] = 'Tem certeza de que pretende marcar t&oacute;picos como resolvido?';

$txt['topic_solved_board'] = 'T&oacute;pico Resolvido no quadro';
$txt['topic_solved_board_desc'] = 'Resolvido caracter&iacute;stica permite que o tema no quadro de Administra&ccedil;&atilde;o';

$txt['topic_solved_log'] = 'T&oacute;pico Resolvido Log';
$txt['topic_solved_no_log'] = 'N&atilde;o h&aacute; nenhum t&oacute;pico solucionar a&ccedil;&otilde;es autenticado.';
$txt['topic_solved_desc'] = 'Listas t&oacute;pico resolvido a&ccedil;&otilde;es que t&ecirc;m sido realizadas pelos moderadores no seu f&oacute;rum.';
$txt['modlog_topicsolved_log_desc'] = 'Abaixo est&aacute; uma lista de todos os t&oacute;picos que t&ecirc;m sido resolvidos ac&ccedil;&otilde;es levadas a cabo pelos moderadores do f&oacute;rum.<br /><b>Observe:</b>As inscri&ccedil;&otilde;es n&atilde;o podem ser retirados a partir deste registo at&eacute; que estejam pelo menos vinte e quatro horas de idade.';
$txt['modlog_ac_solve'] = 'Resolvido &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'N&atilde;o-Resolvido &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcas t&oacute;picos resolvidos';
$txt['permissionhelp_solve_topic'] = 'Essa permiss&atilde;o permite que um utilizador para um assunto resolvido.';
$txt['permissionname_solve_topic_own'] = 'T&oacute;pico pr&oacute;prio';
$txt['permissionname_solve_topic_any'] = 'Qualquer T&oacute;pico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seu pr&oacute;prio t&oacute;pico como resolvido';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar t&oacute;pico de algu&eacute;m como resolver';

$txt['topic_solved_error_no_board'] = 'Desculpe, n&atilde;o &eacute; assunto resolvido recurso activado nesta quadro.';
$txt['cannot_support_tools_solve_topic_own'] = 'Voc&ecirc; n&atilde;o pode marcar o seu t&oacute;pico como resolvido.';
$txt['cannot_support_tools_solve_topic_any'] = 'Voc&ecirc; n&atilde;o pode marcar t&oacute;pico como resolvido.';
// Topic Solved
]]></add>
        </operation>
    </file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved portuguese translate by Candidosa2
$txt['topic_solved'] = 'T&oacute;pico Resolvido';
$txt['topic_not_solved'] = 'T&oacute;pico N&atilde;o Resolvido';
$txt['topic_solved_quick'] = 'Marcar selecionados resolvidos';
$txt['topic_solved_quick_confirm'] = 'Tem certeza de que pretende marcar t&oacute;picos como resolvido?';

$txt['topic_solved_board'] = 'T&oacute;pico Resolvido no quadro';
$txt['topic_solved_board_desc'] = 'Resolvido caracter&iacute;stica permite que o tema no quadro de Administra&ccedil;&atilde;o';

$txt['topic_solved_log'] = 'T&oacute;pico Resolvido Log';
$txt['topic_solved_no_log'] = 'N&atilde;o h&aacute; nenhum t&oacute;pico solucionar a&ccedil;&otilde;es autenticado.';
$txt['topic_solved_desc'] = 'Listas t&oacute;pico resolvido a&ccedil;&otilde;es que t&ecirc;m sido realizadas pelos moderadores no seu f&oacute;rum.';
$txt['modlog_topicsolved_log_desc'] = 'Abaixo est&aacute; uma lista de todos os t&oacute;picos que t&ecirc;m sido resolvidos ac&ccedil;&otilde;es levadas a cabo pelos moderadores do f&oacute;rum.<br /><b>Observe:</b>As inscri&ccedil;&otilde;es n&atilde;o podem ser retirados a partir deste registo at&eacute; que estejam pelo menos vinte e quatro horas de idade.';
$txt['modlog_ac_solve'] = 'Resolvido &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'N&atilde;o-Resolvido &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcas t&oacute;picos resolvidos';
$txt['permissionhelp_solve_topic'] = 'Essa permiss&atilde;o permite que um utilizador para um assunto resolvido.';
$txt['permissionname_solve_topic_own'] = 'T&oacute;pico pr&oacute;prio';
$txt['permissionname_solve_topic_any'] = 'Qualquer T&oacute;pico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seu pr&oacute;prio t&oacute;pico como resolvido';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar t&oacute;pico de algu&eacute;m como resolver';

$txt['topic_solved_error_no_board'] = 'Desculpe, n&atilde;o &eacute; assunto resolvido recurso activado nesta quadro.';
$txt['cannot_support_tools_solve_topic_own'] = 'Voc&ecirc; n&atilde;o pode marcar o seu t&oacute;pico como resolvido.';
$txt['cannot_support_tools_solve_topic_any'] = 'Voc&ecirc; n&atilde;o pode marcar t&oacute;pico como resolvido.';
// Topic Solved
]]></add>
        </operation>
    </file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Tópico Solucionado';
$txt['topic_not_solved'] = 'Tópico Não Solucionado';
$txt['topic_solved_quick'] = 'Marcar os selecionados como solucionados';
$txt['topic_solved_quick_confirm'] = 'Você tem certeza que quer marcar os tópicos selecionados como solucionados?';

$txt['topic_solved_board'] = 'Habilitar tópicos solucionados';
$txt['topic_solved_board_desc'] = 'Habilita a opção para tópicos solucionados no fórum';

$txt['topic_solved_log'] = 'Log dos tópicos solucionados';
$txt['topic_solved_no_log'] = 'Não existem ações registradas.';
$txt['topic_solved_desc'] = 'Lista as ações de tópicos solucionados feitas em seu fórum pelos seus moderadores.';
$txt['modlog_topicsolved_log_desc'] = 'A lista abaixo contem todas as ações de tópicos solucionados que foram feitas em seu fórun]m.<br /><b>Atenção:</b> Entradas não poderão ser removidas desta lista enquanto não tiverem pelo menos vinte e quatro horas de existencia.';
$txt['modlog_ac_solve'] = 'Solucionado &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Não Solucionado &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Tópico como solucionado';
$txt['permissionhelp_solve_topic'] = 'Esta permissão permite um usuário marcar um tópico como solucionado.';
$txt['permissionname_solve_topic_own'] = 'Tópico Próprio';
$txt['permissionname_solve_topic_any'] = 'Qualquer Tópico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seus próprios tópicos como solucionados';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar qualquer tópico como solucionado';

$txt['topic_solved_error_no_board'] = 'Desculpe, a opção de marcar tópicos como solucionados não está ativa neste fórum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Você não pode marcar seus tópicos como solucionados.';
$txt['cannot_support_tools_solve_topic_any'] = 'Você não pode marcar tópicos como solucionados.';
// Topic Solved
]]></add>
        </operation>
    </file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Tópico Solucionado';
$txt['topic_not_solved'] = 'Tópico Não Solucionado';
$txt['topic_solved_quick'] = 'Marcar os selecionados como solucionados';
$txt['topic_solved_quick_confirm'] = 'Você tem certeza que quer marcar os tópicos selecionados como solucionados?';

$txt['topic_solved_board'] = 'Habilitar tópicos solucionados';
$txt['topic_solved_board_desc'] = 'Habilita a opção para tópicos solucionados no fórum';

$txt['topic_solved_log'] = 'Log dos tópicos solucionados';
$txt['topic_solved_no_log'] = 'Não existem ações registradas.';
$txt['topic_solved_desc'] = 'Lista as ações de tópicos solucionados feitas em seu fórum pelos seus moderadores.';
$txt['modlog_topicsolved_log_desc'] = 'A lista abaixo contem todas as ações de tópicos solucionados que foram feitas em seu fórun]m.<br /><b>Atenção:</b> Entradas não poderão ser removidas desta lista enquanto não tiverem pelo menos vinte e quatro horas de existencia.';
$txt['modlog_ac_solve'] = 'Solucionado &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'Não Solucionado &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Tópico como solucionado';
$txt['permissionhelp_solve_topic'] = 'Esta permissão permite um usuário marcar um tópico como solucionado.';
$txt['permissionname_solve_topic_own'] = 'Tópico Próprio';
$txt['permissionname_solve_topic_any'] = 'Qualquer Tópico';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar seus próprios tópicos como solucionados';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar qualquer tópico como solucionado';

$txt['topic_solved_error_no_board'] = 'Desculpe, a opção de marcar tópicos como solucionados não está ativa neste fórum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Você não pode marcar seus tópicos como solucionados.';
$txt['cannot_support_tools_solve_topic_any'] = 'Você não pode marcar tópicos como solucionados.';
// Topic Solved
]]></add>
        </operation>
    </file>
<file name="$languagedir/Modifications.danish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Emne løst';
$txt['topic_not_solved'] = 'Emne ikke løst';
$txt['topic_solved_quick'] = 'Marker valgte emne som løst';
$txt['topic_solved_quick_confirm'] = 'Er du sikker på du vil markere valgte emne som løst?';

$txt['topic_solved_board'] = 'Emne løst board';
$txt['topic_solved_board_desc'] = 'Aktiverer Emne løst funktionen i forum';

$txt['topic_solved_log'] = 'Emne løst log';
$txt['topic_solved_no_log'] = 'Der er ikke logget nogen handlinger om Emne løst.';
$txt['topic_solved_desc'] = 'List over Emne løst handlinger der er udført af moderatorer i dit forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedenfor er en lister over alle Emne løst handlinger der er udført af moderatorer i dit forum.<br /><b>Bemærk venligst:</b> Angivelser i denne log kan ikke slettet før efter mindst 24 timer.';
$txt['modlog_ac_solve'] = 'Løste &quot;{emner}&quot;';
$txt['modlog_ac_not_solve'] = 'Ikke løste &quot;{emner}&quot;';

$txt['permissionname_solve_topic'] = 'Marker emner som løst';
$txt['permissionhelp_solve_topic'] = 'Denne rettighed tillader brugeren at benytte emne løst.';
$txt['permissionname_solve_topic_own'] = 'Egne emner';
$txt['permissionname_solve_topic_any'] = 'Alle emner';
$txt['permissionname_simple_solve_topic_own'] = 'Markere egne emner som løst';
$txt['permissionname_simple_solve_topic_any'] = 'Markere enhvers emne som løst';

$txt['topic_solved_error_no_board'] = 'Beklager, Emne løst funktion er ikke aktiveret i dette forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan ikke markere dit emne som løst.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan ikke markere emne som løst.';
// Topic Solved
]]></add>
</operation>
</file>
    <file name="$languagedir/Modifications.danish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Emne løst';
$txt['topic_not_solved'] = 'Emne ikke løst';
$txt['topic_solved_quick'] = 'Marker valgte emne som løst';
$txt['topic_solved_quick_confirm'] = 'Er du sikker på du vil markere valgte emne som løst?';

$txt['topic_solved_board'] = 'Emne løst board';
$txt['topic_solved_board_desc'] = 'Aktiverer Emne løst funktionen i forum';

$txt['topic_solved_log'] = 'Emne løst log';
$txt['topic_solved_no_log'] = 'Der er ikke logget nogen handlinger om Emne løst.';
$txt['topic_solved_desc'] = 'List over Emne løst handlinger der er udført af moderatorer i dit forum.';
$txt['modlog_topicsolved_log_desc'] = 'Nedenfor er en lister over alle Emne løst handlinger der er udført af moderatorer i dit forum.<br /><b>Bemærk venligst:</b> Angivelser i denne log kan ikke slettet før efter mindst 24 timer.';
$txt['modlog_ac_solve'] = 'Løste &quot;{emner}&quot;';
$txt['modlog_ac_not_solve'] = 'Ikke løste &quot;{emner}&quot;';

$txt['permissionname_solve_topic'] = 'Marker emner som løst';
$txt['permissionhelp_solve_topic'] = 'Denne rettighed tillader brugeren at benytte emne løst.';
$txt['permissionname_solve_topic_own'] = 'Egne emner';
$txt['permissionname_solve_topic_any'] = 'Alle emner';
$txt['permissionname_simple_solve_topic_own'] = 'Markere egne emner som løst';
$txt['permissionname_simple_solve_topic_any'] = 'Markere enhvers emne som løst';

$txt['topic_solved_error_no_board'] = 'Beklager, Emne løst funktion er ikke aktiveret i dette forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kan ikke markere dit emne som løst.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kan ikke markere emne som løst.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.romanian.php">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Subiect Rezolvat';
$txt['topic_not_solved'] = 'Subiect Nerezolvat';
$txt['topic_solved_quick'] = 'Marcheaza Subiectul ca fiind rezolvat';
$txt['topic_solved_quick_confirm'] = 'Esti sigur ca vrei sa marchezi acest subiect ca fiind rezolvat?';

$txt['topic_solved_board'] = 'Subiect Rezolvat in Sectiune';
$txt['topic_solved_board_desc'] = 'Activeaza in aceasta sectiune butonul pentru a marca subiectele rezolvate';

$txt['topic_solved_log'] = 'Logo Subiect Rezolvat';
$txt['topic_solved_no_log'] = 'Nu sunt subiecte marcate ca fiind rezolvate.';
$txt['topic_solved_desc'] = 'Listele actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.';
$txt['modlog_topicsolved_log_desc'] = 'Mai jos este o lista a actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.<br /><b>Te rog noteaza:</b> Logo-urile nu pot fi sterse din aceasta lista decat peste 24 de ore.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; Rezolvat';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; Nerezolvat';

$txt['permissionname_solve_topic'] = 'Marcheaza subiectele ca fiind rezolvate';
$txt['permissionhelp_solve_topic'] = 'Aceasta permisiune perminte utilizatorilor sa marcheze subiectele ca fiind rezolvate.';
$txt['permissionname_solve_topic_own'] = 'In propriul subiect';
$txt['permissionname_solve_topic_any'] = 'In alt subiect';
$txt['permissionname_simple_solve_topic_own'] = 'Marcheaza propriul subiect ca fiind rezolvat';
$txt['permissionname_simple_solve_topic_any'] = 'Marcheaza alt\e subiect\e ca fiind rezolvat\e';

$txt['topic_solved_error_no_board'] = 'Ne pare rau, in aceasta sectiune nu este activata marcarea subiectelor ca fiind rezolvate .';
$txt['cannot_support_tools_solve_topic_own'] = 'Nu poti marca propriul subiect ca fiind rezolvat.';
$txt['cannot_support_tools_solve_topic_any'] = 'Nu poti marca subiectele ca fiind rezolvate.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.romanian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Subiect Rezolvat';
$txt['topic_not_solved'] = 'Subiect Nerezolvat';
$txt['topic_solved_quick'] = 'Marcheaza Subiectul ca fiind rezolvat';
$txt['topic_solved_quick_confirm'] = 'Esti sigur ca vrei sa marchezi acest subiect ca fiind rezolvat?';

$txt['topic_solved_board'] = 'Subiect Rezolvat in Sectiune';
$txt['topic_solved_board_desc'] = 'Activeaza in aceasta sectiune butonul pentru a marca subiectele rezolvate';

$txt['topic_solved_log'] = 'Logo Subiect Rezolvat';
$txt['topic_solved_no_log'] = 'Nu sunt subiecte marcate ca fiind rezolvate.';
$txt['topic_solved_desc'] = 'Listele actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.';
$txt['modlog_topicsolved_log_desc'] = 'Mai jos este o lista a actiunilor subiectelor marcate ca fiind rezolvate de catre moderatorii forumului.<br /><b>Te rog noteaza:</b> Logo-urile nu pot fi sterse din aceasta lista decat peste 24 de ore.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; Rezolvat';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; Nerezolvat';

$txt['permissionname_solve_topic'] = 'Marcheaza subiectele ca fiind rezolvate';
$txt['permissionhelp_solve_topic'] = 'Aceasta permisiune perminte utilizatorilor sa marcheze subiectele ca fiind rezolvate.';
$txt['permissionname_solve_topic_own'] = 'In propriul subiect';
$txt['permissionname_solve_topic_any'] = 'In alt subiect';
$txt['permissionname_simple_solve_topic_own'] = 'Marcheaza propriul subiect ca fiind rezolvat';
$txt['permissionname_simple_solve_topic_any'] = 'Marcheaza alt\e subiect\e ca fiind rezolvat\e';

$txt['topic_solved_error_no_board'] = 'Ne pare rau, in aceasta sectiune nu este activata marcarea subiectelor ca fiind rezolvate .';
$txt['cannot_support_tools_solve_topic_own'] = 'Nu poti marca propriul subiect ca fiind rezolvat.';
$txt['cannot_support_tools_solve_topic_any'] = 'Nu poti marca subiectele ca fiind rezolvate.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.dutch.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Topic Opgelost';
$txt['topic_not_solved'] = 'Topic Niet Opgelost';
$txt['topic_solved_quick'] = 'Markeer selectie als opgelost';
$txt['topic_solved_quick_confirm'] = 'Weet je zeker dat je de geselecteerde topics als opgelost wilt markeren?';

$txt['topic_solved_board'] = 'Topic Opgelost-Board';
$txt['topic_solved_board_desc'] = 'Dit schakelt de topic opgelost-feature in op dit board';

$txt['topic_solved_log'] = 'Topic Opgelost Log';
$txt['topic_solved_no_log'] = 'Er zijn geen topics als opgelost markeerd die gelogd zijn';
$txt['topic_solved_desc'] = 'Maakt een lijst van de topic opgelost-acties die zijn uitgevoerd door moderators.';
$txt['modlog_topicsolved_log_desc'] = 'Hieronder is een lijst met alle topic opgelost-acties die zijn uitgevoerd door moderators op dit forum.<br /><b>Notitie:</b> De acties kunnen niet verwijderd worden totdat ze tenminste 1 dag oud zijn';
$txt['modlog_ac_solve'] = 'Heeft het topic &quot;{topic}&quot; als opgelost gemarkeerd';
$txt['modlog_ac_not_solve'] = 'Heeft het topic &quot;{topic}&quot; als niet-opgelost gemarkeerd';

$txt['permissionname_solve_topic'] = 'Markeer topics als opgelost';
$txt['permissionhelp_solve_topic'] = 'Met deze permissie kunnen gebruikers een topic als opgelost markeren';
$txt['permissionname_solve_topic_own'] = 'Eigen topic';
$txt['permissionname_solve_topic_any'] = 'Elk topic';
$txt['permissionname_simple_solve_topic_own'] = 'Markeer eigen topics als opgelost';
$txt['permissionname_simple_solve_topic_any'] = 'Markeer alle topics als opgelost';

$txt['topic_solved_error_no_board'] = 'Sorry, in dit board is het niet mogelijk om topics als opgelost te markeren.';
$txt['cannot_support_tools_solve_topic_own'] = 'Je kunt je eigen topics niet als opgelost markeren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Je kunt topics niet als opgelost markeren';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.dutch-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Topic Opgelost';
$txt['topic_not_solved'] = 'Topic Niet Opgelost';
$txt['topic_solved_quick'] = 'Markeer selectie als opgelost';
$txt['topic_solved_quick_confirm'] = 'Weet je zeker dat je de geselecteerde topics als opgelost wilt markeren?';

$txt['topic_solved_board'] = 'Topic Opgelost-Board';
$txt['topic_solved_board_desc'] = 'Dit schakelt de topic opgelost-feature in op dit board';

$txt['topic_solved_log'] = 'Topic Opgelost Log';
$txt['topic_solved_no_log'] = 'Er zijn geen topics als opgelost markeerd die gelogd zijn';
$txt['topic_solved_desc'] = 'Maakt een lijst van de topic opgelost-acties die zijn uitgevoerd door moderators.';
$txt['modlog_topicsolved_log_desc'] = 'Hieronder is een lijst met alle topic opgelost-acties die zijn uitgevoerd door moderators op dit forum.<br /><b>Notitie:</b> De acties kunnen niet verwijderd worden totdat ze tenminste 1 dag oud zijn';
$txt['modlog_ac_solve'] = 'Heeft het topic &quot;{topic}&quot; als opgelost gemarkeerd';
$txt['modlog_ac_not_solve'] = 'Heeft het topic &quot;{topic}&quot; als niet-opgelost gemarkeerd';

$txt['permissionname_solve_topic'] = 'Markeer topics als opgelost';
$txt['permissionhelp_solve_topic'] = 'Met deze permissie kunnen gebruikers een topic als opgelost markeren';
$txt['permissionname_solve_topic_own'] = 'Eigen topic';
$txt['permissionname_solve_topic_any'] = 'Elk topic';
$txt['permissionname_simple_solve_topic_own'] = 'Markeer eigen topics als opgelost';
$txt['permissionname_simple_solve_topic_any'] = 'Markeer alle topics als opgelost';

$txt['topic_solved_error_no_board'] = 'Sorry, in dit board is het niet mogelijk om topics als opgelost te markeren.';
$txt['cannot_support_tools_solve_topic_own'] = 'Je kunt je eigen topics niet als opgelost markeren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Je kunt topics niet als opgelost markeren';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'erledigt markieren';
$txt['topic_not_solved'] = 'nicht erledigt markieren';
$txt['topic_solved_quick'] = 'erledigt markieren';
$txt['topic_solved_quick_confirm'] = 'Bist du dir sicher, dass du die markierten Themen als erledigt markieren willst?';

$txt['topic_solved_board'] = 'Thema erledigt Board';
$txt['topic_solved_board_desc'] = 'Aktiviert das \"Thema-erledigt\"-Mod im Forum"';

$txt['topic_solved_log'] = 'Thema-erledigt Log';
$txt['topic_solved_no_log'] = 'Es wurde bisher nichts aufgezeichnet.';
$txt['topic_solved_desc'] = 'Listet von Moderatoren erledigte Themen.';
$txt['modlog_topicsolved_log_desc'] = 'Diese Liste enthält alle Log-Einträge der erledigten Themen.<br /><b>Beachte:</b> Einträge können erst nach 24h aus dem Log entfernt werden.';
$txt['modlog_ac_solve'] = 'erledigt markiert &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'nicht erledigt markiert &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Markiert Thema als erledigt';
$txt['permissionhelp_solve_topic'] = 'Dies erlaubt einem Benutzer ein Thema als erledigt zu markieren.';
$txt['permissionname_solve_topic_own'] = 'Eigene Themen';
$txt['permissionname_solve_topic_any'] = 'Alle Themen';
$txt['permissionname_simple_solve_topic_own'] = 'Markiert die eigenen Themen als erledigt';
$txt['permissionname_simple_solve_topic_any'] = 'Markiert alle Themen als erledigt';

$txt['topic_solved_error_no_board'] = 'Es tut mir leid, die Funktion ein Thema als erledigt zu markieren ist hier nicht aktiviert.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kannst deine Themen nicht als erledigt markieren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kannst keine Themen als erledigt markieren.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'erledigt markieren';
$txt['topic_not_solved'] = 'nicht erledigt markieren';
$txt['topic_solved_quick'] = 'erledigt markieren';
$txt['topic_solved_quick_confirm'] = 'Bist du dir sicher, dass du die markierten Themen als erledigt markieren willst?';

$txt['topic_solved_board'] = 'Thema erledigt Board';
$txt['topic_solved_board_desc'] = 'Aktiviert das \"Thema-erledigt\"-Mod im Forum"';

$txt['topic_solved_log'] = 'Thema-erledigt Log';
$txt['topic_solved_no_log'] = 'Es wurde bisher nichts aufgezeichnet.';
$txt['topic_solved_desc'] = 'Listet von Moderatoren erledigte Themen.';
$txt['modlog_topicsolved_log_desc'] = 'Diese Liste enthält alle Log-Einträge der erledigten Themen.<br /><b>Beachte:</b> Einträge können erst nach 24h aus dem Log entfernt werden.';
$txt['modlog_ac_solve'] = 'erledigt markiert &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'nicht erledigt markiert &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Markiert Thema als erledigt';
$txt['permissionhelp_solve_topic'] = 'Dies erlaubt einem Benutzer ein Thema als erledigt zu markieren.';
$txt['permissionname_solve_topic_own'] = 'Eigene Themen';
$txt['permissionname_solve_topic_any'] = 'Alle Themen';
$txt['permissionname_simple_solve_topic_own'] = 'Markiert die eigenen Themen als erledigt';
$txt['permissionname_simple_solve_topic_any'] = 'Markiert alle Themen als erledigt';

$txt['topic_solved_error_no_board'] = 'Es tut mir leid, die Funktion ein Thema als erledigt zu markieren ist hier nicht aktiviert.';
$txt['cannot_support_tools_solve_topic_own'] = 'Du kannst deine Themen nicht als erledigt markieren.';
$txt['cannot_support_tools_solve_topic_any'] = 'Du kannst keine Themen als erledigt markieren.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.spanish_es-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Tema Resuelto';
$txt['topic_not_solved'] = 'Tema no Resuelto';
$txt['topic_solved_quick'] = 'Marcar seleccionado como resuelto';
$txt['topic_solved_quick_confirm'] = 'Estás seguro que quieres marcar temas seleccionados como resueltos?';

$txt['topic_solved_board'] = 'Foro Tema Resuelto';
$txt['topic_solved_board_desc'] = 'Activa la función de tema resuelto en el foro';

$txt['topic_solved_log'] = 'Registro de Tema Resuelto';
$txt['topic_solved_no_log'] = 'No hay acciones registradas de Tema resuelto.';
$txt['topic_solved_desc'] = 'Lista de acciones de temas resueltos que han sido realizados por moderadores en tu foro.';
$txt['modlog_topicsolved_log_desc'] = 'A continuación se muestra una lista de todas las acciones de temas resueltos que han sido llevadas a cabo por los moderadores del foro.<br /><b>A tener en cuenta:</b> Las entradas no se pueden eliminar de este registro hasta que tengan por lo menos veinticuatro horas.';
$txt['modlog_ac_solve'] = 'Resuelto &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'No resuelto &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Temas Resueltos';
$txt['permissionhelp_solve_topic'] = 'Este permiso permite a un usuario usar la función de tema resuelto.';
$txt['permissionname_solve_topic_own'] = 'Propio tema';
$txt['permissionname_solve_topic_any'] = 'Cualquier tema';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar su propio tema como resuelto';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar cualquier tema como resuelto';

$txt['topic_solved_error_no_board'] = 'Lo siento, la función Tema Resuelto no está activada en este foro.';
$txt['cannot_support_tools_solve_topic_own'] = 'No puedes marcar tus temas como resueltos.';
$txt['cannot_support_tools_solve_topic_any'] = 'No puedes marcar temas como resueltos.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Tema Resuelto';
$txt['topic_not_solved'] = 'Tema no Resuelto';
$txt['topic_solved_quick'] = 'Marcar seleccionado como resuelto';
$txt['topic_solved_quick_confirm'] = 'Estás seguro que quieres marcar temas seleccionados como resueltos?';

$txt['topic_solved_board'] = 'Foro Tema Resuelto';
$txt['topic_solved_board_desc'] = 'Activa la función de tema resuelto en el foro';

$txt['topic_solved_log'] = 'Registro de Tema Resuelto';
$txt['topic_solved_no_log'] = 'No hay acciones registradas de Tema resuelto.';
$txt['topic_solved_desc'] = 'Lista de acciones de temas resueltos que han sido realizados por moderadores en tu foro.';
$txt['modlog_topicsolved_log_desc'] = 'A continuación se muestra una lista de todas las acciones de temas resueltos que han sido llevadas a cabo por los moderadores del foro.<br /><b>A tener en cuenta:</b> Las entradas no se pueden eliminar de este registro hasta que tengan por lo menos veinticuatro horas.';
$txt['modlog_ac_solve'] = 'Resuelto &quot;{topic}&quot;';
$txt['modlog_ac_not_solve'] = 'No resuelto &quot;{topic}&quot;';

$txt['permissionname_solve_topic'] = 'Marcar Temas Resueltos';
$txt['permissionhelp_solve_topic'] = 'Este permiso permite a un usuario usar la función de tema resuelto.';
$txt['permissionname_solve_topic_own'] = 'Propio tema';
$txt['permissionname_solve_topic_any'] = 'Cualquier tema';
$txt['permissionname_simple_solve_topic_own'] = 'Marcar su propio tema como resuelto';
$txt['permissionname_simple_solve_topic_any'] = 'Marcar cualquier tema como resuelto';

$txt['topic_solved_error_no_board'] = 'Lo siento, la función Tema Resuelto no está activada en este foro.';
$txt['cannot_support_tools_solve_topic_own'] = 'No puedes marcar tus temas como resueltos.';
$txt['cannot_support_tools_solve_topic_any'] = 'No puedes marcar temas como resueltos.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.french.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Sujet r&eacute;solu';
$txt['topic_not_solved'] = 'Sujet non r&eacute;solu';
$txt['topic_solved_quick'] = 'Marquer la s&eacute;lection comme r&eacute;solue';
$txt['topic_solved_quick_confirm'] = 'Etes vous s&ucirc;r de vouloir marquer les sujets s&eacute;lectionn&eacute;s comme r&eacute;solus?';

$txt['topic_solved_board'] = 'Forum avec sujets r&eacute;solus';
$txt['topic_solved_board_desc'] = 'Active l\'option Sujet r&eacute;solu sur ce forum';

$txt['topic_solved_log'] = 'Journal de Sujet R&eacute;solu';
$txt['topic_solved_no_log'] = 'Pas d\'actions de sujet r&eacute;solu enregistr&eacute;es.';
$txt['topic_solved_desc'] = 'Liste les actions de sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs de votre forum.';
$txt['modlog_topicsolved_log_desc'] = 'Ci-dessous se trouve une liste de toutes les actions sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs du forum.<br /><b>Veuillez noter:</b> Les entr&eacute;es ne peuvent pas être supprim&eacute;es de ce log avant 24 heures.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; r&eacute;solu';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; non r&eacute;solu';

$txt['permissionname_solve_topic'] = 'Marquer les sujets r&eacute;solus';
$txt['permissionhelp_solve_topic'] = 'Cette permission permet &agrave; un utilisateur de marquer les sujets r&eacute;solus.';
$txt['permissionname_solve_topic_own'] = 'Sujet personnel';
$txt['permissionname_solve_topic_any'] = 'Tout sujet';
$txt['permissionname_simple_solve_topic_own'] = 'Marquer son propre sujet comme r&eacute;solu';
$txt['permissionname_simple_solve_topic_any'] = 'Marquer tout sujet comme r&eacute;solu';

$txt['topic_solved_error_no_board'] = 'D&eacute;sol&eacute;, l\'option sujet r&eacute;solu n\'est pas activ&eacute; sur ce forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Vous ne pouvez pas marquer vos sujets comme r&eacute;solus.';
$txt['cannot_support_tools_solve_topic_any'] = 'Vous ne pouvez pas marquer les sujets comme r&eacute;solus.';
// Topic Solved
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.french-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Solved
$txt['topic_solved'] = 'Sujet r&eacute;solu';
$txt['topic_not_solved'] = 'Sujet non r&eacute;solu';
$txt['topic_solved_quick'] = 'Marquer la s&eacute;lection comme r&eacute;solue';
$txt['topic_solved_quick_confirm'] = 'Etes vous s&ucirc;r de vouloir marquer les sujets s&eacute;lectionn&eacute;s comme r&eacute;solus?';

$txt['topic_solved_board'] = 'Forum avec sujets r&eacute;solus';
$txt['topic_solved_board_desc'] = 'Active l\'option Sujet r&eacute;solu sur ce forum';

$txt['topic_solved_log'] = 'Journal de Sujet R&eacute;solu';
$txt['topic_solved_no_log'] = 'Pas d\'actions de sujet r&eacute;solu enregistr&eacute;es.';
$txt['topic_solved_desc'] = 'Liste les actions de sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs de votre forum.';
$txt['modlog_topicsolved_log_desc'] = 'Ci-dessous se trouve une liste de toutes les actions sujet r&eacute;solu qui ont &eacute;t&eacute; effectu&eacute;es par les mod&eacute;rateurs du forum.<br /><b>Veuillez noter:</b> Les entr&eacute;es ne peuvent pas être supprim&eacute;es de ce log avant 24 heures.';
$txt['modlog_ac_solve'] = '&quot;{topic}&quot; r&eacute;solu';
$txt['modlog_ac_not_solve'] = '&quot;{topic}&quot; non r&eacute;solu';

$txt['permissionname_solve_topic'] = 'Marquer les sujets r&eacute;solus';
$txt['permissionhelp_solve_topic'] = 'Cette permission permet &agrave; un utilisateur de marquer les sujets r&eacute;solus.';
$txt['permissionname_solve_topic_own'] = 'Sujet personnel';
$txt['permissionname_solve_topic_any'] = 'Tout sujet';
$txt['permissionname_simple_solve_topic_own'] = 'Marquer son propre sujet comme r&eacute;solu';
$txt['permissionname_simple_solve_topic_any'] = 'Marquer tout sujet comme r&eacute;solu';

$txt['topic_solved_error_no_board'] = 'D&eacute;sol&eacute;, l\'option sujet r&eacute;solu n\'est pas activ&eacute; sur ce forum.';
$txt['cannot_support_tools_solve_topic_own'] = 'Vous ne pouvez pas marquer vos sujets comme r&eacute;solus.';
$txt['cannot_support_tools_solve_topic_any'] = 'Vous ne pouvez pas marquer les sujets comme r&eacute;solus.';
// Topic Solved
]]></add>
</operation>
</file>
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 01:57:09 PM
Using 2.0.17 and Ants Mutant curve theme.

Install was fine.  trying to post the first topic to test it and i get this error


Field 'is_solved' doesn't have a default value
File: /home/mydomain/public_html/mywebaddress.com/Sources/Subs-Post.php
Line: 1869
Title: Re: Topic Solved
Post by: shadav on January 24, 2021, 02:46:33 PM
Quote from: rcane on January 24, 2021, 01:57:09 PM
Using 2.0.17 and Ants Mutant curve theme.

Install was fine.  trying to post the first topic to test it and i get this error


Field 'is_solved' doesn't have a default value
File: /home/mydomain/public_html/mywebaddress.com/Sources/Subs-Post.php
Line: 1869

in your database find smf_topics and click on structure
find is_solved and edit it
change default to NULL and save
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 05:47:30 PM
Is that the SMF db or a folder specific to the mod?

Title: Re: Topic Solved
Post by: shadav on January 24, 2021, 05:52:06 PM
the smf database
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 06:52:37 PM
i found the db name but i don't see where to actually open and edit the db.  sorry, first time needing to do this.
Title: Re: Topic Solved
Post by: shadav on January 24, 2021, 07:14:32 PM
Quote from: rcane on January 24, 2021, 06:52:37 PM
i found the db name but i don't see where to actually open and edit the db.  sorry, first time needing to do this.
;D
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 07:28:38 PM
thanks for the specifics; helpful.  I just cannot locate that 'interface'.  I tried finding it through the cPanel but nothing.
Title: Re: Topic Solved
Post by: shadav on January 24, 2021, 07:34:03 PM
in your cpanel there should be a link to phpadmin somewhere
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 07:40:32 PM
Yeah, i was lost in the file manager; i had overlooked that one in the cPanel.  Again, thanks. 

I'll try the topic solved mod again and see if that works the second time around.
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 07:44:57 PM
Well, i can post again--even after re-installing the topic solver--but i don't see any new buttons or check-boxes to mark it solved/un-solved.  At least it's allowing posts.
Title: Re: Topic Solved
Post by: shadav on January 24, 2021, 08:08:47 PM
after installed you have to go to your admin then go to forum then boards...
for the boards that you want to allow people to mark topics as solved click on modify for that board
make sure to checkmark
Topic Solved Board:
Enables the Topic Solved feature in the board

you'll do this to each and every board that you want this available on


then at the bottom of posts in those boards you should see a button that says Topic Solved, in with the other buttons move topic, set topic sticky, ect...

if you still do not see it, are you using the default theme, if not change to default theme and see if it shows up.... if it does then you will need to use the parse button on the mod page and do all the theme edits to your custom themes
when installing mods, make sure that you check the boxes for the themes you want them to install on....
if it still isn't showing up on the default theme then it didn't install correctly, make sure there are no errors when installing the mod
Title: Re: Topic Solved
Post by: rcane on January 24, 2021, 08:16:38 PM
Yeah, i tried on all the themes (and default).  No joy.

Do i need to re-install to find the parse button for the mod?
Title: Re: Topic Solved
Post by: madfitz on January 26, 2021, 03:42:31 PM
The boards here at simplemachines.org have a simple 'topic solved/not solved' text button. That would be much simpler as different themes use different icons which are not obvious to some users.

Topic solved / Topic not solved says exactly what you want.
Title: Re: Topic Solved
Post by: rcane on January 26, 2021, 07:41:46 PM
It's odd.

I thought I replied that I solved it.

Oh well. It's working well now thanks to the help here.

Title: Re: Topic Solved
Post by: rcane on February 04, 2021, 09:49:23 AM
Well,

Everything was fine until I created a new board in the same category as my others.

New error:

Field 'topic_solved' doesn't have a default value
File: /home/userFolder/public_html/myDomain.com/Sources/Subs-Boards.php
Line: 784

I went through the SMF db and found the topic is_solved entry and verified the default value is NULL.   

I was able to just go into the boards directory of the db and duplicate an existing board (there weren't any posts in it yet anyway) and then just change its name and description.  That seemed to work, but I do not think that's a good solution as a long-term practice.
Title: Re: Topic Solved
Post by: RockLee on July 26, 2021, 09:26:18 PM
Quote from: shadav on January 24, 2021, 07:14:32 PM;D

@rcane The attached image of @shadav it works well only that you also have to apply the same procedure to "smf_boards" with that, you should no longer suffer more problems the next time you want to use this modification.


Regards!