[3.3][RC] Show phpBB Events (for extension developers)

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!
Get Involved
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)
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

</Solidjeuh> wrote: Mon Sep 03, 2018 6:21 pm PHP 7.2.3
But maybe CLI has a different version than the webserver somehow? The syntax error is really typical.
By the way, this extension is not to be used on live board.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by </Solidjeuh> »

martti wrote: Mon Sep 03, 2018 6:42 pm
</Solidjeuh> wrote: Mon Sep 03, 2018 6:21 pm PHP 7.2.3
But maybe CLI has a different version than the webserver somehow? The syntax error is really typical.
(By the way, this extension is not to be used on live board.)
Oh yeah, Directadmin has 5.6.34. Damn I can't update that. To bad..
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

The new version 1.7.0 includes the events of the latest phpBB version, 3.2.3
tofino
Registered User
Posts: 55
Joined: Fri Nov 06, 2015 1:55 pm

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by tofino »

How can I stop all members from seeing the Show/Hide

THX
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

tofino wrote: Sun Nov 11, 2018 2:59 am How can I stop all members from seeing the Show/Hide

THX
Deactivate the extension. This is a development tool. It is not meant to be installed on a live forum.
tofino
Registered User
Posts: 55
Joined: Fri Nov 06, 2015 1:55 pm

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by tofino »

martti wrote: Sun Nov 11, 2018 3:04 am
tofino wrote: Sun Nov 11, 2018 2:59 am How can I stop all members from seeing the Show/Hide

THX
Deactivate the extension. This is a development tool. It is not meant to be installed on a live forum.
I do that, thought there was another way.
THX.
User avatar
Toxyy
Registered User
Posts: 942
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by Toxyy »

I use this all the time. Thanks again martti :)
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
pikachuturkey
Registered User
Posts: 335
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by pikachuturkey »

i tried to translate the language file but i didn't understand this lines:

Code: Select all

	'MARTTIPHPBB_SHOWPHPBBEVENTS_SELECT_EXPLAIN'	=> 'inside html select',
and i didn't understand that, there is explain of "head" and "select" but there is no line about them. :?
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

pikachuturkey wrote: Tue Nov 13, 2018 5:42 pm i tried to translate the language file but i didn't understand this lines:

Code: Select all

	'MARTTIPHPBB_SHOWPHPBBEVENTS_SELECT_EXPLAIN'	=> 'inside html select',
and i didn't understand that, there is explain of "head" and "select" but there is no line about them. :?
That key is not used anymore. So you can leave it out.
There is one template event, mcp_forum_actions_append, that is inside an html <select> element. You can not create a link inside a <select>, so that's why there is an extra badge right after the select in grey color. The text was to give some extra explanation, but I dropped that in the end.
User avatar
pikachuturkey
Registered User
Posts: 335
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by pikachuturkey »

thanks Martti.. :)

Turkish (tr) language for "[3.2][RC] Show phpBB Events (for extension developers)" version 1.7.0

phpbb-ext-showphpbbevents/language/tr/common.php

Code: Select all

<?php
/**
* phpBB Extension - marttiphpbb showphpbbevents
* @copyright (c) 2014 - 2018 marttiphpbb <[email protected]>
* @license GNU General Public License, version 2 (GPL-2.0)
*/
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = [];
}
$lang = array_merge($lang, [
	'MARTTIPHPBB_SHOWPHPBBEVENTS_SHOW'				=> 'Göster',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_SHOW_EXPLAIN'		=> 'phpBB Olaylarını göster',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_HIDE'				=> 'Gizle',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_HIDE_EXPLAIN'		=> 'phpBB Olaylarını gizle',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_HEAD_EXPLAIN'		=> 'html head kısmı içinde',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_PHP_EVENT_NAME'	=> 'PHP Olayı',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_PHP_EVENT_COUNT'	=> 'Sayı',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_SINCE'				=> 'Şu sürümden beri',
	'MARTTIPHPBB_SHOWPHPBBEVENTS_FILENAME'			=> 'Dosya adı',
]);
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

Update version 1.8.0, which includes the new events of phpBB 3.2.4
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by david63 »

@martti

I think there is a minor bug when in ACP.

If I am in ACP > Users & Groups > Manage users and select a user which will take me to the "Overview" page and then select "Show" from your extension when the page reloads it takes me back to the select user page.

As I say not a major problem
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by martti »

david63 wrote: Tue Dec 11, 2018 7:18 am @martti

I think there is a minor bug when in ACP.

If I am in ACP > Users & Groups > Manage users and select a user which will take me to the "Overview" page and then select "Show" from your extension when the page reloads it takes me back to the select user page.

As I say not a major problem
I consider this a "bug" of the phpBB core. HTTP POST is used for selecting the user in the page. HTTP GET would be more appropriate, as we're simply fetching data, not POSTing data. I posted this issue in the tracker long time ago.
This extension works with a query parameter for showing the events, but this gets broken because of the form with method post.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Show phpBB Events (for extension developers)

Post by david63 »

OK - as I say I can live with it.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Post Reply

Return to “Extensions in Development”