vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=156627

Bump or de-bump thread w/ usergroup permissions
by ringleader
30 Aug 2007 15:58

3 Attachment(s)
DESCRIPTION
This is a slightly modified version of "Bump thread and make thread older" by Kentaurus, and "Bump Threads/Make Threads older" by Andreas, who both provided the basis for this work.
It allows the administrator to set which usergroups can use this feature, and can limit the number of times it can be used on a single thread by anyone using a thread bump limit.

Be kind - it's my first attempt at making one of these, and the documentation for each version of vbulletin is confusing.

OPTIONS INCLUDED:
An option called "Bump thread" allows a user with the correct permissions set to make the last post in a thread equivalen to the current time.

An option called "make thread older" or "debump" allows a user with permissions set to make the last post in a
thread one day older.

Details
1 Product XML (1 Plugin, 12 Phrases (+admin help topics), 1 template re-write if you have Andreas' Template Modification System installed (ignored if not))

Only single Thread bumping/de-bumping is supported.
I do not intend to upgrade this product, but may do if I find the time.

INSTALLATION:
Unzip BumpThreads.zip
1. Upload bitfield_bumpthreads.xml to your ./includes/xml folder
2. Import the product-bumpthreads.xml
3. If you do not have Andreas' Template Modification System installed, you must do template edits by hand. These are found in the templateedits.txt file.
4. Upload bump.gif and debump.gif to your images/buttons folder.
5. Set Usergroup permissions for the product.

UNINSTALLATION:
1. Uninstall the product.

USAGE:
1. Set individual usergroup permissions to turn on the ability to Bump/De-bump a thread for each usergroup (default is no ability to access this function).
2. Limit the number of times a thread can be bumped/de-bumped by each usergroup (in case you want normal users to be able to bump a thread only once, but for moderators it can be many times).

Database alterations carried out:
1. Adds columns 'bump' and 'debump' to your 'thread' table to count the number of times a thread has been bumped.
2. Adds columns 'bumpthreadspermissions' and 'bumpthreadslimit' to the 'usergroup' table to track who has permission to use the feature, and how many times per thread.

Contributors:
Buttons courtesy of the excellent talents of dutchbb.

ringleader 30 Aug 2007 16:03

*First post reserved*

Because, eh, everyone else does it.

Symmetrical® 30 Aug 2007 16:06

second :D

ringleader 30 Aug 2007 16:58

Woot!
Fast response/installation!
Hope it doesn't unintentionally kill your board or anything (though it shouldn't be able to, there's always the nervousness).

Feedback/suggestions welcomed and appreciated, btw.

LCN2007 31 Aug 2007 03:56

This is great will instal when i get home

LCN2007 31 Aug 2007 07:05

Doesnt let me set user groups im getting a Database error anyone else?

Can some help me figure it out please.

Hornstar 31 Aug 2007 07:43

One feature I would die for is inline moderation of bumping debumping as that would allow me to bump several threads at once!

ringleader 31 Aug 2007 08:16

Quote:

Originally Posted by LCN2007 (Post 1329319)
Doesnt let me set user groups im getting a Database error anyone else?

Can some help me figure it out please.

What vbulletin version are you running?
What error are you getting exactly?
When are you getting the error/What are you trying to do when you get it?

ringleader 31 Aug 2007 11:29

Quote:

Originally Posted by hornstar1337 (Post 1329329)
One feature I would die for is inline moderation of bumping debumping as that would allow me to bump several threads at once!

This one does that (for moderators only) ;)

Hornstar 31 Aug 2007 12:45

Quote:

Originally Posted by ringleader (Post 1329414)
This one does that (for moderators only) ;)

not what im after tho. I am after this, but with inline moderation (where you can tick the threads, and then click the drop down menu and select bump thread, or debump thread)

ringleader 31 Aug 2007 14:19

2 Attachment(s)
Here you go then.

I had updated Andreas' mod for my own boards to include inline (mass-)moderation along with individual thread moderation.

I will release it pending Andreas's permission.
It's all automatically installed with a product.
PM me your email address and I'll give it to you (can't attach to PM's).

I've attached screenshots of the two functions it adds, so you're sure it's what you're looking for.

NFLfbJunkie 31 Aug 2007 14:45

So do both the same thing? Bumping/Debumping can be done via the thread options drop down and the inline moderation?

ringleader 31 Aug 2007 15:10

Quote:

Originally Posted by Junkie (Post 1329494)
So do both the same thing? Bumping/Debumping can be done via the thread options drop down and the inline moderation?

No, sorry.
I didn't realise that screenshot was so misleading! :o

The moderator can bump/debump on showthread (i.e. bump just that thread)
or
The moderator/admin can mass bump/debump threads on forumdisplay using inline moderation.

The inline moderation on showthread is for moving/deleting posts, not threads, so it isn't used.

LCN2007 31 Aug 2007 15:14

2 Attachment(s)
Im trying to set the Usegroup Permissions.
I attached Photos.
Thanks for your assistance.

ringleader 31 Aug 2007 15:22

Hmm, wrong phrase name there.

I re-uploaded the bitfield_bumpthreads.xml file.
Grab the new one and overwrite the one in your ./includes/xml/ directory.
Let me know if that solves your issue.


All times are GMT. The time now is 15:46.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.