Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Bump or de-bump thread w/ usergroup permissions Details »
Bump or de-bump thread w/ usergroup permissions
Mod Version: 1.00, by ringleader (Member) ringleader is offline
Developer Last Online: Dec 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (10 votes - 4.90 average) Installs: 115
Released: 30 Aug 2007 Last Update: 18 Sep 2007 Downloads: 916
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	usergroup_permissions.jpg
Views:	1064
Size:	16.7 KB
ID:	69271   Click image for larger version

Name:	threadtools.jpg
Views:	1221
Size:	26.9 KB
ID:	69945  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 31 Aug 2007, 17:07
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
It lets me set the User permissions but its inop in the thread tools just shows two people images but no text and when i click one it says invalid function.

One other thing if you set the limit to 0 is that unlimited?
Attached Images
File Type: jpg Bump Error 3.JPG (31.1 KB, 27 views)
File Type: jpg Bump Error 4.jpg (37.4 KB, 23 views)

Last edited by LCN2007; 31 Aug 2007 at 17:14.
Reply With Quote
  #17  
Old 01 Sep 2007, 01:02
cristinag cristinag is offline
 
Join Date: Dec 2006
Real name: Cristina
Originally Posted by LCN2007 View Post
It lets me set the User permissions but its inop in the thread tools just shows two people images but no text and when i click one it says invalid function.

One other thing if you set the limit to 0 is that unlimited?
I'm having this same issue.
Reply With Quote
  #18  
Old 01 Sep 2007, 04:23
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by ringleader View Post
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.
Thanks, I have pmed you my email. Hopefully Andrea will allow you to post it on the site as well.

thanks.
Reply With Quote
  #19  
Old 01 Sep 2007, 11:40
xLYNZx xLYNZx is offline
 
Join Date: Nov 2006
i get an image with "REP" on instead!!
Attached Images
File Type: gif bump.gif (13.1 KB, 34 views)
Reply With Quote
  #20  
Old 01 Sep 2007, 13:23
Mr. Burns Mr. Burns is offline
 
Join Date: Mar 2007
Originally Posted by hornstar1337 View Post
One feature I would die for is inline moderation of bumping debumping as that would allow me to bump several threads at once!
You said it!!!
Reply With Quote
  #21  
Old 01 Sep 2007, 13:34
pollon pollon is offline
 
Join Date: Jan 2007
Originally Posted by xLYNZx View Post
i get an image with "REP" on instead!!
Same here. If I click one it says invalid function.

I have TMS.

Last edited by pollon; 01 Sep 2007 at 13:46.
Reply With Quote
  #22  
Old 03 Sep 2007, 08:00
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by LCN2007 View Post
It lets me set the User permissions but its inop in the thread tools just shows two people images but no text and when i click one it says invalid function.

One other thing if you set the limit to 0 is that unlimited?
It's set to the default 'reputation' image.
The phrases are not installing, it seems.

Go to 'Languages and Phrases', 'Add New Phrase'.
Type -> Global
Product -> bump or de-bump threads
varname -> bump
Text -> Bump Thread

And add another phrase with the varname 'debump'.
Reply With Quote
  #23  
Old 03 Sep 2007, 08:39
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
*update: the SQL queries in the original product were not installing phrases and table columns correctly, thereby causing the problems some people experienced. Please re-download and install again if you are experiencing problems.

Apologies to all those who were caused hassle.

Last edited by ringleader; 03 Sep 2007 at 08:46.
Reply With Quote
  #24  
Old 03 Sep 2007, 12:07
pollon pollon is offline
 
Join Date: Jan 2007
I've reinstalled it and I've added those phrases but when i click on the link it gives me "invalid function".
Reply With Quote
  #25  
Old 03 Sep 2007, 15:24
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Do you know how to add a plugin?
There's one missing from yours.

Go to Plugins and Products System -> Add Plugin
Product: bump or de-bump threads
Hook Location: threadmanage_action_switch
Title: Action Switch
Plugin Php Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I swear that'll sort it for you.
...and thanks for even bothering to troubleshoot this.
Reply With Quote
  #26  
Old 04 Sep 2007, 03:54
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
I think its working now thanks for your help but i wont be sure until my site goes live ill let you know.
Reply With Quote
  #27  
Old 04 Sep 2007, 04:31
misuse misuse is offline
 
Join Date: Apr 2003
Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!
Reply With Quote
  #28  
Old 04 Sep 2007, 09:52
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by misuse View Post
Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!
Yep, but you would have to change some code in the plugins as it is hardcoded into it.
Any bit that says 86400 means one day (in seconds).
So if you set it to 864000 that would de-bump by ten days.

But then that would mean you would always be de-bumping by that many days.
Reply With Quote
  #29  
Old 06 Sep 2007, 03:13
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Just wondering, but is this accurate:

Not Supported
Or, do you plan to provide support for this (as it seems you have been doing since it's release in this thread)?
Reply With Quote
  #30  
Old 06 Sep 2007, 09:11
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by y2krazy View Post
Just wondering, but is this accurate:

Or, do you plan to provide support for this (as it seems you have been doing since it's release in this thread)?
More of an indicator that I might forget about it, likely won't upgrade it, and probably won't be able to solve any weird errors people may potentially get that I've seen on other mod release threads.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:51.

Layout Options | Width: Wide Color: