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

Reply
 
Thread Tools
Advanced PM Options Details »»
Advanced PM Options
Version: 1.3.2, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.x Rating:
Released: 06-08-2009 Last Update: 08-14-2009 Installs: 7
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===================================*\
|| Advanced PM Options
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Aug 15, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*===================================*/

DESCRIPTION

This hack enhances the usability of private messaging system by adding a few administrative and member options.

STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES

Adds the Following Options to New PM Screen:
  • Checkbox 'Delete Original PM'.
Adds the Following User CP Settings:
  • User CP Setting: 'Enable "save copy" checkbox by default'. (disabled on 3.8.x and above)
  • User CP Setting: 'Enable "request receipt" checkbox by default'.
  • User CP Setting: 'Enable "delete original message" checkbox by default'.
Add the Following Usergroup Settings:
  • Disable Sending of Private Messages

VERSION HISTORY

1.3.2
[F] Fixed a few bugs that were found in 1.3.1.

1.3.1
[+] The checkbox "save copy" is now disabled on 3.8.x, since 3.8.x already has such a feature.

1.3.0
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Eliminated all template edits.

1.2.3
[F] Fixed a bug associated with a new hook placement in vBulletin 3.6.

1.2.2
[+] The modification is now compatible with vBulletin 3.6.

1.2.1
[+] Pm count is now updated after a pm is deleted via "delete original pm".

1.2.0
[+] Added a new usergroup permission: "Disable Sending PMs". Useful when you want to only disallow sending of PMs by a certain usergroup, but allow incoming pms.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #2  
Old 06-09-2009, 12:31 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First Post Reserved.
Reply With Quote
  #3  
Old 06-15-2009, 05:05 PM
N3v3R N3v3R is offline
 
Join Date: Jun 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i check mark the 'save copy' by default option in the profile i get this error

Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php on line 1774

its located at the top of the redirect page. any thoughts on it?
im using 3.7.5
Reply With Quote
  #4  
Old 06-29-2009, 08:19 AM
Blind Guardian's Avatar
Blind Guardian Blind Guardian is offline
 
Join Date: Mar 2004
Location: South Carolina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by N3v3R View Post
when i check mark the 'save copy' by default option in the profile i get this error

Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php on line 1774

its located at the top of the redirect page. any thoughts on it?
im using 3.7.5
I'm getting the same problem. I've skimmed through the code to try and work out what the problem is and as far as I can tell it's something to do with the delete original PM feature passing bad arguments to the GPC cleaner.

A fix would certainly be appreciated.

EDIT: 3.7.2 here, by the way.

EDIT2: Found the problem. In product-psi_advpmoptions.xml, on line 245:

Code:
	$vbulletin->input->clean_array_gpc('p', 'advpmoptions_savecopy', TYPE_UINT);
Should be

Code:
	$vbulletin->input->clean_gpc('p', 'advpmoptions_savecopy', TYPE_UINT);
Reply With Quote
  #5  
Old 08-15-2009, 01:04 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Released version 1.3.2 that fixed the above bugs.
Reply With Quote
  #6  
Old 08-23-2009, 10:13 AM
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice man,

thank u..
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 12:59 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.04319 seconds
  • Memory Usage 2,252KB
  • Queries Executed 21 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete