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

Reply
 
Thread Tools
Super PM (Mass PM) Details »»
Super PM (Mass PM)
Version: 1.0.4, by msgotit msgotit is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 11-06-2005 Last Update: 05-30-2006 Installs: 266
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

-------------------------------------
Super Private Message
-------------------------------------
Hack Version: 1.0.4
vB-version: 3.5.x
Developer: msgotit
Install-difficulty: Easy

Description:
Allows specified users to send a Private Message to certain groups of people.

This is basically the same as the hack created by UAE and in talking with him I have posted this here.

Super Private Message will give you the convenience and ability to provide many different options for sending mass private messages to users by any one you choose to assign this task to based on Conditionals (if):

User's Usergroup is Y.
User's has posts greater than x posts.
User's has posts less than x posts.
User's Join Date is After (yyyy-mm-dd).
User's Join Date is Befor (yyyy-mm-dd).
User's Last Activiy is After (yyyy-mm-dd).
User's Last Activiy is Befor (yyyy-mm-dd).
User's Last Post is After (yyyy-mm-dd).
User's Last Post is Befor (yyyy-mm-dd).

Settings in the Admin CP:

Specify who gets to use the Super Private Message System by Assigning their User Names or User IDs.
Specify the Secondary and Primary usergroup they can send a mass pm to.
Select what usergroup to be visible for selection(s).
Select to have the assignee change his identity when sending.
Control what fields to be visible for each assignee.
List All assignee, delete/edit them.

Hack Installation Details:

New files for this Hack: 2
/admincp/adminsuperpm.php
/superpm.php

New templates for this Hack: 1
pm_newsuperpm

Template-edits: 1
pm_newpm

DB Tables modified for this Hack: 1
user

History:

1.0.1 BETA
Fixed bug in xml
No longer show to whom the message will be sent (if you like that don't upload the superpm.php file. If your copy is working there is really no need to upgrade, there are no major changes yet - hopefully soon there will be!

1.0.2 BETA
Changed wording in Template - Makes more sense
Changed location of SuperPM link in admincp - Contained in the "User" group
Changed insert to fix/help fix the problem with overloading the server
Added option for admin to show to whom message will be sent

1.0.3
Fixed bug causing a php error * Thanks for the report Fofer
Fixed bug saving message to sent items even if you don't send it.

1.0.4
Added Email on pm - WARNING this will most likely not work if sending to over 500 people (probably ok up to 1000) although may be server intensive. Also, to do that you will likely have to change the max number or pms in superpm.php file from 500 to 1000.
Misc. changes as requested.

To upgrade, upload files and import the new product, click on overwrite and you will be set.
-------------------------------------

PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!

If you like this hack, please be kind and click "INSTALL" Link.

This has been tested and seems to be working fine. If you find any errors please let me know!

Supporters / CoAuthors

Show Your Support

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

Comments
  #92  
Old 01-22-2006, 09:24 PM
Fofer Fofer is offline
 
Join Date: Aug 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msgotit
Fofer,

This could be true, I will look at what I am doing with this and try and fix it if it is. Sorry about the confusion, it shouldn't do that... but obviously it is.

Also thanks for the info on the problems, I will look at these as well and see what I have done and fix any problems!

Mark
Thanks for the reply Mark, hopefully my notes help you nail down the problem!

While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
Reply With Quote
  #93  
Old 01-22-2006, 09:26 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dubsbhoy
yeah it's not shown up there though ??
Make sure the cpnav_superpm.xml is in your ..includes/xml/ file. Is it? Let me know so I can help you get this resolved!

Thnx
Mark
Reply With Quote
  #94  
Old 01-22-2006, 09:28 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fofer
Thanks for the reply Mark, hopefully my notes help you nail down the problem!

While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
Will do, I don't think it will be that hard to fix, but we will see, I can't do it now but in the next couple of days I will try and have it done Thanks again.

Mark
Reply With Quote
  #95  
Old 01-23-2006, 09:06 AM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msgotit
stinger2,

I will look into it, what our options are. The users can obviously select the messages and delete them, but... What exactly are you thinking for functionality here? Who deletes them... that kind of a thing.

Mark

thanks msgotit forthe quick reply/..


lets say i am sending a regular weekly PM to members...after a while specially seeing the non active members get a full inbox

so i was thinking if the Admin can mass delete the PM's also........as it will take a lot of space in the database......specially if you have lets say 5000 members

something like running the query
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext

kind regards
Reply With Quote
  #96  
Old 01-24-2006, 08:32 AM
mbader71 mbader71 is offline
 
Join Date: Jul 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and tested

works great but I only have about 300 users

thanks man
Reply With Quote
  #97  
Old 01-24-2006, 11:10 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fofer
Thanks for the reply Mark, hopefully my notes help you nail down the problem!

While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
I have updated the superpm.php file to make the changes. Hopefully that will take care of anybugs. Thanks for your help!

Mark
Reply With Quote
  #98  
Old 01-24-2006, 11:54 PM
Fofer Fofer is offline
 
Join Date: Aug 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msgotit
I have updated the superpm.php file to make the changes. Hopefully that will take care of anybugs. Thanks for your help!
Thanks Mark, installing now, will report back!


EDIT: Okay I am back. I replaced my superpm.php file with the updated one and sure enough, it looks like both of my issues have been addressed.

No more "Warning: implode()" error up top (when "Show Usergroups list" is checked in the AdminCP's SuperPM settings and I later "Count & Confirm.")

Also, I previewed a SuperPM, and backed out... it no longer appeared in my Sent Items. :up:

Thanks for the quick fix, Mark!
Reply With Quote
  #99  
Old 01-26-2006, 06:16 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fofer
Thanks Mark, installing now, will report back!


EDIT: Okay I am back. I replaced my superpm.php file with the updated one and sure enough, it looks like both of my issues have been addressed.

No more "Warning: implode()" error up top (when "Show Usergroups list" is checked in the AdminCP's SuperPM settings and I later "Count & Confirm.")

Also, I previewed a SuperPM, and backed out... it no longer appeared in my Sent Items. :up:

Thanks for the quick fix, Mark!
No problem, glad to hear it. If you see any other problems please let me know!

Mark
Reply With Quote
  #100  
Old 01-30-2006, 04:13 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! Many thanks!
Reply With Quote
  #101  
Old 01-31-2006, 05:23 PM
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yay worked great AWESOEM !!!!!
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 01:52 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.04852 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete