Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Grudge on March 07, 2004, 07:51:18 AM

Title: Topic Solved Mod
Post by: Grudge on March 07, 2004, 07:51:18 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=7)

This is the first version of my topic solved MOD for SMF. This MOD allows you to select boards as "topic solved" boards. These boards will allow the topic started to ask questions and accept/reject answers to them. This is most useful on support boards. There are many settings that can be set up. Including message icons to indicate acceptance/rejection, and changing the background colour of the message to reflect topic starter as well as accepted and rejected messages. All "solved" topics will be marked in the message index with the "solved" topic icon.
Title: Re: Topic Solved Mod
Post by: DoW Kid Rock on October 22, 2004, 02:39:58 PM
I have installed this, but can't figure out where to change the options
Title: Re: Topic Solved Mod
Post by: FaSan on October 24, 2004, 04:10:25 PM
On "Manage Board" --> "Add Board"  ;)
Title: Re: Topic Solved Mod
Post by: DoW Kid Rock on October 24, 2004, 07:22:20 PM
tried that and there is nothing there in the options.....really weird
Title: Re: Topic Solved Mod
Post by: FaSan on October 25, 2004, 05:28:28 AM
What language you use ? If is not english, you require add language lines in your language file  :)
Title: Re: Topic Solved Mod
Post by: DoW Kid Rock on October 25, 2004, 03:24:48 PM
I am using english
Title: Re: Topic Solved Mod
Post by: Grudge on October 25, 2004, 07:40:17 PM
Are you 100% sure the install actually took place? Look in Modifications.english.php and verify that some "topic Solved" strings have been added...
Title: Re: Topic Solved Mod
Post by: DoW Kid Rock on October 25, 2004, 07:50:37 PM
I can't seem to find the file you have mentioned.  I have looked in each directory, but it doesn't seem to be there. ???
Title: Re: Topic Solved Mod
Post by: DoW Kid Rock on October 25, 2004, 10:31:05 PM
ok I re installed the board fresh and the mod now works.  not sure why it didn't install before, but it is working.

is changing the background colour the only way you can see that the topic is solved or is there something I missed?
Title: Re: Topic Solved Mod
Post by: Grudge on October 27, 2004, 05:53:23 AM
the message icon should change to a tick too...
Title: Re: Topic Solved Mod
Post by: SVT242 on November 08, 2004, 01:08:37 PM
When the topic is deemed solved, is the thumbs up and locked topic (if that option is selected of course) the only indication that a topic is "SOLVED"?

Or... is there an actual icon that says "SOLVED" or is the topic automatically re-written to include [SOLVED] ?



-Thanks,

Chris
Title: Re: Topic Solved Mod
Post by: Grudge on November 08, 2004, 01:36:30 PM
No, just the icon is changed. You can mod this yourself if you wish though, by changing the mod slightly. The subject could probably be done by doing something like
, subject = CONCAT('[SOLVED] ', subject)

In the icon update bit.
Title: Re: Topic Solved Mod
Post by: Pause on November 12, 2004, 07:40:37 AM
But which file would that be in  ???
Title: Re: Topic Solved Mod
Post by: Grudge on November 14, 2004, 11:24:21 AM
In Post.php, replace this:

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved, m.subject
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved, $firstSubject) = mysql_fetch_row($request);
mysql_free_result($request);

if (strstr($firstSubject, '[SOLVED]') === false)
$firstSubject = '[SOLVED] ' . $firstSubject;

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

// If we are accepting
if ($accept == 1)
{
// Reset any previous accepts
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconOther]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER != $ID_MEMBER_POSTER", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconStarter]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER = $ID_MEMBER_POSTER", __FILE__, __LINE__);
// Update top message
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 2, icon = '$modSettings[topicsolvedIconAccept]', subject = '$firstSubject'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);
}

With this:

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved) = mysql_fetch_row($request);
mysql_free_result($request);

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

// If we are accepting
if ($accept == 1)
{
// Reset any previous accepts
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconOther]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER != $ID_MEMBER_POSTER", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconStarter]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER = $ID_MEMBER_POSTER", __FILE__, __LINE__);
// Update top message
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 2, icon = '$modSettings[topicsolvedIconAccept]'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);
}


It won't unmark the subject if they mark the top as "unsolved" aftrwards, but I'm sure you can figure out how to do that if you need that (a strpos would do it), I'm too tired for that too :P
Title: Re: Topic Solved Mod
Post by: eFishie on November 14, 2004, 06:35:08 PM
Love the mod, Grudge.
Title: Re: Topic Solved Mod
Post by: Sixpack on November 25, 2004, 08:07:00 AM
I couldn't find anything on this, but I have a couple quick questions.

1. Is the Approve and reject function only enabled for Admin and the tpoic starter?

2. Is there a way to change to allow Global Moderators to use this function on enabled boards if they are by default not permitted to do so?
Title: Re: Topic Solved Mod
Post by: Grudge on November 25, 2004, 01:34:30 PM
I *think* I wrote it for admin permissions yes. To change this in Post.php (after install)
find:

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))


To:

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']) && !isset($user_info['is_gmod']))


Then in display.template.php find:

if (($context['user']['started'] || $context['user']['is_admin']) && isset($context['topicSolved']))


and make:

if (($context['user']['started'] || $context['user']['is_gmod'] || $context['user']['is_admin']) && isset($context['topicSolved']))
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 26, 2004, 04:14:07 AM
Ive tried modifying the files as above but to no avail :(
Something Im overlooking maybe in admin,permissions perhaps?

My global moderators are called Senior Members if that has any possible bearing on the situation.. I did change the name back to Global Moderator just to see on the off chance but it was a no go..

Any help would be great :)
Title: Re: Topic Solved Mod
Post by: Grudge on November 26, 2004, 09:36:53 AM
instead of $user_info['is_mod'] what about putting:
allowedTo('moderate_forum')
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 26, 2004, 07:00:27 PM
Quote from: Grudge on November 26, 2004, 09:36:53 AM
instead of $user_info['is_mod'] what about putting:
allowedTo('moderate_forum')

Sorry doesant do anything.
Title: Re: Topic Solved Mod
Post by: Grudge on November 26, 2004, 08:32:01 PM
Are you sure? Do your global moderators have the permission to moderatre the forum? What about if you replace the original instances of $user_info['is_gmod'] with:

in_array('2', $user_info['groups'])
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 26, 2004, 10:49:54 PM
Sorry no go either only causes a parse error as did the previous suggestion. (The first suggestion you gave to sixpack didnt cause any parse errors when I tried that one, just wont show the topic solved options for Gmods like with admins)
I have the Gmods set to moderate any board within the form
Title: Re: Topic Solved Mod
Post by: Grudge on November 27, 2004, 10:04:07 AM
There's a difference between not doing anything and causing an error! Please post the code you changed it to for the allowedTo example.
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 27, 2004, 11:59:23 PM
Ok worked why I was getting the parse errors (had too many brackets)

Still both wont show the topic solved mod for gmods

post.php
if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']) && allowedTo('moderate_forum'))


Display.template.php
if (($context['user']['started'] || allowedTo('moderate_forum') || $context['user']['is_admin']) && isset($context['topicSolved']))
Title: Re: Topic Solved Mod
Post by: Grudge on November 28, 2004, 04:57:47 AM
Well - the first code block is wrong, it should be !allowedTo on that line (Post.php)

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']) && !allowedTo('moderate_forum'))


In display that should work though. Can you do this quick query for me in phpMyAdmin:
SELECT addDeny FROM smf_board_permissions WHERE permission = 'moderate_forum'

thanks,
Grudge
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 28, 2004, 09:27:26 AM
QuoteYour SQL-query has been executed successfully (Query took 0.0006 sec)

Fixed the post.php with the !

Still the same though,,
Sorry for all the hassle

Thanks :)
Title: Re: Topic Solved Mod
Post by: Grudge on November 29, 2004, 10:13:28 AM
Can you tempoarily add this to Display.template.php and post what you see, add it just before the "if" statement:

if ($user_info['is_admin'])
echo '<br />started:' . $context['user']['started'] . '<br />allowed:' . allowedTo('moderate_forum') . '<br />admin:' . $context['user']['is_admin'] . '<br />solved:' . isset($context['topicSolved']) . '<br />ALL:' . (($context['user']['started'] || allowedTo('moderate_forum') || $context['user']['is_admin']) && isset($context['topicSolved']));
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 29, 2004, 06:09:34 PM
Is this right?
if ($user_info['is_admin'])
echo '<br />started:' . $context['user']['started'] . '<br />allowed:' . allowedTo('moderate_forum') . '<br />admin:' . $context['user']['is_admin'] . '<br />solved:' . isset($context['topicSolved']) . '<br />ALL:' . (($context['user']['started'] || allowedTo('moderate_forum') || $context['user']['is_admin']) && isset($context['topicSolved'])); 
if (($context['user']['started'] || allowedTo('moderate_forum') || $context['user']['is_admin']) && isset($context['topicSolved']))

Still the same and cant see anything out of the ordinary adding that line...

Thx :)
Title: Re: Topic Solved Mod
Post by: Grudge on November 29, 2004, 06:27:06 PM
What about taking away the "if" line (Leave just the echo). Bear in mind this will display some debug info to EVERYONE, so put it in, post the result, then take it out ;)
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 29, 2004, 07:32:05 PM
Doing that gives me this but no other errors that I can see


Title: Re: Topic Solved Mod
Post by: Grudge on November 30, 2004, 05:32:21 PM
What are you logged in as there though?? You're not logged in as an admin as you don't have the IP showing. Can you go into your profile on your board and verify using "Show Permissions" that you have permission to moderate_forum
Title: Re: Topic Solved Mod
Post by: oscar2001 on November 30, 2004, 10:46:59 PM
This is my view from my admin login



When I veiw the profile of my testing Global moderater account and look in permmisions I see this amongst the list
moderate_board
Moderate board  Given by: Global Moderator

heres the rest incase you its needed

Show Permissions 
General Permissions
Permission (denied permissions are struck out) 
calendar_edit_any
Edit events in the calendar - Any events  Given by: Global Moderator 
calendar_post
Create events in the calendar  Given by: Global Moderator 
calendar_view
View the calendar  Given by: Global Moderator 
karma_edit
Change other people's karma  Given by: Global Moderator 
manage_boards
Manage boards and categories  Given by: Global Moderator 
pm_read
Read personal messages  Given by: Global Moderator 
pm_send
Send personal messages  Given by: Global Moderator 
profile_extra_own
Edit additional profile settings - Own profile  Given by: Global Moderator 
profile_identity_own
Edit account settings - Own profile  Given by: Global Moderator 
profile_remote_avatar
Choose a remotely stored avatar  Given by: Global Moderator 
profile_remove_own
Delete account - Own account  Given by: Global Moderator 
profile_title_own
Edit custom title - Own profile  Given by: Global Moderator 
profile_view_any
View profile summary and stats - Any profile  Given by: Global Moderator 
search_posts
Search for posts and topics  Given by: Global Moderator 
view_mlist
View the memberlist  Given by: Global Moderator 
view_stats
View forum statistics  Given by: Global Moderator 
who_view
View Who's Online  Given by: Global Moderator 
Board specific permissions for:  All boards --------------------------- General Discussion test 
Permission (denied permissions are struck out) 
delete_any
Remove topics - Any topics  Given by: Global Moderator
Boards: All 
delete_own
Remove topics - Own topic  Given by: Global Moderator
Boards: All 
lock_any
Lock topics - Any topic  Given by: Global Moderator
Boards: All 
lock_own
Lock topics - Own topic  Given by: Global Moderator
Boards: All 
make_sticky
Make topics sticky  Given by: Global Moderator
Boards: All 
mark_any_notify
Request notification on replies  Given by: Global Moderator
Boards: All 
mark_notify
Request notification on new topics  Given by: Global Moderator
Boards: All 
merge_any
Merge any topic  Given by: Global Moderator
Boards: All 
moderate_board
Moderate board  Given by: Global Moderator
Boards: All 
modify_any
Modify posts - Any post  Given by: Global Moderator
Boards: All 
modify_own
Modify posts - Own post  Given by: Global Moderator
Boards: All 
modify_replies
Modify replies to own topics  Given by: Global Moderator
Boards: All 
move_any
Move topic - Any topic  Given by: Global Moderator
Boards: All 
move_own
Move topic - Own topic  Given by: Global Moderator
Boards: All 
poll_add_any
Add poll to topics - Any topics  Given by: Global Moderator
Boards: All 
poll_add_own
Add poll to topics - Own topics  Given by: Global Moderator
Boards: All 
poll_edit_any
Edit polls - Any poll  Given by: Global Moderator
Boards: All 
poll_edit_own
Edit polls - Own poll  Given by: Global Moderator
Boards: All 
poll_lock_any
Lock polls - Any poll  Given by: Global Moderator
Boards: All 
poll_lock_own
Lock polls - Own poll  Given by: Global Moderator
Boards: All 
poll_post
Post polls  Given by: Global Moderator
Boards: All 
poll_remove_any
Remove polls - Any poll  Given by: Global Moderator
Boards: All 
poll_remove_own
Remove polls - Own poll  Given by: Global Moderator
Boards: All 
poll_view
View polls  Given by: Global Moderator
Boards: All 
poll_vote
Vote in polls  Given by: Global Moderator
Boards: All 
post_attachment
Post attachments  Given by: Global Moderator
Boards: All 
post_new
Post new topics  Given by: Global Moderator
Boards: All 
post_reply_any
Post replies to topics - Any topic  Given by: Global Moderator
Boards: All 
post_reply_own
Post replies to topics - Own topic  Given by: Global Moderator
Boards: All 
remove_any
Delete posts - Any post  Given by: Global Moderator
Boards: All 
remove_own
Delete posts - Own post  Given by: Global Moderator
Boards: All 
remove_replies
Delete replies to own topics  Given by: Global Moderator
Boards: All 
report_any
Report posts to the moderators  Given by: Global Moderator
Boards: All 
send_topic
Send topics to friends  Given by: Global Moderator
Boards: All 
split_any
Split any topic  Given by: Global Moderator
Boards: All 
view_attachments
View attachments  Given by: Global Moderator
Boards: All 



Title: Re: Topic Solved Mod
Post by: oscar2001 on November 30, 2004, 11:28:15 PM
Quote from: Grudge on November 30, 2004, 05:32:21 PM
What are you logged in as there though?? You're not logged in as an admin as you don't have the IP showing. Can you go into your profile on your board and verify using "Show Permissions" that you have permission to moderate_forum
Quote from: oscar2001 on November 30, 2004, 10:46:59 PM
SOrry I was logged in as a testinh Gmod(its also a testing forum Im using
This is my view from my admin login



When I veiw the profile of my testing Global moderater account and look in permmisions I see this amongst the list
moderate_board
Moderate board Given by: Global Moderator

heres the rest incase you its needed

Show Permissions
General Permissions
Permission (denied permissions are struck out)
calendar_edit_any
Edit events in the calendar - Any events Given by: Global Moderator
calendar_post
Create events in the calendar Given by: Global Moderator
calendar_view
View the calendar Given by: Global Moderator
karma_edit
Change other people's karma Given by: Global Moderator
manage_boards
Manage boards and categories Given by: Global Moderator
pm_read
Read personal messages Given by: Global Moderator
pm_send
Send personal messages Given by: Global Moderator
profile_extra_own
Edit additional profile settings - Own profile Given by: Global Moderator
profile_identity_own
Edit account settings - Own profile Given by: Global Moderator
profile_remote_avatar
Choose a remotely stored avatar Given by: Global Moderator
profile_remove_own
Delete account - Own account Given by: Global Moderator
profile_title_own
Edit custom title - Own profile Given by: Global Moderator
profile_view_any
View profile summary and stats - Any profile Given by: Global Moderator
search_posts
Search for posts and topics Given by: Global Moderator
view_mlist
View the memberlist Given by: Global Moderator
view_stats
View forum statistics Given by: Global Moderator
who_view
View Who's Online Given by: Global Moderator
Board specific permissions for: All boards --------------------------- General Discussion test
Permission (denied permissions are struck out)
delete_any
Remove topics - Any topics Given by: Global Moderator
Boards: All
delete_own
Remove topics - Own topic Given by: Global Moderator
Boards: All
lock_any
Lock topics - Any topic Given by: Global Moderator
Boards: All
lock_own
Lock topics - Own topic Given by: Global Moderator
Boards: All
make_sticky
Make topics sticky Given by: Global Moderator
Boards: All
mark_any_notify
Request notification on replies Given by: Global Moderator
Boards: All
mark_notify
Request notification on new topics Given by: Global Moderator
Boards: All
merge_any
Merge any topic Given by: Global Moderator
Boards: All
moderate_board
Moderate board Given by: Global Moderator
Boards: All
modify_any
Modify posts - Any post Given by: Global Moderator
Boards: All
modify_own
Modify posts - Own post Given by: Global Moderator
Boards: All
modify_replies
Modify replies to own topics Given by: Global Moderator
Boards: All
move_any
Move topic - Any topic Given by: Global Moderator
Boards: All
move_own
Move topic - Own topic Given by: Global Moderator
Boards: All
poll_add_any
Add poll to topics - Any topics Given by: Global Moderator
Boards: All
poll_add_own
Add poll to topics - Own topics Given by: Global Moderator
Boards: All
poll_edit_any
Edit polls - Any poll Given by: Global Moderator
Boards: All
poll_edit_own
Edit polls - Own poll Given by: Global Moderator
Boards: All
poll_lock_any
Lock polls - Any poll Given by: Global Moderator
Boards: All
poll_lock_own
Lock polls - Own poll Given by: Global Moderator
Boards: All
poll_post
Post polls Given by: Global Moderator
Boards: All
poll_remove_any
Remove polls - Any poll Given by: Global Moderator
Boards: All
poll_remove_own
Remove polls - Own poll Given by: Global Moderator
Boards: All
poll_view
View polls Given by: Global Moderator
Boards: All
poll_vote
Vote in polls Given by: Global Moderator
Boards: All
post_attachment
Post attachments Given by: Global Moderator
Boards: All
post_new
Post new topics Given by: Global Moderator
Boards: All
post_reply_any
Post replies to topics - Any topic Given by: Global Moderator
Boards: All
post_reply_own
Post replies to topics - Own topic Given by: Global Moderator
Boards: All
remove_any
Delete posts - Any post Given by: Global Moderator
Boards: All
remove_own
Delete posts - Own post Given by: Global Moderator
Boards: All
remove_replies
Delete replies to own topics Given by: Global Moderator
Boards: All
report_any
Report posts to the moderators Given by: Global Moderator
Boards: All
send_topic
Send topics to friends Given by: Global Moderator
Boards: All
split_any
Split any topic Given by: Global Moderator
Boards: All
view_attachments
View attachments Given by: Global Moderator
Boards: All




Title: Re: Topic Solved Mod
Post by: Grudge on December 02, 2004, 06:22:09 PM
Ahhh... ok. Change moderate_forum in the code I posted to moderate_board, my mistake
Title: Re: Topic Solved Mod
Post by: oscar2001 on December 03, 2004, 01:53:50 AM
Quote from: Grudge on December 02, 2004, 06:22:09 PM
Ahhh... ok. Change moderate_forum in the code I posted to moderate_board, my mistake
Cool all working now :) thanks for all the help :)
Title: Re: Topic Solved Mod
Post by: Alexandre P. on December 05, 2004, 02:31:40 AM
I've installed the mod, and I don't see anything changed :o  http://www.livresanspage.net/forum/index.php

I applied the mod with the Package Manager, and runned TopicSolveddb.php.  Then, I did create (and marked) a new board for Topic Solved, but I can't see any new button or option for creating a question !
Title: Re: Topic Solved Mod
Post by: Grudge on December 05, 2004, 07:38:24 AM
On a topic solved board, it doesn't add new buttons per se, but when you add a topic it should put accept/reject links next to every post in that topic, then to make a topic as solved you meerly "accept" a post. When you accept a post it should go green and the icon change to a thumbs up (This can be set from @Feature Settings"). Basically, the mod uses normal topics, just adds the functionality to accept and reject answers
Title: Re: Topic Solved Mod
Post by: Sixpack on December 11, 2004, 04:50:02 PM
Got it working as well.

Thanks Grudge and oscar2001 :D

Title: Re: Topic Solved Mod
Post by: johnm on December 27, 2004, 10:45:19 AM
just a quick one i have just installed this and it has only been applied to the default theme what files do i need to edit to get this to work on all of my themes

thanks
Title: Re: Topic Solved Mod
Post by: Grudge on December 27, 2004, 11:11:33 AM
Open up the package file (tar.gz) and inside look at the .mod file inside. Most "custom" themes will only have modified the MessageIndex and probably Display templates. Basically, go down through the mod file, looking for the changes to these files (MessageIndex.template.php and Display.template.php) and follow the search/replace instructions for each of the themes you have.
Title: Re: Topic Solved Mod
Post by: johnm on December 27, 2004, 11:17:37 AM
thanks grudge!
Title: Error attempring to Install Topic Solved Mod
Post by: dme on February 05, 2005, 04:53:39 PM
When attempting to install this mod it attempts to reference a directory that does not exist:

and I receive this error message:

fopen(/home/webmom/forums.212panos.com/smf/Themes/default/ManageBoards.template.php): failed to open stream: Permission denied
File: /home/.nodwasher/webmom/forums.212panos.com/smf/Sources/Subs-Package.php
Line: 1454' (Clear filter)

I have grepped for code that that contains "nodewasher" but have found nothing.

My server settings are correct as indicated on the Server Settings page.

Where else should I look?

Note that the .nodewasher/ is a construct used by my hosting company (dreamhost) but I have successfull installed other Mods using my fully qualified server settings as they are set in Server Settings (without any reference to /.nodewasher/)

--Dan
Title: Re: Topic Solved Mod
Post by: Lux on February 16, 2005, 08:03:55 AM
i combined all the additions in this thread in to a quick hack:

it does change the permission to admins, allowed to moderate board and topic starter
it adds [SOLVED] at the beginning of the topic title if any of the messages of that topic gets marked as solved, and removes so any gets marked as rejected again
its just a quick hack, and there appears to be a bug but i dont know if it is in the "normal" version to, ill try to test that later on
if you click at the solve button in the first post of a topic if the topic is already solved, it appears as if all the other messages marked solved in that topic become the color of "topic_starter_post"

anyway, heres to code, subject to modification and improvements of course:

all changes done in post.php, remember to make backup before applying!!


<search for>

function topicSolved()
{
global $txt, $scripturl, $topic, $db_prefix, $modSettings, $board, $ID_MEMBER, $user_info;
global $board_info, $settings, $sourcedir;

if (!isset($topic) || !isset($_REQUEST['msg']))
fatal_error("Hacker...");
$msg = $_REQUEST['msg'];

$accept = isset($_REQUEST['accept']) ? 1 : -1;

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved) = mysql_fetch_row($request);
mysql_free_result($request);

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

</search for>

<replace with>

function topicSolved()
{
global $txt, $scripturl, $topic, $db_prefix, $modSettings, $board, $ID_MEMBER, $user_info;
global $board_info, $settings, $sourcedir;

if (!isset($topic) || !isset($_REQUEST['msg']))
fatal_error("Hacker...");
$msg = $_REQUEST['msg'];

$accept = isset($_REQUEST['accept']) ? 1 : -1;

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved, m.subject
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved, $firstSubject) = mysql_fetch_row($request);
mysql_free_result($request);

  if (strstr($firstSubject, '[SOLVED]') === false && $accept == 1)
$firstSubject = '[SOLVED] ' . $firstSubject;
  elseif (strstr($firstSubject, '[SOLVED]') === true && !$accept)
    $firstSubject = substr($firstSubject,9);

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']) && !allowedTo('moderate_board'))
fatal_error("Hacker... ");

</replace with>

<search for>

// Set the message as accepted
$icon = $accept == 1 ? 'topicsolvedIconAccept' : 'topicsolvedIconReject';
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = $accept, icon = '$modSettings[$icon]'
WHERE ID_MSG = $msg AND ID_MSG != $FIRST_MSG", __FILE__, __LINE__);
// Lock it?
if ($accept == 1 && !empty($modSettings['topicsolvedLockSolved']))
db_query("
UPDATE {$db_prefix}topics
SET locked = 1
WHERE ID_TOPIC = $topic", __FILE__, __LINE__);

</search for>

<after, add>

  // Update Topic Title
 
  db_query("
    UPDATE {$db_prefix}messages
SET subject = '$firstSubject'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);

</after, add>



have fun, and hope everything works for you :P

Lux

edit:

forgot to add:
you need to change your template files to see the two icons for solve!/reject! according to whats mentioned earlier in this thread

edit2:

fixed a bug in post.php (used moderate_forum instead of moderate_board , hehe)
Title: Re: Topic Solved Mod
Post by: –Michael on February 20, 2005, 03:04:25 PM
Thanks for this mod.

I've added some features  ;)

Download: topic_solved_mw_1.0.zip (http://www.notes-links.de/temp/topic_solved_mw_1.0.zip)

Michael
Title: Re: Topic Solved Mod
Post by: Ryan on May 08, 2005, 06:41:15 PM
Can anyone make these modifications to it....

Have it no longer use 3 selected colours from the admin center...
Have it pull the 3 colours from the css of each theme... meaning you can customise the brightness of the greenes etc in the css so a dark theme and light theme would look good with this mod... Becuase at the moment, it only looks good on either a light theme or  dark theme... What about sites like mine that have 16,000 users and loadsa themes.. people complain bout colour :/

Ok thats one way....

Another way to get around this issue would be to change this code below
<tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '" ' . (isset($message['messageColor']) ? 'style="background-color: ' . $message['messageColor'] . '"' : '') . '>';


So that it formats the text to black and the solved post background a light green...
I attempted trying to do it but mani failed anyone know how to make the font color black?
Im sure its just a matter of adding text colour in that piece of code above...

These are just my theories i thought up, im sure they apply to everyone that uses this mod!

Thanks :)
must say my users love it!
Certainly organises the place!

Title: Re: Topic Solved Mod
Post by: Grudge on May 08, 2005, 06:45:19 PM
It should just involve adding color: black; to the style bit:

'style="background-color:

Goes to:

'style="color: black; background-color:
Title: Re: Topic Solved Mod
Post by: Ryan on May 08, 2005, 06:56:40 PM
yea thats what i thought but i couldnt work out how the style tag for color went!

i shall attempt this now :) wish me luck
Title: Re: Topic Solved Mod
Post by: Ryan on May 08, 2005, 07:15:51 PM
dont seem to be changing the colour of the text :/

HEres what im doing..
my edited version
<table width="100%" cellpadding="3" cellspacing="0" border="0">
         <tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '" ' . (isset($message['messageColor']) ? 'style="color: black;  background-color: ' . $message['messageColor'] . '"' : '') . '>';

original
   <table width="100%" cellpadding="3" cellspacing="0" border="0">
         <tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '" ' . (isset($message['messageColor']) ? 'style="background-color: ' . $message['messageColor'] . '"' : '') . '>';

That look right?
Title: Re: Topic Solved Mod
Post by: Grudge on May 09, 2005, 05:03:21 AM
Yes it does.All I can think is that maybe where the text body is ($message['body']), the surrounding cell to that ALSO needs to have that style set, as it may be overriding the outer cell. So find where $message['body'] as, and whatever tag surrounds it (Span/div/td) add this to it:

' . (isset($message['messageColor']) ? 'style="background-color: ' . $message['messageColor'] . '"' : '') . '
Title: Re: Topic Solved Mod
Post by: Ryan on May 10, 2005, 10:37:13 AM
Yep works very well :)
Team work! lol

Hope others find this code addition handy :)
Title: Re: Topic Solved Mod
Post by: Nitro on May 17, 2005, 04:53:56 PM
i have installed this twice in my forum but i see no option in the 'manage boards' section. i wonder, is there something missing? i am using the default theme and english lenguage.
should i change something manually? thank you man!
Title: Re: Topic Solved Mod
Post by: d3v on June 11, 2005, 12:28:36 AM
1.0.4 Compatibility?
Title: Re: Topic Solved Mod
Post by: Grudge on June 11, 2005, 11:50:14 AM
Should be fine.
Title: Re: Topic Solved Mod
Post by: Elijah Bliss on July 26, 2005, 06:45:50 AM
I get a "hacking attempt" when attempting to install this with 1.1 Beta 3.
Title: Re: Topic Solved Mod
Post by: Herman's Mixen on July 26, 2005, 07:04:02 AM
most of the mods are not yet compatible with SMF 1.1 beta 3 public !!
these mods are designed for SMF 1.0.x !!
Title: Re: Topic Solved Mod
Post by: Elijah Bliss on July 26, 2005, 07:12:27 AM
Quote from: The Burglar! on July 26, 2005, 07:04:02 AM
most of the mods are not yet compatible with SMF 1.1 beta 3 public !!
these mods are designed for SMF 1.0.x !!

The description said this mod was compatible with 1.1 Beta 3.
Title: Re: Topic Solved Mod
Post by: TekserMan on August 07, 2005, 01:11:34 AM
I get a "./Themes/default/Display.template.php Failure" message in the install actions screen is there a way I can fix this?

I'm using SMF 105 and trying to install tsolved_v111.2.tar.gz
Title: Re: Topic Solved Mod
Post by: Col on August 16, 2005, 02:47:21 PM
Hi Grudge,

I'd be interested to learn if there was some way of addapting this mod, so that posts by the member who started the thread is one colour, and replies by anyone else is another colour. If I understand the mod correctly, this can be done with this, but only manually. I thought that this might be good for a quick visual reference on a blog board, where blogs are one colour, and comments another. Maybe that's more like a completely new mod, but thought it worth asking.

Thanks.
Title: Re: Topic Solved Mod
Post by: BNX on September 26, 2005, 10:44:43 PM
Will this ever work for 1.1 RC1?
Title: Re: Topic Solved Mod
Post by: ArkServer on October 28, 2005, 07:14:20 AM
Quote from: BNX on September 26, 2005, 10:44:43 PM
Will this ever work for 1.1 RC1?

hope so b/c this rocks
Title: Topic Solved Errors - Missing Code
Post by: PhatTyres on November 03, 2005, 01:39:55 PM
The Following are recurring errors:

Quote8: Undefined index: topicSolved
File: /home/httpd/vhosts/clipdin.com/httpdocs/forum/Sources/Post.php
Line: 113

Quote8: Undefined index: topicSolved
File: /home/httpd/vhosts/clipdin.com/httpdocs/forum/Sources/Post.php
Line: 651


In searching my site to verify correct install of the mod I noticed this section below did not exist in my $themedir/Display.template.php neither the find or the replace!!!


Quote<search for>
            <input type="hidden" name="icon" value="xx" />
</search for>

<replace>
';
   if (isset($context['topicSolved']))
      echo '         <input type="hidden" name="icon" value="' . $modSettings['topicsolvedIcon' . ($context['user']['started'] ? 'Starter' : 'Other')] . '"/>';
   else
      echo '         <input type="hidden" name="icon" value="xx" />';
echo'
</replace>

Where should I put the replace code?  and is this related to the errors?

Thanks
Title: Re: Topic Solved Mod
Post by: ltdeta on November 13, 2005, 05:01:56 PM
what must i do to install this nice mod ?

only upload the file and execute the modifications ?


i don't know what this means in the TopicSolved_v1.21.mod

...
Installation:
* upload the two images to the $themedir/images/english folder
* Upload the TopicSolveddb.php file to the forum root directory and run it ONCE. Then delete it
* Run the MOD file and upload the changes
...

can anyone help ?
Title: Re: Topic Solved Mod
Post by: westis on November 24, 2005, 07:51:14 AM
Hi,

Tried installing this mod, but nothing shows up to Accept/Reject a post, even when someone else has replied to a topic in a board that has Topic Solved enabled. This is what I've done:


Is there anything I've done wrong? Is there anything else I need to do?
Title: Re: Topic Solved Mod
Post by: PhatTyres on November 24, 2005, 08:45:37 AM
Each Board needs to be setup to be used as a topic solved board.
Using "Manage Boards" you need to click the box "Make this board a 'topic solved' board" on each board you want to use as  a topic solved board.
Also you can make changes to the look of topic solved in "Edit Features and Options" under "Topic Solved Options"
Title: Re: Topic Solved Mod
Post by: westis on November 24, 2005, 10:08:03 AM
I thought I had done that already, but got it working now. Thanks.

For some reason I thought this mod would add a [Solved] prefix to the topic name. But as far as I can see, it doesn't. Is there such a mod or do I have to modify the topic title manually to add a prefix to it? Or can I modify the code of this mod to achieve that?
Title: Re: Topic Solved Mod
Post by: PhatTyres on November 24, 2005, 02:42:03 PM
In features you can change the color of the backgroung for resolved, rejected, accepted.
Title: Re: Topic Solved Mod
Post by: desistyle on November 28, 2005, 02:02:53 AM
it works great one quetion i have is that when we close the topic it turns to green can it say somewhere that topic solved thats why its closed something like that
Title: Missing Code
Post by: PhatTyres on December 01, 2005, 07:02:43 PM
The Following are recurring errors:

Quote8: Undefined index: topicSolved
File: /home/httpd/vhosts/clipdin.com/httpdocs/forum/Sources/Post.php
Line: 113

Quote8: Undefined index: topicSolved
File: /home/httpd/vhosts/clipdin.com/httpdocs/forum/Sources/Post.php
Line: 651


In searching my site to verify correct install of the mod I noticed this section below did not exist in my $themedir/Display.template.php neither the find or the replace!!!


Quote<search for>
            <input type="hidden" name="icon" value="xx" />
</search for>

<replace>
';
   if (isset($context['topicSolved']))
      echo '         <input type="hidden" name="icon" value="' . $modSettings['topicsolvedIcon' . ($context['user']['started'] ? 'Starter' : 'Other')] . '"/>';
   else
      echo '         <input type="hidden" name="icon" value="xx" />';
echo'
</replace>

Where should I put the replace code?  and is this related to the errors?

Thanks
Title: Re: Topic Solved Mod
Post by: Ryan on December 07, 2005, 08:57:59 PM
Quote from: ArkServer on October 28, 2005, 07:14:20 AM
Quote from: BNX on September 26, 2005, 10:44:43 PM
Will this ever work for 1.1 RC1?

hope so b/c this rocks
Yup i love this mod i was even gonna down grade so i could have this back!!
Hope grudge does update this sometime again
Title: Re: Topic Solved Mod
Post by: PhatTyres on December 08, 2005, 01:16:13 PM
Please, Can Anyone help with my missing code in $themedir/Display.template.php and where to put it.  I think another mod already changed the "find" Code.

Thanks and apologies for the begging  :-[
Title: Re: Topic Solved Mod
Post by: MkC on December 14, 2005, 12:26:46 AM
PhatTyres:
Post your $themedir/Display.template.php(attachment) there for looking the problem  ;)
Title: Re: Topic Solved Mod
Post by: PhatTyres on December 14, 2005, 01:35:27 AM
I do not have attachment rights!!!
I could post it here but it is a lot of text!


it is in ftp: ftp.clipdin.com
under: /pub
as: Display.template.php

in can be opened and reviewed with smart ftp or similar
Title: Re: Topic Solved Mod
Post by: MkC on December 14, 2005, 11:37:09 AM
Okich
Tu as déjà un mod msgIconsRadio qui gère tes icons, le probleme c'est que si tu rajoute le mods topic solved tu seras obligé de choisir soit l'un soit l'autre, il faudrait que tu me fasses un acces sur le forum afin que je puisse voir l'aperçu final de ce qui existe déjà.
Parce que la modification se fait par dessus un autre mod.
Par contre il te sera impossible de desinstaller ces deux mods par la suite...............

Le code qui pose probleme sur ton forum

if($modSettings['msgIconsRadio_enabled'] == 1){
$rowcount=0;
echo' <table width="100%">
<tr><td width="100%">';
foreach($context['icons'] as $icon){
$rowcount++;
echo' <input class="check" type="radio" name="icon" value="' . $icon['value'] . '"alt="' . $icon['name'] . '" ' . ($rowcount == 1 ? 'checked="checked"' : '') . '><img src="' . $settings['images_url'] . '/post/' . $icon['value'] . '.gif">&nbsp; ';
if($rowcount % 16 == 0)
echo '</td></tr><tr><td>';
}
echo' </td></tr></table>';
}
else
{
echo'
<select name="icon" onchange="showimage()">';
foreach($context['icons'] as $icon)
echo '
<option value="' . $icon['value'] . '">' . $icon['name'] . '</option>';
echo '
</select>
<img src="' . $settings['images_url'] . '/post/xx.gif" name="icons" border="0" hspace="15" alt="" />';
}
echo'
</td>
</tr>



***********************************************************************************************************
Well
You have already a MOD msgIconsRadio which manages your icons, the problem it is that if you adds the mods topic solved you will be obliged to choose either one or the other, it would be necessary that you make me accesses on the forum so that I can see the final outline of what already exists. Because the modification is done over another MOD.
Because the modification is done over another MOD. On the other hand it will be impossible thereafter for you of desinstaller these two mods...............
The code which poses problem on your forum
if($modSettings['msgIconsRadio_enabled'] == 1){
$rowcount=0;
echo' <table width="100%">
<tr><td width="100%">';
foreach($context['icons'] as $icon){
$rowcount++;
echo' <input class="check" type="radio" name="icon" value="' . $icon['value'] . '"alt="' . $icon['name'] . '" ' . ($rowcount == 1 ? 'checked="checked"' : '') . '><img src="' . $settings['images_url'] . '/post/' . $icon['value'] . '.gif">&nbsp; ';
if($rowcount % 16 == 0)
echo '</td></tr><tr><td>';
}
echo' </td></tr></table>';
}
else
{
echo'
<select name="icon" onchange="showimage()">';
foreach($context['icons'] as $icon)
echo '
<option value="' . $icon['value'] . '">' . $icon['name'] . '</option>';
echo '
</select>
<img src="' . $settings['images_url'] . '/post/xx.gif" name="icons" border="0" hspace="15" alt="" />';
}
echo'
</td>
</tr>
Title: Re: Topic Solved Mod
Post by: MkC on December 16, 2005, 05:24:16 PM
The version 1.0.4 is in progress, demo there http://smf.marckisscool.net/forum/index.php?board=25.0
Title: Re: Topic Solved Mod
Post by: MkC on January 08, 2006, 07:32:06 AM
Version 1.0.4 for smf 1.0.5 (mod in english) http://smf-fr.org/forum/_Mod__topic_Solved_1_0_4-topic-121-0.html








Title: Re: Topic Solved Mod
Post by: NayNay on January 08, 2006, 01:09:46 PM
I am assuming that this version is only for 1.0 and not 1.1 correct?
Title: Re: Topic Solved Mod
Post by: MkC on January 08, 2006, 02:39:05 PM
Yes but the version V2 of TopicSolved is compatible with smf 1.1 RC2.
Dispo 11/01/2006......
Patience  ;)
Title: Re: Topic Solved Mod
Post by: NayNay on January 08, 2006, 09:24:22 PM
Fabulous!  Thank you  :D
Title: Re: Topic Solved Mod
Post by: MkC on January 11, 2006, 12:24:45 AM
V2 is public
http://smf-fr.org/forum/_Mod__Topic_Solved_v2-topic-274-0.html (the mod in french)
the traduction for english http://smf-fr.org/forum/index.php/topic,274.msg1496.html#msg1496

Title: Re: Topic Solved Mod
Post by: damacguy on January 15, 2006, 06:34:49 PM
I've downloaded v2, and it installed fine. I've also downloaded and installed the english file.

But I don't have a Topic Solved section as in the screenshot.

I'm running 1.1RC2.
Title: Re: Topic Solved Mod
Post by: ArkServer on January 16, 2006, 01:30:52 PM
any 1.1rc1 release?
Title: Re: Topic Solved Mod
Post by: MkC on January 18, 2006, 12:58:22 AM
Quote from: damacguy on January 15, 2006, 06:34:49 PM
I've downloaded v2, and it installed fine. I've also downloaded and installed the english file.

But I don't have a Topic Solved section as in the screenshot.

I'm running 1.1RC2.

Dans section il faut choisir la section designée comme celle devant etre gérée par le topic solved  ;)
Pour rc1 la gestion du packet est trop problematique donc pas de version
*********************************************************************************

In section it is necessary to choose the section designée like that having to be managed by the topic solved;)
For RC1 Bug with gestion of packet, not version for smf 1.1RC1
Title: Re: Topic Solved Mod(PROBLEM SOLVED)
Post by: Menni on January 30, 2006, 11:45:41 PM
edit: no bro anymore.

I installed tihis mod to my testboard(1.1 RC 2) and it works fine. I also translated it to finnish.
But when I try to install topicsolved to my chatboard(exactly samekind like testboard) I get several " Duplicate column name 'topicSolved' errors.
I had this mod installed to my previus smf version and there is something left in my database. I tried to remove the duplicate files, but there is always something left and the installation fails.
Can someone tell me exactly how and what should I remove(duplicate tables and keys) from my database?

EDIT:

I managed succesfully delete these tables:
db_query("
ALTER TABLE {$db_prefix}messages
ADD `topicSolved` TINYINT(4) DEFAULT '0' NOT NULL", __FILE__, __LINE__);

db_query("
ALTER TABLE {$db_prefix}boards
ADD `topicSolved` TINYINT(4) DEFAULT '0' NOT NULL", __FILE__, __LINE__);

db_query("
ALTER TABLE {$db_prefix}topics
ADD `topicSolved` TINYINT(1) DEFAULT '0' NOT NULL", __FILE__, __LINE__);


But this is what I'm not able to find:
Duplicate entry 'topicsolvedLockSolved' for key 1
Tiedosto: /home/myspace/public_html/myboard/Packages/temp/TopicSolvedPdb.php
Rivi: 53
// The infamous modSettings
foreach ($toSet as $key => $value)
$result =db_query("
INSERT INTO
{$db_prefix}settings
(`variable`, `value`)
VALUES
('$key', '$value')", __FILE__, __LINE__);


I'm a kind a nOOb and can't find it :-[

Title: Re: Topic Solved Mod
Post by: MkC on January 31, 2006, 12:40:39 AM
In phpmyadmin
Quote
DELETE FROM smf_settings WHERE variable = topicsolvedLockSolved LIMIT 1
Title: Re: Topic Solved Mod
Post by: damacguy on January 31, 2006, 05:33:13 PM
Quote from: damacguy on January 15, 2006, 06:34:49 PM
I've downloaded v2, and it installed fine. I've also downloaded and installed the english file.

But I don't have a Topic Solved section as in the screenshot.

I'm running 1.1RC2.

I finally got back to this issue. The install runs normally and says its successful, but nothing has been touched! I've manually installed it and it works! Hurrah!

It doesn't seem like the english file is being read though. I've installed it in /Themes/default/languages/ but it's not being read. I've changed the permissions on the file to 0777. And I've verified that Display.php has this line in it...
// Everything's gonna need this.
loadLanguage('ManageTopicSolved');
.

Suggestions?
Title: Re: Topic Solved Mod
Post by: MkC on February 01, 2006, 12:35:01 AM
the file english is this:
http://smf-fr.org/forum/index.php/topic,274.msg1496.html#msg1496

The English file is placed before the installation of the MOD

Only version 1.1RC1 install not mods correctly.


V2 was tested on a basic smf 1.1RC2 with the theme default core. It is necessary to make the modifications in the other topics with the hand!
Title: Re: Topic Solved Mod
Post by: damacguy on February 01, 2006, 12:55:45 PM
I have the english file, and it's installed in /Themes/default/languages/. I didn't install it before I installed the mod, but I wouldn't think that would matter.

What fixed this for me was to copy the contents of the english file and add them to the end of my ManageBoards.english.php file.
Title: Re: Topic Solved Mod
Post by: damacguy on February 03, 2006, 03:10:39 PM
Where can I change the green color used for the background on solved posts? My users are saying its a bit too... bright. :)
Title: Re: Topic Solved Mod
Post by: MkC on February 03, 2006, 04:49:50 PM
In admin
       Topic solved
Title: Re: Topic Solved Mod
Post by: damacguy on February 03, 2006, 06:06:15 PM
AH! Silly me... looked everywhere but in the GUI. :-)

Thanks!
Title: Re: Topic Solved Mod
Post by: ArkServer on February 04, 2006, 11:09:11 AM
It requires me to fill in some ftp info.. but we dont use ftp, its installed locally
Title: Re: Topic Solved Mod
Post by: MkC on February 06, 2006, 05:15:07 PM
verify chmod 777  of all files ;)
Title: Re: Topic Solved Mod
Post by: damacguy on March 03, 2006, 01:12:42 PM
Saw "Undefined index: topicsolved" error from two lines in my Post.php file.

Specifically 112 if ($board_info['topicsolved'])

and 665 if ($board_info['topicsolved'])

The user was posting a Calendar event. I don't have any mods effecting my calendar installed.

I don't know enough about php, but where should 'topicsolved' be defined/indexed?
Title: Re: Topic Solved Mod
Post by: MkC on March 03, 2006, 02:16:59 PM
Oki i watch
Title: Re: Topic Solved Mod
Post by: basys on March 29, 2006, 08:11:34 AM
Hi Folks

Nice upgrade MkC & Grudge.     8)
Much appreciated.



Couple of suggestions for improving, (items 1 & 2 are relatively important).

If I've missed the logic behind this method, please explain.      :D




On Topic Solved Boards

1)
Message icon on all messages should remain selectable.
The stored smf_messages->icon should remain as the user's chosen icon.

The displayed icon should be conditionally selected dependent on smf_messages->topicSolved .

Icons should only change when accept/reject applied to that message, (and topic starter).
If accept/reject removed, icon should revert to display original selected.



2)
Related icon issue.
This mod amending the stored smf_messages->icon, rather than conditional display an indicator,
means that if you change the icon selected in Control Panel - Topic Solved Options,
the new icon is not propogated through the board.



3)
Message background colour
Conditionally display as per smf_messages->topicSolved.

Currently displays -
ok for status of initial question
ok for multiple wrong/reject answers.
ok for single correct answer

Doesn't allow accepting multiple correct answers



In message header

3)
To prevent accidentally clicking message deletion icon, (both are Xs)
Move the Accept Reject icons to before the Quote icon, (and away from the Remove icon).

4)
In default theme,
to display as other options,
display both icon and text, format to match.




In Control Panel - Topic Solved Options

5)
Message icon on OPTION
For admins other than person who installed the package.
Text descriptions for the four icon options
require instructions to indicate the filename is required, (without .ext),
and is not the icon's title/description.



Thanks again.

HTH
ATB
Paul
Title: Re: Topic Solved Mod
Post by: MkC on March 29, 2006, 04:32:41 PM
@damacguy: That comes from a bug in smf1.1RC2 of origin. The MOD does not have nothing to do there... Afflicted
Title: Re: Topic Solved Mod
Post by: damacguy on March 29, 2006, 05:13:39 PM
Thanks MkC.
Title: Re: Topic Solved Mod
Post by: MkC on March 30, 2006, 11:48:29 AM
Quote from: damacguy on March 29, 2006, 05:13:39 PM
Thanks MkC.

Quote from: MkC on March 28, 2006, 04:22:49 PM
Il est possible que certains d'entre vous remarquent dans leur log cette erreur:
Quote
8: Undefined index: calendar_shortedit
Fichier: xxxxxxxxxxx/Themes/default/languages/ManageTopicSolved.french.php (eval?)
Ligne: 158

Il ne s'agit absolument pas d'un bug sur le topicsolved, mais un enorme oublis dans les fichiers smf sur la version officielle  ;)

Editer le fichier /Themes/default/languages/index.french.php

Rechercher
Quote
$txt['calendar_linked_events'] = '&Eacute;v&eacute;nements li&eacute;s';

Ajouter apres
Quote
$txt['calendar_shortedit'] = 'Editer';

Vous pouvez supprimer ces erreurs  ;)

*********************************************************************************
Quote from: MkC on March 28, 2006, 04:22:49 PM
It is possible that some among you notice in their log this error:
Quote
8: Undefined index: calendar_shortedit
Fichier: xxxxxxxxxxx/Themes/default/languages/ManageTopicSolved.french.php (eval?)
Ligne: 158

They are not absolutely a bug on the topicsolved, but enormous lapses of memory in the files smf on the official version;)

Edit the file /Themes/default/languages/index.french.php

search
Quote
$txt['calendar_linked_events'] = '&Eacute;v&eacute;nements li&eacute;s';

add after
Quote
$txt['calendar_shortedit'] = 'Edit';

Title: Re: Topic Solved Mod
Post by: URPG on May 04, 2006, 05:51:51 AM
so, how do i get this MOD to work in RC2?
Title: Re: Topic Solved Mod
Post by: MkC on May 05, 2006, 04:54:28 PM
mod for RC2 http://smf.marckisscool.net/forum/index.php?topic=274.msg1455#msg1455
Trad english http://smf.marckisscool.net/forum/index.php?topic=274.msg1496#msg1496
Title: Re: Topic Solved Mod
Post by: winrules on May 05, 2006, 04:59:57 PM
Quote from: MkC on May 05, 2006, 04:54:28 PM
mod for RC2 http://smf.marckisscool.net/forum/index.php?topic=274.msg1455#msg1455
Trad english http://smf.marckisscool.net/forum/index.php?topic=274.msg1496#msg1496
MkC, nice mod, you should submit it to the smf mod site.
Title: Re: Topic Solved Mod
Post by: MkC on May 06, 2006, 10:50:44 AM
Quote from: winrules on May 05, 2006, 04:59:57 PM
Quote from: MkC on May 05, 2006, 04:54:28 PM
mod for RC2 http://smf.marckisscool.net/forum/index.php?topic=274.msg1455#msg1455
Trad english http://smf.marckisscool.net/forum/index.php?topic=274.msg1496#msg1496
MkC, nice mod, you should submit it to the smf mod site.
This MOD in version 3 will pass under license GPL. There is none of my mods here because I do not agree with the license Lewis media. I love SMF but I don't agree with the attitude of the equipe on the opening of the code.....
Title: Re: Topic Solved Mod
Post by: stoecki on September 01, 2006, 02:43:09 PM
What about a Version for RC3?!
Title: Re: Topic Solved Mod
Post by: MkC on September 04, 2006, 05:31:56 AM
in progress  ;)
Title: Re: Topic Solved Mod
Post by: URPG on September 10, 2006, 08:19:01 AM
Looking forward to it, will install RC3 once this one is working again :)
Title: Re: Topic Solved Mod
Post by: Panache Web on September 14, 2006, 12:45:27 PM
could this mod also have an option installed in it so gmods and mods can be enabled or disabled in the

also would be nice to have an updated version for 1.0.x series for that as well..

I have gone nuts trying to get topic solved mod working for my mods on the forum I run.

I am out of ideas..
Title: Re: Topic Solved Mod
Post by: URPG on September 14, 2006, 12:47:16 PM
Just let us know when you're done :-D
Title: Re: Topic Solved Mod
Post by: codenut on September 15, 2006, 02:37:53 PM
I tried to install this mod (SMF version 1.1 RC3) and everything goes okay until I select to install mod from the Admin section. I get this first warning:

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Anf there is two files that are marked as Failed:
- ./Sources/ManageBoards.php
- ./Themes/default/Display.template.php

Now I did originally have to go into the package-info.xml and change:
<install for="1.1 - 1.1 RC2"> to <install for="1.1 - 1.1 RC3">

and
<uninstall for="1.1 - 1.1 RC3"> to <uninstall for="1.1 - 1.1 RC3">

because the original file package wouldn't get processed - something about mismatched versions

I would really like to use this mod so anthing you can suggest to try and fix I would greatly appreciate
Title: Re: Topic Solved Mod
Post by: MkC on September 17, 2006, 01:35:38 PM
Quote
Anf there is two files that are marked as Failed:
- ./Sources/ManageBoards.php
- ./Themes/default/Display.template.php
Yes RC2 is not RC3  :D
Title: Re: Topic Solved Mod
Post by: URPG on September 17, 2006, 04:39:10 PM
So, can we expect this mod for RC3?
Title: Re: Topic Solved Mod
Post by: MkC on September 18, 2006, 12:01:25 PM
this mod is included in mod PTP11 for RC3 :P
Title: Re: Topic Solved Mod
Post by: URPG on September 18, 2006, 03:36:11 PM
What's a PTP11 and where can i get it?
Title: Re: Topic Solved Mod
Post by: MkC on September 19, 2006, 12:55:52 AM
PTP11 is super mod which include:
-> Mod Banner V11
-> Mod Separe Epingle V11
-> Mod TopicSolved V11
-> Mod HidePost V11
-> Mod SMF Online V11
-> Mod Extra Mod V11
-> Mod Picture Forum View V11
-> Mod OnlineUsersTodays V11
-> Mod SimplyDownload 11
-> Mod Menu 11
-> Mod CopyrightPerso 11
-> Mod Participation 11
-> Mod Projet V11
-> Mod VisualWarningPTP V11
-> Mod ShoutboxPTP V11
-> Mod Chat Pjirc V11
-> Mod Annuaire V11
-> Mod PTPPost V11

Title: Re: Topic Solved Mod
Post by: URPG on September 20, 2006, 06:19:38 AM
Why can't i find it? And could i disable parts like shoutbox and Chat?
Title: Re: Topic Solved Mod
Post by: MkC on September 20, 2006, 10:37:52 AM
because staff smf refuses to validate it .
different the mods is activables or desactivables with wish
Title: Re: Topic Solved Mod
Post by: Seb87 on September 24, 2006, 09:33:23 AM
Any version for 1.1 RC3 ?
Title: Re: Topic Solved Mod
Post by: codenaught on September 24, 2006, 11:38:27 AM
Quote from: Seb87 on September 24, 2006, 09:33:23 AM
Any version for 1.1 RC3 ?
This mod almost works for 1.1 RC3 (Only two files fail). I know Grudge is a busy man so I will take a look into updating it myself when I get the chance. ;)

Quote from: MkC on September 20, 2006, 10:37:52 AM
because staff smf refuses to validate it .
different the mods is activables or desactivables with wish
You can't just release a big package of mods without asking each and every mod author of the mods you include for permission that you can do so.
Title: Re: Topic Solved Mod
Post by: MkC on September 25, 2006, 03:36:53 PM
Quote from: akabugeyes on September 24, 2006, 11:38:27 AM
Quote from: Seb87 on September 24, 2006, 09:33:23 AM
Any version for 1.1 RC3 ?
This mod almost works for 1.1 RC3 (Only two files fail). I know Grudge is a busy man so I will take a look into updating it myself when I get the chance. ;)

Quote from: MkC on September 20, 2006, 10:37:52 AM
because staff smf refuses to validate it .
different the mods is activables or desactivables with wish
You can't just release a big package of mods without asking each and every mod author of the mods you include for permission that you can do so.

to answer you I have the authorizations concerning the totality of the mods, if not there are similar names but I rewrote them with more than 70%! For information the topic solved it is not any more grudge but me which me occupies.....pfffffffff of it  :-X
Title: Re: Topic Solved Mod
Post by: URPG on November 01, 2006, 05:26:26 AM
akabugeyes - thanks!

MkC - so... where could i get your package?
Title: Re: Topic Solved Mod
Post by: MkC on November 01, 2006, 03:19:05 PM
i write topic solved 11, please wait  ;)
Title: Re: Topic Solved Mod
Post by: Isaac on November 26, 2006, 05:33:00 PM
QuoteThis mod almost works for 1.1 RC3 (Only two files fail). I know Grudge is a busy man so I will take a look into updating it myself when I get the chance.
Any word on this being updated?  :)
Title: Re: Topic Solved Mod
Post by: MkC on November 26, 2006, 06:21:01 PM
V11 is ok for RC3.
Version english is progress
Title: Re: Topic Solved Mod
Post by: Isaac on November 26, 2006, 07:16:35 PM
Quote from: MkC on November 26, 2006, 06:21:01 PM
V11 is ok for RC3.
Version english is progress
Where can I download that at?
Title: Re: Topic Solved Mod
Post by: ikbenivo on November 29, 2006, 09:30:08 AM
I'd also like to know that :)
Title: Re: Topic Solved Mod
Post by: URPG on December 01, 2006, 07:59:31 AM
MkC always talks about MODs but never hands you an URL... i asked him about his huge "include them all" mod before...

And yes: I'd like to have this mod too!
Title: Re: Topic Solved Mod
Post by: MkC on December 01, 2006, 01:43:13 PM
Mkc is a French developer, it writ these mods in French!!! Considering almost no English developer translates these mods into French, forcing my English versions are made wait.

I can well evidemment give you a URL, the MOD is in French, and will not go on your English version. Here is thus the French version of TopicSolved V11
http://smf-fr.org/forum/_Mod__Topic_Solved_v11-topic-1543-0.html
Title: Re: Topic Solved Mod
Post by: ThaRealMatix on December 11, 2006, 05:47:53 PM
Does anyone have the files for the rc3 as they may function with the 1.1 final? (or even better than the 1.21 in the download area). I am not able to register to this france board cause it doesnt let me. There's an error anytime i try.

Thanks in advance

Matix
Title: Re: Topic Solved Mod
Post by: ikbenivo on December 13, 2006, 03:50:41 AM
It says it's closed till 25 dec. Too bad, 'cause I would love to have this for 1.1 final. Any help is appreciated!
Title: Re: Topic Solved Mod
Post by: ikbenivo on December 13, 2006, 09:09:49 AM
I really need this...Does someone have the french version for 1.1? Thanks!
Title: Re: Topic Solved Mod
Post by: MkC on December 14, 2006, 05:15:19 PM
in progress  :D
Title: Re: Topic Solved Mod
Post by: ikbenivo on December 15, 2006, 06:12:53 AM
great! I'll wait!

edit: I had a look at your site, (why) do we have to pay for this mod?
Title: Re: Topic Solved Mod
Post by: URPG on December 17, 2006, 07:39:20 AM
doesn't seem likely, since he is discussing and uploading it here...?

Looking forward to it :)
Title: Re: Topic Solved Mod
Post by: ArkServer on December 17, 2006, 08:19:05 AM
I want one for the 1.1 rc3 as well if possible.
Title: Re: Topic Solved Mod
Post by: URPG on December 19, 2006, 06:28:33 AM
why would anyone like to stay with a release candidate instead of the full release???
Title: Re: Topic Solved Mod
Post by: Davey D. on December 21, 2006, 06:43:23 PM
I'm waiting too. I run a 'support-ticket' Web site and this would fit perfect!
Title: Re: Topic Solved Mod
Post by: stoecki on December 22, 2006, 04:08:59 AM
i think we will wait until somebody others than mkc will write a modification like this. mkc is talking all the time about his mod but i think he will never release it.
Title: Re: Topic Solved Mod
Post by: ikbenivo on December 22, 2006, 04:16:26 AM
well, If he would post the latest version here, I'd try to translate that...
(so could you please do that mkc? Or mail it to me, then I will post it after translation)
Title: Re: Topic Solved Mod
Post by: URPG on December 22, 2006, 05:00:21 AM
Yeah, I got a game website where players can ask questions... would like to have this too... Can anyone else do a mod like this please?
Title: Re: Topic Solved Mod
Post by: richiehale on January 13, 2007, 10:12:36 PM
Yea cant wait for the RC3 Version and also the 1.1.1 Version, I need them for Two Different Forums.
Title: Re: Topic Solved Mod
Post by: Davey D. on January 13, 2007, 10:55:11 PM
Since everyone is "waiting" does this mean the last version released by the author is no good on the latest SMF version?
Title: Re: Topic Solved Mod
Post by: ikbenivo on January 15, 2007, 03:12:36 AM
Indeed, it doesn't work on the 1.1 version. If you still have the RC2 version, it could work (but I don't recommend that)
Title: Re: Topic Solved Mod
Post by: hknight on January 17, 2007, 05:58:11 PM
Hello,

What an awsome mod!  Too bad it doesn't work with the most receont version of SMF (1.1.1)

I have read this post over but would like some clarification....

    1. Can we expect a new version of this mod that works on SMF 1.1.1 soon?
    2. Is there currently a French version of this mod that works on SMF 1.1.1?
    3. Does anyone know what has to be done to make it work with SMF 1.1.1?

Thanks!

Title: Re: Topic Solved Mod
Post by: ikbenivo on January 18, 2007, 04:06:20 AM
1) I guess not, but I hope so
2) I thought there was, but I couldn't download it. I kept getting a screen where I had to pay for the download....That website is offline now. The french version would be fine for me too...
3) I don't
Title: Re: Topic Solved Mod
Post by: Davey D. on January 18, 2007, 09:46:57 AM
Okay. I don't understand this...isn't the SMF support forum utilizing this mod?
Title: Re: Topic Solved Mod
Post by: hknight on January 21, 2007, 04:40:59 PM
By the way,

I have put in a request for developers to make the "Topic Solved Mod" work with SMF 1.1.1.

If you are able and willing to fix this, please visit the post here:
http://www.simplemachines.org/community/index.php?topic=144469

Thanks!
Title: Re: Topic Solved Mod
Post by: MkC on January 27, 2007, 05:29:16 PM
Topicsolved V12 (http://smf-fr.org/forum/_Mod__Topic_Solved_v12-topic-1719-0.html) is available for smf 1.1 and 1.1.1  ;D
Title: Re: Topic Solved Mod
Post by: Davey D. on January 27, 2007, 07:56:14 PM
Quote from: MkC on January 27, 2007, 05:29:16 PM
Topicsolved V12 (http://smf-fr.org/forum/_Mod__Topic_Solved_v12-topic-1719-0.html) is available for smf 1.1 and 1.1.1  ;D
Okay. You send us to a page, not in English, where the links do not work.
Title: Re: Topic Solved Mod
Post by: MkC on January 28, 2007, 03:53:23 AM
Quote from: davidkirk on January 27, 2007, 07:56:14 PM
Quote from: MkC on January 27, 2007, 05:29:16 PM
Topicsolved V12 (http://smf-fr.org/forum/_Mod__Topic_Solved_v12-topic-1719-0.html) is available for smf 1.1 and 1.1.1  ;D
Okay. You send us to a page, not in English, where the links do not work.

The link goes very well. The first post allows to have the MOD (which is in French) the second post allows to have the translation in English.
Title: Re: Topic Solved Mod
Post by: stoecki on January 28, 2007, 04:15:33 AM
Quote from: MkC on January 28, 2007, 03:53:23 AM
Quote from: davidkirk on January 27, 2007, 07:56:14 PM
Quote from: MkC on January 27, 2007, 05:29:16 PM
Topicsolved V12 (http://smf-fr.org/forum/_Mod__Topic_Solved_v12-topic-1719-0.html) is available for smf 1.1 and 1.1.1  ;D
Okay. You send us to a page, not in English, where the links do not work.

The link goes very well. The first post allows to have the MOD (which is in French) the second post allows to have the translation in English.


but what he always forget to say is that you have to pay for this mod  >:(
Title: Re: Topic Solved Mod
Post by: MkC on January 28, 2007, 06:01:01 AM
L'acces à la zone de telechargement est payante oui mais pas le mod  ;)
Sinon tu peux faire parti des donateurs pour permettre au forum de survivre  ;)
Sinon proposer un theme français pour les petits français et tu auras la gratuité de l'acces à la zone  ;)
Tu peux aussi remercier le staff de www.simplemachines.org qui refuse les mods français  ;)

Quand on voit la façon dont sont traités les developpeurs ou les aideurs des autres nationnalités, je pense que tu peux garder ce genre de commentaire pour toi ou pour le staff ;)




The accesses to the zone of download is paying yes but not the MOD
If not you can make party of the givers to allow the forum to survive  ;)
If not to propose a French theme for small French and you will have the exemption from payment of the access to the zone  ;)
You can also thank staff for www.simplemachines.org which refuses the French mods  ;)
When one sees the way in which the developers or the aideurs of the other nationnalities are treated, I think that you can keep this kind of comment for you or for staff  ;)
Title: Re: Topic Solved Mod
Post by: codenaught on January 28, 2007, 11:02:21 AM
MkC, we don't refuse French mods, but we do require that they provide an English version of the mod as well, as per the mod author guidelines.

JayBachatero made a mod that works well for SMF 1.1x. But he does not have the time to provide support for it right now. We are looking into the possibility of me releasing the mod and providing support for it and maintaining it. I'll notify you all when the mod does become available.
Title: Re: Topic Solved Mod
Post by: MkC on January 28, 2007, 11:39:41 AM
@akabugeyes:
Topicsolved est fonctionnel pour smf 1.1.x - 1RCx et 1.0.x et il marche tres bien, en français comme en anglais!
J'ai eu 4 mods de refuser sur ce site parce qu'ils ne sont pas en anglais, mais je fourni toujours le fichier de traduction en anglais contrairement à bon nombre de vos developpeurs de mod!
Et je ne parle pas des developpeurs anglais qui ne repondent pas aux français pour la traduction de leur mod!
Je n'ai pas besoin de JayBachatero pour faire evoluer ce mod, qui a suivi toutes les versions de smf jusque là, puisque je suis l'actuel developpeur de ce mod!
De souvenir je n'ai reçu aucune demande de JayBachatero pour diffuser ce mod dont je suis le developpeur, et je n'ai pas besoin d'une aide quelconque pour maintenir ce mod!

De plus la V13 est en court avec Tag et Reponse automatique




@akabugeyes:
topic solved is available for smf 1.1.x and functions very well, in French and English!
Currently I had 4 mods to refuse on this site because it did not etait in English, but I always provided the file of translation in English contrary to considerable your developers of MOD!
And one does not speak about the developers which do not answer French who translates their MOD!
I do not need JayBachatero to make evoluer this MOD, which followed all the versions of smf until there, since I am the current developer of this MOD!
From remembering I did not receive any request for akabugeyes to diffuse this MOD of which I am the developer, and I do not need an unspecified help to maintain this MOD!
Moreover V13 is in runs with Tag and automatic Reponse ......
Title: Re: Topic Solved Mod
Post by: Valodim on January 28, 2007, 12:52:29 PM
Quote
I do not need JayBachatero to make evoluer this MOD, which followed all the versions of smf until there, since I am the current developer of this MOD!

...says who? Around page 5, you took over maintenance and provided links with updated versions, but I can't find grudge officially stating you're in charge of it now and allowing you to make money of it...
Title: Re: Topic Solved Mod
Post by: codenaught on January 28, 2007, 12:54:55 PM
First of all, did you take Grudge's Topic Solved code and update it without asking for permission from him? I cannot compare the code because your website does not let me download your mod. Every mod you have submitted in the past has had a French description, and did not appear to have translations for English. Your PTP11 mod seemed to be just a collection of mods written by other people put together to install in one package and provide French translations.

QuoteFrom remembering I did not receive any request for akabugeyes to diffuse this MOD of which I am the developer, and I do not need an unspecified help to maintain this MOD!

You seem to be thinking I am planning to just grab your mod and run away with it as if it was mine and not yours. The mod I am talking about is completely different from your mod and Grudge's original mod. It was written by JayBachatero for this forum and a another forum that had requested it. JayBachatero and I agreed that we should get the mod released because it was being requested quite a bit, but Jay told me he did not have time currently to support it, so I offered to help him.
Title: Re: Topic Solved Mod
Post by: MkC on January 28, 2007, 01:12:48 PM
Bon déjà je vous arrête tout de suite j'ai l'autorisation depuis decembre 2005 de grudge pour ce mod.

Quote from: Grudge on December 13, 2005, 05:58:35 PM
MkC, that sounds fine. If it's OK I'll leave you to look after the topic solved and message icon mods. If I decide to do anything with the shoutbox I'll let you know. If you like I can change the poster for those mods to your name to make it obvious?

La PTP11 n'est plus valable et d'ailleurs le mod a été refusé. J'ai supprimé tous mes anciens mods de votre interface. il reste PTP11 qui n'existe plus et PFV qui n'est pas valide non plus!
J'ai aussi à mon actif:
PFV - Banner - Topicsolved - Copyright - MenuPerso - PostPerso - Participation - Annuaire - Mod de mise à jour smf - SMFonline - ExtraMod qui ne sont pas ici
Donc que cela te plaise ou non, je n'ai donné aucune permission ici de diffuser l'un de ces mods!

Concernant le topicsolved, grudge est le premier developpeur et je suis le second, pas de bol, si je vois ce mod diffusé ici avec une partie du code qui le compose je considere que la license smf n'est pas valable et n'est pas appliqué par le staff! Je pourrais donc à mon tour diffuser ce que je veux sans l'autorisation du staff!




Good already I stop you immediately I have the authorization since December 2005 of grudge for this MOD.

Quote from: Grudge on December 13, 2005, 05:58:35 PM
MkC, that sounds fine. If it's OK I'll leave you to look after the topic solved and message icon mods. If I decide to do anything with the shoutbox I'll let you know. If you like I can change the poster for those mods to your name to make it obvious?

The PTP11 is not valid any more and besides the MOD was refused. I removed all my old mods your interface.  there remains PTP11 which does not exist any more and PFV which is not valid either!
I also have with my credit:
PFV - Banner - Topicsolved - Copyright - MenuPerso - PostPerso - Participation - Annuaire - Mod de mise à jour smf - SMFonline - ExtraMod qui ne sont pas ici
Thus how you like that or not, I did not give any permission to diffuse one of these mods here!

Concerning the topicsolved, grudge is the first developer and I am the second, not bowl, if I see this MOD diffused here with a part of the code which compose it I considere that the license smf is not valid and is not applied by staff!  I could thus in my turn diffuse what I want without the authorization of staff!
Title: Re: Topic Solved Mod
Post by: JayBachatero on January 28, 2007, 04:45:13 PM
Well I wrote my OWN version of the Topic Solved mod.  Might be the same name but a bit different.  I wrote that mod from scratch.  I even forgot that there was a mod for this already.  Now are you going to tell me that I can't let someone else release a mod that I wrote?  I don't think so.

My mod is not a fork of the original mod.  If it were to be a fork aka "diffused" as you call it then the code would be the same and do the same thing.  If you want to I can post the source of my mod to prove my point. 
Title: Re: Topic Solved Mod
Post by: Davey D. on January 28, 2007, 06:25:27 PM
Jay - does your mod work with SMF v1.11?
Title: Re: Topic Solved Mod
Post by: JayBachatero on January 28, 2007, 06:27:39 PM
Yes my mod work with 1.1.1 and DE.  For now this mod is exclusively for SimpleMachines.org and phpfreaks.com until aka releases the mod.
Title: Re: Topic Solved Mod
Post by: Davey D. on January 28, 2007, 06:34:27 PM
gotcha! Thanks.
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 02:32:00 AM
Quote from: JayBachatero on January 28, 2007, 04:45:13 PM
Well I wrote my OWN version of the Topic Solved mod.  Might be the same name but a bit different.  I wrote that mod from scratch.  I even forgot that there was a mod for this already.  Now are you going to tell me that I can't let someone else release a mod that I wrote?  I don't think so.

My mod is not a fork of the original mod.  If it were to be a fork aka "diffused" as you call it then the code would be the same and do the same thing.  If you want to I can post the source of my mod to prove my point. 
Si le code est totalement différent de l'original et de ce que j'ai déjà ecrit ok sinon c'est non  ;)




If the code is completely different from the original and what I have already wrote ok if not it is not   ;)
Title: Re: Topic Solved Mod
Post by: ikbenivo on January 29, 2007, 04:53:50 AM
So, would you be so kind to e-mail me the french version? I'm happy to make it into an english version that can go on the mod section of this site...
Thanks!
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 05:03:38 AM
Le mod est déjà traduit (http://smf-fr.org/forum/index.php/topic,1719.msg13144.html#msg13144), merci quand même!




The MOD is already translated (http://smf-fr.org/forum/index.php/topic,1719.msg13144.html#msg13144), thank you nevertheless !
Title: Re: Topic Solved Mod
Post by: ikbenivo on January 29, 2007, 05:25:39 AM
I understand, but It isn't available for download here...
We can only download the translation, not the mod. It would be nice if that also was available ;-)
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 05:52:08 AM
Quote from: ikbenivo on January 29, 2007, 05:25:39 AM
I understand, but It isn't available for download here...
We can only download the translation, not the mod. It would be nice if that also was available ;-)

Le mod necessite un code mediapass (allopass), ce qui permet de le telecharger.
Si tu ne désires pas payer le mod, propose un theme en français et tu auras un code mediapass gratuit...
N'etant pas d'accord avec la license smf, et smf refusant les modeurs français, aucun de mes mods ne figurera ici!



The MOD requires a code mediapass (allopass), which allows of the download.
If you do not wish to pay the MOD, proposes a theme in French and you will have a free code mediapass...

Not agree with the license smf, and smf refusing the French modeurs, any of my mods will not appear here!
Title: Re: Topic Solved Mod
Post by: ikbenivo on January 29, 2007, 07:09:41 AM
fair enough, but my french is too bad.
So I was thinking of paying for it (although I think that's weird), but my country (the Netherlands) isn't supported...
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 08:07:41 AM
Quote from: ikbenivo on January 29, 2007, 07:09:41 AM
fair enough, but my french is too bad.
So I was thinking of paying for it (although I think that's weird), but my country (the Netherlands) isn't supported...
Le paiement permet simplement de faire vivre le forum, il paye nom de domaine, hebergement, etc......
Pour les pays non supporté par mediapass, un don de 1 euro (http://smf-fr.org/forum/index.php?action=donation) (par téléchargement pour les visiteurs ou deux mois pour les membres) par le systeme paypal avec un mp (ici ou sur l'autre forum) et vous aurez en retour un code mediapass.




The payment simply makes it possible to make live the forum, it pays domain name, lodging, etc......
For the countries not supported by mediapass, a gift of 1 euro (http://smf-fr.org/forum/index.php?action=donation) (by remote loading for the visitors or two months for the members) by the system paypal with a mp (here or on the other forum) and you will have in return a code mediapass.
Title: Re: Topic Solved Mod
Post by: JayBachatero on January 29, 2007, 09:30:00 AM
ikbenivo I'll send you a copy of MY mod when I get home.  I don't think its worth paying for something that was once free and there is another free version of it.

MkC I don't think grudge gave you permission to take his mod and make money off from it.  Did you ask him for permission?
Title: Re: Topic Solved Mod
Post by: stoecki on January 29, 2007, 09:33:08 AM
Jay, could you please send a copy of YOUR mod to me too?! Please.
Title: Re: Topic Solved Mod
Post by: JayBachatero on January 29, 2007, 09:48:33 AM
I'm just going to talk to aka and get it released by this week.
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 11:01:09 AM
Quote from: JayBachatero on January 29, 2007, 09:30:00 AM
ikbenivo I'll send you a copy of MY mod when I get home.  I don't think its worth paying for something that was once free and there is another free version of it.

MkC I don't think grudge gave you permission to take his mod and make money off from it.  Did you ask him for permission?

J'espere que ta version est totalement différente de la mienne et de l'autre version que je tolere ici et qui n'a plus lieu d'etre présente!
Grudge m'a cédé les droits sur ce mod, je fais donc ce qui me plait, et c'est la zone de telechargement qui est payante pas le mod  ;D Je n'ai aucune permission à lui demander.
C'est marrant de voir le staff smf appliquer sa license que quand ça l'arrange.....
Moi ce qui m'enerve c'est de devoir payer 50 euros ici pour avoir du support quand on est français!




I espere that your version is completely different from the mine and other version that I tolere here and who do not take place any more to be present!
Grudge yielded the rights to me on this MOD, I thus make what plait me, and it is the zone of download which is paying step the MOD ;D I do not have any permission to require of him.
It is funny to see staff smf applying its license which when that arranges it.....
Me what enerve it is to me to have to pay 50 euros to have support here when one is French!
Title: Re: Topic Solved Mod
Post by: Grudge on January 29, 2007, 02:38:24 PM
Mkc,

When I allowed to you look after support and maintenance of the modification I clearly expected you to continue to support it in the intended form (i.e. a free download available in the same spirit as we make SMF available to others). I'm not quite sure what the complaint about not hosting it here is - you have an english translation of the mod so why not put them both in the same mod file and upload it to the site here?

Also - by allowing you to take over support and maintenance for my modifications I have not yielded any rights of ownership and/or copyright. Even though I really do not have time to update my mods unless yourself or Jay release a Topic Solved mod for public consumption by this weekend then I shall do my best to update the mod for 1.1.1 and release it again here this weekend as clearly it is not fair to leave people in the lurch.

Regards,

Grudge
Title: Re: Topic Solved Mod
Post by: Davey D. on January 29, 2007, 02:44:47 PM
There - the master has spoken! Thank you so much for putting months of grief to rest. My board will now be complete, at least for this month.
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 03:07:18 PM
Grudge,

Par 7 reprises depuis 2005, ont m'a interdit tout mod qui n'est pas ecrit en anglais et qui n'a pas de résumé en anglais dans la partie mod de ce site, voir même en GPL (PFV Banner SMFOnline etc...)!
Tu me parles d'esprit SMF? Lequel?
Concernant le mod je ne me suis pas contenté de faire le support et la maintenance, je l'ai réécrit, c'est déjà beaucoup plus fonctionnel. Et il etait clair que je reprenais à mon compte 2 de tes mods et pas uniquement pour faire du support ou de la maintenance, puisque cela s'accompagnait d'un changement de copyright et de droit.
On sait maintenant que license ou pas, copyright ou pas, vous ne les respectez pas et qui plus est, les outres-passez, cela va me permettre de faire des mods que vous jugez illégaux.

Comme on est moins bête que vous, voici une simple mise à jour de l'ancien mod fonctionnel je pense, je l'espere....

Pour l'esprit de SMF c'est certainement celui de l'hypocrisie et de la mauvaise fois  :-X

Sincères salutations

Marc

Je traduis pas vous n'avez qu'à faire le même effort que moi....
Title: Re: Topic Solved Mod
Post by: MkC on January 29, 2007, 03:12:33 PM
Je viens de soumettre le mod là
http://custom.simplemachines.org/mods/index.php?mod=647
Title: Re: Topic Solved Mod
Post by: stoecki on January 29, 2007, 03:16:56 PM
Thank you MkC! For uploading the Mod and for maintaining! Thanks a lot! If you need hosting for your board, contact me, i own a server, i think it would be no problem to host your forum for free if you want.


Title: Re: Topic Solved Mod
Post by: ikbenivo on January 30, 2007, 04:01:59 AM
Thanks for uploading!

:D
Title: Re: Topic Solved Mod
Post by: MkC on January 30, 2007, 04:19:17 AM
Merci à vous, grâce à vous on peut outre passer le droit d'auteur et la license sur smf  ;)




Thank you with you, thanks to you one can in addition to passing the royalty and the license on smf  
Title: Re: Topic Solved Mod
Post by: hknight on January 30, 2007, 06:20:07 PM
Hello,

I have installed this mod, and this is what the admin part looks like.

What is up with those three blank text boxes?

What what are they for and what text should be there?

Thanks!
Title: Re: Topic Solved Mod
Post by: MkC on January 31, 2007, 04:11:21 AM
Quote from: hknight on January 30, 2007, 06:20:07 PM
Hello,

I have installed this mod, and this is what the admin part looks like.

What is up with those three blank text boxes?

What what are they for and what text should be there?

Thanks!
it's not version 2.......
version 2 has a detached panel admin, I do not know your version puts it is necessary for you to update it.  
Title: Re: Topic Solved Mod
Post by: Davey D. on January 31, 2007, 04:18:21 AM
Quote from: MkC on January 31, 2007, 04:11:21 AM
it's not version 2.......
version 2 has a detached panel admin, I do not know your version puts it is necessary for you to update it. 

What is not version 2? Your Topic Solved mod he downloaded? What is a "detached panel admin" and what is it he must update?
Title: Re: Topic Solved Mod
Post by: MkC on January 31, 2007, 05:04:15 AM
Quote from: davidkirk on January 31, 2007, 04:18:21 AM
Quote from: MkC on January 31, 2007, 04:11:21 AM
it's not version 2.......
version 2 has a detached panel admin, I do not know your version puts it is necessary for you to update it. 

What is not version 2? Your Topic Solved mod he downloaded? What is a "detached panel admin" and what is it he must update?
-> Apprend à utiliser un forum avant de vouloir installer des mods
-> apprend à lire et à comprendre ce que tu lis, mod disponible là en pièce jointe: http://www.simplemachines.org/community/index.php?topic=6779.msg933012#msg933012 et là http://custom.simplemachines.org/mods/index.php?mod=647
-> La version 2 n'a pas les options dans le panel Karma, je fais des mods pas des bidouilles de pauvre.....




-> Learns how to use a forum before wanting to install mods
-> learns how to read and include/understand what you read, MOD available there in attachments: http://www.simplemachines.org/community/index.php?topic=6779.msg933012#msg933012 et là http://custom.simplemachines.org/mods/index.php?mod=647
->Version 2 does not have the options in the panel Karma, I make mods not do-it-yourselfings of come first.....  
Title: Re: Topic Solved Mod
Post by: Davey D. on January 31, 2007, 11:26:54 AM
* Lost in translation *

I give up.
Title: Re: Topic Solved Mod
Post by: eivor on February 02, 2007, 06:45:56 AM
Quote from: Grudge on January 29, 2007, 02:38:24 PM
Mkc,

When I allowed to you look after support and maintenance of the modification I clearly expected you to continue to support it in the intended form (i.e. a free download available in the same spirit as we make SMF available to others). I'm not quite sure what the complaint about not hosting it here is - you have an english translation of the mod so why not put them both in the same mod file and upload it to the site here?

Also - by allowing you to take over support and maintenance for my modifications I have not yielded any rights of ownership and/or copyright. Even though I really do not have time to update my mods unless yourself or Jay release a Topic Solved mod for public consumption by this weekend then I shall do my best to update the mod for 1.1.1 and release it again here this weekend as clearly it is not fair to leave people in the lurch.

Regards,

Grudge

Hello Grudge!
I hope You will find a solution for this. There are many people here in Sweden, waiting for tsolved for SMF 1.1.1
Best regards from Sweden
Eivor
Title: Re: Topic Solved Mod
Post by: MkC on February 03, 2007, 03:47:04 AM
Quote from: eivor on February 02, 2007, 06:45:56 AM
Quote from: Grudge on January 29, 2007, 02:38:24 PM
Mkc,

When I allowed to you look after support and maintenance of the modification I clearly expected you to continue to support it in the intended form (i.e. a free download available in the same spirit as we make SMF available to others). I'm not quite sure what the complaint about not hosting it here is - you have an english translation of the mod so why not put them both in the same mod file and upload it to the site here?

Also - by allowing you to take over support and maintenance for my modifications I have not yielded any rights of ownership and/or copyright. Even though I really do not have time to update my mods unless yourself or Jay release a Topic Solved mod for public consumption by this weekend then I shall do my best to update the mod for 1.1.1 and release it again here this weekend as clearly it is not fair to leave people in the lurch.

Regards,

Grudge

Hello Grudge!
I hope You will find a solution for this. There are many people here in Sweden, waiting for tsolved for SMF 1.1.1
Best regards from Sweden
Eivor

Learn to read, the topic solved for smf 1.1.1 is an attachment to post http://www.simplemachines.org/community/index.php?topic=6779.msg933012#msg933012
:'( :'( :'( baby...... :D
Title: Re: Topic Solved Mod
Post by: eivor on February 03, 2007, 05:31:43 AM
Missed it.... ;)
Title: Re: Topic Solved Mod
Post by: MkC on February 05, 2007, 02:47:33 AM
Le mod est toujours en cours de validation depuis une semaine:
http://custom.simplemachines.org/mods/index.php?mod=647
Oldiesmann a plus de temps pour ennuyer les developpeurs de mods que pour améliorer la qualité de service de smf.....


The MOD has been always in the course of validation for one week:
http://custom.simplemachines.org/mods/index.php?mod=647
Oldiesmann has more time to annoy the developers of mods than to improve the quality of service of smf.....  
Title: Re: Topic Solved Mod
Post by: Grudge on February 12, 2007, 06:04:02 PM
In the mean time I did finally get around to updating my version to 1.1.2 although I must admit that the icons look very odd!
Title: Re: Topic Solved Mod
Post by: Davey D. on February 12, 2007, 06:09:52 PM
Thank you Grudge - I will try it out.
Title: Re: Topic Solved Mod
Post by: MkC on February 13, 2007, 03:12:28 AM
V2 is english (http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html)
V12 is french (http://smf-fr.org/Mod_Topic_Solved_v12-topic-10-0.html)
Title: Re: Topic Solved Mod
Post by: Metro111 on February 15, 2007, 01:24:57 AM
Quote from: Grudge on February 12, 2007, 06:04:02 PM
In the mean time I did finally get around to updating my version to 1.1.2 although I must admit that the icons look very odd!

Hi, I added this mod and I get the check mark and X.  Also have the color in the message.  It shows up in the create/modify boards but thats it.  I do not have anywhere to modify the colors, etc.  I do get an error listed below.  Any help on this?

8: Undefined index: topic_solved
File: /<removed>/htdocs/smf/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 377
Title: Re: Topic Solved Mod
Post by: MkC on February 15, 2007, 04:01:59 AM
Quote from: Metro111 on February 15, 2007, 01:24:57 AM
Quote from: Grudge on February 12, 2007, 06:04:02 PM
In the mean time I did finally get around to updating my version to 1.1.2 although I must admit that the icons look very odd!

Hi, I added this mod and I get the check mark and X.  Also have the color in the message.  It shows up in the create/modify boards but thats it.  I do not have anywhere to modify the colors, etc.  I do get an error listed below.  Any help on this?

8: Undefined index: topic_solved
File: /<removed>/htdocs/smf/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 377

V2 is good  :D
Title: Re: Topic Solved Mod
Post by: casp3r on February 16, 2007, 04:57:54 AM
Many thanks for the mod. Works perfectly but I have one suggestion (unless it's already available and I've missed it) - The option to jump from the first post straight to the solution. This would be very helpful especially if the thread goes over two or more pages. Again many thanks.
Title: Re: Topic Solved Mod
Post by: NayNay on February 16, 2007, 02:06:34 PM
QuoteV2 is good

...how do we get it?  There is no download in the linked post.
Title: Re: Topic Solved Mod
Post by: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!
Title: Re: Topic Solved Mod
Post by: MkC on February 16, 2007, 03:19:00 PM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!
Thx  ;)
Title: Re: Topic Solved Mod
Post by: Davey D. on February 16, 2007, 08:28:52 PM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!

YOUR LINK IS BAD!
Title: Re: Topic Solved Mod
Post by: MkC on February 17, 2007, 08:52:40 AM
Quote from: davidkirk on February 16, 2007, 08:28:52 PM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!

YOUR LINK IS BAD!
Not one says staff is bad

Link V2 for english: http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html
Lien V12 pour français: http://smf-fr.org/Mod_Topic_Solved_v12-topic-10-0.html
Title: Re: Topic Solved Mod
Post by: Metro111 on February 17, 2007, 06:12:08 PM
Quote from: MkC on February 17, 2007, 08:52:40 AM
Link V2 for english: http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html
Lien V12 pour français: http://smf-fr.org/Mod_Topic_Solved_v12-topic-10-0.html

Your links on that page are not clickable.
Title: Re: Topic Solved Mod
Post by: Davey D. on February 17, 2007, 09:56:39 PM
His Web site is fee based - you cannot pull files unless you pay first. All this is explained by the author several pages back.
Title: Re: Topic Solved Mod
Post by: Metro111 on February 17, 2007, 11:15:28 PM
Ya, I read the entire thread after posting that and see he's special.   :D

Thanks for the info anyway.

Grudge, thanks for your 'original' version
Title: Re: Topic Solved Mod
Post by: MkC on February 18, 2007, 05:05:34 AM
Quote from: davidkirk on February 17, 2007, 09:56:39 PM
His Web site is fee based - you cannot pull files unless you pay first. All this is explained by the author several pages back.
C'est accessible maintenant, c'est free et merci de ne surtout pas vous inscrire....




It is accessible now, it is free and thank you especially not to register you....
Title: Re: Topic Solved Mod
Post by: Metro111 on February 18, 2007, 02:38:01 PM
Mkc, thanks for allowing the free download but, that mod comes up with 2 test failed.

1. Extract Tree ./Sources 
2. Extract Tree ./Themes/default/languages 
3. Extract File ./Themes/default/images/english/accept.gif 
4. Extract File ./Themes/default/images/english/reject.gif 
5. Extract File ./Themes/classic/images/english/accept.gif 
6. Extract File ./Themes/classic/images/english/reject.gif 
7. Execute Code TopicSolvedPdb.php 
8. Execute Modification ./Sources/ManageBoards.php Test successful
9. Execute Modification ./Sources/ManageBoards.php Test successful
10. Execute Modification ./Sources/ManageBoards.php Test successful
11. Execute Modification ./Sources/Subs-Boards.php Test successful
12. Execute Modification ./Sources/Subs-Boards.php Test successful
13. Execute Modification ./Sources/Subs-Boards.php Test successful
14. Execute Modification ./Sources/Subs-Boards.php Test successful
15. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Post.php Test successful
18. Execute Modification ./Sources/Post.php Test successful
19. Execute Modification ./Themes/default/Post.template.php Test successful
20. Execute Modification ./Themes/default/Post.template.php Test successful
21. Execute Modification ./Themes/classic/Post.template.php Test successful
22. Execute Modification ./Themes/classic/Post.template.php Test successful
23. Execute Modification ./Sources/Load.php Test successful
24. Execute Modification ./Sources/Load.php Test successful
25. Execute Modification ./index.php Test successful
26. Execute Modification ./Themes/default/Display.template.php Test successful
27. Execute Modification ./Themes/default/Display.template.php Test successful
28. Execute Modification ./Themes/default/Display.template.php Test successful
29. Execute Modification ./Themes/default/Display.template.php Test successful
30. Execute Modification ./Themes/classic/Display.template.php Test successful
31. Execute Modification ./Themes/classic/Display.template.php Test successful
32. Execute Modification ./Themes/classic/Display.template.php Test successful
33. Execute Modification ./Themes/classic/Display.template.php Test successful
34. Execute Modification ./Sources/Display.php Test successful
35. Execute Modification ./Sources/Display.php Test successful
36. Execute Modification ./Sources/Display.php Test successful
37. Execute Modification ./Sources/Display.php Test successful
38. Execute Modification ./Sources/Display.php Test successful
39. Execute Modification ./Sources/Display.php Test successful
40. Execute Modification ./Themes/default/MessageIndex.template.php Test failed [/color]
41. Execute Modification ./Sources/MessageIndex.php Test successful
42. Execute Modification ./Sources/MessageIndex.php Test successful
43. Execute Modification ./Sources/MessageIndex.php Test successful
44. Execute Modification ./Themes/classic/MessageIndex.template.php Test failed [/color]
45. Execute Modification ./Sources/Subs.php Test successful


Any other mod I've installed has installed with no problems so I don't understand it.

Title: Re: Topic Solved Mod
Post by: MkC on February 19, 2007, 07:06:40 AM
@Metro111:
version smf?
Title: Re: Topic Solved Mod
Post by: NayNay on February 19, 2007, 10:24:50 AM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!

The file WAS NOT there when I visited the site.  Snark is not fun when you are wrong.
Title: Re: Topic Solved Mod
Post by: MkC on February 19, 2007, 11:24:01 AM
Quote from: MkC on February 17, 2007, 08:52:40 AM
Quote from: davidkirk on February 16, 2007, 08:28:52 PM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!

YOUR LINK IS BAD!
Not one says staff is bad

Link V2 for english: http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html
Lien V12 pour français: http://smf-fr.org/Mod_Topic_Solved_v12-topic-10-0.html
:-X
Title: Re: Topic Solved Mod
Post by: JayBachatero on February 19, 2007, 01:04:29 PM
Quote from: MkC on February 17, 2007, 08:52:40 AM
Quote from: davidkirk on February 16, 2007, 08:28:52 PM
Quote from: stoecki on February 16, 2007, 03:06:31 PM
http://custom.simplemachines.org/mods/index.php?mod=647


OPEN YOUR EYES!

8 post above!

YOUR LINK IS BAD!
Not one says staff is bad

Link V2 for english: http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html
Lien V12 pour français: http://smf-fr.org/Mod_Topic_Solved_v12-topic-10-0.html
We have told you in the past a few times already that the main description must be in english.  You can have the description in any other language that you want but you MUST have the english description there.  It's part of the guidelines.
Title: Turning it off
Post by: NativePages on February 19, 2007, 02:14:28 PM
Hello,

I installed Grudge's latest version of Topic Solved in my forum (running SMF 1.1.2), thinking it would be a way to deal with a particular board where we post and discuss pending legislation of interest to the forum community. Great mod, but wasn't the answer to what I needed, so I decided just to install some custom message icons for that board only and turn off the Topic Solved Mod.

Only it won't turn off. :/  I went back in, unchecked the box on the board that enabled it, saved the settings, went back to the board, and it's still actively controlling the board. I did that three times. I toyed with the idea of just copying and pasting message code into a whole new board, but there are some really involved tables and things in those posts.

No offense to Grudge, MkB, Jay, Et Al, but how do I make it go away?  
Title: Re: Topic Solved Mod
Post by: Metro111 on February 19, 2007, 05:22:43 PM
Quote from: MkC on February 19, 2007, 07:06:40 AM
@Metro111:
version smf?

SMF 1.1.2
Title: Re: Topic Solved Mod
Post by: NativePages on February 20, 2007, 02:53:14 AM
Never mind.  I accidentally deleted ALL the files in my default theme folder, toasted my forum (a third time), and did the whole webinstall 1.1.2 again. Good news, I got my forum back and this time all the files were the most recent version. I had to re-apply all my mods including Topic Solved, so I just didn't reintall it.  
Title: Re: Topic Solved Mod
Post by: MkC on February 20, 2007, 05:39:37 AM
@Metro111:
you have conflit whith another mod, post your messageIndex.template please ;)

@JayBachatero:
Ok Description is in english but the mod is rejected......

@NativePages:
For turn off, you should modify section and not settings  ;)
Title: Re: Topic Solved Mod
Post by: -TMG- on March 05, 2007, 02:25:12 PM
hi after i made all changes for my custom theme i still dont see any option while posting to enable the mod... in admin area all works fine but while posting or editing nothing happens... i only get this at the error log

8: Undefined index: topicsolved
Datei: /is/htdocs/wp1006368_AY0GM8LWN8/lotd/Sources/Display.php
Zeile: 499

my smf is 1.1.2 @ helios multi
Title: Re: Topic Solved Mod
Post by: MkC on March 06, 2007, 01:51:15 AM
Quote from: -TMG- on March 05, 2007, 02:25:12 PM
hi after i made all changes for my custom theme i still dont see any option while posting to enable the mod... in admin area all works fine but while posting or editing nothing happens... i only get this at the error log

8: Undefined index: topicsolved
Datei: /is/htdocs/wp1006368_AY0GM8LWN8/lotd/Sources/Display.php
Zeile: 499

my smf is 1.1.2 @ helios multi
version of mod? Grudge or mine?
Title: Re: Topic Solved Mod
Post by: -TMG- on March 06, 2007, 06:02:29 AM
its 2.0 ^^
Title: Re: Topic Solved Mod
Post by: MkC on March 06, 2007, 02:46:32 PM
Quote from: -TMG- on March 06, 2007, 06:02:29 AM
its 2.0 ^^
Can you zip your file display.php and to put it here so that I look at?  
Title: Re: Topic Solved Mod
Post by: -TMG- on March 07, 2007, 01:53:01 AM
here it is!
Title: Re: Topic Solved Mod
Post by: MkC on March 07, 2007, 12:14:48 PM
You have makes the modifications in the data base?

If not not to have the error more
Search:
Quote
   if ($board_info['topicsolved'])
   {
      $context['topicSolved'] = 1;
      $context['user']['memberStarted'] = $topicinfo['ID_MEMBER_STARTED'];
   }

Replace

Search:
Quote
     if (isset($board_info['topicsolved']))
      {
   if ($board_info['topicsolved'])
   {
      $context['topicSolved'] = 1;
      $context['user']['memberStarted'] = $topicinfo['ID_MEMBER_STARTED'];
   }
      }
Title: Re: Topic Solved Mod
Post by: victima on March 07, 2007, 12:35:58 PM
what do i do so I can use it in norwegian ?
Title: Re: Topic Solved Mod
Post by: -TMG- on March 07, 2007, 03:36:34 PM
made the changes but the errors remain....

-TotMannGeht-   Heute um 21:35 
80.130.137.207     de139d32152a2ea6fdf1f94c1a8bf422 
http://www.thedamned.de/index.php?action=post;board=3.0 
8: Undefined index: topicsolved
Datei: /xxx/Sources/Post.php
Zeile: 682

   -TotMannGeht-   Heute um 21:35 
80.130.137.207     de139d32152a2ea6fdf1f94c1a8bf422 
http://www.thedamned.de/index.php?action=post;board=3.0 
8: Undefined index: topicsolved
Datei: /xxx/Sources/Post.php
Zeile: 113

   -TotMannGeht-   Heute um 21:35 
80.130.137.207     de139d32152a2ea6fdf1f94c1a8bf422 
http://www.thedamned.de/index.php 
8: Undefined index: topicsolved
Datei: /xxx/Sources/MessageIndex.php
Zeile: 49

Title: Re: Topic Solved Mod
Post by: victima on March 07, 2007, 04:25:20 PM
Can someone tell me how i convert this mod into norwegian ?
or can someone do it for me?
Title: Re: Topic Solved Mod
Post by: MkC on March 08, 2007, 10:19:24 AM
@-TMG-: You have makes the modifications in the data base?
@Victima: you translate the file: ManageTopicSolved.english.php in the mod  ;)
Title: Re: Topic Solved Mod
Post by: -TMG- on March 08, 2007, 01:27:41 PM
the changes made in th edb was done by the package manager and as far as i could see the additional fields in the boards topics and third one as well as the one on the settings table was made!
Title: Re: Topic Solved Mod
Post by: Davey D. on March 08, 2007, 02:09:48 PM
Using the latest "Grudge" MOD

Updated SMF to the latest version and the MOD no longer works. When I click on the check mark, the redirect page now shows the "output.png" image below.

The error log page shows the "errorLog.png" image below.

HELP!?!
Title: Re: Topic Solved Mod
Post by: MkC on March 08, 2007, 04:25:33 PM
@-TMG-:you have translates the MOD? Either the modifications of the table are badly fact or the translation is not existing.
@davidkirk: The MOD is not correctly installed verifie with the hand the modifications  
Title: Re: Topic Solved Mod
Post by: -TMG- on March 09, 2007, 08:49:13 AM
yeah i translated the mod and as far as the db changes are concerned i think that while reading the db instructions in the file it all should be correct....

but now theres the prob that i cant uninstall it via package manager so that i have to make it manually!
Title: Re: Topic Solved Mod
Post by: -TMG- on March 09, 2007, 09:00:09 AM
great now i reaplied the mod and while opening a post or editing i get a blank screen with:

Fatal error: Cannot redeclare topicsolved() (previously declared in /xxx/Sources/Post.php:2355) in /xxx/Sources/Post.php on line 2539
Title: Re: Topic Solved Mod
Post by: MkC on March 09, 2007, 11:41:29 AM
it acts of a doubled bloom, the MOD has being installed several times, it indicates that you have the same function twice.  
Title: Re: Topic Solved Mod
Post by: Zuma on March 10, 2007, 12:36:51 PM
Hi

Sry I tried my best to read all the 16 pages of posts, maybe my questions have been answered before but here it goes:

I'll use this mod in my gaming forum. I have a board to post only results of matches. So, I want to know if I can have 3 icons to indicate: Victory, Defeat, Draw.

Is that possible?

tia
Title: Re: Topic Solved Mod
Post by: MkC on March 11, 2007, 05:10:58 AM
@Zuma: Yes in Settings Admin  ;)
Title: Re: Topic Solved Mod
Post by: Zuma on March 11, 2007, 06:08:55 AM
Ok, I've installed it successfully and found the option to make boards work with it.

Now where exactly do I edit the icons I want it show, when to show, etc?
Title: Re: Topic Solved Mod
Post by: Evick on March 12, 2007, 06:25:00 PM
@MkC

I just did a fresh install of SMF 1.1.2 and your mod Mod_topicsolved_v2. Install and everything said it went fine, however when I click the Topic Solved link and looked at the settings I have no discription text to tell me what each field represents.  Take a look



so I am a little lost as to what is next.  Please help.
Title: Re: Topic Solved Mod
Post by: MkC on March 13, 2007, 01:09:31 PM
Quote from: Evick on March 12, 2007, 06:25:00 PM
@MkC

I just did a fresh install of SMF 1.1.2 and your mod Mod_topicsolved_v2. Install and everything said it went fine, however when I click the Topic Solved link and looked at the settings I have no discription text to tell me what each field represents.  Take a look



so I am a little lost as to what is next.  Please help.
In the MOD verify to have the file ManageTopicSolved.english.php and Places in the repertoire languages of your theme. 
Title: Re: Topic Solved Mod
Post by: MkC on March 13, 2007, 01:12:18 PM
Quote from: Zuma on March 11, 2007, 06:08:55 AM
Ok, I've installed it successfully and found the option to make boards work with it.

Now where exactly do I edit the icons I want it show, when to show, etc?
Click Topic Solved in admin panel  ;)
Title: Re: Topic Solved Mod
Post by: Zuma on March 13, 2007, 02:32:40 PM
Quote from: MkC on March 13, 2007, 01:12:18 PM
Quote from: Zuma on March 11, 2007, 06:08:55 AM
Ok, I've installed it successfully and found the option to make boards work with it.

Now where exactly do I edit the icons I want it show, when to show, etc?
Click Topic Solved in admin panel  ;)

uhh lol, I don't see this option, lemme check if I missed something (I've upload all files manually)
Title: Re: Topic Solved Mod
Post by: Evick on March 13, 2007, 03:53:29 PM
Quote from: MkC on March 13, 2007, 01:09:31 PM
In the MOD verify to have the file ManageTopicSolved.english.php and Places in the repertoire languages of your theme. 

The ManageTopicSolved.english.php is in the Themes/default/languages directory (I am using the default theme). And everything appears to be fine, but of course its not....
Title: Re: Topic Solved Mod
Post by: MkC on March 14, 2007, 12:09:10 PM
Quote from: Evick on March 13, 2007, 03:53:29 PM
Quote from: MkC on March 13, 2007, 01:09:31 PM
In the MOD verify to have the file ManageTopicSolved.english.php and Places in the repertoire languages of your theme. 

The ManageTopicSolved.english.php is in the Themes/default/languages directory (I am using the default theme). And everything appears to be fine, but of course its not....
Message in error log?
Title: Re: Topic Solved Mod
Post by: FKastro on March 15, 2007, 12:14:16 PM
Duplicate column name 'topicSolved'
File: /home/xxx/public_html/forum/Packages/temp/TopicSolvedPdb.php
Line: 36

Mod v2
SMF 1.1.2
Title: Re: Topic Solved Mod
Post by: MkC on March 17, 2007, 04:40:29 AM
J'ai ajouté une mise à jour pour ceux qui avaient déjà la 1.21 pour passer à la V2. Ca règle les problemes de duplication de champs dans les tables.




I added an update for those which had already the 1.21 to pass to V2. Ca regulates the problems of duplication of fields in the tables.
Title: Re: Topic Solved Mod
Post by: FKastro on March 17, 2007, 11:14:00 AM
Quote from: MkC on March 17, 2007, 04:40:29 AM
I added an update for those which had already the 1.21 to pass to V2. Ca regulates the problems of duplication of fields in the tables.
Still the same problem
Duplicate column name 'topicSolved'
File: /home/joom03/public_html/forum/Packages/temp/TopicSolvedPdb.php
Line: 36
May be I'm doing smthng wrong?
Went to your web http://smf-fr.org/Mod_TopicSolved_V2_En-topic-11-0.html and redownloaded the mod.
Title: Re: Topic Solved Mod
Post by: MkC on March 17, 2007, 11:30:29 AM
il faut garder l'ancien mod et le fichier dans le repertoire package sinon le module d'installation package voit le mod comme un nouveau et non comme une mise à jour.




it is necessary to keep the old MOD and the file in the repertoire package if not the module of package installation sees the MOD like new and not like an update.
Title: Re: Topic Solved Mod
Post by: Hendricius on March 19, 2007, 10:54:09 AM
Is it possible to allow other Users to mark Topics as "Topic Solved"? Like Moderators.
Title: Re: Topic Solved Mod
Post by: MkC on March 19, 2007, 11:33:59 AM
Quote from: Hendricius on March 19, 2007, 10:54:09 AM
Is it possible to allow other Users to mark Topics as "Topic Solved"? Like Moderators.
Yes in permission of group  ;)
Title: Re: Topic Solved Mod
Post by: Evick on March 19, 2007, 04:57:50 PM
@MKC

Here is my error log

8: Undefined index: topicsolved_rejectbut
File: /home/etunksol/public_html/task/Themes/default/Display.template.php (eval?)
Line: 412


8: Undefined index: topicsolved_acceptbut
File: /home/etunksol/public_html/task/Themes/default/Display.template.php (eval?)
Line: 411
   

Unable to load the 'ManageTopicSolved.english-utf8' language file.
   

8: Undefined index: topicsolved_title
File: /home/etunksol/public_html/task/Sources/ManageTopicSolved.php
Line: 64
   

Unable to load the 'ManageTopicSolved.english-utf8' language file.
Title: Re: Topic Solved Mod
Post by: Hendricius on March 20, 2007, 10:41:32 AM
Am I stupid? I do not find it:




Title: Re: Topic Solved Mod
Post by: MkC on March 20, 2007, 11:50:06 AM
@Evick: Because you use utf8 (it's beurk.....  :-X ) . Rename ManageTopicSolved.english.php in ManageTopicSolved.english-utf8  ;)
@Hendricius: version of topicsolved? version smf?
Title: Re: Topic Solved Mod
Post by: Hendricius on March 20, 2007, 12:49:29 PM
1.22 TSM
1.1.2 SMF with UTF-8

Can you might hook me up on d3scene.com IRC ? I can give you remote Access then..

http://www.d3scene.com/forum/chat.html

Thanks.
Title: Re: Topic Solved Mod
Post by: MkC on March 21, 2007, 11:37:39 AM
@hendricius: normal, tpsolved is not compatible utf-8..... rename Modifications.english.php in  Modifications.english-utf8.php
Title: Re: Topic Solved Mod
Post by: Mr ChriZ on March 22, 2007, 11:18:17 AM
This mod is almost ideal for what we need...
However really we could do with three status's
1. Open
2. Contained
3. Closed

Is it possible to change this?
Cheers
Chris.
Title: Re: Topic Solved Mod
Post by: Mr ChriZ on March 22, 2007, 11:35:55 AM
Eek... I uninstalled the Mod and now it won't install again.
______________________________________________________
Duplicate entry 'topicsolvedLockSolved' for key 1
File: F:\Work Projects\Methasoft\SMF\Packages\temp\TopicSolvedPdb.php
Line: 42
______________________________________________________
Title: Re: Topic Solved Mod
Post by: MkC on March 22, 2007, 12:03:23 PM
http://www.simplemachines.org/community/index.php?topic=6779.msg1010446#msg1010446
Title: Re: Topic Solved Mod
Post by: Mr ChriZ on March 22, 2007, 12:23:25 PM
OK I've got the reinstallation process sorted.
Cheers.
Title: Re: Topic Solved Mod
Post by: abda53 on March 23, 2007, 03:51:08 AM
im getting this error

http://forums.sd-imports.com/index.php?dummy=1;action=topicsolve;;msg=1080;topic=96;accept=1
Unable to load the 'main' template.

im also using the SEO4SMF mod.. is that the cause for this?
Title: Re: Topic Solved Mod
Post by: MkC on March 23, 2007, 12:29:18 PM
i don't no, the mod seos4smf is beurkkkkkkkk  :-X
you've a duplication code
Quote
http://forums.sd-imports.com/index.php?dummy=1;action=topicsolve;;msg=1080;topic=96;accept=1
Title: Re: Topic Solved Mod
Post by: Herman's Mixen on March 24, 2007, 10:16:59 PM
the mod needs to make uninstall correctly ... even when uninstall is selected that db settings should removed correctly i am in dutch forum correct these things everyday it ain't fun to do that on sertain mods !!

build it please with correct installl and uninstall procudure ???
even most mods are still in *.mod format please check the *.xml format for better compatibility from 1.1.x software
Title: Re: Topic Solved Mod
Post by: MkC on March 25, 2007, 06:32:20 AM
Quote from: The Burglar! on March 24, 2007, 10:16:59 PM
the mod needs to make uninstall correctly ... even when uninstall is selected that db settings should removed correctly i am in dutch forum correct these things everyday it ain't fun to do that on sertain mods !!

build it please with correct installl and uninstall procudure ???
even most mods are still in *.mod format please check the *.xml format for better compatibility from 1.1.x software

1, Already when one is polished one says please
2, uninstall and install are already writed but as I do not have the right to go up the mods that it is with an English description or French thus to see with staff smf
3, .xml is illegible .mod is very clear and readable. SMF does not impose the xml, instead of telling is not thank you essential to read documentation. Moreover the last patch smf 1.1.2 contains a file .mod .
4, bye
Title: Re: Topic Solved Mod
Post by: Herman's Mixen on March 25, 2007, 06:44:01 AM
you can always contact the original mod writer to give him your language strings
in fact he wil appreciate that !
Title: Re: Topic Solved Mod
Post by: MkC on March 25, 2007, 07:36:41 AM
Quote from: The Burglar! on March 25, 2007, 06:44:01 AM
you can always contact the original mod writer to give him your language strings
in fact he wil appreciate that !
What do you tell us?
I have the problem with all the mods that I written, and of which I am the creator.
For your information I took this MOD on my account since nobody wanted some more than one year ago.
Here does that have nothing to do with the file of translation, starts already by thank you reading the preceding answers before poster?
Title: Re: Topic Solved Mod
Post by: snowsh on March 25, 2007, 01:37:50 PM
Quote from: PhatTyres on November 24, 2005, 02:42:03 PM
In features you can change the color of the backgroung for resolved, rejected, accepted.

Where? I cannot see anywhere to change the background colours.

What file, what page, why isnt it in the CSS?
Title: Re: Topic Solved Mod
Post by: MkC on March 26, 2007, 03:02:44 PM
Open your eyes  :D
In admin setting:
Title: Re: Topic Solved Mod
Post by: snowsh on March 28, 2007, 06:34:00 PM
Sure, but where is the link in admin to get to the topic solved admin?  
Title: Re: Topic Solved Mod
Post by: MkC on March 29, 2007, 03:10:51 PM
features and options if is the mod grudge....
Title: Re: Topic Solved Mod
Post by: snowsh on March 29, 2007, 05:23:14 PM
nope, its not there. Could there be a problem with the install script? I have just re-installed and still no options....
Title: Re: Topic Solved Mod
Post by: MkC on March 30, 2007, 12:39:15 AM
@snowsh:
Version smf?
Version mod topicsolved?
Theme?
Title: Re: Topic Solved Mod
Post by: snowsh on March 30, 2007, 12:50:10 AM
default theme (modified images)

installed last week:
SMF File Your Version Current Version
SMF Package SMF 1.1.2 SMF 1.1.2


Files in archive tsolved_v1.22.tar.gz:
accept.gif (80 bytes)
contact.txt (448 bytes)
package-info.xml (1640 bytes)
reject.gif (84 bytes)
TopicSolveddb.php (4322 bytes)
TopicSolvedPdb.php (2982 bytes)
TopicSolved_v1.22.mod (13341 bytes) 

Title: Re: Topic Solved Mod
Post by: GodOfWonders on March 31, 2007, 12:54:44 PM
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)
Title: Re: Topic Solved Mod
Post by: snowsh on March 31, 2007, 04:16:33 PM
Excelent! thnkyou very much! There should be topic solved mod installed here! Great Mod BTW.
Title: Re: Topic Solved Mod
Post by: snowsh on March 31, 2007, 09:35:29 PM
All running now but I am now going to wait untill the next release. I think this is a great mod, really useful but the function just isnt quite there yet.

would like to see:
Custom Text headings.
ability to actually remove the "Make this board a 'topic solved' board" Just doesnt switch off

Coloured states for the following:

original post state 1 normal, state 2 on reply marked as solved.
Colour only the reply.
Ability to switch replys back to original normal state, not just accept or refuse.
Title: Re: Topic Solved Mod
Post by: Metro111 on April 01, 2007, 01:19:07 AM
Quote from: GodOfWonders on March 31, 2007, 12:54:44 PM
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)

Thank you very much, that solved my problem also.
Title: Re: Topic Solved Mod
Post by: GodOfWonders on April 01, 2007, 01:22:41 AM
Glad to help.  :)
Title: Re: Topic Solved Mod
Post by: weissefar on April 15, 2007, 08:27:13 PM
I like the mod too, but strangely I can't disable the mod on a board after I have enabled it?! I had to make a quiery in the board table in the database to set the value from 1 to 0. Any comments on that?
Title: Re: Topic Solved Mod
Post by: Metro111 on April 16, 2007, 02:08:49 AM
Quote from: weissefar on April 15, 2007, 08:27:13 PM
I like the mod too, but strangely I can't disable the mod on a board after I have enabled it?! I had to make a quiery in the board table in the database to set the value from 1 to 0. Any comments on that?

I too discovered the same thing on Friday and went into the database to disable a topic.  I can turn off/on on some boards but others will not turn off.  Sorry I don't have an answer to that but your not alone.
Title: Re: Topic Solved Mod
Post by: p-chan on April 26, 2007, 03:13:11 AM
I am currently using smf 1.1.2 version, when I tried installing the mod, it failed the Modification ./Themes/default/Post.template.php  =(

Anyway, i like the idea of this mod..it's really useful !
Title: Re: Topic Solved Mod
Post by: MkC on April 26, 2007, 12:02:39 PM
Ce weekend une version gratuite de Tpsolved 12.1 avec mise à jour depuis 1.21 et 1.22 sortira et comprend installation et desinstallation.




This weekend a free version of Tpsolved 12.1 with update since 1.21 and 1.22 will leave and includes/understands installation and desinstallation.
Title: Re: Topic Solved Mod
Post by: vinzz on April 26, 2007, 04:58:11 PM
just installed this mod on my smf board with the help of Metro111 (Thanks)
its a great mod, but i still got a question.
How can moderators of a specific board make replies accepted (or rejected)? is it possible?
Title: Re: Topic Solved Mod
Post by: MkC on April 28, 2007, 12:59:58 AM
Quote from: vinzz on April 26, 2007, 04:58:11 PM
just installed this mod on my smf board with the help of Metro111 (Thanks)
its a great mod, but i still got a question.
How can moderators of a specific board make replies accepted (or rejected)? is it possible?

by permissions  ;)
Title: Re: Topic Solved Mod
Post by: vinzz on April 28, 2007, 05:27:03 PM
there is no option in the premissions to activate it on a usergroup :S

http://www.ibrought.com/vinzz/images/modpre.JPG
(http://www.ibrought.com/vinzz/images/modpre.JPG)
Title: Re: Topic Solved Mod
Post by: Hendricius on May 03, 2007, 02:16:57 PM
Same problem for me. There are no permissions. This mod needs a rework.
Title: Re: Topic Solved Mod
Post by: MkC on May 05, 2007, 02:42:51 AM
Version 12.1: http://support.smfgratuit.org/Mod_Topic_Solved_v12_1-topic-66-0.html
it's free....

@Hendricius and vinzz: permission is in V12 or V12.1&nbsp; ;)
Title: Re: Topic Solved Mod
Post by: vinzz on May 06, 2007, 02:25:47 PM
thanks MkC,

trying... :P
Title: Re: Topic Solved Mod
Post by: softtouch on May 12, 2007, 12:35:55 AM
That one does not install anymore on SMF 1.12, the one at topic start does. It complains about display.php
Title: Re: Topic Solved Mod
Post by: dumbelljunkie on May 16, 2007, 06:19:03 AM
I get a lot of undefined errors but I can't figure out what or where.

8: Undefined index: topicsolved
Bestand: /home/vhosts/powerlifting-forum.nl/httpdocs/forum/Sources/ModSettings.php
Regel: 151

      'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Everything is installed just fine.
Title: Re: Topic Solved Mod
Post by: MkC on May 16, 2007, 12:31:12 PM
Quote from: dumbelljunkie on May 16, 2007, 06:19:03 AM
I get a lot of undefined errors but I can't figure out what or where.

8: Undefined index: topicsolved
Bestand: /home/vhosts/powerlifting-forum.nl/httpdocs/forum/Sources/ModSettings.php
Regel: 151

      'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Everything is installed just fine.
because the file of language is not present, or the translation does not exist.
Title: Re: Topic Solved Mod
Post by: dumbelljunkie on May 16, 2007, 03:19:36 PM
That's the thing, modifications.dutch has the same  language files as the original english one, only translated if needed. So that's not an option, unless the language files are not correct ?
Title: Re: Topic Solved Mod
Post by: MkC on May 16, 2007, 07:01:15 PM
Quote from: dumbelljunkie on May 16, 2007, 03:19:36 PM
That's the thing, modifications.dutch has the same  language files as the original english one, only translated if needed. So that's not an option, unless the language files are not correct ?
Copy the translation of $txt['topicsolved'] in the file of language ModSettings.dutch.php that should solve your concern
Title: Re: Topic Solved Mod
Post by: dumbelljunkie on May 18, 2007, 04:22:53 AM
Quote from: MkC on May 16, 2007, 07:01:15 PM
Quote from: dumbelljunkie on May 16, 2007, 03:19:36 PM
That's the thing, modifications.dutch has the same  language files as the original english one, only translated if needed. So that's not an option, unless the language files are not correct ?

Indeed it worked like a charm ! How come it doesn't do this in the package ? Or is it a workaround ?
Copy the translation of $txt['topicsolved'] in the file of language ModSettings.dutch.php that should solve your concern
Title: Re: Topic Solved Mod
Post by: MkC on May 18, 2007, 05:10:02 AM
Quote from: dumbelljunkie on May 18, 2007, 04:22:53 AM
Quote from: MkC on May 16, 2007, 07:01:15 PM
Quote from: dumbelljunkie on May 16, 2007, 03:19:36 PM
That's the thing, modifications.dutch has the same&nbsp; language files as the original english one, only translated if needed. So that's not an option, unless the language files are not correct ?

Indeed it worked like a charm ! How come it doesn't do this in the package ? Or is it a workaround ?
Copy the translation of $txt['topicsolved'] in the file of language ModSettings.dutch.php that should solve your concern

Arf, The MOD of origin dates a little, it is corrected in V12 and V12.1
Title: can't find the "Topic Solved Mod"
Post by: SMdot™ on May 23, 2007, 04:38:15 PM
who knows where the Topic Solved Mod is that works like the one on SMF where there's a button near the lock topic and sticky topic buttons???
Title: Re: Topic Solved Mod nightmare
Post by: PatriiickEmin on June 22, 2007, 07:34:43 PM
Hi, I have read all this long thread and tried several times to install and use the "topic solved" mod with no success at all. It's either all very complicated or I am completely dumb...
As I prefer to think it's very complicated, can we have a clear explanation or what this Mod is supposed to do? It is said in the short description "These boards will allow the topic started to ask questions and accept/reject answers to them.". But how can a topic ask questions?? Is it not rather forum users (posters) that ask questions? I have seen only one modification once I installed this Mod, there was a checkbox in the boards settings to allow this board as a topic solved board. I spent the next hour trying to figure out what to do next... Is it too much to ask what is the first step after having checked this checkbox?  :'(
Thanks.  ;D
Title: Re: Topic Solved Mod nightmare
Post by: MkC on June 24, 2007, 03:40:13 AM
Quote from: cadxp on June 22, 2007, 07:34:43 PM
Hi, I have read all this long thread and tried several times to install and use the "topic solved" mod with no success at all. It's either all very complicated or I am completely dumb...
As I prefer to think it's very complicated, can we have a clear explanation or what this Mod is supposed to do? It is said in the short description "These boards will allow the topic started to ask questions and accept/reject answers to them.". But how can a topic ask questions?? Is it not rather forum users (posters) that ask questions? I have seen only one modification once I installed this Mod, there was a checkbox in the boards settings to allow this board as a topic solved board. I spent the next hour trying to figure out what to do next... Is it too much to ask what is the first step after having checked this checkbox?  :'(
Thanks.  ;D
Version mod?
Version smf?
Can you describe your problems of installation?
Title: Re: Topic Solved Mod
Post by: PatriiickEmin on June 24, 2007, 04:04:02 AM
Mod version is "Users Online Today Mod  1.4.0"
SMF version is 1.1.2

No problem to install.

cannot see how this Mod works, thanks.
Title: Re: Topic Solved Mod
Post by: MkC on June 24, 2007, 08:32:38 AM
Quote from: cadxp on June 24, 2007, 04:04:02 AM
Mod version is "Users Online Today Mod  1.4.0"
SMF version is 1.1.2

No problem to install.

cannot see how this Mod works, thanks.
Users online? here it is the support of the MOD topic solved.....
Title: Re: Topic Solved Mod
Post by: PatriiickEmin on June 24, 2007, 09:29:34 AM

Users online? here it is the support of the MOD topic solved.....
[/quote]

I don't understand your answer. Where is the support of the MOD topic solved? How does this MOD actually work? How do we mark a topic as solved? Thanks
Title: Re: Topic Solved Mod
Post by: MkC on June 24, 2007, 11:18:07 AM
Quote from: cadxp on June 24, 2007, 09:29:34 AM

Users online? here it is the support of the MOD topic solved.....

I don't understand your answer. Where is the support of the MOD topic solved? How does this MOD actually work? How do we mark a topic as solved? Thanks
[/quote]
it's work good....
the MOD makes it possible to make a section of support, demo there:http://support.smfgratuit.org/Supports-board-17-0.html
Title: Re: Topic Solved Mod
Post by: PatriiickEmin on June 24, 2007, 11:30:20 AM
Bonjour, je suis allé sur votre site et je ne suis pas plus avancé, ma question était, comment utilise-t-on le MOD "Topic solved" après l'avoir installé?

Comment marque-t-on un sujet comme "résolu"?

merci.
Title: Re: Topic Solved Mod
Post by: MkC on June 24, 2007, 12:25:22 PM
Quote from: cadxp on June 24, 2007, 11:30:20 AM
Bonjour, je suis allé sur votre site et je ne suis pas plus avancé, ma question était, comment utilise-t-on le MOD "Topic solved" après l'avoir installé?

Comment marque-t-on un sujet comme "résolu"?

merci.
avec un bouton resolu, comme la fonction reouvrir.
Title: Re: Topic Solved Mod
Post by: PatriiickEmin on June 24, 2007, 01:26:29 PM
Donc, ce bouton "résolu" devrait apparaître en face de chaque premier message d'un fil de discussion, Est-ce exact? Sur le présent forum, je ne vois pas de tel bouton. S'agit-il d'une icône? Si oui pouvez vous me donner l'URL de l'image de cette icône? Cela m'aiderait à comprendre. Et lorsqu'on clique sur cette icône, quelle est l'action déclenchée? Le sujet du message est-il modifié pour indiquer en préfixe [résolu]? Pourriez vous m'indiquer l'URL d'un exemple d'un tel message qui est marqué comme résolu soit sur ce forum soit sur un autre forum? Merci.
Title: Re: Topic Solved Mod
Post by: MkC on June 24, 2007, 01:59:36 PM
exemple là: http://support.smfgratuit.org/Supports-board-17-0.html (http://support.smfgratuit.org/Supports-board-17-0.html)
descriptif du mod là: http://support.smfgratuit.org/Mod_Topic_Solved_v12_1-topic-66-0.html (http://support.smfgratuit.org/Mod_Topic_Solved_v12_1-topic-66-0.html)
Sinon mod de grudge là: http://custom.simplemachines.org/mods/index.php?mod=7 (http://custom.simplemachines.org/mods/index.php?mod=7)
Title: Re: Topic Solved Mod
Post by: PatriiickEmin on June 24, 2007, 02:30:47 PM
Merci.
Title: Re: Topic Solved Mod
Post by: shadow82x on June 25, 2007, 08:45:08 PM
Hi does anyone know how I could set it up like this site with no fancy background colors but just an icon that can make it go to the green check
Title: Re: Topic Solved Mod
Post by: MkC on June 26, 2007, 04:55:32 PM
Quote from: shadow82x on June 25, 2007, 08:45:08 PM
Hi does anyone know how I could set it up like this site with no fancy background colors but just an icon that can make it go to the green check
Instead of criticizing made the turn of the admin, the background is parametrable and can be inhibited
Title: Re: Topic Solved Mod
Post by: 5cakids on June 27, 2007, 01:19:27 PM
cool thanks
Title: Re: Topic Solved Mod
Post by: PoLlama on July 04, 2007, 09:56:53 PM
All posts by the topic starter are coming up yellow...

EDIT: After looking through the code I found out this was a feature, unfortunately the settings did not install on their own. (Yes Test passed, and it was not theme-specific).
Title: Re: Topic Solved Mod
Post by: MkC on July 05, 2007, 02:41:56 AM
Quote from: PoLlama on July 04, 2007, 09:56:53 PM
All posts by the topic starter are coming up yellow...

EDIT: After looking through the code I found out this was a feature, unfortunately the settings did not install on their own. (Yes Test passed, and it was not theme-specific).
Version mod?
Title: Re: Topic Solved Mod
Post by: PoLlama on July 07, 2007, 10:55:54 PM
Latest at time of post, SMF 1.1.3.

If you look back you can see others were also experiencing the problem.
Title: Re: Topic Solved Mod
Post by: MkC on July 09, 2007, 03:11:23 AM
Quote from: PoLlama on July 07, 2007, 10:55:54 PM
Latest at time of post, SMF 1.1.3.

If you look back you can see others were also experiencing the problem.
Not available, it's progress  ;)
Title: Re: Topic Solved Mod
Post by: padexx on July 23, 2007, 06:30:21 AM
QuoteNot available, it's progress
meaning the SMF 1.1.3 compatible version will be available soon?
Title: Re: Topic Solved Mod
Post by: casp3r on July 24, 2007, 08:42:36 AM
Apologises if this has been covered but when I set a board as 'Topic Solved' I loose the option to select a message icon when posting a message. Can this be fixed?

Many thanks in advance

Michael
Title: Re: Topic Solved Mod
Post by: MkC on July 25, 2007, 02:14:04 AM
Quote from: casp3r on July 24, 2007, 08:42:36 AM
Apologises if this has been covered but when I set a board as 'Topic Solved' I loose the option to select a message icon when posting a message. Can this be fixed?

Many thanks in advance

Michael
version of topic solved?
Title: Re: Topic Solved Mod
Post by: casp3r on July 25, 2007, 03:19:41 AM
Sorry should have mentioned that. It's 1.22
Title: Re: Topic Solved Mod
Post by: nderouch on July 25, 2007, 08:45:13 PM
I just installed this mod, but it does not appear to beworking.

I can go into the board and set the board as a topic solved board, but nothing seems to happen to the board.
Title: Re: Topic Solved Mod
Post by: nderouch on July 25, 2007, 09:16:46 PM
Quote from: GodOfWonders on March 31, 2007, 12:54:44 PM
Quote from: Metro111 on April 01, 2007, 01:19:07 AM
Quote from: GodOfWonders on March 31, 2007, 12:54:44 PM
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)

Thank you very much, that solved my problem also.
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)


I think this will fix my problem as well except that for some reason i cannot find the Modifications.english.php file. I found a file called Settings.English.php which is located in my theme.
Title: Re: Topic Solved Mod
Post by: jossanaijr on July 28, 2007, 11:38:22 PM
Quote from: GodOfWonders on March 31, 2007, 12:54:44 PM
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)

Thank you!!
Title: Re: Topic Solved Mod
Post by: NoDoze on August 16, 2007, 04:38:17 PM
I'm getting this error with this mod:
Quote
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's PC Backup Issues'
WHERE ID_MSG = 67' at line 2
File: /home/view/public_html/forum/Sources/Post.php
Line: 2382

And at that line is: WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);

And here is the complete code:

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved, m.subject
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved, $firstSubject) = mysql_fetch_row($request);
mysql_free_result($request);

if (strstr($firstSubject, '[SOLVED]') === false)
$firstSubject = '[SOLVED] ' . $firstSubject;

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

// If we are accepting
if ($accept == 1)
{
// Reset any previous accepts
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconOther]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER != $ID_MEMBER_POSTER", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconStarter]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER = $ID_MEMBER_POSTER", __FILE__, __LINE__);
// Update top message
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 2, icon = '$modSettings[topicsolvedIconAccept]', subject = '$firstSubject'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);
}


Now the catch? Yesterday this worked ok....
But today I'm getting this error...?
What happened?

How/what can I change to get it to work...

I know this thread is old, but links to the updated version of this mod are all DEAD! And the original doesn't include the "[SOLVED]" feature, which is what I want.... Any chances of getting this to work???

Thanks!
Title: Re: Topic Solved Mod
Post by: ~Unkn0wn~ on August 18, 2007, 11:14:31 PM
How to make it work on 1.1.3 theme AA New Damage, CLEANLY
Title: Re: Topic Solved Mod
Post by: WWEFreak666 on September 02, 2007, 12:19:21 PM
I'm having problems with this. I own a board that helps people and this mod would be amazing. It seems as though it doesn't want to work. If the mod is activated in a board, in the posts, it'll be yellow and once you click Accept Answer, it turns green. Also, When I installed this I had a error with my post.template.php and had to uninstall the mod, because people couldn't start a new thread, reply and start a new poll.

I'm using DilberMC, the one with the ability for people to choose the colour they'd like for the board.

Thanks  :)
Title: Re: Topic Solved Mod
Post by: MkC on September 03, 2007, 03:04:58 AM
@WWEFreak666/assasinkilla: mod 1.22 and v12 is available for theme default...... 1.22 is old version of topicsolved......
Title: Re: Topic Solved Mod
Post by: second on September 06, 2007, 03:20:38 PM
Quote from: MkC on May 05, 2007, 02:42:51 AM
Version 12.1: http://support.smfgratuit.org/Mod_Topic_Solved_v12_1-topic-66-0.html
it's free....

@Hendricius and vinzz: permission is in V12 or V12.1&nbsp; ;)

sorry where is the permission? i cant find it , but wanna use this amaizimg mod! :(
and i dont understand french... :(
Title: Re: Topic Solved Mod
Post by: MkC on September 06, 2007, 03:42:21 PM
English version: http://support.smfgratuit.org/index.php?topic=66.msg87#msg87
No version in deutsh
Title: Re: Topic Solved Mod
Post by: RRasco on September 11, 2007, 01:07:08 PM
Quote from: NoDoze on August 16, 2007, 04:38:17 PM
I'm getting this error with this mod:
Quote
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's PC Backup Issues'
WHERE ID_MSG = 67' at line 2
File: /home/view/public_html/forum/Sources/Post.php
Line: 2382

And at that line is: WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);

Now the catch? Yesterday this worked ok....
But today I'm getting this error...?
What happened?

How/what can I change to get it to work...

I know this thread is old, but links to the updated version of this mod are all DEAD! And the original doesn't include the "[SOLVED]" feature, which is what I want.... Any chances of getting this to work???

Thanks!


You have a single quote in your subject...

Replace this:

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved, m.subject
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved, $firstSubject) = mysql_fetch_row($request);
mysql_free_result($request);

if (strstr($firstSubject, '[SOLVED]') === false)
$firstSubject = '[SOLVED] ' . $firstSubject;

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

// If we are accepting
if ($accept == 1)
{
// Reset any previous accepts
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconOther]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER != $ID_MEMBER_POSTER", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconStarter]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER = $ID_MEMBER_POSTER", __FILE__, __LINE__);
// Update top message
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 2, icon = '$modSettings[topicsolvedIconAccept]', subject = '$firstSubject'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);
}


With this:

// Check user has permission to do this
$request = db_query("
SELECT m.ID_MSG, m.ID_MEMBER, m.topicSolved, m.subject
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);
list ($FIRST_MSG, $ID_MEMBER_POSTER, $firstSolved, $firstSubject) = mysql_fetch_row($request);
mysql_free_result($request);

        $firstSubject = str_replace("'", "\'", $firstSubject);

if (strstr($firstSubject, '[SOLVED]') === false)
$firstSubject = '[SOLVED] ' . $firstSubject;

if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
fatal_error("Hacker... ");

// If we are accepting
if ($accept == 1)
{
// Reset any previous accepts
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconOther]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER != $ID_MEMBER_POSTER", __FILE__, __LINE__);
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 0, icon = '$modSettings[topicsolvedIconStarter]'
WHERE ID_TOPIC = $topic AND topicSolved = 1 AND ID_MEMBER = $ID_MEMBER_POSTER", __FILE__, __LINE__);
// Update top message
db_query("
UPDATE {$db_prefix}messages
SET topicSolved = 2, icon = '$modSettings[topicsolvedIconAccept]', subject = '$firstSubject'
WHERE ID_MSG = $FIRST_MSG", __FILE__, __LINE__);
}
Title: Re: Topic Solved Mod
Post by: SNAFU0185 on September 17, 2007, 12:53:28 AM
ok i have smf1.13 and topic solved version 1.22 installed  but i think when i upgraded to 1.13 the mod has stoped working as i cant find the admin  section anymore to set what boards are related to this mod or to change the background colours ive tried the below but cant find the first file let alone what im sposed to find in it colesest match is ModSettings.english.php but it doesnt have the matching line of code
Quote from: GodOfWonders on March 31, 2007, 12:54:44 PM
I had the same problem when installing this package.  The admin link is not added for some reason but you can do this manually.

Open ModSettings.php and find this:
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Add this code after it:
'solved' => array(
'title' => $txt['topicsolved'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


Next open Modifications.english.php and find:
?>
at the bottom of the page.

Before it add:
$txt['topicsolved'] = 'Topic Solved';

Upload the files into the correct directories and then go into your administration and click on: Features and Options.  You should see a link called: Topic Solved right in front of the Karma link.

Hope this helps. :)
can anyone help please?
Title: Re: Topic Solved Mod
Post by: MkC on September 17, 2007, 04:17:13 AM
yes, upgrade v1.22 to v12  ;)
Title: Re: Topic Solved Mod
Post by: Neorics on September 17, 2007, 12:46:39 PM
so does this really work with smf 1.1.3 or not?
Title: Re: Topic Solved Mod
Post by: Dragooon on September 17, 2007, 01:32:19 PM
It should....
Title: Re: Topic Solved Mod
Post by: SNAFU0185 on September 17, 2007, 10:27:19 PM
Quote from: MkC on September 17, 2007, 04:17:13 AM
yes, upgrade v1.22 to v12  ;)
the link on the site is for  1.22 as the latest
http://custom.simplemachines.org/mods/index.php?mod=7
so where do i get version v12
Title: Re: Topic Solved Mod
Post by: MkC on September 18, 2007, 04:37:55 AM
v12.1: http://support.smfgratuit.org/Mod_Topic_Solved_v12_1-topic-66-0.html
Title: Re: Topic Solved Mod
Post by: SNAFU0185 on September 19, 2007, 11:32:25 PM
um i cant read the page its in french and when i download the zip the lanuage file is also french any ideas where an english versin may be
Title: Re: Topic Solved Mod
Post by: MkC on September 20, 2007, 03:01:53 AM
Quote from: SNAFU0185 on September 19, 2007, 11:32:25 PM
um i cant read the page its in french and when i download the zip the lanuage file is also french any ideas where an english versin may be

http://support.smfgratuit.org/index.php?topic=66.msg87#msg87
Can be to learn to use a mouse?
Title: Re: Topic Solved Mod
Post by: RRasco on October 09, 2007, 06:58:57 PM
I have it running on my 1.1.3.  Installed fine.
Title: Re: Topic Solved Mod
Post by: mynd on October 12, 2007, 08:33:50 AM
Hello there,

Can someone please post a link to the most recent version of this mod?  I have no idea at this point what to download for my forums

http://www.myndpollution.com/forums/

Please someone, just post a link to the MOST RECENT VERSION and indicate if anything else is needed prior to installation of the MOST RECENT VERSION.

I have never installed this before, so this will be the first time.

Thank you in advance!
Title: Re: Topic Solved Mod
Post by: MkC on October 12, 2007, 09:15:57 AM
V12: http://support.smfgratuit.org/Mod_Topic_Solved_v12-topic-67-0.html
after upgrade V12.1: http://support.smfgratuit.org/index.php?topic=66.msg87#msg87
Title: Re: Topic Solved Mod
Post by: mynd on October 12, 2007, 09:29:53 AM
So what you are saying is to install

http://support.smfgratuit.org/index.php?PHPSESSID=0032afbcdb325934a7e10a09a2420e90&action=dlattach;topic=67.0;attach=371
V12 - English

and then once that is installed I can immediately without changing settings install

http://support.smfgratuit.org/index.php?action=dlattach;topic=66.0;attach=342
V12.1 English

and that will be it?  Done.  This all works with version 1.1.4?
Title: Re: Topic Solved Mod
Post by: TrueSatan on October 12, 2007, 10:38:05 AM
Please see http://custom.simplemachines.org/mods/index.php?mod=7 (http://custom.simplemachines.org/mods/index.php?mod=7) it clearly states
QuoteLatest Version:
    1.22

The mod is essentially unsupported as Grudge has taken on an important postition working on the core of SMF and no longer has time to work on his old mods. He has made them available to be taken over but other developers have not taken them on thus this mod was last updated for SMF 1.1.2 on Feb13 2007 and my well not get any further updates.
Title: Re: Topic Solved Mod
Post by: MkC on October 12, 2007, 02:32:08 PM
@mynd:
yes for installation  ;)
QuoteZip english compatible smf 1.1.2/1.1.3/1.1.4:
It answers your question?

@TrueSatan: I understood nothing.....
Title: Re: Topic Solved Mod
Post by: TrueSatan on October 12, 2007, 02:42:03 PM
Mkc your versions appear to be unofficial ones. Have you officially taken over this mod and if so will you be updating the official SMF Mod page to show same?
Title: Re: Topic Solved Mod
Post by: MkC on October 12, 2007, 03:24:45 PM
Quote from: TrueSatan on October 12, 2007, 02:42:03 PM
Mkc your versions appear to be unofficial ones. Have you officially taken over this mod and if so will you be updating the official SMF Mod page to show same?
mon mod est officiel, le problème c'est qu'étant écrit à la base sur la langue française, on me refuse le droit de le remonter dans l'interface du site. J'en ai une dizaine de mod officiel comme le PFV (picture forum view) ou banner dans le même cas. Contrairement au site officiel, je fais le supports de mes mods depuis 2004.

Maintenant rien ne t'empêche d'installer le mod et de nous indiquer les erreurs que tu rencontres pour les corriger, ainsi on validera la version 1.22 sur la 1.1.4



My mod is official, the problem it is that being written on the base on the French language, we don't accept me the right to go back up it in the interface of the site. I have about ten of it of mod official as the PFV (picture view forum) or banner in the same case. Contrary to the official site, I make supports of my mods since 2004.

Maintaining nothing prevents you from installing the mod and to indicate us the errors which you meet to correct them, so we shall validate the version 1.22 on 1.1.4
Title: Re: Topic Solved Mod
Post by: lonrot on October 28, 2007, 05:02:35 PM
Hello, I can't install this package properly:

I have attached two pictures, the first one is the install preview with the edited files, as you can see there are several files which present errors.

And the second picture shows the current installed packages.

Thank you.
Title: Re: Topic Solved Mod
Post by: MkC on October 29, 2007, 04:08:01 AM
Incompatible with tyniportal  :'(
Title: Re: Topic Solved Mod
Post by: Neorics on October 29, 2007, 04:58:09 AM
zomg!!!! no wonder it's not working for me...
Title: Re: Topic Solved Mod
Post by: MkC on October 29, 2007, 05:18:02 AM
Needs that I made a speciale version for this tinyportal   :-\
Title: Re: Topic Solved Mod
Post by: Neorics on October 29, 2007, 05:45:01 AM
Quote from: MkC on October 29, 2007, 05:18:02 AM
Needs that I made a speciale version for this tinyportal   :-\

yes! definitely!!! this would be awesome if it's available for TP as well
Title: Re: Topic Solved Mod
Post by: lonrot on October 30, 2007, 11:32:48 AM
Oh no!, what about paying someone all of us to make a compatible version, like putting 5 dollars each, so if we are many then the profit would be enough.
Title: Re: Topic Solved Mod
Post by: MkC on October 30, 2007, 12:59:23 PM
Quote from: lonrot on October 30, 2007, 11:32:48 AM
Oh no!, what about paying someone all of us to make a compatible version, like putting 5 dollars each, so if we are many then the profit would be enough.
??
Topicsolved is free  ???
why paid?
Title: Re: Topic Solved Mod
Post by: Neorics on October 30, 2007, 01:17:59 PM
because nobody wanna make a tinyportal version
Title: Re: Topic Solved Mod
Post by: lonrot on October 30, 2007, 01:46:03 PM
Quote from: Neorics on October 30, 2007, 01:17:59 PM
because nobody wanna make a tinyportal version

Exactly, so who else is gonna support my idea, besides myself?
If we are enough people we could post a [PAID] request thread and express how much we can pay for this special Tiny Portal version.
Title: Re: Topic Solved Mod
Post by: MkC on October 30, 2007, 02:46:41 PM
Quote from: Neorics on October 30, 2007, 01:17:59 PM
because nobody wanna make a tinyportal version
Errors excepted in my part, I said that it was necessary that I make a version for tinyportal, therefore it is under way, as I did not write that this mod and that I do not make that this, this takes a little of time but it is under way.....
Title: Re: Topic Solved Mod
Post by: Neorics on October 30, 2007, 03:02:05 PM
Quote from: MkC on October 30, 2007, 02:46:41 PM
Quote from: Neorics on October 30, 2007, 01:17:59 PM
because nobody wanna make a tinyportal version
Errors excepted in my part, I said that it was necessary that I make a version for tinyportal, therefore it is under way, as I did not write that this mod and that I do not make that this, this takes a little of time but it is under way.....

woah cool, thanks dude... this is really appreciated
Title: Re: Topic Solved Mod
Post by: pirat3 on October 31, 2007, 08:04:45 PM
someone make a tinyportal version plez :(
Title: Re: Topic Solved Mod
Post by: lonrot on November 07, 2007, 06:22:43 PM
Quote from: Neorics on October 30, 2007, 03:02:05 PM
Quote from: MkC on October 30, 2007, 02:46:41 PM
Quote from: Neorics on October 30, 2007, 01:17:59 PM
because nobody wanna make a tinyportal version
Errors excepted in my part, I said that it was necessary that I make a version for tinyportal, therefore it is under way, as I did not write that this mod and that I do not make that this, this takes a little of time but it is under way.....

woah cool, thanks dude... this is really appreciated

Well, that's a relief ^_^
Title: Re: Topic Solved Mod
Post by: Tramposch on November 07, 2007, 07:07:33 PM
this is exactly what i was looking for! thanks.
Title: Re: Topic Solved Mod
Post by: basys on December 02, 2007, 09:23:03 AM
Hi Folks

Quote from: MkC on September 06, 2007, 03:42:21 PM
English version: http://support.smfgratuit.org/index.php?topic=66.msg87#msg87

MkC-
Very much appreciate your upgrading this package.

If this mod can't be uploaded to SMF
then for us non-french speakers
can someone please host this on -
- an english page
- an english site that we don't have to sign up to view


EDIT
For english speakers the correct link without having to login, is -
http://support.smfgratuit.org/Mod_Topic_Solved-topic-595-0.html (http://support.smfgratuit.org/Mod_Topic_Solved-topic-595-0.html)
See English at foot of page.

Could someone please post clear instructions & filenames for the sequence of -
- uninstall old version
- install new version
- install update version


ATB
Paul
Title: Re: Topic Solved Mod
Post by: forumpassion on December 08, 2007, 06:56:55 AM
Sorry, mkc cannot answer any more he was banished to have to post a correction for smf 2.0
Title: Re: Topic Solved Mod
Post by: BigMike on February 08, 2008, 01:29:00 PM
Quote from: basys on December 02, 2007, 09:23:03 AM
For english speakers the correct link without having to login, is -
http://support.smfgratuit.org/Mod_Topic_Solved-topic-595-0.html (http://support.smfgratuit.org/Mod_Topic_Solved-topic-595-0.html)
See English at foot of page.

Paul

Paul,

I downloaded and attempted to install "TopicSolved_V12_smf112_english.zip" into my 1.1.4 (it says it is compatible) however I get errors trying to run the TopicSolvedPdb.php file.

I am using my Package Manager, and when I applied the mod, it took a looooooooooooong time, and then it displayed the following error message:
Database Error
Duplicate entry 'topicsolvedLockSolved' for key 1
File: /var/www/vhosts/marlincrawler.com/subdomains/board/httpdocs/Packages/temp/TopicSolvedPdb.php
Line: 53


It took a loooong time so I think it already processed my database and all, so I am thinking about removing that step from the mod file and then running the rest of the modification, but umm yeah ;) probably not a good idea  :D

Anyways, I am just wondering if anyone has gotten this mod to install on 1.1.4. I installed Grudge's original mod, which went well except the action page to setup all the options (action=featuresettings;sa=solved) is NO WHERE in my admin center, I had to read the modification file to see how to even configure the mod.

No surprise, I know the mod is not designed for 1.1.4, but after I got it setup and working, next it lacks any kind of permissions and only admins can use this feature. I was about to start tweaking it when I saw your reply above.

Anyways, just wondering if anyone has gotten MkC's version to install into 1.1.4


EDIT [11:15am]:

Ok, for any new user who is installing Grudge's original Solved mod onto SMF 1.1.4, it works just fine however some problem yet exist. These problems may have been covered in this thread, but I did not want to search through 18 pages to find it, so I just figured out what needs to be done and here it is in easy steps:

Problem #1: The link in the Admin Center > Features and Options for the settings of the mod is not viewable / it does not exist.

Solution: After the mod has been installed, edit your /Sources/ModSettings.php and search for:
loadLanguage('CustomProfile');
// Load up all the tabs...
$context['admin_tabs'] = array(


Depending on what current modifications you have made to your forum, you will need to add the following code to the array list above:
'solved' => array(
'title' => $txt['topicsolved_title'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],
),


You'll notice you have different arrays each of which are the menu tabs of your Admin Center > Features and Options section, such as 'basic', 'layout', 'profile', etc. Where ever you decide to add the 'solved' array shown above, make sure if you want it to be the last tab in your Features and Options section, then to include the 'is_last' => true, to the solved array if you wish.

Now you can access the settings page for Grudge's original Solved mod

Problem #2: Only admins have access to this nice feature.

Solution: After the mod has been installed, edit your /Sources/Post.php. Find:
if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']))
and replace with:
if ($ID_MEMBER != $ID_MEMBER_POSTER && !isset($user_info['is_admin']) && !allowedTo('moderate_board'))

Next, edit your /Themes/<theme>/Display.template.php. Find:
if (($context['user']['started'] || $context['user']['is_admin']) && isset($context['topicSolved']))
and replace with:
if (($context['user']['started'] || allowedTo('moderate_board') || $context['user']['is_admin']) && isset($context['topicSolved']))


Now Grudge's original mod for this will work with SMF 1.1.4 perfectly. I tried installing the mod basys linked to above, but it would not work. Then I went back to the original mod made by Grudge and make the above changes and now it is working perfectly.

Thanks Grudge! Awesome work!
Regards,
BigMike
Title: Re: Topic Solved Mod
Post by: Rafferty on February 18, 2008, 02:11:00 AM
the original 1.22 appears to be working for me however I can't find anywhere to change the background colours? A bit of advice please someone?
Title: Re: Topic Solved Mod
Post by: mugz on March 28, 2008, 02:21:13 PM
There is a problem that i am getting with this Mod and i am not sure why...
When i install it ... it installs successfully ... and i know it has installed coz when i go in to boards and click on modify i can see a little check mark ... but the issue i am having is .. i am not seeing the text along side that check box ...
neither do i see the buttons for topic:solved etc... on each post...
so i wonder what i am doing wrong ... coz when i use the SMF parser... and click on install to my current theme ... it shows nothing to add to my templates for editing...

I am using the Kelp panic theme. and my website is orangepostings.com

please help me .. will really appreciate it!
PS:- could it be because i am using version 1.1.4 of SMF?
Title: Re: Topic Solved Mod
Post by: LeGaS on March 30, 2008, 09:53:46 AM
If you don't see the link in Features and options, then copy this to the address bar:
http://yourdomain.com/forum/index.php?action=featuresettings;sa=solved
Title: Re: Topic Solved Mod
Post by: mugz on March 30, 2008, 06:15:51 PM
Hmm it says that page not found...
Title: Re: Topic Solved Mod
Post by: SantaClaws on April 03, 2008, 10:24:20 AM
i tried to add it and it sed Hacking Attempt...
Title: Re: Topic Solved Mod
Post by: nunoleite on June 13, 2008, 12:58:32 PM
If you don't see the option you must do this:

File
./Sources/ModSettings.php

find:
'is_last' => true,

Add Before:
),
'solved' => array(
'title' => $txt['topicsolved_title'],
'href' => $scripturl . '?action=featuresettings;sa=solved;sesc=' . $context['session_id'],


Please, correct your Install Instructions.
Title: Re: Topic Solved Mod - linkedin / yahoo answers
Post by: unformatted_ on July 03, 2008, 06:03:27 PM
It´s possible this mod do this?
-who create the topic can choose the best answer
-when the topic creater choose the best answer then that post should be in other color or something easy to understand that is the best answer
-the member will have in the profile "X best answers"

I think is a nice mod to increase the quality posting in any forum

see a sample here:
http://www.linkedin.com/answers/product-management/pricing/PRM_PRC/258373-3709827?goback=%2Eavq_261369_1214685_0_*2
Title: Re: Topic Solved Mod
Post by: unformatted_ on July 04, 2008, 09:31:46 AM
In attach a print screen when I choose the good answers. If I choose only one, then this is the best answer
Title: Re: Topic Solved Mod
Post by: stmartin on July 09, 2008, 11:38:00 AM
Where is the Topic Solved button? i can see only accept and reject?
Title: Re: Topic Solved Mod
Post by: Nibogo on July 26, 2008, 10:09:18 PM
Quote from: stmartin on July 09, 2008, 11:38:00 AM
Where is the Topic Solved button? i can see only accept and reject?

Yes , simplemachines have another version of this mod , the Topic Solved of Grudge have the "Accept" and "Reject"

So how i can have something similar to the smf topic solved??
Title: Re: Topic Solved Mod
Post by: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.
Title: Re: Topic Solved Mod
Post by: Nibogo on July 30, 2008, 06:43:14 PM
Quote from: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.

WOW!!!!

Really awesome mod , this is what I am looking for.

Thanks a lot
Title: Re: Topic Solved Mod
Post by: ArkServer on August 04, 2008, 08:04:00 AM
Quote from: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.

installed on 1.1.5 but dont see any admin settings?
Title: Re: Topic Solved Mod
Post by: Nibogo on August 04, 2008, 06:47:19 PM
Quote from: ArkServer on August 04, 2008, 08:04:00 AM
Quote from: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.

installed on 1.1.5 but dont see any admin settings?

In

Admin -->Forum --> Boards --> Topic Solved Settings
Title: Re: Topic Solved Mod
Post by: ArkServer on August 05, 2008, 08:58:14 AM
Quote from: NIBOGO on August 04, 2008, 06:47:19 PM
Quote from: ArkServer on August 04, 2008, 08:04:00 AM
Quote from: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.

installed on 1.1.5 but dont see any admin settings?

In

Admin -->Forum --> Boards --> Topic Solved Settings

Thanks, i figured it out.  :P
Title: Re: Topic Solved Mod
Post by: splatman on August 12, 2008, 07:32:55 PM
Ok, I tried to figure this out for some time and I'm finally throwing in the towel for help.  I keep getting this error whenever I edit or add a board:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?
Title: Re: Topic Solved Mod
Post by: TheDel on August 13, 2008, 02:31:04 PM
can we set permissions for this?
Looks like admin is the only one who sees this.

well at least on my board
Title: Re: Topic Solved Mod
Post by: Dmccabe on August 14, 2008, 07:57:41 AM
Hi I have some questions about this mod.

1) Is it possible to get this in a zip file rather than .tar.gz as I dont seem able to open then on XP Machine.

2) What I am hoping this mod does is allow users to mark "their own" threads as solved and also allow moderators/admins to mark the thread as solved, Is this what this mod does?

Thanks in advance!
Title: Re: Topic Solved Mod
Post by: splatman on August 14, 2008, 10:13:45 AM
Quote1) Is it possible to get this in a zip file rather than .tar.gz as I dont seem able to open then on XP Machine.

Load the compressed file with your SMF forum - Admin> Packages> Download Packages - and then point to the compressed file.  The forum will upload and extract it.  Don't try and unzip it before using it.

I made this mistake when I first started - then someone told me how to get the mod installed.

Title: Re: Topic Solved Mod
Post by: Dmccabe on August 14, 2008, 10:17:55 AM
lol thanks splatman!
Title: Re: Topic Solved Mod
Post by: Dmccabe on August 14, 2008, 10:26:55 AM
hmmm this is not quite what I was after, as far as I can tell all it does it marks the thread in bright green when you view it.

I need something that is actually going to change the topic title so it has the word [SOLVED] in front of it and allows the user to mark it solved, the mods or admins to do the same.
Title: Re: Topic Solved Mod
Post by: TheDel on August 14, 2008, 11:38:33 PM
Quote from: Dmccabe on August 14, 2008, 10:26:55 AM
hmmm this is not quite what I was after, as far as I can tell all it does it marks the thread in bright green when you view it.

I need something that is actually going to change the topic title so it has the word [SOLVED] in front of it and allows the user to mark it solved, the mods or admins to do the same.
It does if you type SOLVED in the prefix and set method on BOTH

Now my question again.......... are admins the only ones w/the ability to set it as solved. Is there a way so that the topic starter can do this?
Title: Re: Topic Solved Mod
Post by: splatman on August 17, 2008, 10:36:14 PM
QuoteNow my question again.......... are admins the only ones w/the ability to set it as solved. Is there a way so that the topic starter can do this?

Mine locks and is marked [SOLVED] as soon as you click on the check mark.  Whoever starts the thread can lock or make it solved.  I think I had to add some code to make it automatically lock AND show as [SOLVED].  I'm sorry though, I don't know what code I had to add.  I think it was posted in this thread on the first few pages.


And my question again - keep throwing errors whenever I create a new board or edit one:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?
Title: Re: Topic Solved Mod
Post by: TheDel on August 18, 2008, 09:22:03 AM
Quote from: splatman on August 17, 2008, 10:36:14 PM
QuoteNow my question again.......... are admins the only ones w/the ability to set it as solved. Is there a way so that the topic starter can do this?

Mine locks and is marked [SOLVED] as soon as you click on the check mark.  Whoever starts the thread can lock or make it solved.  I think I had to add some code to make it automatically lock AND show as [SOLVED].  I'm sorry though, I don't know what code I had to add.  I think it was posted in this thread on the first few pages.



It works for me but I know its not showing for the topic starter. I just hope there someone that can answer this.
Title: Re: Topic Solved Mod
Post by: splatman on August 18, 2008, 12:57:18 PM
You may have already tried this, and I'm not near my computer right now (iPhone), but see if there are any "permissions" that need to be set to allow other members to have the ability to create a topic solved topic. 

Just a thought - again sorry I can't point you to the exact area.  I'll try and remember to look when I get home from work, perhaps I can give you the right place to look then.

It would be nice if the mod owner could offer some assistance as well,  Are they NOT supporting this mod anymore?
Title: Re: Topic Solved Mod
Post by: renlok on August 30, 2008, 01:00:40 PM
I just installed this, awesome mod btw. But has anyone made something where it shows a list of top user eg people who have given good answers the most? or would i have to code this myself?
Title: Re: Topic Solved Mod
Post by: zeridon on October 03, 2008, 05:18:56 AM
Hi,
This mod looks OK but i need it a bit simplified (maybe oversimplified)

I really don't need al that permisions and stuff. I just want it to be relegated to a button which changes the topic icon and prefixes the subject with a predefined tag.

Can somebody give me hints how to achive it?
Title: Re: Topic Solved Mod
Post by: splatman on October 04, 2008, 01:49:08 PM
Hey Grudge - any way you can assist with this issue??

I keep getting errors when I add or edit a board - here's the error:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597

Line 597 in ManageBoards.php reads:

$boardOptions['topic_solved'] = $_POST['topicsolved'];
Title: Re: Topic Solved Mod
Post by: Nibogo on October 21, 2008, 09:59:39 PM
Grudge or stmartin do you have any update for smf 2.0 ??
Title: Re: Topic Solved Mod
Post by: Pho3niX90 on November 02, 2008, 03:34:29 AM
How do i change the background color, reason being my forum is black with gray text, to the yellow and green just makes it un readable??
Title: Re: Topic Solved Mod
Post by: splatman on November 02, 2008, 06:36:00 AM
QuoteHow do i change the background color, reason being my forum is black with gray text, to the yellow and green just makes it un readable??

Go into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I'm not the mod creator, but since it seems that he has decided not to answer questions here anymore, I thought I'd at least answer.


I've been asking the following questions since August 12, 2008:

QuoteOk, I tried to figure this out for some time and I'm finally throwing in the towel for help.  I keep getting this error whenever I edit or add a board:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?


I'd at least like a, "I don't know how to fix that response" from the mod creator / supporter.  Isn't this the support forum for the mod?
Title: Re: Topic Solved Mod
Post by: The Saviour on November 02, 2008, 11:17:06 PM
Is there a version of this compatible with 1.1.6...and if so, why isn't it listed on the SMF site under "Customize"?

Thanks to all who reply...
Title: Re: Topic Solved Mod
Post by: splatman on November 03, 2008, 06:20:53 AM
I use the 1.22 version of the mod and am running 1.16 of SMF with no problems other than what I describe above.  Other than that it works fine.
Title: Re: Topic Solved Mod
Post by: The Saviour on November 03, 2008, 08:50:47 AM
Installed and working on 1.1.6.

No issues, as of yet.
Title: Re: Topic Solved Mod
Post by: Pho3niX90 on November 08, 2008, 11:05:55 AM
Quote from: splatman on November 02, 2008, 06:36:00 AM
QuoteHow do i change the background color, reason being my forum is black with gray text, to the yellow and green just makes it un readable??

Go into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I'm not the mod creator, but since it seems that he has decided not to answer questions here anymore, I thought I'd at least answer.


I've been asking the following questions since August 12, 2008:

QuoteOk, I tried to figure this out for some time and I'm finally throwing in the towel for help.  I keep getting this error whenever I edit or add a board:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?


I'd at least like a, "I don't know how to fix that response" from the mod creator / supporter.  Isn't this the support forum for the mod?

Thanks splat, but i dont have those options in my setting as u descibed, i will try checking in the sql database thoug
Title: Re: Topic Solved Mod
Post by: Col on November 10, 2008, 04:06:03 PM
Quote from: splatman on August 17, 2008, 10:36:14 PM
And my question again - keep throwing errors whenever I create a new board or edit one:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?

I'm not a coder, in any way shape or form, but my guess is that the code modifications were made only to your default admin template. Add the code modifications to the theme(s) you (and your fellow admins) use, and I think the errors will go away - I think! :-\
Title: Re: Topic Solved Mod
Post by: Burke ♞ Knight on November 14, 2008, 12:42:06 PM
Quote from: NIBOGO on October 21, 2008, 09:59:39 PM
Grudge or stmartin do you have any update for smf 2.0 ??

I'd really like to see a SMF 2.0 version of STMartin's mod. :)
Title: Re: Topic Solved Mod
Post by: Nibogo on November 14, 2008, 05:10:36 PM
Quote from: BurkeKnight on November 14, 2008, 12:42:06 PM
Quote from: NIBOGO on October 21, 2008, 09:59:39 PM
Grudge or stmartin do you have any update for smf 2.0 ??

I'd really like to see a SMF 2.0 version of STMartin's mod. :)

Me too , I sent a PM to stmartin but he dont reply the message :/
Title: Re: Topic Solved Mod
Post by: asmith on December 29, 2008, 12:39:28 AM
QuoteGo into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I've installed the mod successfully on 1.1.7
There's NOTHING on features and options about it.
I tried uninstalling and installing again... nothing happens. Why I don't have any settings about it?
Title: Re: Topic Solved Mod
Post by: Burke ♞ Knight on December 29, 2008, 12:41:11 AM
Quote from: asmith on December 29, 2008, 12:39:28 AM
QuoteGo into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I've installed the mod successfully on 1.1.7
There's NOTHING on features and options about it.
I tried uninstalling and installing again... nothing happens. Why I don't have any settings about it?

What language is your forum set at? Needs to be English not English-utf8
Title: Re: Topic Solved Mod
Post by: asmith on December 29, 2008, 01:43:35 AM
no language is installed. in server settings it is English and that selection box has nothing else.
I see all parts of the mod at  posts, and they seem to be working fine.  but no settings at all.

any idea?
Title: Re: Topic Solved Mod
Post by: XerraX on December 29, 2008, 03:03:19 AM
Quote from: asmith on December 29, 2008, 12:39:28 AM
QuoteGo into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I've installed the mod successfully on 1.1.7
There's NOTHING on features and options about it.
I tried uninstalling and installing again... nothing happens. Why I don't have any settings about it?

i have the same problem. Language is set to English.

Edit: but i can open the settings with smf/index.php?action=featuresettings;sa=solved
Title: Re: Topic Solved Mod
Post by: asmith on December 29, 2008, 03:54:35 AM
Yes, I can too. but the link is not in feature and options.

btw,  This mod gives EVERY post accept/reject . 

Is it another mod that gives the topic "topic solved"  ?  exactly like SMF forum (this one) .

I want to mark a topic as solved, not each post in that topic. 
What should I do ?
Title: Re: Topic Solved Mod
Post by: Xlife92 on March 25, 2009, 01:45:19 AM
Can you possibly run and update of this mod for 1.1.8? It would be much appreciated.
Title: Re: Topic Solved Mod
Post by: B.SkiLLs on April 10, 2009, 09:53:12 PM
Quote from: Xlife92 on March 25, 2009, 01:45:19 AM
Can you possibly run and update of this mod for 1.1.8? It would be much appreciated.

please. agreed also ^^^

1.1.8 plus 1.1.9 accept to if is able to. Or i can mod it to then prob.

as matter of fact let me dl the mod and see if i can mod it to work, since nobody else or mod creator cares or is posting no more about this one.

I just be using check marks.



Title: Re: Topic Solved Mod
Post by: Dragooon on April 11, 2009, 01:36:12 AM
Quote from: B.SkiLLs on April 10, 2009, 09:53:12 PM
Quote from: Xlife92 on March 25, 2009, 01:45:19 AM
Can you possibly run and update of this mod for 1.1.8? It would be much appreciated.

please. agreed also ^^^

1.1.8 plus 1.1.9 accept to if is able to. Or i can mod it to then prob.

as matter of fact let me dl the mod and see if i can mod it to work, since nobody else or mod creator cares or is posting no more about this one.

I just be using check marks.




It should work with SMF 1.1.8, if it says the version is not compatible try adding ;version_emulate=1.1.2 at the end of Package Manager URL.
Title: Re: Topic Solved Mod
Post by: B.SkiLLs on April 11, 2009, 01:43:04 AM
Quote from: Dragooon on April 11, 2009, 01:36:12 AM
Quote from: B.SkiLLs on April 10, 2009, 09:53:12 PM
Quote from: Xlife92 on March 25, 2009, 01:45:19 AM
Can you possibly run and update of this mod for 1.1.8? It would be much appreciated.

please. agreed also ^^^

1.1.8 plus 1.1.9 accept to if is able to. Or i can mod it to then prob.

as matter of fact let me dl the mod and see if i can mod it to work, since nobody else or mod creator cares or is posting no more about this one.

I just be using check marks.




It should work with SMF 1.1.8, if it says the version is not compatible try adding ;version_emulate=1.1.2 at the end of Package Manager URL.

ok cool thxs. I was going to try that or by adding the 1.1.7 and 1.1.8 in the xml install file and see also if they have it set like that but on this one i dont think they do so...

I will give it a shot either way, thanks :)




Title: Re: Topic Solved Mod
Post by: djkmmo on May 26, 2009, 11:17:04 AM
Quote from: stmartin on July 30, 2008, 10:45:32 AM
Here is one private Topic Solved mod. It works like a charm.

Thanks for the mod. Your mod, combined with grudges, is a really neat solution for support boards.

This is the swedish translation for stmartins mod:


  // Topic solved
$txt['topic_solved'] = 'Markera som LÖST';
$txt['topic_solved_settings'] = 'Inställningar Ämne löst';
$txt['topic_solved_description'] = 'Ändra inställningar för Ämne löst-modulen.';
$txt['topic_solved_error_board'] = 'Ämnen i denn tavla kan inte markeras som lösta';
$txt['topic_solved_prefix'] = 'Ämnesprefix';
$txt['topic_solved_prefix_help'] = 'Denna text används för att markera en tråd som löst; vanligen används [LÖST].';
$txt['topic_solved_icon'] = 'Meddelandeikon';
$txt['topic_solved_icon_help'] = 'Ange vilken ikon som skall användas (utan filändelse). "solved.gif" anges som "solved".';
$txt['topic_solved_icon_empty'] = 'Vänligen ange vilken ikon du vill använda, om du vill använda ikonmarkering på lösta ämnen.';
$txt['topic_solved_type'] = 'Markeringsmetod för Lösta ämnen';
$txt['topic_solved_type_help'] = 'Du kan välja metod för att markera ämnen som lösta. Antingen kan ämnesikonen ändras till en bock eller så kan ämnesrubriken prefixeras. Dessa me$
$txt['topic_solved_type_array'] = array('Båda', 'Ämnesprefix', 'Ämnesikon');
$txt['topic_solved_boards'] = 'Tavlor';
$txt['topic_solved_boards_help'] = 'Välj i vilka tavlor som ämnen kan markeras som lösta.';
$txt['topic_solved_boards_all'] = 'Alla tavlor';
$txt['topic_solved_lock'] = 'Lås tråd';
$txt['topic_solved_lock_help'] = 'Skall tråden låsas efter att ämnet markerats som löst?';
$txt['topic_unsolved'] = 'Markera som OLÖST';
Title: Re: Topic Solved Mod
Post by: andrewpage on June 21, 2009, 08:33:24 PM
How do I change the color that it changes to once its solved? It looks horrible against my background.

Thanks.
Title: Re: Topic Solved Mod
Post by: Bluey on July 05, 2009, 01:16:55 AM
Is this released for 1.1.9
Title: Re: Topic Solved Mod
Post by: wayneh on July 13, 2009, 02:12:18 PM
PROBLEMS with this Mod in 1.1.9

I installed the mod, checked each file by hand to be sure the changes were made.

Problems:
1) If I use Modify and set a Board to allow TopicSolved, the background of the Topics is yellow. I don't want any changes to the existing backgrounds or theme colors. - How can I fix this?

2) I don't see any Admin controls for this mod, except the TopicSolved checkbox when I modify the Board.

3) I don't see any links in the Topic to mark it 'solved'

4) I unchecked 'TopicSolved' and saved the changes, but it still always shows as checked. I can't turn IT OFF!
Title: Re: Topic Solved Mod
Post by: Gaurav Arora on July 22, 2009, 04:31:18 AM
Quote from: splatman on November 02, 2008, 06:36:00 AM
QuoteHow do i change the background color, reason being my forum is black with gray text, to the yellow and green just makes it un readable??

Go into Admin>Feature and Options>Topic Solved Options and near the bottom you can change the color values.

I'm not the mod creator, but since it seems that he has decided not to answer questions here anymore, I thought I'd at least answer.


I've been asking the following questions since August 12, 2008:

QuoteOk, I tried to figure this out for some time and I'm finally throwing in the towel for help.  I keep getting this error whenever I edit or add a board:

8: Undefined index: topicsolved
File: /forum/Sources/ManageBoards.php
Line: 597


Line 597 in ManageBoards.php reads as:

$boardOptions['topic_solved'] = $_POST['topicsolved'];

Can anyone assist please?


I'd at least like a, "I don't know how to fix that response" from the mod creator / supporter.  Isn't this the support forum for the mod?


There are no options available Admin>Feature and Options>Topic Solved Options for this mod how to change the color?
Title: Re: Topic Solved Mod
Post by: Remixed on July 22, 2009, 02:40:47 PM
What color do you want it to be? And I'll do it for you.

-Remixed
Title: Re: Topic Solved Mod
Post by: Yigal on July 28, 2009, 03:45:04 PM
Any updates for 2.x ?
Title: Re: Topic Solved Mod
Post by: Nibogo on July 28, 2009, 05:52:22 PM
Quote from: Yigal on July 28, 2009, 03:45:04 PM
Any updates for 2.x ?

http://custom.simplemachines.org/mods/index.php?mod=1601
Title: Re: Topic Solved Mod
Post by: [A-US]James246 on August 01, 2009, 11:45:05 PM
I get the following error when I post a new topic in one of the forums where this is enabled.


Template Parse Error!
There was a problem loading the /Themes/default/Post.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected '}' in .../Themes/default/Post.template.php on line 768

759: <div class="post">', $post['message'], '</div>
760: </td>
761: </tr>';
762: echo '
763: </table>
764: </td>
765: </tr>
766: </table>';
767: }

768: }

769:
770: // This function displays all the stuff you'd expect to see with a message box, the box, BBC buttons and of course smileys.
771: function template_postbox(&$message)
772: {
Title: Re: Topic Solved Mod
Post by: [A-US]James246 on August 02, 2009, 04:51:42 AM
Anyone?
Title: Re: Topic Solved Mod
Post by: Jessikard on September 02, 2009, 09:31:54 PM
works fine  ;D

one more question - is it possible to install this mod twice to use another action
- one Button to mark the topic without lock it
- one button to mark the topic and lock it

Title: Re: Topic Solved Mod
Post by: B.SkiLLs on September 07, 2009, 10:05:09 AM
Seems not to work for me. It installs fine but no settings (besides in the board set up section itself) Plus when its enabled it takes away the message icon drop down list and icon section from the post board body.

Any help or is this going to be updated to work with 1.1.10 ??

Thxs

Title: Re: Topic Solved Mod
Post by: Master Zonk on September 10, 2009, 02:34:23 PM
Thanks for a great mod. :D
Title: Re: Topic Solved Mod
Post by: deciph3red on September 28, 2009, 10:57:50 PM
any possibility in having the mod to where it will actually give you options as to what "SOLVED" actually is.

For example, I wouldnt mind having more options like [WIN], [LOSS], [Pending], [Approved], [Denied].

Just a shot in the dark, but was looking for something like this here:
http://www.simplemachines.org/community/index.php?topic=339216.0

Any am unable to find the perfect mod.
Title: Re: Topic Solved Mod
Post by: B.SkiLLs on October 09, 2009, 06:26:42 PM
Quote from: B.SkiLLs on September 07, 2009, 10:05:09 AM
Seems not to work for me. It installs fine but no settings (besides in the board set up section itself) Plus when its enabled it takes away the message icon drop down list and icon section from the post board body.

Any help or is this going to be updated to work with 1.1.10 ??

Thxs



bumpers
Title: Re: Topic Solved Mod
Post by: islam2hamy on November 13, 2009, 04:27:27 PM
error in RC2

QuoteDatabase Error :

Table '22smf.topics' doesn't exist
File: F:\wamp\www\smf_2-0-rc2\Packages\temp\install.php
Line: 16

p.s : the Table name is "22smf_topics" not "22smf.topics"
Title: Re: Topic Solved Mod
Post by: raghhav on November 30, 2009, 05:53:55 AM
am trying to include it on 1.1.10 but its giving error as follow

QuoteInstall Actions
Installations actions for "Topic Solved":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Themes/default/images/english/accept.gif    
2.    Extract File    ./Themes/default/images/english/reject.gif    
3.    Execute Code    TopicSolvedPdb.php    
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
5.    Execute Modification    ./Sources/ModSettings.php    Test successful
6.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
7.    Execute Modification    ./Sources/ManageBoards.php    Test failed
8.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
9.    Execute Modification    ./Sources/Load.php    Test successful
10.    Execute Modification    ./Sources/Post.php    Test successful
11.    Execute Modification    ./Themes/default/Post.template.php    Test successful
12.    Execute Modification    ./index.php    Test successful
13.    Execute Modification    ./Themes/default/Display.template.php    Test successful
14.    Execute Modification    ./Sources/Display.php    Test successful

But i tried it manually for editing in manageboards.php but the code does not exist as required in manageboards.php.

kindly help
Title: Re: Topic Solved Mod
Post by: Master Zonk on April 27, 2010, 11:24:01 AM
Thanks guys.  Hooked me right up... ;D
Title: Re: Topic Solved Mod
Post by: Kratty256 on May 11, 2010, 09:56:21 AM
Grudge can you update this mod for the latest stable version of 1.1.11?
Title: Re: Topic Solved Mod
Post by: Sakuradreams on May 30, 2010, 01:57:44 PM
Hoping for update to 1.1.11 too :)
Title: Re: Topic Solved Mod
Post by: winky100 on August 04, 2010, 03:39:36 PM
I have installed topicsolved 1.1. I dont get the green check icon in the msg icon list for a post. All i have is a button that i can pust that says "Topic Solved".

I am using 2.0RC3.

Thanks.
Title: Re: Topic Solved Mod
Post by: petesky on November 02, 2010, 03:37:40 AM
Is there a RC4 update available ?
Title: Re: Topic Solved Mod
Post by: sharks on December 23, 2010, 05:03:20 PM
Has this mod been abandoned too? I am hoping someone could update it for SMF 1.1.12 :(
Title: Re: Topic Solved Mod
Post by: henrik1782 on January 13, 2011, 03:52:52 AM
Hi Petesky...

Use this for 2.0 RC4

http://custom.simplemachines.org/mods/index.php?mod=1601
Title: Re: Topic Solved Mod
Post by: petesky on January 13, 2011, 05:33:13 AM
Quote from: henrik1782 on January 13, 2011, 03:52:52 AM
Hi Petesky...

Use this for 2.0 RC4

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

THX :-)
Title: Re: Topic Solved Mod
Post by: Biology Forums on March 20, 2011, 06:56:24 PM
Is there a way of showing the "not solved" button (the X) only if the person has clicked the "solved" button (check mark)? Like how it is on this forum?
Title: Re: Topic Solved Mod
Post by: -=[Vyorel]=- on March 20, 2011, 09:02:22 PM
Quote from: shuban on March 20, 2011, 06:56:24 PM
Is there a way of showing the "not solved" button (the X) only if the person has clicked the "solved" button (check mark)? Like how it is on this forum?
See the botton for not solved
Title: Re: Topic Solved Mod
Post by: Biology Forums on March 31, 2011, 08:36:17 PM
I have an issue with this modification.

As soon I check the board as a "Make this board a 'topic solved' board", it gets checked, but when I go to uncheck it and click modify, it stays the same, how do I change this? :-\ :-\
Title: Re: Topic Solved Mod
Post by: Biology Forums on April 19, 2011, 11:20:45 PM
I noticed that when the person clicks the "Topics Solved button", the icon shows on the message board and the topic view, but the icon doesn't get translated to the index of the website under the recently updated topics section of the information section.

Why is this?
Title: Re: Topic Solved Mod
Post by: mvlraja on May 21, 2011, 07:15:02 AM
Installed this mod, but I don't see the options in the admin->configuration->Features and Options.
I have only these tabs         Basic Features         Layout and Options    Share This Topic    Karma    

polaris.ws
please verify and guide me.
Title: Re: Topic Solved Mod
Post by: Biology Forums on May 21, 2011, 12:31:56 PM
Quote from: mvlraja on May 21, 2011, 07:15:02 AM
Installed this mod, but I don't see the options in the admin->configuration->Features and Options.
I have only these tabs         Basic Features         Layout and Options    Share This Topic    Karma    

polaris.ws
please verify and guide me.

Make sure the language files are installed.
Title: Re: Topic Solved Mod
Post by: snooks on June 02, 2011, 11:51:16 AM
great mod but a few things i have found in my test boards running R5 as mentioned in previous posts, only admin options only to enable, only admin can see the solved/unsolved buttons and its not a highlighted colour like these boards use like topic not solved
Obviously these forums have it running sweet is this version out for anyone to download please if so please point me to it

thanks
Title: Re: Topic Solved Mod
Post by: snooks on June 06, 2011, 05:15:25 AM
Just to bump my above post please, thanks people
Title: Re: Topic Solved Mod
Post by: Biology Forums on August 26, 2011, 04:15:22 PM
Excellent modification.

Can anyone tell me how I can get this done:

Whenever a post is marked as Solved, the post within the thread moves to the top, just below the first message. For instance, if a thread has 8 posts, and the 7th post is the correct answer (thus, marked as solved), I want that particular post to be displaced to the top, below the initial post, so that readers later on don't have to shuffle through all the other posts.
Title: Re: Topic Solved Mod
Post by: Biology Forums on October 01, 2011, 12:58:05 AM
Quote from: shuban on August 26, 2011, 04:15:22 PM
Excellent modification.

Can anyone tell me how I can get this done:

Whenever a post is marked as Solved, the post within the thread moves to the top, just below the first message. For instance, if a thread has 8 posts, and the 7th post is the correct answer (thus, marked as solved), I want that particular post to be displaced to the top, below the initial post, so that readers later on don't have to shuffle through all the other posts.

Willing to pay! ??? Someone please help :-\