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

Reply
 
Thread Tools
Restrict Post Count Details »»
Restrict Post Count
Version: 1.2, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 04-09-2007 Last Update: 09-18-2007 Installs: 54
Uses Plugins
 
No support by the author.

Restrict Post Count

Description:
Restricts posts counting if under a certain amount of characters/words.

Request:
https://vborg.vbsupport.ru/showthread.php?t=144459

Installation:
All the installation information is in the package.

Changes:
5 Plugins
9 Phrases

Change Log:
19/09/2007 - Version 1.2
- Streamlined Code
- Added Option To Enable/Disable Quote Stripping
- Updated ReadMe Style

11/04/2007 - Version 1.1
- Fixed Not Adjusting When Editing
- Quotes Now Don't Count

10/04/2007 - Version 1.0
- Initial Release

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 04-11-2007, 12:31 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhhh... I LOVE this!!! been wanting it for a while.. Thanks!!!!
Reply With Quote
  #13  
Old 09-19-2007, 12:14 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack Updated!

19/09/2007 - Version 1.2
- Streamlined Code
- Added Option To Enable/Disable Quote Stripping
- Updated ReadMe Style
Reply With Quote
  #14  
Old 09-28-2007, 10:28 AM
Flexo Flexo is offline
 
Join Date: Sep 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does "quote stripping" mean?
Reply With Quote
  #15  
Old 09-28-2007, 10:32 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Setting it to yes means that quotes will not count towards the total count of words/characters.
Reply With Quote
  #16  
Old 09-28-2007, 10:53 AM
Flexo Flexo is offline
 
Join Date: Sep 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, thanks

Is there a way to update existing user post counts in regard to the mod? I activate it, set the minimum to 5 words and ran the "update post counter" query, but apparently it didn't change anything.
Reply With Quote
  #17  
Old 09-28-2007, 11:07 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no way (at the moment) to update existing posts.
Reply With Quote
  #18  
Old 09-29-2007, 10:06 AM
DudeSicko DudeSicko is offline
 
Join Date: Apr 2002
Location: Denmark
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dang good Mod

But i have this little problem on my site.
I use vB 3.6.8, when i use Quick reply i get a note:
Attachment 70433

Also when i delete a post, i get to a blank white screen with nothing on it, same when i create a vote ve then get the blank screen.

The post is still submitted, but you just don't get the update.

I have the following Mod installed:

FlashChat Admin Panel
ibProArcade for vBulletin
Last Seen Online (Postbit)
Latest Post on Forum Home
Members who are using Flashchat

phpAdsNew Integration
Prevent Doubleposts
Radio Stations

Restrict Post Count
Separate Staff In User's Online
Who Has Read a Thread.
Yet Another Award System


Bold ones i tried to disable, and still same.
Reply With Quote
  #19  
Old 10-03-2007, 04:13 PM
Ati2 Ati2 is offline
 
Join Date: Jan 2006
Location: Budapest, Hungary
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I just upgraded, and I sometimes get this error:

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE user
SET posts = posts + Array
WHERE userid = 1342
LIMIT 1;

MySQL Error : Unknown column 'Array' in 'field list'
Error Number : 1054
Date : Wednesday, October 3rd 2007 @ 06:45:03 PM
Script : http://forum.hodito.hu/editpost.php?...&postid=127822

It only seems to occus when the editpost.php file is called. There was no problem with this before.
Reply With Quote
  #20  
Old 10-04-2007, 05:13 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know how you got that error, as the value ($postcount) can only be 0, -1 or 1.
Reply With Quote
  #21  
Old 10-11-2007, 11:05 AM
Ati2 Ati2 is offline
 
Join Date: Jan 2006
Location: Budapest, Hungary
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Figured out what my problem was... Paul's "Unread Posts and Reputation Comments (welcome box)" (https://vborg.vbsupport.ru/showthread.php?t=123886) has the same variable name ($postcount), and these two mods conflict with each other.

I changed the variable name, it works fine now.
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:19 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.04863 seconds
  • Memory Usage 2,301KB
  • Queries Executed 26 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete