vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Advanced PM Options (https://vborg.vbsupport.ru/showthread.php?t=132450)

akanevsky 11-24-2006 10:00 PM

Advanced PM Options
 
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

akanevsky 11-25-2006 06:00 PM

<font size="3">First Post Reserved.</font>

winpro19 11-25-2006 06:09 PM

*First Install* :D:D

soulface 11-25-2006 06:14 PM

/me Clicked Install!

Exitilus 11-25-2006 09:27 PM

there seems to be a file missing from the Zip O.o There is no bitfield_advpmoptions.xml

akanevsky 11-25-2006 09:37 PM

It was missing indeed. My apologies. Please re-download.

Exitilus 11-25-2006 09:38 PM

Here's the file you need :)

Edit: Oops looks like you got it already :)

akanevsky 11-25-2006 09:39 PM

Quote:

Originally Posted by Exitilus (Post 1125097)
Here's the file you need :)

That's the product file. I needed the bitfield file. Already restored it. Thanks.

criscokid 01-07-2007 11:25 AM

Suggestion for the next version:

An admin set option to sweep users sent and/or inboxes and delete all messages older than 'x days'. Include the ability to set this on a 'per usergroup' basis with differrent time frames from different usergroups (premium users could have their messages kept for a longer period of time).

Antivirus 01-13-2007 10:58 PM

Nice work Anthony, thanks!

TJFweb 01-22-2007 03:24 AM

Can you please update this add-on so that the option of "NO" for "Disable Initiation of New PMs by this Usergroup?" overrides the option of "YES" in the case that users are in 2 usergroups?

For example, a user belongs to "Special Group 1" and "Registered Users". "Registered Users" has PM sending disabled, whereas "Special Group 1" has PM sending enabled. However, the user belonging to both groups still can't send PMs.

I want "Special Group 1"'s settings to override the settings for "Registered Users".

Any help would be appreciated. Thanks.

jgommel 01-22-2007 04:17 AM

Hey there, nice mod. I am however having a small problem with it. For some reason the ' User CP Setting: "Enable / Disable Delete Original PM Checkbox by Default"' option is not displaying on the Send New PM page (see screeenshots). I've copied the chunk of code in the the html install guide to the pm_newpm template, but the option still does not display.

Any suggestions?

Exitilus 01-25-2007 12:18 AM

I'm getting the following Error when people verify their E-mail Address:

Fatal error: Call to a member function on a non-object in forums/includes/class_dm_user.php(2391) : eval()'d code on line 1

I've tracked it down to this Mod. In specific the Plugin linked to "private_insertpm_complete"

akanevsky 01-25-2007 12:27 PM

Quote:

Originally Posted by Exitilus (Post 1166722)
I'm getting the following Error when people verify their E-mail Address:

Fatal error: Call to a member function on a non-object in forums/includes/class_dm_user.php(2391) : eval()'d code on line 1

I've tracked it down to this Mod. In specific the Plugin linked to "private_insertpm_complete"

What are the exact steps required to reproduce the problem?

Exitilus 01-25-2007 02:27 PM

I have COPPA Turned off, User Moderation Turned Off, E-mail Verification Turned on.

When the user Receives the E-mail for E-mail Verification and clicks the links.

What I did to find out that it was causing the problem was Set the user for Awaiting E-mail Verification, Choose Email Codes to User. Then took that link and clicked it.

FYI It Activates them fine. But they are on a white page with that error :)

WildSharky 01-26-2007 06:50 AM

Fatal error: Call to a member function on a non-object in /home/pimpin/public_html/forums/includes/class_dm_user.php(2391) : eval()'d code on line 1

Same error here but i have all that turned off they should come in to the site but its a white page with that error and then that have to reload the page and sign in..

Turning it off fixs this for now..

Exitilus 01-28-2007 09:38 PM

Were you able to discover anything about this Psionic? :)

akanevsky 01-29-2007 12:28 AM

I have not looked into the issue yet.

Exitilus 01-29-2007 12:39 AM

No Problem :D

akanevsky 02-04-2007 04:19 PM

Quote:

Originally Posted by Exitilus (Post 1169311)
Were you able to discover anything about this Psionic? :)

Problem corrected - please download the new package and re-import the product XML. This problem was caused by the new "Welcome PM" feature, which exists in 3.6 and which did not exist in 3.5...

Exitilus 02-04-2007 04:24 PM

Awesome thanks! :)

Muellmann 02-04-2007 09:57 PM

:up: I confirm this runs awesome on a 3.62, thanks for this great product!

DementedMindz 02-20-2007 03:21 AM

Psionic Vision any way you could put a setting in that after so many post it turns back on for say registered members or for the usergroup you have it shut off for? For example I shut my pms off on registered users this way there is no spam via pm so could you put something to where if they have like 10 post it would turn back on?

Saskia 04-16-2007 10:29 PM

Thanks for the update. I just found the glitch to this today when I opened my board and it didn't register the newest users and total member count. All works fine now!

SOL-R 05-14-2007 06:59 PM

Hi Psionic ! This looks like a great hack. I do have a question, I don't ban users but rather moderate them. I have tried to turn off their pm's but they still can receive them. Would it be possible to add to this hack a way to turn off both incoming and outgoing for a user group?

Thanks for your help.

Richard

PinkDaisy 08-04-2007 03:44 PM

Quote:

Originally Posted by SOL-R (Post 1247561)
Hi Psionic ! This looks like a great hack. I do have a question, I don't ban users but rather moderate them. I have tried to turn off their pm's but they still can receive them. Would it be possible to add to this hack a way to turn off both incoming and outgoing for a user group?


Thanks for your help.

Richard


This is what I'm wondering. I don't want this to go tot he users that can't use PMs at all anymore.

akanevsky 08-04-2007 03:46 PM

It's unnecessary. There is a default vBulletin options that allows you to set pmbox size. Set it to 0 and they will not be able to send or receive messages.

PinkDaisy 08-04-2007 04:05 PM

Also, I've taken out all the template edits to have this not work and it's still messing with the ones that aren't suppose to be getting PMs. ???

PinkDaisy 08-04-2007 04:06 PM

Quote:

Originally Posted by Psionic Vision (Post 1309707)
It's unnecessary. There is a default vBulletin options that allows you to set pmbox size. Set it to 0 and they will not be able to send or receive messages.

I have mine set to 0 already, and Pms are still getting through. they can't read them of course - but they are getting through.

akanevsky 08-04-2007 06:59 PM

Quote:

but they are getting through.
That sounds like a bug to be reported over at jelsoft's site.

AWMGolfer 03-04-2008 11:30 PM

Anyone tried this in 3.7?

Boofo 03-04-2008 11:40 PM

yep, it works with some tweaking.

mariocaz 03-05-2008 01:33 AM

And in 3.6.8 pl2 ?

CUBS 05-08-2008 09:20 PM

how about 3.6.9 does it work in there as well

Been Told 05-22-2008 08:19 PM

Quote:

Originally Posted by Boofo (Post 1457151)
yep, it works with some tweaking.

What kind of tweaking?

Jaxel 08-13-2008 01:01 AM

Does this work in 3.7.2?

Makc666 11-17-2008 08:20 AM

Quote:

Originally Posted by Jaxel (Post 1597404)
Does this work in 3.7.2?

Yes, it works with 3.7.* versions.
In versions 3.8.* it has a conflict with new 3.8 option "Save a copy of sent messages in my Sent Items folder by default".
So the same option in this script "Enable "Save Copy" checkbox by default?" must be removed because it repeats a feature that was added in 3.8.

militarytuners 12-20-2008 05:29 AM

excellent

Tyran1 01-05-2009 05:35 PM

Quote:

Originally Posted by Makc666 (Post 1667348)
Yes, it works with 3.7.* versions.
In versions 3.8.* it has a conflict with new 3.8 option "Save a copy of sent messages in my Sent Items folder by default".
So the same option in this script "Enable "Save Copy" checkbox by default?" must be removed because it repeats a feature that was added in 3.8.

No! It works with 3.8 RC 2 !!!

Makc666 02-12-2009 02:20 PM

Quote:

Originally Posted by Tyran1 (Post 1702491)
No! It works with 3.8 RC 2 !!!

Sorry, but you knowledge of vBulletin doesn't allow you to understand what I wrote in my post above.

Yes, it works, but it has a conflict with options.

I sent Psionic Vision a PM with updated version for his check...

Updated:
The fix I speak about above had been fixed in version 1.3.1

Code:

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



All times are GMT. The time now is 06:37 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.01213 seconds
  • Memory Usage 1,817KB
  • 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
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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