vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Super Private Message (https://vborg.vbsupport.ru/showthread.php?t=82389)

uae 06-15-2005 07:15 AM

Super Private Message v1.0.1 has been released and with the new update, you will be able to send messages to individuals who are in the secodary usergroup instead of just the primary usergoup.

Thanks goes to msgotit for this addition.

You may upgrade by replacing the existing superpm.php with the new one included in the zip file.

SilverBoy 06-20-2005 07:22 PM

I get a dangerous problem

when I send a one message to all my members (more than 36,000) the server is hang up, because it sending an email notification to all members without breaking time between emails.

any idea?

EricaJoy 06-21-2005 10:30 AM

Brilliant!

Now if there was a way to automate the PM sending when a person is added to a group, that would be fantastic!

EricaJoy 06-21-2005 02:51 PM

/me clicks install

EricaJoy 06-22-2005 11:36 PM

Code:

Database error in vBulletin 3.0.*:

Invalid SQL: INSERT INTO pmtext (fromuserid, fromusername, title, message, iconid,
dateline, showsignature, allowsmilie) VALUES (, '', 'Welcome to the Premiere Users
Group', 'Welcome to the Premiere Users group. Enjoy your stay!', 0, 1119469648, 1, 1)

mysql error: You have an error in your SQL syntax.  Check the manual that
corresponds to your MySQL server version for the right syntax to use near ' '',
'Welcome to the Premiere Users Group', 'Welcome to the Pre

mysql error number: 1064

I get thise when I attempt to send a Mass PM to a specific Usergroup. :( I hate error 1064 mainly because I don't know what it means. Any help please?

EricaJoy 06-23-2005 02:42 AM

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)");

mprjr41510 06-26-2005 04:44 PM

I'm interested in using this hack but have a concern...

Let's say you send 5000 private messages.. Is there a way to "mass delete" them all after a certain amount of days? Otherwise won't this take up a whole lot of extra memory if you do mass messaging often?

Great idea by the way :)

mprjr41510 06-26-2005 04:46 PM

SilverBoy,

Are you still having trouble using this hack with your large forum? I have about as many members as you and want to avoid any problems.

SilverBoy 06-26-2005 05:03 PM

yes mprjr41510 the trouble still exist.

my server dieng when I send a private message, I think the hack must be modified to send a specific amount of private message evrytime maybe 500 pm at once, to avoid server hang.

mprjr41510 06-26-2005 05:14 PM

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? :)


All times are GMT. The time now is 07:37 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.01228 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete