Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Daily Private Message Quota (Per Usergroup) Details »»
Daily Private Message Quota (Per Usergroup)
Version: 1.2, by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.0 Rating:
Released: 05-02-2008 Last Update: 05-03-2008 Installs: 38
Uses Plugins
 
No support by the author.

Prevent Private Message spamming with this Daily PM Quota modification which allows you to set a daily limit for sending Private Messages per user group.

Daily PM Quota

This product is based on this request:

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

Product Overview

(1) New Product
(1) New XML FIle

Install Time: Quick!


What Does This Modification Do?

This hack checks the amount of private messages a user has sent in the past 24 hours and makes sure it that amount doesn't go past the user's User Group PM Quota.

ChangeLog
  • 05/04/2008 - Tidy up code and included German translation by KURTZ, thank you.
  • 1.2: French translation included in zip file under /translations. Thanks Albibak.
  • 1.1: Fixed several bugs, for those who have this installed already, just re-upload the product xml file and select the option to overwrite.
Enjoy.

Show Your Support

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

Comments
  #2  
Old 05-03-2008, 07:51 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

italian translation ...
Reply With Quote
  #3  
Old 05-03-2008, 07:59 PM
jayzy1 jayzy1 is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed thanks
Reply With Quote
  #4  
Old 05-03-2008, 08:50 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never mind.
Reply With Quote
  #5  
Old 05-03-2008, 08:55 PM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Can a per-user option also be added in case you just want to stop a certain spammer?
That will be great. Hope to see that at next version.

Clicked Installed on credit..
Reply With Quote
  #6  
Old 05-04-2008, 12:44 AM
Guest190829
Guest
 
Posts: n/a
Default

If you want to limit a certain spammer, just move him to a separate user group. I don't plan on adding a specific user option because I think its already possible.
Reply With Quote
  #7  
Old 05-04-2008, 06:40 AM
Guest190829
Guest
 
Posts: n/a
Default

I tidied up the code a little bit and also included KURTZ translation in the release. An upgrade is not required, but if you do upgrade just reimport the product and choose to overwrite the existing product.
Reply With Quote
  #8  
Old 09-06-2008, 06:29 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

way to go Danny !
Reply With Quote
  #9  
Old 01-25-2009, 08:45 PM
mattysheff mattysheff is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

How do I uninstall this. Everytime I remove it I start to get the following error.

Database error in vBulletin 3.8.0:

Invalid SQL:
UPDATE vbusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'New Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '12317175',
`genericpermissions` = '1311249095',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '1',
`pmthrottlequantity` = '5',
`pmdailyquota` = '',
`calendarpermissions` = '31',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '137215',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '191',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '2600000',
`usercsspermissions` = '63',
`visitormessagepermissions` = '47',
`socialgrouppermissions` = '50997',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535',
`phpkd_pmpruneperiod` = '30',
`gazperms` = '1',
`vbblog_general_permissions` = '254962',
`vbblog_customblocks` = '5',
`vbblog_custompages` = '5',
`vbblog_entry_permissions` = '7679',
`vbblog_comment_permissions` = '910',
`fcpermissions` = '1'
WHERE usergroupid=2;

MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Request Date : Sunday, January 25th 2009 @ 11:34:32 PM
Error Date : Sunday, January 25th 2009 @ 11:34:33 PM
Script : /forum/admincp/usergroup.php?do=update
Referrer : /forum/admincp/usergroup.php?do=edit&usergroupid=2
IP Address :
Username :
Classname : vB_Database_MySQLi
MySQL Version : 4.0.27-standard
Reply With Quote
  #10  
Old 03-03-2009, 10:38 AM
NetRover NetRover is offline
 
Join Date: Jul 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, should this work for additional usergroups?

I have a free usergroup that is limited pm's. I have created a usergroup used for donations which they get added as an additional usergroup.

It does not appear to overide the limited pm setting as an additional group.

look forward to your advice, kindest regards Andy
Reply With Quote
Reply

Thread Tools

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 02:15 AM.


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.04828 seconds
  • Memory Usage 2,280KB
  • Queries Executed 23 (?)
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)bbcode_quote
  • (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
  • (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
  • (7)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete