Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mark threads 'solved' Details »»
Mark threads 'solved'
Version: 1.0.3, by Jase2 Jase2 is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 02-01-2008 Last Update: 02-02-2008 Installs: 20
Uses Plugins
Re-useable Code Translations  
No support by the author.

What is this?

Well this modification will allow your members (based on users permissions) to mark their threads solved. It will simply add a prefix at the beginning of the title [Solved]. And if set in ACP - it will close the thread at the same time.

What version of vB does this work on?

This works on all 3.6.x versions and it also works on 3.7.0 (All BETAS)

How do I install?

Extract the zip

2. Upload the files/folders, following this structure:
Code:
/
|_ solved.php

/images/
	/buttons/
	|_ marksolved.gif

/includes/
	/xml/
	|_ bitfield_solvedthread.xml
3. Import the product, product-solvedthread.xml

4. Make the following template edits:

In 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. Usergroups --> Usergroup Manager --> Can Mark Threads as Solved for each usergroup.

That's all Enjoy!

Please Note: SecondV is the maker of this and all credit goes to him .. he just gave permission to keep this hack going for future versions.

As I use this hack on my site here, I'll be keeping this mod going, as well as taking requests for new additions.

People who haven't mark this as installed won't receive support.

Features flagged for future version(s):
  • Can be made work for x amount of forums in ACP.
Completed!

Suggest anything else if you wish.

Regards Jason

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 02-03-2008, 06:44 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aint it a bit useless if u allow it board wide ? i cant see the point in it because not every thread would need to be marked as solved.
Reply With Quote
  #13  
Old 02-03-2008, 08:43 AM
CypherSTL CypherSTL is offline
 
Join Date: Mar 2006
Location: St. Charles, MO
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be 1000% great if you could do it on a per forum bases, would work excellent side by side with the Support Forums Hack.
Reply With Quote
  #14  
Old 02-03-2008, 12:18 PM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great news, that the mod is continued :-)

any differences with the old version released by SecondV ?

I have made a special customization:

example:

http://www.pc-helpforum.be/f167/auto...oorgaazn-7852/

on the footer u see the box " Status van de vraag" (Status of the question)

Markeer dit onderwerp als OPGELOST (Mark this topic as SOLVED)
Markeer dit onderwerp als NIET OPGELOST (Mark this topic as UNSOLVED)

I've made this because a lot of people didn't find how to mark it as solved easaly and with this, people see it better.

If u need information, please contact me

Kind regards Karel
Reply With Quote
  #15  
Old 02-03-2008, 02:10 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If people would like it like that, then I can always include it karel1985, just PM me on what you did.

Quote:
aint it a bit useless if u allow it board wide ? i cant see the point in it because not every thread would need to be marked as solved.
Well, I use a computer forums site, therefore it's very useful for all forums. However, I can get it work on a per - forum basis.

Regards Jason
Reply With Quote
  #16  
Old 02-03-2008, 09:47 PM
gforce75 gforce75 is offline
 
Join Date: Sep 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved ****
Reply With Quote
  #17  
Old 02-04-2008, 01:44 PM
Meghwar's Avatar
Meghwar Meghwar is offline
 
Join Date: Apr 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice Mod

Installed
Reply With Quote
  #18  
Old 02-04-2008, 02:37 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I plan to start on the new version sometime soon.

So, now is the time to give me a few ideas, I may not include all in the next version, however.

Regards Jason
Reply With Quote
  #19  
Old 02-17-2008, 11:35 AM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think, as a lot of other people have, to make it just for certain forums that the administrator wishes.
Reply With Quote
  #20  
Old 02-17-2008, 01:42 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am working to get it work on a per-form basis, it will be selectable via ACP --> vBulletin Options --> Solved Threads.

You will simply input the forum ids that you want it to work for, separated with a ,

Regards Jason
Reply With Quote
  #21  
Old 02-17-2008, 05:37 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on a per-forum basis.

Just go to: ACP --> vBulletin Options --> Solved Threads --> Excluded Forums

Simply enter the forum(s) id(s) that you don't want to have the "Mark threads solved" option, seperated by commas and you're done!

Regards Jason
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 06:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04733 seconds
  • Memory Usage 2,324KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_html
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete