[MODDB] Topic Solved 1.3.3

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

[MODDB] Topic Solved 1.3.3

Post by tumba25 » Tue Dec 16, 2008 10:47 am

Modification name: Topic Solved
Author: tumba25
Modification description: Gives the topicstarter the option off accepting one answer and mark the topic as solved. And mark the topic as unsolved again.
Configurable trought ACP >> Forums
Adds the posibility to search for unsolved topics, your own unsolved topics and in advanced search only in solved topics.
Modification version: 1.3.3
Tested on phpBB version: 3.0.4

Demo board: http://skripter.se
Download file: http://skripter.se/download/file.php?id=92

Here is an image from the ACP. The rest can be seen at my test board.
Image

Changes
2008-12-20 - Version1.3.3
  • Renamed the database-field forum_user_solve to forum_lock_solved.
  • Moved things around in ACP
  • You can now configure that only moderators can reopen solved topics.
2008-12-19 - Version1.3.2
  • Fix;Added trim() to the color request_var() in acp_forums.php
  • Fix: Made sure the Topic solved-settings would only bee seen when editing a forum.
  • Feature: The Topic solved image will show next to the solved-text field if no text is used.
2008-12-18 - Version1.3.1
  • Fixed bug where the [SOLVED]-text did not work in search.php
  • Added option to select cofigurable [SOLVED]-textcolor
  • Added option to set forums solvable by moderator, user or both
  • Moved the Topic solved code in adm/style/ to a own file
2008-12-17 - Version1.3.0
  • Added option to select configurable [SOLVED]-text or image
  • Moved the Topic solved settings in ACP
Last edited by tumba25 on Tue Jan 27, 2009 6:43 am, edited 10 times in total.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [DEV] Topic Solved 1.3.0

Post by DoYouSpeakWak » Tue Dec 16, 2008 3:56 pm

This sounds like a great idea. And simpler than the other mods that did this earlier.

Only thing i would love extra is a permission system so you can set the ability to use the mod per group and users and of course per forum.

Maybe a image option instead of (SOLVED).

Thx for spending time on this.

DYSW
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [DEV] Topic Solved 1.3.0

Post by tumba25 » Tue Dec 16, 2008 4:24 pm

DoYouSpeakWak wrote:Maybe a image option instead of (SOLVED).
The default is to use a image instead of text. If your forum uses text you have modified the original MOD.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.0

Post by tumba25 » Wed Dec 17, 2008 5:11 am

1.3.0 is released. Download it from [File removed]

Changelog in the first post.
Last edited by tumba25 on Thu Dec 18, 2008 2:33 am, edited 1 time in total.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by tumba25 » Thu Dec 18, 2008 1:41 am

1.3.1 is released. Download it from [File removed].

Changelog in the first post.

Now I'll take a brake.
Last edited by tumba25 on Fri Dec 19, 2008 5:21 am, edited 1 time in total.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by Cr33per » Thu Dec 18, 2008 2:27 pm

tumba25 wrote: It seems like ju missed a "replace with" and instead did a "after add".

Open adm/style/acp_forums.php
Find and delete

Code: Select all

	<div id="topic_solved_options">
		<fieldset>
			<legend>{L_TOPIC_SOLVED_SETTINGS}</legend>
		<dl>
			<dt><label for="forum_allow_solve">{L_ALLOW_SOLVE}:</label><br /><span>{L_ALLOW_SOLVE_EXPLAIN}</span></dt>
			<dd><label><input type="radio" class="radio" name="forum_allow_solve" value="2"<!-- IF S_FORUM_LOCK_SOLVE --> id="forum_allow_solve" checked="checked"<!-- ENDIF --> /> {L_YES_LOCK_SOLVED}</label>
			<label><input type="radio" class="radio" name="forum_allow_solve" value="1"<!-- IF S_FORUM_ALLOW_SOLVE --> id="forum_allow_solve" checked="checked"<!-- ENDIF --> /> {L_YES_NO_LOCK_SOLVED}</label>
			<label><input type="radio" class="radio" name="forum_allow_solve" value="0"<!-- IF not S_FORUM_ALLOW_SOLVE and not S_FORUM_LOCK_SOLVE --> id="forum_allow_solve" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
		</dl>
		<dl>
			<dt><label for="forum_allow_unsolve">{L_ALLOW_UNSOLVE}:</label><br /><span>{L_ALLOW_UNSOLVE_EXPLAIN}</span></dt>
			<dd><label><input type="radio" class="radio" name="forum_allow_unsolve" value="1"<!-- IF S_FORUM_ALLOW_UNSOLVE --> id="forum_allow_unsolve" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
				<label><input type="radio" class="radio" name="forum_allow_unsolve" value="0"<!-- IF not S_FORUM_ALLOW_UNSOLVE --> id="forum_allow_unsolve" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
		</dl>
		<dl>
			<dt><label for="forum_solve_text">{L_FORUM_SOLVE_TEXT}:</label><br /><span>{L_FORUM_SOLVE_TEXT_EXPLAIN}</span></dt>
			<dd><input type="text" id="forum_solve_text" name="forum_solve_text" value="{FORUM_SOLVE_TEXT}" size="10" maxlength="20" /></dd>
		</dl>

		</fieldset>
	</div>
Thanks.
One last thing to ask .. Now that I have updated to 1.3.1 When I click on view unsolved topics or view your unsolved topics I only get No suitable matches were found. It worked before!
Where did I got wrong ?
Thanks for the help. 8-)

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by tumba25 » Thu Dec 18, 2008 4:03 pm

So do I. For some reason it only works on posts written after the upgrade to phpBB 3.0.4.

EDIT: :oops: Nope I do not get that error. It's just the activity at my test board that is to slow.

Take a look at your edits in search.php and both files in includes/search/
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by Cr33per » Thu Dec 18, 2008 7:28 pm

Ive checked the files. And everything looks ok to me ! :cry:
If you would be so kind and maybe take a look for me. :P
My fulltext_native.php was a fresh copy from 3.0.4
Image
Help-me.zip

Thanks

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by tumba25 » Thu Dec 18, 2008 8:07 pm

Have you checked the dates? What happens when you increase the value at "Display posts from previous" in the search-results?
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by DoYouSpeakWak » Thu Dec 18, 2008 8:25 pm

Thx for the added features.
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by Cr33per » Thu Dec 18, 2008 8:30 pm

Still nothing . Even with the new topics. :cry:

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by tumba25 » Thu Dec 18, 2008 8:38 pm

I have checked your files and all edits are in there and in the right places.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by Cr33per » Thu Dec 18, 2008 8:55 pm

Could it be a database problem ?

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by tumba25 » Thu Dec 18, 2008 9:19 pm

Try to rebuild your search-indexes. But I do not think that is the problem.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: [BETA] Topic Solved 1.3.1

Post by Cr33per » Fri Dec 19, 2008 1:32 am

How would I do that ? :oops:

Locked

Return to “[3.0.x] MODs in Development”