[BETA..] Mass PM Mod (Selection Groups Based on User Levels)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

One other, but I let another developer take over, since I don't really have the time to improve on it. I'll spit out mods as long as I make em for myself, since it doesn't take any extra time.

senghong79
Registered User
Posts: 311
Joined: Wed Oct 30, 2002 2:45 pm
Location: Malaysia

Post by senghong79 »

Sweet! Thanks!

Just a little typo,

In admin_mass_pm.php, around line 94, the code should be

Code: Select all

$sql = "SELECT * FROM " . USERS_TABLE . " WHERE  user_level = 1 AND username != 'Anonymous'";
it was missing the AND

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

why don't you use this instead of your code :

Code: Select all

$sql = "SELECT * FROM " . USERS_TABLE . " WHERE  user_level = 1 AND user_id <> " . ANONYMOUS ;
:wink:
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

Why not :lol: . Mod Fixed and Updated.

User avatar
AFireInside
Registered User
Posts: 78
Joined: Sat Apr 05, 2003 2:05 pm
Location: Leeds, England
Contact:

Post by AFireInside »

Should I change? BLAH!

CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

The admin mass pm does not work on the previous version, however it is very unlikely you will use it lol.
The new version just fixes that.

User avatar
AFireInside
Registered User
Posts: 78
Joined: Sat Apr 05, 2003 2:05 pm
Location: Leeds, England
Contact:

Post by AFireInside »

Ah k. Well there's only one other admin on my forum so it's pointless. :mrgreen:

KUKULAKO
Registered User
Posts: 23
Joined: Tue Jul 01, 2003 6:41 pm
Location: puerto rico, CAYEY
Contact:

what is that.......why.......

Post by KUKULAKO »

why...i see that..i doint understand...why plese some one tell me....


‹¬W[oÛ6~¶Å) +Kq.E“ÚÇX ÔiÐ:ú4Pm1•D

User avatar
AFireInside
Registered User
Posts: 78
Joined: Sat Apr 05, 2003 2:05 pm
Location: Leeds, England
Contact:

Post by AFireInside »

What's this?

ChristianWeb
Registered User
Posts: 42
Joined: Wed Nov 13, 2002 6:24 pm
Contact:

Re: [BETA..] Mass PM Mod (Selection Groups Based on User Lev

Post by ChristianWeb »

CrazyPhil wrote: This mod is different from the other mass PM mod. It is for admin only, and allows the admin to Mass PM All users, just Admin, just Moderators, or just Regular Users.
I made it for my own use, since the other mod did not fit my needs, but I am still releasing it. NO upgrades will be made to this mod, I will only change it if it doesn't work for someone.

Here is the link:

http://www.crazyphil.net/download/CrazyPhil/146


what verson of phpbb will this work on? :?:

ChristianWeb
Registered User
Posts: 42
Joined: Wed Nov 13, 2002 6:24 pm
Contact:

Post by ChristianWeb »

i got this:

Fatal error: Call to undefined function: from() in /home/urlf/public_html/christianweb/admin/admin_mass_pm.php on line 294

CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

KUKULAKO wrote: why...i see that..i doint understand...why plese some one tell me....


I don't understand what your showing me, and how it has anything to do with this mod?
ChristianWeb wrote: i got this:

Fatal error: Call to undefined function: from() in /home/urlf/public_html/christianweb/admin/admin_mass_pm.php on line 294


2.0.5, thats all its been tested on and it works successfully. From that error it looks as if your emailer.php is out of date.

This is the function its looking for: located in includes/emailer.php:

Code: Select all

function from($address)
	{
		$this->from = trim($address);
	}

CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

Someone seems to be having a similar problem (seen a few of these), this is not a problem with my mod, but instead something on your board.

http://phpbb.com/phpBB/viewtopic.php?t=112145

ChristianWeb
Registered User
Posts: 42
Joined: Wed Nov 13, 2002 6:24 pm
Contact:

Post by ChristianWeb »

This is the function its looking for: located in includes/emailer.php:

Code: Select all

function from($address)
	{
		$this->from = trim($address);
	}
[/quote]

where does that code go in emailer.php ?

CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil »

Which version of phpbb do you have? I suggest you get the latest version and upload its emailer.php

Post Reply

Return to “[2.0.x] MODs in Development”