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.
  #46  
Old 08 Nov 2007, 13:56
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by PoetJA-1975 View Post
Hey RINGLEADER - still waiting - is there a chance you've found a workaround for vBSEO?
Oh sorry, I was out of the country there for a while

Try adding this plugin as a bit of a workaround instead:

Product: Bump or de-bump Threads

Hook Location: showthread_start

Title: Bump or Debump: Display Option

Execution Order:
5

Contents:

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

...and undo the template edit for SHOWTHREAD template.

Originally Posted by JohnBee View Post
Geat MOD, installed and loving it. - thx
Cheers, glad you like it!
Reply With Quote
  #47  
Old 10 Nov 2007, 05:28
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Thanx for your help - I just couldn't get it installed correctly - could be because of a mod I'd 1st had installed on vB 3.5.4 (http://www.vbulletin.org/forum/showt...hlight=de-bump) --- Incredibly it still works correctly on 3.6.8 PL 2 ---- Just one idiosyncrasy - there's apparently a missing phrase for inline_bump/debump or some such - but it works fine even with vBSEO installed.

You may wanna take a look at the code - Anyway - I appreciate you taking the time to find a resolution Much appreciate and thanx again for the inline modification - Works like a gem

Jacquii.
Reply With Quote
  #48  
Old 17 Nov 2007, 02:24
TazeredBlackMan TazeredBlackMan is offline
 
Join Date: Jun 2007
Hey I installed and then uninstalled this product. Now when I go to make a new usergroup I get a SQL error saying Unknown column 'bumpthreadspermissions' in 'field list'

Any idea?
Reply With Quote
  #49  
Old 18 Nov 2007, 12:15
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by TazeredBlackMan View Post
Hey I installed and then uninstalled this product. Now when I go to make a new usergroup I get a SQL error saying Unknown column 'bumpthreadspermissions' in 'field list'
Run this SQL query and it will fix it:


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

Obviously, if you have any table prefixes, use it before 'usergroup'.
Reply With Quote
  #50  
Old 18 Nov 2007, 17:53
nyunyu nyunyu is offline
 
Join Date: Dec 2004
This is a very useful hack. However what i had in mind was, if people wanted to bump, they had a button to bump the thread, but then the moderators will have to click ok to approve the thread bump so that way it wouldn't get abused. Anyway this can be done?

Thanks. Reserved until replied.
Reply With Quote
  #51  
Old 26 Nov 2007, 13:01
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by nyunyu View Post
This is a very useful hack. However what i had in mind was, if people wanted to bump, they had a button to bump the thread, but then the moderators will have to click ok to approve the thread bump so that way it wouldn't get abused. Anyway this can be done?
Yeah, that is entirely possible.

But if you're limiting the number of bumps a thread can get in total (not the number of times a particular person can bump it) as this does then the feature can't be abused the way this is written.
It's only a bump anyway, there's no reason for it to be moderated I think.
Reply With Quote
  #52  
Old 26 Nov 2007, 20:00
RFViet RFViet is offline
 
Join Date: Jan 2006
thanks, installed.
Reply With Quote
  #53  
Old 07 Dec 2007, 21:02
inspector inspector is offline
 
Join Date: Jan 2007
I'm having the same problem as PoetJA-1975. I'm getting the Invalid Action Specified error when I try to bump a thread. I checked and made sure the plugin was active.

I'm not sure where to place that bit of code above.
Reply With Quote
  #54  
Old 15 Dec 2007, 11:17
inspector inspector is offline
 
Join Date: Jan 2007
Can anyone help me with this? Please?
Reply With Quote
  #55  
Old 25 Dec 2007, 15:53
inspector inspector is offline
 
Join Date: Jan 2007
Please offer some help.
Reply With Quote
  #56  
Old 31 Dec 2007, 14:10
inspector inspector is offline
 
Join Date: Jan 2007
I guess there is no support for this plugin. Uninstalled.
Reply With Quote
  #57  
Old 30 Jan 2008, 02:43
mrsbuzzy mrsbuzzy is offline
 
Join Date: Oct 2004
I am getting this error:

Parse error: syntax error, unexpected '<' in C:\domains\parent-2-parent.com\wwwroot\forum\postings.php(149) : eval()'d code on line 11


and a VBulletin message which states:
Invalid Action Specified
Reply With Quote
  #58  
Old 04 Feb 2008, 22:58
koby411 koby411 is offline
 
Join Date: May 2007
I installed this and tried using it.
It bumps the thread on thread view.
But on the forum index, it doesn't update the last post info with the bumped thread..

How do I make it do that?
Reply With Quote
  #59  
Old 04 Feb 2008, 23:07
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Is it possible to incorporate a timer for this? Admin can set bump times for each specific forum. This will limit people from repeat bumping on high traffic forums like mine.

I've seen other sites have timers at the top above post if your author. Counts down by Hours: Minutes until your next bump time is available.

Reply With Quote
  #60  
Old 05 Feb 2008, 11:43
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by koby411 View Post
I installed this and tried using it.
It bumps the thread on thread view.
But on the forum index, it doesn't update the last post info with the bumped thread..

How do I make it do that?
Presumably your forum index is cached, since it updates on Showthread.php
Clear the forum index cache and that should do it.

Originally Posted by CoryNickerson View Post
Is it possible to incorporate a timer for this? Admin can set bump times for each specific forum. This will limit people from repeat bumping on high traffic forums like mine.
Ooh nice idea, but a little too complex for me to implement just right now.

This hack limits the number of bumps that can be done in a threads lifetime, if that's any help.
i.e. if you set the limit to 5, then the thread can be bumped OR debumped only five times no matter who does it.

There's a hack out there that limits the bumping to the thread author, however, if you'd prefer that. Still no timer though!


Anyone who's interested: it says above that this is not supported. I come back in here only when I can, so be patient or don't bother.
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 04:40.

Layout Options | Width: Wide Color: