![]() |
|
Mod Options |
![]() |
|||||||||||
Bump or de-bump thread w/ usergroup permissions
![]() Developer Last Online: Dec 2011 ![]() ![]() ![]() This modification is in the archives.
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 Show Your Support
No members have liked this post.
|
#16
|
|||
|
|||
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? No members have liked this post.
Last edited by LCN2007; 31 Aug 2007 at 18:14. |
#17
|
|||
|
|||
I'm having this same issue.
No members have liked this post.
|
#18
|
||||
|
||||
Originally Posted by ringleader
Thanks, I have pmed you my email. Hopefully Andrea will allow you to post it on the site as well.![]()
thanks.
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
#19
|
|||
|
|||
i get an image with "REP" on instead!!
No members have liked this post.
|
#20
|
|||
|
|||
You said it!!!
No members have liked this post.
|
#21
|
|||
|
|||
Same here. If I click one it says invalid function.
I have TMS. No members have liked this post.
Last edited by pollon; 01 Sep 2007 at 14:46. |
#22
|
||||
|
||||
Originally Posted by LCN2007
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'. No members have liked this post.
|
#23
|
||||
|
||||
*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. No members have liked this post.
Last edited by ringleader; 03 Sep 2007 at 09:46. |
#24
|
|||
|
|||
I've reinstalled it and I've added those phrases but when i click on the link it gives me "invalid function".
No members have liked this post.
|
#25
|
||||
|
||||
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:
I swear that'll sort it for you. ...and thanks for even bothering to troubleshoot this. No members have liked this post.
|
#26
|
|||
|
|||
I think its working now thanks for your help but i wont be sure until my site goes live ill let you know.
No members have liked this post.
|
#27
|
|||
|
|||
Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!
No members have liked this post.
|
#28
|
||||
|
||||
Originally Posted by misuse
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. No members have liked this post.
|
#29
|
|||
|
|||
Just wondering, but is this accurate:
No members have liked this post.
|
#30
|
||||
|
||||
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.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:09.