Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Super Private Message Details »»
Super Private Message
Version: 1.0.1, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-01-2005 Last Update: 06-15-2005 Installs: 78
DB Changes Template Edits
 
No support by the author.

-------------------------------------
Super Private Message

-------------------------------------
Hack Version: 1.0.1
vB-version: 3.0.7
Developer: WwW.UAEWEB.CoM
Install-difficulty: Easy


What is it:
Ever wanted to send a mass private message to a group of members?
well, yeah, but what if you want to specify who gets to send this private message and to whome it should be sent.

Private Messages being an effective tool at times Administrators or Moderators are forced to send mass number of private messages. Currently the limitation of sending private messages for various reasons (such as announcement for certain groups, with certain criteria ?etc) is frustrating and that is why the idea of current hack came along.

Super Private Message will give you the convinous and enable you 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):
  1. User's Usergroup is Y.
  2. User's has posts greater than x posts.
  3. User's has posts less than x posts.
  4. User's Join Date is After (yyyy-mm-dd).
  5. User's Join Date is Befor (yyyy-mm-dd).
  6. User's Last Activiy is After (yyyy-mm-dd).
  7. User's Last Activiy is Befor (yyyy-mm-dd).
  8. User's Last Post is After (yyyy-mm-dd).
  9. 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 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.
Super Private Message 1.0.1 Updates:
- New Addition: Can send messages to individuals who are in the usergroup as a Secondary Usergroup instead of just the Primary. ( Credit goes to msgotit )

Installation Update For Super Private Message 1.0.1
You may install v1.0.1 fresh
You may upgrade from v1.0.0 -> 1.0.1 (Read UPGRADE.txt)


Screenshots:

See attachments.

Hack Installation Details:

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

New templates for this Hack: 1
pm_newsuperpm

File-edits: 1
/admincp/index.php

Template-edits: 1
pm_newpm

DB Tables modified for this Hack: 1
user
-------------------------------------

PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!


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

Show Your Support

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

Comments
  #32  
Old 07-01-2005, 05:28 PM
SilverBoy SilverBoy is offline
 
Join Date: Feb 2002
Location: Libya
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uae Are u there? :d

we waiting ur help
Reply With Quote
  #33  
Old 07-12-2005, 06:33 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SilverBoy,

I have looked at the code a little bit and I think that if you didn't care to have an email sent out then you could delete that code out of the superpm.php file. That is one option. 36000 emails are a lot to send. I don't think sending the PM itself should matter, but I don't deal with that many people. Maybe when UAE comes back he can shed some more light on the situation. I haven't tried this but I think that if you deleted this code out of the file it wouldn't send the email.

PHP Code:
if ($user['emailonpm'] AND $user['usergroupid'] != AND $user['usergroupid'] != 4)
                    {
                        
$touserinfo = &$user;
                        eval(
fetch_email_phrases('pmreceived'$touserinfo['languageid'], '''email'));
                        
vbmail($touserinfo['email'], $emailsubject$emailmessage);
                    } 
Like I said, I have NOT tried this, and it will likely make it so they don't get an email. I think that it will keep the server from getting hung up (assuming that it gets hung up because of the email).
Reply With Quote
  #34  
Old 07-12-2005, 08:23 PM
msgotit msgotit is offline
 
Join Date: May 2005
Location: Idaho, US
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mprjr41510
SilverBoy,

Yes, that is a good idea... Similar to the way you can email users through vBulletin. It let's you choose a certain number of messages to send so you can do it in batches.

Hey uae, is this something you can add to the hack?
PMs are a lot different then email in that they are inserted into the database, they are not sent out, you may be right however that by doing a certain amount at one time may help, but I don't think so.

I got thinking about this, and you could be right, especially if you sent it to 36000 people. I haven't done much with database optimization, but that may be what you want to look at. I was reading that you could 'lock' the table and insert multiple records at once, which may be what you want to do, that is, eliminating that many insert statements could help. I don't know for sure however.
Reply With Quote
  #35  
Old 07-18-2005, 08:26 AM
Mike_K Mike_K is offline
 
Join Date: Jun 2005
Location: Germany
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princessfrozen
I think I fixed it...

In superpm.php on Line 404
Found:
Code:
				$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext (fromuserid, fromusername, title, message, iconid, dateline, showsignature, allowsmilie) VALUES ($pm[userid], '" . addslashes($pm['username']) .  "', '$title', '$message', $iconid, " . TIMENOW . ", $signature, $disablesmilies)");
Replaced with:
Code:
				$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext (fromuserid, fromusername, title, message, iconid, dateline, showsignature, allowsmilie) VALUES ($bbuserinfo[userid], '" . addslashes($bbuserinfo['username']) .  "', '$title', '$message', $iconid, " . TIMENOW . ", $signature, $disablesmilies)");

This works. Thank you very much!
Reply With Quote
  #36  
Old 07-30-2005, 01:23 AM
the1maxim the1maxim is offline
 
Join Date: Jul 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. It works great, and sends out the messages.....except I get this error, any ideas:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 354 bytes) in /srv/www/htdocs/includes/functions.php on line 316

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 40 bytes) in Unknown on line 0

Thanks.
Reply With Quote
  #37  
Old 08-23-2005, 06:09 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks great hack. I'd love it if you could do the 500 private messages at a time thing as well. Not too much of a problem now with 3500 members but I can see it becoming one in the end.

Thanks for a great hack,

Ed
Reply With Quote
  #38  
Old 09-04-2005, 06:15 AM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work with 3.0.3 ok?
Reply With Quote
  #39  
Old 10-15-2005, 02:06 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just getting a page cannot be displayed error when I click count & confirm now. Anybody shed some light as to why?

It's pretty urgent.
Reply With Quote
  #40  
Old 11-06-2005, 05:38 AM
rs_fmr rs_fmr is offline
 
Join Date: Sep 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing Super Private Message Mod Version: 1.0.1 over vbulletin 3.5.0 but the modifications required in admincp/index.php do not match. Is there any way by which Super PM can be used in Vbulletin 3.5.0
Reply With Quote
  #41  
Old 11-06-2005, 07:50 PM
Mike_K Mike_K is offline
 
Join Date: Jun 2005
Location: Germany
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rs_fmr
I tried installing Super Private Message Mod Version: 1.0.1 over vbulletin 3.5.0 but the modifications required in admincp/index.php do not match. Is there any way by which Super PM can be used in Vbulletin 3.5.0

I am also interested in usign Super PM with 3.5.

I used it with 3.0.7 and it was fantastic!

Is there a way to get it in 3.5 ?
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:33 PM.


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.05138 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (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