Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Private Message Warning Details »»
Private Message Warning
Version: 0.4, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.8.x Rating:
Released: 01-21-2010 Last Update: 08-04-2010 Installs: 29
DB Changes Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

vb 4.x version here

This mod allows show custom warning, when somene with to send PM for stuff members. Very useful, to avoid reply million times "just read FAQ, answer to your question is there".

Feature
  • Each user can set his personal warning text.
  • You can select, which usergroups can use this mod.
  • Warning are not shown every time (that irritates). You can set delay (2 weeks by default)
Ho to install
  • Import product XML
  • Go to ACP and set prefered options
  • How allower users can set text in UCP.
See screenshots.

This product is developped here: http://github.com/rcdesign/vb-pm_warning . Patches are welcome.

Download Now

File Type: xml product-pm_warning.xml (19.1 KB, 74 views)

Screenshots

File Type: jpg pmw_action.jpg (73.3 KB, 0 views)
File Type: jpg pmw_ucp.jpg (62.7 KB, 0 views)
File Type: jpg pwm_settings.jpg (48.3 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 01-22-2010, 11:05 AM
LEGS LEGS is offline
 
Join Date: Sep 2007
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work with VB 3.8.4 ?
Reply With Quote
  #3  
Old 01-22-2010, 11:24 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes
Reply With Quote
  #4  
Old 01-22-2010, 02:55 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It isn't clear for which member(s) this works. Does it works if someone send a PM to admins, moderators, any staff member?
Reply With Quote
  #5  
Old 01-22-2010, 03:09 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
It isn't clear for which member(s) this works. Does it works if someone send a PM to admins, moderators, any staff member?
Yes. You should select those groups in ACP mod config. Then every member of those groups will be able to setup personal warning (see screenshot). Like "Read forum rules, prior to ask", "Please, see our knowlegs base befor asking" and other bullshit

When user try to send PM for such stuff member, he will see warning and text "please press button again if you are really shure".
Reply With Quote
  #6  
Old 01-22-2010, 03:30 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. This will reduce workload as well. Thanks once again.
Reply With Quote
  #7  
Old 01-22-2010, 06:48 PM
LEGS LEGS is offline
 
Join Date: Sep 2007
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
yes
Thank you Vitaly. Downloaded and Installed.
Reply With Quote
  #8  
Old 01-23-2010, 02:41 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Installed & Nominated.
Reply With Quote
  #9  
Old 01-23-2010, 06:06 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a conflict with custom prefixes. If a board has custom DB prefixes, this will result in a database error if people try to send a PM to staff members.

Quote:
Database error in vBulletin 3.8.3:

Invalid SQL:
SELECT `lasttime`
FROM vb6_`pmwarninglasttime`
WHERE
`userid` = 73014 AND `recipientid` = 1
AND `lasttime` > 1263582318;

MySQL Error : Table 'mysite_forum.vb6_' doesn't exist
Error Number : 1146
Request Date : Friday, January 22nd 2010 @ 08:05:18 PM
Error Date : Friday, January 22nd 2010 @ 08:05:19 PM
Script : http://www.mysite.com/forum/private....pm&pmid=275425
Referrer : http://www.mysite.com/forum/private....pm&pmid=275425
IP Address : xx.xx.xxx.xxx
Username : user2
Classname : vB_Database
MySQL Version :
Reply With Quote
  #10  
Old 01-23-2010, 06:13 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank for bugreport. I'll fix it in the begining of week.
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 10:54 AM.


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.04620 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)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
  • (2)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