[3.2][BETA] PM Restrictions

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

[3.2][BETA] PM Restrictions

Post by kinerity » Thu Sep 20, 2018 2:33 am

Extension Name: PM Restrictions
Author: kinerity

Extension Description: Allows administrators to set a limit on the number of posts a user must have before allowing PMs. Users may still PM team members.
Extension Version: 1.0.0-dev

Requirements: phpBB 3.2.4*

Screenshots:

Image

Image

Extension Download: n/a
Github repository: https://github.com/kinerity/pmrestrictions

* Preliminary requirement, based on needed events
Kailey Truscott - Community Team

User avatar
Toxyy
Registered User
Posts: 540
Joined: Mon Oct 24, 2016 3:22 pm
Contact:

Re: [3.2][DEV] PM Restrictions

Post by Toxyy » Thu Sep 20, 2018 4:30 am

This seems like a pretty cool feature! Though, couldn't this be done by configuring the newly registered users group? It seems useful on a per user basis though.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][DEV] PM Restrictions

Post by kinerity » Thu Sep 20, 2018 11:43 am

Toxyy wrote:
Thu Sep 20, 2018 4:30 am
Though, couldn't this be done by configuring the newly registered users group?
Yes, you could. However, if you run into a situation where you have the NRU set to 1, but want to not allow PMs until 3 or 4 posts, that's where this extension would come in.
Kailey Truscott - Community Team

User avatar
Toxyy
Registered User
Posts: 540
Joined: Mon Oct 24, 2016 3:22 pm
Contact:

Re: [3.2][DEV] PM Restrictions

Post by Toxyy » Thu Sep 20, 2018 7:31 pm

I see, that's a pretty useful feature.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

User avatar
eunaumtenhoid
Registered User
Posts: 760
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][DEV] PM Restrictions

Post by eunaumtenhoid » Thu Sep 20, 2018 11:49 pm

indicated by groups?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][DEV] PM Restrictions

Post by kinerity » Fri Sep 21, 2018 2:35 am

eunaumtenhoid wrote:
Thu Sep 20, 2018 11:49 pm
indicated by groups?
Can you elaborate?
Kailey Truscott - Community Team

User avatar
John connor
Registered User
Posts: 1790
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Contact:

Re: [3.2][DEV] PM Restrictions

Post by John connor » Fri Sep 21, 2018 3:22 am

3.2.4? So like this will be available come January or next year? :lol:

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][DEV] PM Restrictions

Post by kinerity » Sun Sep 23, 2018 5:13 am

Currently requires this event. More events may be required as I continue development.
Kailey Truscott - Community Team

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][DEV] PM Restrictions

Post by kinerity » Sat Oct 20, 2018 12:24 am

kinerity wrote:
Sun Sep 23, 2018 5:13 am
Currently requires this event.
This event has been added and an initial commit has been pushed.

Note: If you wish to test this extension, you must add the above event manually and change the phpBB requirements in composer.json, ext.php and /migrations/v10x/release_0_0_1.php to 3.2.3. Otherwise, wait for 3.2.4.
Kailey Truscott - Community Team

User avatar
pikachuturkey
Registered User
Posts: 266
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Re: [3.2][DEV] PM Restrictions

Post by pikachuturkey » Sat Oct 20, 2018 5:32 pm

Turkish (tr) language file of PM Restrictions (3.2 Dev)

pmrestrictions/language/tr/common.php

Code: Select all

<?php
/**
 *
 * PM Restrictions. An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2018, kinerity, https://www.layer-3.org
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */
/**
 * DO NOT CHANGE
 */
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
	'PM_POST_LIMIT'			=> 'Gerekli gönderi',
	'PM_POST_LIMIT_EXPLAIN'	=> 'Bir kullanıcının diğer kullanıcılara ÖM gönderebilmeden önce sahip olması gereken gönderi sayısı. Değeri 0 ayarlamak bu özelliği kapatır.',
	'PM_TEAM_MEMBERS'		=> 'Bu sitedeki kısıtlama nedeniyle yalnızca <a href="%s">takım üyelerine</a> ÖM gönderebilirsiniz.',
	/*'PM_POST_LIMIT_ERROR'	=> array(
		1	=> 'Bu sitedeki kısıtlama nedeniyle kullanıcılar en az %d gönderiye sahip olmalı ve kayıt tarihi üzerinden 24 saatten daha fazla zaman geçmiş olması gerekmekte. Halen Takım Üyelerine ÖM <strong>gönderebilirsiniz</strong>.',
		2	=> 'Bu sitedeki kısıtlama nedeniyle kullanıcılar en az %d gönderiye sahip olmalı ve kayıt tarihi üzerinden 24 saatten daha fazla zaman geçmiş olması gerekmekte. Halen Takım Üyelerine ÖM <strong>gönderebilirsiniz</strong>.',
	),*/
));
Health For Everyone ==> www.saglikforum.org

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][BETA] PM Restrictions

Post by kinerity » Mon Oct 29, 2018 10:22 am

As 3.2.4-RC1 was released, bumping this to BETA. GitHub will be updated tonight.
Kailey Truscott - Community Team

User avatar
lopoto
Registered User
Posts: 89
Joined: Thu Feb 12, 2015 3:13 pm

Re: [3.2][BETA] PM Restrictions

Post by lopoto » Mon Nov 05, 2018 1:54 pm

kinerity wrote:
Mon Oct 29, 2018 10:22 am
As 3.2.4-RC1 was released, bumping this to BETA. GitHub will be updated tonight.
:?: where this beta :?:

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1940
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [3.2][BETA] PM Restrictions

Post by kinerity » Mon Nov 05, 2018 8:36 pm

lopoto wrote:
Mon Nov 05, 2018 1:54 pm
:?: where this beta :?:
Something came up. I will have one up as soon as I can. The repository contains the most current code if you want to test it.
Kailey Truscott - Community Team

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: lopoto, SinusVonAlpha, Toxyy and 17 guests