[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.
User avatar
CrazyPhil
Registered User
Posts: 153
Joined: Sat Mar 16, 2002 4:03 am
Location: Ottawa, Canada

Post by CrazyPhil » Tue Jul 01, 2003 4:38 am

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 » Sun Jul 06, 2003 4:20 pm

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 » Sun Jul 06, 2003 9:06 pm

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:

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

Post by CrazyPhil » Tue Jul 08, 2003 3:27 am

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 » Tue Jul 08, 2003 3:40 pm

Should I change? BLAH!

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

Post by CrazyPhil » Wed Jul 09, 2003 6:55 am

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 » Wed Jul 09, 2003 4:12 pm

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 » Wed Jul 09, 2003 10:28 pm

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 » Wed Jul 09, 2003 10:39 pm

What's this?

User avatar
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 » Wed Jul 09, 2003 11:25 pm

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

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

Post by ChristianWeb » Wed Jul 09, 2003 11:30 pm

i got this:

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

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

Post by CrazyPhil » Thu Jul 10, 2003 12:26 am

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

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

Post by CrazyPhil » Thu Jul 10, 2003 12:37 am

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

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

Post by ChristianWeb » Thu Jul 10, 2003 4:09 pm

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 ?

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

Post by CrazyPhil » Fri Jul 11, 2003 2:25 am

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”

Who is online

Users browsing this forum: No registered users and 24 guests