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.

Vitaly 01-23-2010 06:42 PM

1 Attachment(s)
Please, check if attached file fixes reported bug.

BigBass 01-24-2010 07:43 AM

Let me know when this bug is fixed, It looks like something i can really use!

xorex 03-16-2010 09:12 PM

I has sent two issues on github

Так же хотелось бы иметь возможность указывать отдельных пользователей кто может использовать предупреждения, потому что не всегда нужно давать всем пользователям из всей группы возможность использовать эту функцию.

matthewhotdude 03-16-2010 10:24 PM

Ive set the message but it's not showing up to anyone

xorex 03-16-2010 10:33 PM

Quote:

Originally Posted by matthewhotdude (Post 2005066)
Ive set the message but it's not showing up to anyone

you push send message button in PM ?

warning show only after send message button

Vitaly 03-17-2010 03:30 AM

Quote:

Originally Posted by xorex (Post 2005033)
I has sent two issues on github

Thanks for report. I've recorded your suggestion too. Will be fixed in 2 weeks.

Alfa1 05-24-2010 06:09 PM

My users get this error when they register:

Code:

Fatal error: Call to a member function clean_gpc() on a non object  in /public_html/forum/includes/class_dm_user.php(2956) : eval()'d code  on line 18
line 2956 of class_dm_user.php is:
Code:

($hook = vBulletinHook::fetch_hook('private_insertpm_process')) ? eval($hook) : false
Your plugin named 'Get warning message' uses the hook private_insertpm_process.

Could you check what causes this problem with line 18 of this plugin?

Vitaly 05-24-2010 07:45 PM

Will check tommorow. Do you have autosend welcome PM after registration ? If yes, is it via vB standard feature or some mod?

Alfa1 05-24-2010 10:35 PM

I have the standard autosend welcome PM active.

Vitaly 05-26-2010 03:55 PM

1 Attachment(s)
Please, check if attached file helps.

Alfa1 06-14-2010 08:20 AM

This seemed to have done the trick. I am receiving no more complaints about errors. Thank you!

Alfa1 08-03-2010 08:54 PM

Which is the latest version: the 0.4 version, or the one you posted above?
Could you post a changelog?

Vitaly 08-05-2010 01:32 PM

I've updated product to one from last post. It's the latest version for vb3.8 and no longer developped. All next changes are for vb4.0 only, in appropriate topic.

Ghostt 08-05-2010 06:04 PM

is it possible to set up a standartwarning for all usergroups selcted?
would be a great improve. spasibo!

Alfa1 08-05-2010 11:31 PM

This version still shows as version 7, while my adminCP shows a newer version (8) is available.

Vitaly 08-13-2010 08:53 AM

Next version is for vb 4.0. Don't use it.

Ghostt 08-13-2010 03:54 PM

but we need a working one for 3.8 isnt it possible to do this feature i ve suggest? https://vborg.vbsupport.ru/showpost....3&postcount=24

Vitaly 08-16-2010 07:32 AM

Ghostt, this mod is working. If features set doesn't satisfy your needs - I can't help. First, because i don't develop mods for 3.8 branch anymore. Second, because i'm limited in time, to accept custom request.

This code is marked as reuseable. Try to find someone else, who can make modifications for you.


All times are GMT. The time now is 03:28 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.01318 seconds
  • Memory Usage 1,768KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete