The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Bump or de-bump thread w/ usergroup permissions Details »» | |||||||||||||||||||||||||||
Bump or de-bump thread w/ usergroup permissions
Developer Last Online: Dec 2011
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. Show Your Support
|
Comments |
#22
|
|||
|
|||
Same here. If I click one it says invalid function.
I have TMS. |
#23
|
||||
|
||||
Quote:
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'. |
#24
|
||||
|
||||
*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. |
#25
|
|||
|
|||
I've reinstalled it and I've added those phrases but when i click on the link it gives me "invalid function".
|
#26
|
||||
|
||||
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: Code:
if ($_REQUEST['do'] == 'bump' OR $_REQUEST['do'] == 'debump') { $handled_do = true; if (!$threadinfo['threadid']) { eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink']))); } } ...and thanks for even bothering to troubleshoot this. |
#27
|
|||
|
|||
I think its working now thanks for your help but i wont be sure until my site goes live ill let you know.
|
#28
|
|||
|
|||
Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!
|
#29
|
||||
|
||||
Quote:
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. |
#30
|
|||
|
|||
Just wondering, but is this accurate:
Quote:
|
#31
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|