php forum
php mysql forum
php mysql smarty
 
Topic Options
#241719 - 03/29/03 06:33 PM Send PM
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
I search hack for sending private messages for all users, or any groups. How to do it?
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#241720 - 03/29/03 07:00 PM Re: Send PM [Re: Dawg_dup1]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
You don't want to do that, it's inefficient. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#241721 - 03/29/03 07:16 PM Re: Send PM [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Very inefficient since users can turn off notification for PM and if they do not visit often they will never see it. EMAIL ALL USERS in admin panel is best way.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#241722 - 03/30/03 10:22 AM Re: Send PM [Re: sf49rminer]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
But my serwer hasn't installed email function <img src="/forum/images/graemlins/frown.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#241723 - 03/30/03 12:39 PM Re: Send PM [Re: Dawg_dup1]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
If you really want to do this, you can see an example of sending a PM to a group in admin/derevokemod.php. Look for "Now inform all other Admins and mods". Refer to function send_message() in ubbt.inc.php for allowable values of the $Group parameter.<br /><br />If you wanted to send to a group other than one of those groups, you would need to tweak the code.<br /><br />The reason I said it was inefficient is because each copy of the PM is stored in the database for every user whom it's sent to.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#241724 - 03/30/03 06:13 PM Re: Send PM [Re: joeuser]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
I tried but without any positive result <img src="/forum/images/graemlins/frown.gif" alt="" /><br />How change change option chagne Email to All fo send Pm to all... (cosedemail.php file << executive command)<br />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#241725 - 04/06/03 09:12 AM Re: Send PM [Re: Dawg_dup1]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, if you have 1000 members, it's like storing the same "post" in the Database 1000 times. <img src="/forum/images/graemlins/crazy.gif" alt="" /> <br /> <br />The bigger the databases get the slower things eventually get. A couple of "bulk PMs" to a large user base could drastically slow down your forums. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />If you want certain groups to see an "announcement", then it's best to make a forum that only that group can see and make an announcement there. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Then you only store the message once.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks