The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mark threads 'solved' Details »» | |||||||||||||||||||||||||
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 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&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div> </if> </div> <!-- / thread tools --> 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&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&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&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&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&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&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&t=$threadinfo[threadid]">$vbphrase[solvedthread_markunsolved]</a></td> </tr> </if> </if> <if condition="$show['adminoptions']"> 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):
Suggest anything else if you wish. Regards Jason Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
|||
|
|||
Quote:
Great that someone keeps working on the mod. I'd love to see it the other way around. I want to INclude forums where ppl can solve things. To be honest, I want to use this hack to mark threads as "sold" and "found". Therefore it would be nice to have a solution where you can define a prefix on a per forum base If there is a defined prefix on that forum it is used. If not - then not. Solves my two problems at the same time. I can have different prefixes and it is easier to include forums that to exclude all the ones that dont need this. (in my case 2 out of 80 needs it). |
#33
|
|||
|
|||
Then you would need to modify the file(s) to suit your needs. All it takes is a few code changes in 'solved.php' and the .xml product.
As it states at the top, I've allowed 're-usable' code. I'm not going to spend time suiting everyones needs, as there would probably be too many requests. As the title says, it's for 'marking threads solved'. Regards Jason |
#34
|
|||
|
|||
Of course you cant. ... But
Quote:
I didnt find the part where he checks for the forum exclusion. Will it be hard to switch it to forum inclusion? |
#35
|
|||
|
|||
That can be added, although I don't see the point, as you can exclude any forums you don't want having the 'mark threads solved' option.
Regards Jason |
#36
|
|||
|
|||
Because out of 80 forums I need it for only 2. Makes a lot of work to figure out all the forum-ids. And when I add a new forum it wont need the solve-button. Therefore everytime I create a new forum I have to remind myself for putting it into that list to exclude. The other way around is much more easier for me as I would say for most of the ppl who will use this mod.
|
#37
|
|||
|
|||
I see what you mean.
I will see what I can include in the next version, most probably start on a new set of versions; 2.0 ... going from BETA taking any requests for new features ect. Regards Jason |
#38
|
|||
|
|||
Hi Jase,
This is an excellent mod, but I feel in the next version you can make some great improvements. You can set up prefixes for any forum in VB (this is native 3.7 functionality) If your mod was to check the prefixes available per forum then it could offer:- Mark Thread as Solved Mark Thread as Fixed Mark Thread as Urgent .....In fact mark thread as 'anything' you have set up in prefixes. AND it would do this per forum with different sets of prefixes. Also, it would be using vBulletin's own prefix tables and therefore you wont need to physically change the title which is very very good news for those who implement vBSEO (the friendly urls often have the title embedded) Obviously, it's your product but I hope you are open to ideas for the next version and hope you take this idea into account because it would bring much tighter integration in 3.7. |
#39
|
||||
|
||||
Moved to 3.7 Add-ons.
|
#40
|
|||
|
|||
Quote:
Regards Jason |
#41
|
|||
|
|||
Quote:
Please provide a response to this. PS Also why did he not release this under his own name? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|