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

Reply
 
Thread Tools
Advanced Private Messages Options Details »»
Advanced Private Messages Options
Version: 2.00, by AliMadkour AliMadkour is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.0.0 Beta 3 Rating:
Released: 11-23-2009 Last Update: Never Installs: 145
Supported Uses Plugins
 

Hi There

Please remember to Click Mark as Installed if you use this modification.

today I have A Very Important Plugins
It's allow you to control P.M Sending

With that Plugin you can :
  • Set minimum Posts to send Private Messages
  • Change the message if the member have less that Requested Posts
  • Disallow usergroups To send Private Messages And Change The display error message
  • Disallow user(s) to send Private Messages and also you can change the Display Error Message
How to Install :
  • Import XML file from your AdminCP
  • Click Mark as Installed if you install it !
Control :
  • AdminCP -> vBulletin Options -> Advanced Private Messages Options
Note : Arabic translation also attached
Turkish Translation Can Be Found Here !!

Download Now

File Type: xml product-advanced_pm_manage.xml (6.8 KB, 425 views)
File Type: xml product-advanced_pm_Options [ Arabic ].xml (11.1 KB, 74 views)

Screenshots

File Type: jpg PM.jpg (63.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Filgga

Comments
  #22  
Old 12-25-2009, 04:07 PM
ramtha ramtha is offline
 
Join Date: May 2009
Location: Jordan
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks dear Ali .. its very nice

بارك الله فيك
Reply With Quote
  #23  
Old 12-25-2009, 07:06 PM
Gnoll's Avatar
Gnoll Gnoll is offline
 
Join Date: Dec 2009
Location: İzmir
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@bbcentral , you need to set promote things etc right ? you set Member and Member2 ... I dont know i'm bit newbie @ vB using it for 1 week
---------------------------------------
Helpful about PM spammers thank you and Marked as Installed also
Turkish translate added

Attached Files
File Type: xml product-advanced_pm_manage_turkish.xml (6.9 KB, 8 views)
Reply With Quote
  #24  
Old 12-25-2009, 08:21 PM
pjaco's Avatar
pjaco pjaco is offline
 
Join Date: Jul 2008
Location: Oslo / Norway
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #25  
Old 03-04-2010, 04:00 AM
adreen adreen is offline
 
Join Date: Jul 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

downloaded. thanks!
Reply With Quote
  #26  
Old 01-26-2011, 03:57 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From my experience is v useful to let newbies send PM to moderators and admin but not to the rest of the people I have this for 3.8 and I am looking for a 4.1.1. version.
Unfortunately the promotion setup does not work like this. This cut all PM from newbies.
You might consider this ...
Reply With Quote
  #27  
Old 12-31-2017, 03:53 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vb4.2.5 PHP 7 I get this error when I try send pm.

Code:
Call to undefined function split() on line 3 in /var/www/vhosts/TEST FORUM/httpdocs/private.php(1461) : eval()'d code
#0 /var/www/vhosts/TEST FORUM/httpdocs/private.php(1461): eval()
#1 {main}
When mod is disabled all is fine.
This mod has 2 plugins, when disable this, pm works.

private_newpm_start
Code:
if($vbulletin->options['advanced_pm_manage_onoff'])
{
$madkour_banusers=split(',', $vbulletin->options['advanced_pm_manage_BannedMembers']);
$madkour_bangroups=split(',', $vbulletin->options['advanced_pm_manage_BannedGroups']);
if ($vbulletin->userinfo['posts'] < $vbulletin->options['advanced_pm_manage_reqPosts'])
{
standard_error($vbulletin->options['advanced_pm_manage_reqMessage']);
}
if (is_member_of($vbulletin->userinfo, $madkour_bangroups))
{
standard_error($vbulletin->options['advanced_pm_manage_BannedGroupsMessage']);
}
if (in_array($vbulletin->userinfo['userid'], $madkour_banusers))
{
standard_error($vbulletin->options['advanced_pm_manage_BannedMembersMessage']);
}
}
/*
standard_error($vbulletin->options['advanced_pm_manage_BannedMembersMessage']);
*/
Any idea ?

Thanks
Reply With Quote
  #28  
Old 12-31-2017, 05:33 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace that with the following:

PHP Code:
if($vbulletin->options['advanced_pm_manage_onoff'])
{
$madkour_banusers=explode(','$vbulletin->options['advanced_pm_manage_BannedMembers']);
$madkour_bangroups=explode(','$vbulletin->options['advanced_pm_manage_BannedGroups']);
if (
$vbulletin->userinfo['posts'] < $vbulletin->options['advanced_pm_manage_reqPosts'])
{
standard_error($vbulletin->options['advanced_pm_manage_reqMessage']);
}
if (
is_member_of($vbulletin->userinfo$madkour_bangroups))
{
standard_error($vbulletin->options['advanced_pm_manage_BannedGroupsMessage']);
}
if (
in_array($vbulletin->userinfo['userid'], $madkour_banusers))
{
standard_error($vbulletin->options['advanced_pm_manage_BannedMembersMessage']);
}
}
/*
standard_error($vbulletin->options['advanced_pm_manage_BannedMembersMessage']);
*/ 
Reply With Quote
  #29  
Old 12-31-2017, 05:56 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes my friend thanks that's ok now.
As I see explode rather split. Do I must change and in the other plugin? it has there to.


* Split must be change where ever it is in other mods?

Thank youuuuu. Attachment 156829
Reply With Quote
  #30  
Old 12-31-2017, 05:58 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the split() function is deprecated in PHP 7.x, so all instances of that function needs to be replaced with the explode() function.
Reply With Quote
  #31  
Old 12-31-2017, 06:09 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Yes, the split() function is deprecated in PHP 7.x, so all instances of that function needs to be replaced with the explode() function.

Well that's very interesting thanks.
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 03:52 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.05735 seconds
  • Memory Usage 2,354KB
  • Queries Executed 29 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)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
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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