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 |
#42
|
||||
|
||||
It might be a conflict with vbSEO alright.
The bit that error refers to looks for a threadid when the thread is bumped. Can you post your URL format (an example like "forum-category/867-thread-title.html#post4029") and I will see if I can provide you with a workaround for this that works. |
#43
|
||||
|
||||
hmmm - I was thinking it could have something to do with vBSEO
At anyrate - the JPiC rewrite rule is [forum_title]/[thread_title]-[thread_id].html Thanx AND Thanx for the email as well Jacquii. |
#44
|
|||
|
|||
Geat MOD, installed and loving it. - thx
|
#45
|
|||
|
|||
Quote:
Thank You -vissa |
#46
|
||||
|
||||
Hey RINGLEADER - still waiting - is there a chance you've found a workaround for vBSEO?
Thanx, Jacquii. |
#47
|
||||
|
||||
Quote:
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: Code:
$vbulletin->templatecache['SHOWTHREAD'] = str_replace( array( '$vbphrase[remove_redirects]</option>', '$vbphrase[remove_redirects]</label></div>' ), array(' $vbphrase[remove_redirects]</option><option value=\"bump\">$vbphrase[bump]</option><option value=\"debump\">$vbphrase[debump]</option>', '$vbphrase[remove_redirects]</label></div><div><label for=\"ao_bump\"><input type=\"radio\" name=\"do\" id=\"ao_bump\" value=\"bump\" />$vbphrase[bump]</label></div><div><label for=\"ao_debump\"><input type=\"radio\" name=\"do\" id=\"ao_debump\" value=\"debump\" />$vbphrase[debump]</label></div>' ), $vbulletin->templatecache['SHOWTHREAD'] ); Cheers, glad you like it! |
#48
|
||||
|
||||
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 (https://vborg.vbsupport.ru/showthrea...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. |
#49
|
|||
|
|||
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? |
#50
|
||||
|
||||
Quote:
Code:
ALTER TABLE usergroup DROP bumpthreadspermissions |
#51
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|