PDA

View Full Version : Add-On Releases - Mark threads 'solved'


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&amp;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&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:

<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:

<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 (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 :)

Magnumutz
02-02-2008, 05:13 PM
I believe your mod is incomplete... where's the zip?

Jase2
02-02-2008, 05:23 PM
Just added it.

Regards Jason :)

Allan
02-02-2008, 06:46 PM
Demo or screen please ?

Forum Lover
02-02-2008, 06:53 PM
u mean it will come up at thread tools?

Jase2
02-02-2008, 07:07 PM
I'm posting some screenshots now.

u mean it will come up at thread tools?

Yes, it will. You can see here for examples: www.techsupportteam.org

Regards Jason :)

Magnumutz
02-02-2008, 08:08 PM
Dude... only the first screenshot is working, the others aren't.

Jase2
02-02-2008, 08:13 PM
Well I'm new to producing me mods here.

I uploaded them from my computer, so why they aren't letting you click them I don't know.

I can upload them to Photobucket and then post the links here.

Regards Jason :)

lasto
02-02-2008, 09:04 PM
can this be set to only work in one section of the board as opposed to the whole board.As it would be good for a Help section

Jase2
02-02-2008, 09:34 PM
Yes, that can be flagged for future version(s).

Regards Jason :)

lasto
02-03-2008, 06:44 AM
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.

CypherSTL
02-03-2008, 08:43 AM
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.

karel1985
02-03-2008, 12:18 PM
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/automatisch-doorgaazn-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

Jase2
02-03-2008, 02:10 PM
If people would like it like that, then I can always include it karel1985, just PM me on what you did.

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 :)

gforce75
02-03-2008, 09:47 PM
Reserved ****

Meghwar
02-04-2008, 01:44 PM
Very Nice Mod:)

Installed

Jase2
02-04-2008, 02:37 PM
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 :)

Virtualshiner
02-17-2008, 11:35 AM
I think, as a lot of other people have, to make it just for certain forums that the administrator wishes.

Jase2
02-17-2008, 01:42 PM
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 :)

Jase2
02-17-2008, 05:37 PM
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 :)

puertoblack2003
02-18-2008, 03:28 PM
can you tell me where or how to add it so it can be in bold letters

Jase2
02-18-2008, 03:30 PM
ACP --> vBulletin Options --> Solved Threads --> Excluded Forums

You simply enter the forum IDS that you don't want having the the "Mark threads Solved" option.

You can find the forumID by going to ACP --> Forum Manager --> Then edit a forum and you'll see the forumID at the top.

EDIT: Do you mean the "Mark threads Solved" under thread tools being bold?

Regards Jason :)

puertoblack2003
02-18-2008, 03:35 PM
ACP --> vBulletin Options --> Solved Threads --> Excluded Forums

You simply enter the forum IDS that you don't want having the the "Mark threads Solved" option.

You can find the forumID by going to ACP --> Forum Manager --> Then edit a forum and you'll see the forumID at the top.

EDIT: Do you mean the "Mark threads Solved" under thread tools being bold?

Regards Jason :)

wow you lost me there...lol yes i want the word solved to be in bold text..i went in phrase but nothing there,

Jase2
02-18-2008, 03:38 PM
It's not that hard ;)

If you mean making the "Solved" prefix bold, then that's not possible, unless you edit some of the coding.

Regards Jason :)

puertoblack2003
02-18-2008, 04:04 PM
It's not that hard ;)

If you mean making the "Solved" prefix bold, then that's not possible, unless you edit some of the coding.

Regards Jason :)

ok thanks i'll wait for a solution

Jase2
02-18-2008, 04:16 PM
I'll see what I can do for you, later today.

Regards Jason :)

big_joe
02-22-2008, 01:55 AM
Cool Hack...thanks And Install!!!

Jase2
02-22-2008, 02:13 PM
It seems that this isn't working on BETA 5. There is a permission problem, so when you set a usergroup to NO for "Mark threads Solved" .. it still allows them to mark threads solved.

I'm going to be looking through the coding, once I find the problem, I'll release the new version.

Regards Jason :)

sp0okz
02-24-2008, 11:11 AM
can we add diffrent names instead of solved such as rs.com divx etc

Jase2
02-24-2008, 02:27 PM
Sure:

ACP --> vBulletin Options --> Solved Thread Prefix

Just put the name that you want to appear.

However, if your wanting to use it for something else, then you would need to edit the solved.php and the product to suit your needs.

Regards Jason :)

Kwikms
02-26-2008, 12:45 PM
ACP --> vBulletin Options --> Solved Threads --> Excluded Forums

You simply enter the forum IDS that you don't want having the the "Mark threads Solved" option.

You can find the forumID by going to ACP --> Forum Manager --> Then edit a forum and you'll see the forumID at the top.




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).

Jase2
02-26-2008, 12:51 PM
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 :)

Kwikms
02-26-2008, 01:29 PM
Of course you cant. ... But

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 :)

... thats why I mentioned it.

I didnt find the part where he checks for the forum exclusion. Will it be hard to switch it to forum inclusion?

Jase2
02-26-2008, 01:36 PM
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 :)

Kwikms
02-26-2008, 02:08 PM
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.

Jase2
02-26-2008, 02:20 PM
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 :)

rob30UK
03-22-2008, 03:37 PM
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.

King Kovifor
03-22-2008, 08:20 PM
Moved to 3.7 Add-ons.

Jase2
03-22-2008, 08:23 PM
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.

Please could you elaborate. At the moment, I can't see the point; as you can do the above with the 3.7 prefix system.

Regards Jason :)

Marco van Herwaarden
03-22-2008, 09:38 PM
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.We have received a complaint that SecondV is not the original author of this and that the original author did not give permission to redistribute his work.

Please provide a response to this.

PS Also why did he not release this under his own name?

Jase2
03-22-2008, 10:36 PM
I'm sorry to hear that, but unfortunately I do not know. He released it here; therefore I assumed he was the original creator.

Regards Jason :)

King Kovifor
03-23-2008, 03:56 AM
I'm sorry to hear that, but unfortunately I do not know. He released it here; therefore I assumed he was the original creator.

Regards Jason :)

Please contact SecondV and find out who the original author is an gain permission or this hack is against our rules as distributing someone else's work.

rob30UK
03-23-2008, 09:33 AM
Please could you elaborate. At the moment, I can't see the point; as you can do the above with the 3.7 prefix system.

Regards Jason :)

Sorry, I should have said that you should allow the thread starter to mark thread as 'x' as well as anyone with mod permission. Also far easier to not have to go to thread tools -> edit thread.

Jase2
03-23-2008, 11:24 AM
Please contact SecondV and find out who the original author is an gain permission or this hack is against our rules as distributing someone else's work.

I have tried multiple times, yet he seems he isn't interested. I have no problem with you deleting this hack.

Regards Jason :)

Jase2
03-23-2008, 11:24 AM
Sorry, I should have said that you should allow the thread starter to mark thread as 'x' as well as anyone with mod permission. Also far easier to not have to go to thread tools -> edit thread.

I'm planning to work on a major rewrite of this. We'll have to see. If I do, then I don't see why none of your ideas can be implemented.

Regards Jason :)