Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mark Threads As 'Solved' Details »»
Mark Threads As 'Solved'
Version: 1.1.2, by Eric Eric is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 04-11-2009 Last Update: 01-14-2010 Installs: 232
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

My time is very limited these days, with my full time job. I have marked this mod as re-usable code, if any other coder wishes to continue work on it. I may still try to support this mod as time permits.



If you use this modification, please >> Mark As Installed, Nominate for MOTM, and consider donating via PayPal <<, TY!


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.

Current Version
1.1.2 - You can find the 3.6.x version, here.

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.7 - 3.8 versions. This will not work on 4.0. If you are looking for a vB4 version, you can find it here.

Sounds cool. How do I install?
  1. Extract the zip, you should have the following directories/files:

    Code:
    /
    |_ install.html
    |_ product-solvedthread.xml
    
    /upload/
    |_ solved.php
    
    	/upload/images/
    		/buttons/
    		|_ marksolved.gif
    
    	/upload/includes/
    		/xml/
    		|_ bitfield_solvedthread.xml
  2. Upload: (in the below instructions 'yourforum' would be where you have vBulletin installed)
    • /upload/solved.php to /yourforum/solved.php
    • /upload/images/buttons/marksolved.gif to /yourforum/images/buttons/marksolved.gif (upload to each style folder, if you have more than one style)
    • /upload/includes/xml/bitfield_solvedthread.xml to /yourforum/includes/xml/bitfield_solvedthread.xml
  3. Import the product, product-solvedthreads.xml by going to: AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  4. Make the following template edits to all of your installed styles:

    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 Solved Threads Permissions > Can Mark Threads as Solved for each usergroup.
  7. To setup the forums it can be used in, follow the instructions in this post.

Upgrade
To 1.1.2 from 1.1.0/1.1.1
  1. Re-import the product, product-solvedthreads.xml, with "Allow Overwrite" set to yes
  2. Upload the files/folders in the "upload" folder, allowing it to overwrite the old files.

To 1.1.x from 1.0.0
  1. ATM, it is not advised to do an upgrade from previous versions to this one if you already have 1.0.0 installed. Fresh installs should be fine.


That's it! Enjoy!

Changelog
1.1.2 - January 15, 2010
- Updated the product file, permissions, and phrases. This should, hopefully, resolve the blank page problems, along with the permission not showing up for usergroups.

1.1.1 - July 21, 2009
- Updated the product plugins and phrases, this should solve the blank page problem, and the problem of the option not showing in Admincp for ug permissions.

1.1.0 - April 14, 2009
- Small updates to xml file, no version # change. If it works for you, no need to do anything.
- If you have problems uninstalling, please see this post.

1.1.0 - April 12, 2009
- Updated for 3.7 & 3.8
- Now uses the built-in Thread Prefix system
- Instead of 'excluding' forums, since using the Thread Prefix system, you can choose which forums this will be shown in.

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 Installed, Nominate for MOTM, and consider donating via PayPal <<, TY!



NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.

Download Now

File Type: zip solved_threads_1.1.1.zip (7.7 KB, 373 views)
File Type: zip solved_threads_1.1.2.zip (7.8 KB, 561 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 07-21-2009, 10:59 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe, sweet
Reply With Quote
  #113  
Old 07-21-2009, 11:24 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now that I finally have this working.... I have a request after seeing how this works.

1. Ok its great to be able to mark a thread as solved and it automatically adds the prefix [SOLVED].... but...

2. When we change/mark the thread as unsolved that should also automatically create the prefix and add [UNSOLVED] to the thread.

Can you please make that as a new feature since the theme of your day is updating!

ADD COLOR TO PREFIX
For people who aren't so html code trained here is a nice thing to add until the developer builds this in.

1. Add a new prefix to the set and label it [UNSOLVED].
2. Add color and bold html to each prefix in the title (Rich Text) field.

SOLVED:
Code:
<b><font color="#1A5722">[SOLVED]</font></b>
This makes a dark bold green color to match solved issues.

UNSOLVED:
Code:
<b><font color="#C80416">[UNSOLVED]</font></b>
This makes a dark bold red color to match unsolved issues.

3. I also installed a mod which allows me to change the prefix of a thread inline while viewing at the forum level. So I can mass change prefixes. That mod does not open and close threads though...
Reply With Quote
  #114  
Old 07-21-2009, 12:02 PM
Markos Markos is offline
 
Join Date: Aug 2006
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SecondV have u created a sold and unsold one yet ??? and do u think we could get it like this ? https://vborg.vbsupport.ru/showpost....3&postcount=84
Reply With Quote
  #115  
Old 07-21-2009, 02:35 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this cool mod,

Works a treat.

Reply With Quote
  #116  
Old 07-21-2009, 04:36 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post

2. When we change/mark the thread as unsolved that should also automatically create the prefix and add [UNSOLVED] to the thread.
Personally...and it's just my opinion...I think this request makes no sense...since a thread that is not marked as [SOLVED], by definition alone...means that it IS [UNSOLVED]. So why add a redundant prefix?
Reply With Quote
  #117  
Old 07-22-2009, 12:04 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Personally...and it's just my opinion...I think this request makes no sense...since a thread that is not marked as [SOLVED], by definition alone...means that it IS [UNSOLVED]. So why add a redundant prefix?
Actually for a support forum it makes perfect sense! Visually showing the prefix in green or red for solved and unsolved saves a massive amount of time and I have it so when i click on the prefix I can sort the whole forum into the prefix i clicked on.

No prefix means no prefix was selected, but a unsolved prefix clearly means it was unsolved there is nothing redundant at all. Just visual efficiency which can then be sorted with a simple click on the prefix. I have this all working on my site in a selected help form using 3 mods together. This needs to be the standard behavior when you change the thread to unsolved it gets reopened and labeled as such!

Searching and Filtering Results by Prefix
Another big issue which escaped your reply back to me is this: We can search a forum by prefixes. being able to search a forum and filter only solved or unsolved issues is again critical and a must. Now that I have both prefixes in place my Admins, mods, and members can do advanced searches and filter the results by clearly labeled prefixes! So with your idea of not even having an Unsolved prefix now there is no way to really filter unmarked threads form unresolved threads! THATS NOT EFFICIENT AT ALL WHEN FILTERING THROUGH MASS AMOUNTS OF THREADS!

(See advanced search screenshot)

All I am asking is that the same feature this mod does already for marking as solved be applied to the action of unsolved. Clear prefix labels on large boards are critical.

Again, I have mods in place which allow me to mark single or multiple threads by changing prefixes at the forum view level where we see all the threads listed.

It would be great to have this mod simply do what it is designed to do for both solved and unsolved prefixes.

My screenshot says it all! Easy to identify and very easy for me to click on any prefix and the whole forum sorts to that prefix

NOW THATS A HELP FORUM!!! (Did I mention idiot proof? members who are learning to use the forum love "Labels for Dummies")Profession help desk solutions such as Kayako SupportSuite (the industry standard) all have this as standard because they understand that efficiency, ticket time, response time, is the issue resolved, opened, closed, unresolved, etc all depend of clearly getting that information as quick as possible to the agent. These tweaks are small but the effect is enormous when handling large amounts of submitted issues (threads).

CONCLUSION & FEATURE REQUEST:
When a new thread is created it would be best if it is auto marked with this mod in our selected forums as [UNSOLVED]. Then when the issue has been solved we can change it to [SOLVED] or again back to [UNSOLVED] both with the correct and clear prefix labels. In my opinion having working in the support field professionally... These small additions to your mod will really put the finishing touches on it. Also, for those who want a [For Sale] and [SOLD] mod all they have to do, which has been stated already, is simply change the phrases of this existing mod!
Attached Images
File Type: jpg Solved Unsloved Change Prefix.jpg (89.0 KB, 0 views)
File Type: jpg Prefix Search.jpg (33.5 KB, 0 views)
Reply With Quote
  #118  
Old 07-23-2009, 05:52 AM
sargatanas sargatanas is offline
 
Join Date: Mar 2009
Location: Land of the Dead
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
MISSING OPTION FIX:

There are a few bugs in this current version. I had the same problem. There is a bug with the phrase not being entered correctly in the usergroup options so it looks like it is not listed. For me I just had a blank space with a yes/no bullet and no text next to it.

SOLUTION (what worked for me)
1. Go to AdminCP > Languages & Phrases > Search in Phrases
2. Do a search for: Can Mark Threads as Solved and Unsolved
3. Edit the "solvedthread_canmarksolved" phrase
4. In the field enter: Can Mark Threads as Solved and Unsolved
5. Click SAVE!

NOTE
: This phrase edit is needed because there must be a bug in the "bitfield_solvedthread.xml" file. It is NOT adding the phrase text in our usergroup options. So it looks like the option is not there!

(*I included a screen shot of what my options pages looks like without this fix)

6. Next: Go to AdminCP > Usergroups > Usergroups Manager
7. Edit the desired usergroup
8. Look under: "Post / Thread Permissions"
9. The text for: "Can Mark Threads as Solved and Unsolved" should now be listed.
10. Select Yes and click SAVE!

UNRESOLVED BUG: All Threads Show as Blank White Pages
This current version is not entering the text so I just had a yes/no bullet that was unlabeled! The file: bitfield_solvedthread.xml is not doing its job properly on my site. This procedure fixed the missing text for me. However, the issue remains that when this mod is enabled all my threads show as a blank white page!

I sure could use a little help and support here... I would really like to get this mod working. Again I am running vb3.7x and my PHP is: 5.2.10
thanks, appreciate the effort.
Reply With Quote
  #119  
Old 07-23-2009, 06:05 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the developer used my site and was able to make a update which fixed all of my problems. Now I just need the features added that I have requested and I will be all good!
Reply With Quote
  #120  
Old 07-23-2009, 07:48 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will look into it
Reply With Quote
  #121  
Old 07-24-2009, 09:36 AM
OmniBuzz OmniBuzz is offline
 
Join Date: Nov 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and uninstalled = I triple checked everything, could not see the Post / Thread Permissions > Can Mark Threads as Solved in any usergroup.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05358 seconds
  • Memory Usage 2,392KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete