The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Mass close threads hack.
Is this possible to make, maybe by a simple template hack or something?
There is a mass close threads hack for vbulletin 2.0 but we're running 3.8.1. We would like an option to mass close threads of 1 particular forum. VB has a mass-move and mass-prune build in, but no mass-close. How can I do this, or is there anybody who can make a hack/mod for that? |
#2
|
|||
|
|||
There is a built in feature in VB that allows you to tick a small checkbox and scroll to the bottom and select "close selected threads".
Other then that, you would need to edit the PHP file which designates the "move all threads". Once that file is found, you would need to copy that line and duplicate it. Once duplicated you will need to modify it to use the "close" function instead of the "move" function. Let me know if you need further assistance! Hope it helps, |
#3
|
||||
|
||||
The little checkbox thing I knew, but I needed it for a complete forum with a couple of hundred posts. Selecting them page by page takes too long in that case.
But your second tip is a good one. Is there no way to make something like that by creating a new template in stead of editting files? |
#4
|
|||
|
|||
To my knowledge no, because there is no variable assigned to "close mass threads". Therefor it would require you to intervene and do this manually.
However I could very easily be mistaken as I am far from a VB/programming expert. |
#5
|
||||
|
||||
Oke no problem, thank you for your reply's.
I'm a noob in php, but I will try and have a look if I can do such file edit. Thank you! |
#6
|
|||
|
|||
What is your goal with this? Have a forum with only closed threads, no new threads anymore?
|
#7
|
||||
|
||||
In fact it is for a forum from a friend of mine for which I do the maintenance, updates and stuff.
He has a couple of forums, a for sale forum and a sold (afgehandeld/verkocht) part. Posts will be moved to the "sold" forum by moderators and by admins. Once a while he would like to mass-close the posts in the "sold" section. I think maybe because it's a subforum too and it is not displayed as subforum on the main forum page and he does not want it to be displayed. And there won't be any new reply's in that "sold" part. I thought maybe something like that would be rather easy to make. But maybe I'm mistaken. In that case he has closed most of them now and if he does a weekly job doing the closing with the build-in option, it would be fine to. But I guess he will forget it again and do the closing in half a year. So it's no urgent hack or something. |
#8
|
|||
|
|||
What is the URL to the board of your friend?
|
#9
|
||||
|
||||
Why does the url matter? He is a licensed user, and I also have the license and password from him.
If you need it for licensing reasons, I can give you the url by pm. |
#10
|
|||
|
|||
Then please sent me by PM.
(Sorry but i can't count the times a licensed user was asking for a "friend" who could not ask himself because he didn'thave a license). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|