Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WoG - Threads Limit Per X Hours on Specified Forum Details »»
WoG - Threads Limit Per X Hours on Specified Forum
Version: 1.0.0, by WoGuziczek WoGuziczek is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 01-04-2010 Last Update: Never Installs: 38
DB Changes Uses Plugins
 
No support by the author.

WoG - Threads Limit Per X Hours on Specified Forum
[WoG - TLPXHONSF]

Mod works on vB 3.7 and vB 3.8 and vB 4.0

What is it? / What does it do?
It is a small modification that allows a limit post threads within X hours (for each forum separately).


Features
  • Exluded Usergroups
  • Turn off the hack global
  • Count only visible threads


Technical
  • Phrases: 11
  • Plugins: 4
  • SQL Queries: 1
  • Templates : 0
  • Images to upload: 0
  • Files to upload: 0
  • Files to edit: 0
  • Templates to edit: 0

Installation
1-) Import product


Upgrade
1-) Import latest product and select Allow Overwrite


Versions
v1.0.0 - January 05 2010
- First release for vB4

ENJOY

Do you like this mod? Please click Mark as Installed and Nominate for MOTM
or say "Thanks"


Not install = Not support :]

Download Now

File Type: zip WoG - Threads Limit Per X Hours on Specified Forum.zip (36.4 KB, 242 views)

Screenshots

File Type: png error.png (2.9 KB, 0 views)
File Type: png forumadmin.png (9.1 KB, 0 views)
File Type: png options.png (26.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-06-2010, 12:09 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very useful. Tagged for later.
Reply With Quote
  #3  
Old 01-06-2010, 03:50 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

Why it do not upgrade existing installed product? I overwrote it but installed separately, Now I have 2 products installed, what to do now? I don't want to set all forums again
Reply With Quote
  #4  
Old 01-06-2010, 08:13 PM
WoGuziczek WoGuziczek is offline
 
Join Date: Feb 2008
Location: Poland
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Veer, you install attach from this thread & overwrote attach from this thread?
Doubt...
Versions for 3.7, 3.8 and 4.0 are different.

Check product_id for your 2 products.


// Try:
Go to Admin CP > Plugins & Products > Manage Products > Edit older my hack (older is not = wog_tlpxhonsf4) and delete Existing Install/Uninstall Code for this hack. When you do it - uninstall this hack.
Reply With Quote
  #5  
Old 01-07-2010, 10:10 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thanxx
________
Ship sale
Reply With Quote
  #6  
Old 01-08-2010, 11:43 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WoGuziczek View Post
@Veer, you install attach from this thread & overwrote attach from this thread?
Doubt...
Versions for 3.7, 3.8 and 4.0 are different.

Check product_id for your 2 products.


// Try:
Go to Admin CP > Plugins & Products > Manage Products > Edit older my hack (older is not = wog_tlpxhonsf4) and delete Existing Install/Uninstall Code for this hack. When you do it - uninstall this hack.
Yes, I'm sure I overwrote the new product.

Old version has wog_atlpxhonsf Product ID and WoG - ATLPXHONSF title.
New version has wog_tlpxhonsf Product ID and WoG - TLPXHOSF title.

Old version install code:
Code:
$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_max` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_hours` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$db->show_errors();
New version install code:
Code:
$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_max` INT(10) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_hours` INT(10) UNSIGNED DEFAULT '0' NOT NULL");
$db->show_errors();
Reply With Quote
  #7  
Old 01-08-2010, 02:49 PM
WoGuziczek WoGuziczek is offline
 
Join Date: Feb 2008
Location: Poland
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install code not changed.
Delete uninstall code for product WoG - ATLPXHONSF and delete this hack.
Reply With Quote
  #8  
Old 01-08-2010, 03:27 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, Done.

Thank you WoGuziczek, Its fine now.
Reply With Quote
  #9  
Old 01-08-2010, 05:06 PM
albrens albrens is offline
 
Join Date: Jun 2006
Location: AU
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #10  
Old 02-14-2010, 07:26 PM
Tutatruck Tutatruck is offline
 
Join Date: Jan 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Extremly useful plugin, will install! Could it possibly be enhanced with a per user basis also, not only whole groups?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04660 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete