Jase2
02-01-2008, 10:00 PM
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:
/
|_ 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:
<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 -->Replace with;
<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:
<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:
<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']">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 (https://vborg.vbsupport.ru/member.php?u=142777) 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 (www.techsupportteam.org), 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 :)
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:
/
|_ 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:
<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 -->Replace with;
<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:
<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:
<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']">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 (https://vborg.vbsupport.ru/member.php?u=142777) 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 (www.techsupportteam.org), 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 :)