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:	1065
Size:	16.7 KB
ID:	69271   Click image for larger version

Name:	threadtools.jpg
Views:	1222
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.
  #61  
Old 10 Feb 2008, 01:01
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
How to set for unlimited bumps?
Reply With Quote
  #62  
Old 10 Feb 2008, 05:43
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by LCN2007 View Post
How to set for unlimited bumps?
Actually, I never thought of that.
But it could be a vulnerability (somehow).

Just set it to a ridiculous number and that will work
Reply With Quote
  #63  
Old 14 Feb 2008, 21:55
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Bunny!

Is this compatible with 3.7?
__________________
If we don't help each other when we can, then we're not making this world a better place.
Reply With Quote
  #64  
Old 15 Feb 2008, 08:23
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by Bubble #5 View Post
Is this compatible with 3.7?
Haven't a clue.
I don't know anything about v3.7 to know whether it would work on it.

Since hooks aren't removed, however, I would say that it does.
The placement of the code to show the 'bump/debump' bit in SHOWTHREAD template will more than likely have changed a little.
Reply With Quote
  #65  
Old 28 Feb 2008, 04:44
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Any chance this works for VB 3.5.x ?

Thanks
Reply With Quote
  #66  
Old 03 Mar 2008, 08:52
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by bada_bing View Post
Any chance this works for VB 3.5.x ?

Thanks
I don't think so. I think the hooks used are not available in that version.

You could check by installing it - a simple uninstall will remove it if it doesn't work for you.
Reply With Quote
  #67  
Old 03 Mar 2008, 13:20
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Has anyone tried this in a 3.5 version yet. Id rather not test on a production site...
Reply With Quote
  #68  
Old 03 Mar 2008, 14:13
justchil justchil is offline
 
Join Date: Sep 2005
Very cool! I'm glad you added the usergroup permissions into this hack

*installed*
Reply With Quote
  #69  
Old 09 Mar 2008, 09:27
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Real name: CÚdric
Bonjour,

Voici une petite modification :

Search in SHOWTREAD :


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

After, add :


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

CÚdric
Attached Images
File Type: jpg discussion.jpg (66.6 KB, 78 views)
Reply With Quote
  #70  
Old 10 Mar 2008, 09:20
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Merci apdcanari, that's quite a nice idea!
Reply With Quote
  #71  
Old 13 Mar 2008, 18:25
mrsbuzzy mrsbuzzy is offline
 
Join Date: Oct 2004
It would be GREAT if this were available for 3.7
Reply With Quote
  #72  
Old 25 Apr 2008, 08:17
KEKforce KEKforce is offline
 
Join Date: Feb 2007
Just tested it on vb3.7.0. rc4 and works great!
Reply With Quote
  #73  
Old 02 May 2008, 08:38
justchil justchil is offline
 
Join Date: Sep 2005
I'm not having any luck with 3.7.0 "gold" or whatever the stable release is called. I tried reinstalling with "allow overwrite" checked. I think this may have something to do with reverting my templates although I did the reinstall AFTER reverting my templates.
Reply With Quote
  #74  
Old 02 May 2008, 16:23
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Real name: Fran
Originally Posted by justchil View Post
I'm not having any luck with 3.7.0 "gold" or whatever the stable release is called. I tried reinstalling with "allow overwrite" checked. I think this may have something to do with reverting my templates although I did the reinstall AFTER reverting my templates.
I haven't a clue about the new 3.7 file structure.

It may be that the fundamental part of the code will not integrate with the new showthread file (especially with all those social networking things going on in vbulletin now).

The bad thing is I may not install 3.7 myself because of the social aspect.
It's not for all sites.

Still, I'll see if I can work out this problem for you on a local install of 3.7 - can't promise when though, I just quit my job this morning and it's more hectic than ever
__________________
Awesome. Awesome to the max.
Reply With Quote
  #75  
Old 03 May 2008, 06:19
justchil justchil is offline
 
Join Date: Sep 2005
No rush... I can take a look at it a little closer when I have time. I disabled the social feature... installed it mostly for the new album/gallery/photo deal. I just wanted to try everything as far as an install/reinstall and a quick look over before saying it didn't work
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 11:46.

Layout Options | Width: Wide Color: