vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Bump or de-bump thread w/ usergroup permissions (https://vborg.vbsupport.ru/showthread.php?t=156627)

ringleader 08-29-2007 10:00 PM

Bump or de-bump thread w/ usergroup permissions
 
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.

ringleader 08-30-2007 03:03 PM

*First post reserved*

Because, eh, everyone else does it.

Symmetrical? 08-30-2007 03:06 PM

second :D

ringleader 08-30-2007 03:58 PM

Woot!
Fast response/installation!
Hope it doesn't unintentionally kill your board or anything (though it shouldn't be able to, there's always the nervousness).

Feedback/suggestions welcomed and appreciated, btw.

LCN2007 08-31-2007 02:56 AM

This is great will instal when i get home

LCN2007 08-31-2007 06:05 AM

Doesnt let me set user groups im getting a Database error anyone else?

Can some help me figure it out please.

Hornstar 08-31-2007 06:43 AM

One feature I would die for is inline moderation of bumping debumping as that would allow me to bump several threads at once!

ringleader 08-31-2007 07:16 AM

Quote:

Originally Posted by LCN2007 (Post 1329319)
Doesnt let me set user groups im getting a Database error anyone else?

Can some help me figure it out please.

What vbulletin version are you running?
What error are you getting exactly?
When are you getting the error/What are you trying to do when you get it?

ringleader 08-31-2007 10:29 AM

Quote:

Originally Posted by hornstar1337 (Post 1329329)
One feature I would die for is inline moderation of bumping debumping as that would allow me to bump several threads at once!

This one does that (for moderators only) ;)

Hornstar 08-31-2007 11:45 AM

Quote:

Originally Posted by ringleader (Post 1329414)
This one does that (for moderators only) ;)

not what im after tho. I am after this, but with inline moderation (where you can tick the threads, and then click the drop down menu and select bump thread, or debump thread)


All times are GMT. The time now is 04:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01209 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete