vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Private Messages Enhancements - Private Message Warning (https://vborg.vbsupport.ru/showthread.php?t=233828)

Vitaly 01-21-2010 10:00 PM

Private Message Warning
 
1 Attachment(s)
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.

LEGS 01-22-2010 11:05 AM

Will this work with VB 3.8.4 ?

Vitaly 01-22-2010 11:24 AM

yes

Alfa1 01-22-2010 02:55 PM

It isn't clear for which member(s) this works. Does it works if someone send a PM to admins, moderators, any staff member?

Vitaly 01-22-2010 03:09 PM

Quote:

Originally Posted by Alfa1 (Post 1963468)
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".

Alfa1 01-22-2010 03:30 PM

Great. This will reduce workload as well. Thanks once again.

LEGS 01-22-2010 06:48 PM

Quote:

Originally Posted by Vitaly (Post 1963285)
yes

Thank you Vitaly. Downloaded and Installed.

ChopSuey 01-23-2010 02:41 AM

Thanks Installed & Nominated.

Alfa1 01-23-2010 06:06 PM

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 :

Vitaly 01-23-2010 06:13 PM

Thank for bugreport. I'll fix it in the begining of week.


All times are GMT. The time now is 07:06 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.01017 seconds
  • Memory Usage 1,738KB
  • 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)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