Back to vBulletin 3.6 Add-ons

Mark Threads As 'Solved'
Mod Version: 1.0.1, by Eric

This modification is in the archives.
vB Version: 3.6.7 Rating: (25 votes - 4.80 average) Installs: 271
Released: 08 Jun 2007 Last Update: 13 Jul 2007 Downloads: 1152
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

3.7 - 3.8 VERSION RELEASED, HERE

What is this!?
This modification will allow you & your members (based on usergroup permissions) to mark a thread as "Solved". It will add the prefix "[SOLVED]" to the thread title, and if set in the admincp - it will also close the thread.

This mod came about, around a year ago - with this thread

Spoiler (click to open)


Howdy!

I've been looking for this mod I keep seeing that allows uses to mark thier threads [Solved]. But, it seems this is a feature that different forums are coding for themselves. :surprised: I'm referring to...

http://forums.techguy.org/security/490286-solved-help-removing-spybuddy.html <--- Note the word... "Solved:" ....at beginning of Title

Here's another example on DaniWeb...

https://www.daniweb.com/techtalkforums/forum38.html <---You'll see several threads marked "Solved:"

In this mod... the original poster (and Admin and Mods) have an extra option under Thread Tools that allows them to mark the thread Solved.

Anyone have any interest in coding something like this?? It seems like a valuable feature in that it tells people which threads/problem no longer need a response. And too... I think it gives a good impression to a problem solving type forum... ya know, people visting a forum will see other people's problems getting fixed!

Any takers??

Thanks!

Lyte

Close
. But I never released it... until now.

Current Version
1.0.1

Features flagged for future version(s):
  • Thread starter can choose to solve a thread, and input the username of who solved it - that user would recieve rep. points. (admin-configurable amount of rep. points)
  • Given the above - include count of threads a user has solved in postbit & profile
  • Possibly figure out a way to automate everything on install - so there are no template edits.
And anything else that is suggested

Will this work on x.x.x ??
Unless otherwise stated, this will work on all 3.6 versions. I've not tested this on 3.5, but not much changed from 3.5 to 3.6 in this hack - so it should work on 3.5 as well.

Sounds cool. How do I install?
  1. Extract the zip, you should have the following directories/files (in the "upload" folder):
    Code:
    /
    |_ solved.php
    /images/
    	/buttons/
    	|_ marksolved.gif
    /includes/
    	/xml/
    	|_ bitfield_solvedthread.xml
  2. Upload the files/folders keeping the same structure.
  3. Import the product, product-solvedthread.xml
  4. Make the following template edits:
    SHOWTHREAD

    Find:
    HTML Code:
    		<if condition="$show['addpoll']">
    			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
    		</if>
    	</div>
    	<!-- / thread tools -->
    Replace with:
    HTML Code:
    		<if condition="$show['addpoll']">
    			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
    		</if>
    		<if condition="$show['solvedthread']">
    			<div><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" vspace="1" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></div>
    		<else />
    			<if condition="$show['solvedthread_unsolve']">
    			<div><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_markunsolved]" vspace="1" /> <a href="solved.php?$session[sessionurl]do=markunsolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_markunsolved]</a></div>
    		</if>
    	</if>
    	</div>
    	<!-- / thread tools -->
    Find:
    HTML Code:
    	<if condition="$show['addpoll']">
    	<tr>
    		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
    	</tr>
    	</if>
    	<if condition="$show['adminoptions']">
    Replace with:
    HTML Code:
    	<if condition="$show['addpoll']">
    	<tr>
    		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
    	</tr>
    	</if>
    	<if condition="$show['solvedthread']">
    	<tr>
    		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></td>
    	</tr>
    		<else />
    			<if condition="$show['solvedthread_unsolve']">
    	<tr>
    		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_markunsolved]" /> <a href="solved.php?$session[sessionurl]do=markunsolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_markunsolved]</a></td>
    	</tr>
    		</if>
    	</if>
    	<if condition="$show['adminoptions']">
  5. Set options in AdminCP > vBulletin Options > Solved Threads
  6. Edit Post / Thread Permissions > Can Mark Threads as Solved for each usergroup.

Upgrading
To 1.0.1
  • Re-import the product, product-solvedthreads.xml, with "Allow Overwrite" set to yes
  • Upload and overwrite solved.php
  • Make the following template edits:
    SHOWTHREAD

    Find:
    HTML Code:
    	<if condition="$show['solvedthread']">
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" vspace="1" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></div>
    	</if>
    Replace with:
    HTML Code:
    	<if condition="$show['solvedthread']">
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" vspace="1" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></div>
    	</if>
    	<else />
    		<if condition="$show['solvedthread_unsolve']">
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_markunsolved]" vspace="1" /> <a href="solved.php?$session[sessionurl]do=markunsolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_markunsolved]</a></div>
    		</if>
    	</if>
    Find:
    HTML Code:
    		<if condition="$show['solvedthread']">
    		<tr>
    			<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></td>
    		</tr>
    		</if>
    Replace with:
    HTML Code:
    		<if condition="$show['solvedthread']">
    		<tr>
    			<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" /> <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_marksolved]</a></td>
    		</tr>
    		<else />
    			<if condition="$show['solvedthread_unsolve']">
    		<tr>
    			<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_markunsolved]" /> <a href="solved.php?$session[sessionurl]do=markunsolved&amp;t=$threadinfo[threadid]">$vbphrase[solvedthread_markunsolved]</a></td>
    		</tr>
    			</if>
    	</if>

That's it! Enjoy!

Changelog
1.0.1 - July 12, 2007
- Added the ability to unsolve a thread.
- Added the ability to exclude this in certain forums
- Added the ability to change the prefix in that acp

1.0.0 - June 8, 2007
- Initial release.


If you use this modification, please mark as >> <<, TY!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s solved_threads_1.0.1.zip (7.8 KB, 941 downloads)

Screenshots

Click image for larger version
Name:	acp_ugp_perms.jpg
Views:	1208
Size:	69.9 KB
ID:	65380   Click image for larger version
Name:	marked_solved.jpg
Views:	1475
Size:	22.5 KB
ID:	65382   Click image for larger version
Name:	marked_unsolved.jpg
Views:	851
Size:	16.9 KB
ID:	66892   Click image for larger version
Name:	forumdisplay.jpg
Views:	2148
Size:	47.2 KB
ID:	66893  

Click image for larger version
Name:	dropdown_markunsolved.jpg
Views:	1805
Size:	55.4 KB
ID:	66894   Click image for larger version
Name:	acp_options.jpg
Views:	839
Size:	67.9 KB
ID:	66895   Click image for larger version
Name:	dropdown_marksolved.jpg
Views:	1504
Size:	51.7 KB
ID:	66897  

Similar Mods

Add-On Releases Mark threads 'solved' Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024