76

Re: Private Messaging (pun_pm)

Requests:
- Apply email flood protection to prevent pm flooding.
- Add BBCode buttons.
- Delete all PMs belonging to the user when the account is deleted.

Thanks.

Re: Private Messaging (pun_pm)

nmb wrote:

- Apply email flood protection to prevent pm flooding.

I didn't get it. What exactly do you want?

nmb wrote:

- Add BBCode buttons.

Almost done. You can download latest versions of pun_pm and pun_bbcode (from SVN) and try this feature.

nmb wrote:

- Delete all PMs belonging to the user when the account is deleted.

I assume you meant to clear his inbox before deleting. This will be implemented soon.

78

Re: Private Messaging (pun_pm)

Would be nice to be able to send message to several recipients...

Re: Private Messaging (pun_pm)

8k84 wrote:

Would be nice to be able to send message to several recipients...

To make spammer's life easier?

Maybe it makes sense only for admins.

80 (edited by nmb 2009-10-19 14:44)

Re: Private Messaging (pun_pm)

Parpalak wrote:
nmb wrote:

- Apply email flood protection to prevent pm flooding.

I didn't get it. What exactly do you want?

It is possible to flood an inbox/send pms in a short period because there is no wait time between private messages. Perhaps, use the email flood setting with private messaging.

Warning: implode() [function.implode]: Invalid arguments passed in C:\xampp\htdocs\punbb134\extensions\pun_pm\functions.php on line 279

Clicking the Compose Message link produces the above error message. (v1.2.7)

Re: Private Messaging (pun_pm)

Ok, I've added flood protection to features planned for next releases.

I've just released pun_pm 1.2.8 where I've fixed the bug.

82

Re: Private Messaging (pun_pm)

Parpalak wrote:

I assume you meant to clear his inbox before deleting. This will be implemented soon.

How about also deleting all the PMs sent by the deleted user? For example, deleting a spammer account that sent spam private messages. I prefer that the receivers do not see these spam PMs.

Re: Private Messaging (pun_pm)

Do your forum users really suffer from spam PMs? For example, noone here complains of it.

It's not right to delete sent messages for every user being deleted. And my point is that an additional option (delete sent messages or not) is an excess functionality.

84

Re: Private Messaging (pun_pm)

Parpalak wrote:

Do your forum users really suffer from spam PMs? For example, noone here complains of it.

This has happened twice. We had to use phpMyAdmin to delete these spam PMs from our members' inboxes.

85

Re: Private Messaging (pun_pm)

Parpalak wrote:
8k84 wrote:

Would be nice to be able to send message to several recipients...

To make spammer's life easier?

Maybe it makes sense only for admins.

To make easier life of those who need to send messages to several recipients.

If everything that could be misused was blocked, we'd still live happily on trees.

86 (edited by The_Fiddler 2009-10-23 21:19)

Re: Private Messaging (pun_pm)

There is one feature I wouldn't mind seeing, an upgrade feature. If some one has upgraded their forum software from 1.2 to 1.3 and had been using connors pun pm. I am having to resort to trying to do it all manually.

Re: Private Messaging (pun_pm)

8k84 wrote:

Would be nice to be able to send message to several recipients...

This feature is hard to make because of how pun_pm is made. Consider the case when a user sends a message and another user receives it. Actually there are no copies of the message for these two users. There is only one row corresponding to the message in the DB table.

The thing I can do is to convert a message that has been sent (has been or saved as draft) to some receivers into some messages having only one receiver. And there will be some messages in the Outbox, not one.

Re: Private Messaging (pun_pm)

Please replace

require $ext_info['path'].'/functions.php';

with

require_once($ext_info['path'].'/functions.php');

in manifest.xml.

I'm writing an extension, which should use pun_pm functions, but a redefinition error appears, that I cannot avoid.

Re: Private Messaging (pun_pm)

When you are replying to a message and BBCode is disabled, the original message keeps getting included to the answer with

[quote=sender]message[/quote]

by default.

Re: Private Messaging (pun_pm)

Valuable information.

Re: Private Messaging (pun_pm)

codeholic wrote:

Please replace

require $ext_info['path'].'/functions.php';

with

require_once($ext_info['path'].'/functions.php');

in manifest.xml.

Fixed: http://punbb.informer.com/trac/changeset/1435

flagpost wrote:

When you are replying to a message and BBCode is disabled, the original message keeps getting included to the answer with

[quote=sender]message[/quote]

by default.

Fixed: http://punbb.informer.com/trac/changeset/1436

Re: Private Messaging (pun_pm)

In Opera 10.10 I can't select any username from usernames list near "To" field.
Also, "check all" doesn't work in my Opera.

Re: Private Messaging (pun_pm)

Can you add a possibility to enable or disable PM for different user groups, as it realized in pun_poll?

Re: Private Messaging (pun_pm)

Radovar!
Your wishes are added in feature request

Re: Private Messaging (pun_pm)

Bug: PHP generating an "undefined index" error at line 383 in file functions.php:

    elseif ($forum_config['p_message_all_caps'] == '0' && utf8_strtoupper($body) == $body && !$forum_user['is_admmod'])

$forum_page['is_admmod'] must be $forum_user['is_admmod'], I think

Re: Private Messaging (pun_pm)

Sorry, the code in the previous post was incorrect. This is actual code:

    elseif ($forum_config['p_message_all_caps'] == '0' && utf8_strtoupper($body) == $body && !$forum_page['is_admmod'])

Re: Private Messaging (pun_pm)

Is it possible to allow/disallow PM by group ?

Re: Private Messaging (pun_pm)

No, in current version of pun_pm it's impossible.

99

Re: Private Messaging (pun_pm)

How does my admins PM all users at once?

100

Re: Private Messaging (pun_pm)

Hi!

I would like to disallow unlimited pm for users but not for admin and moderators.

I wrote, in pun_pm/fonctions.php (only the first line was modified):

if ($forum_config['o_pun_pm_inbox_size'] == 0 || $forum_user['is_admmod'])
{
// Unlimited Inbox!
// Deliver all messages that were sent
$query = array(
'UPDATE'    => 'pun_pm_messages',
'SET'        => 'status = \'delivered\'',
'WHERE'        => 'receiver_id = '.$forum_user['id'].' AND status = \'sent\'',
);

($hook = get_hook('pun_pm_fn_deliver_messages_unlimited_pre_query')) ? eval($hook) : null;

$forum_db->query_build($query) or error(__FILE__, __LINE__);
}

According to you, is it correct?

Thank you!