[ABD] Improved Extension Management

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by javiexin » Fri Mar 17, 2017 11:08 pm

OmkePom wrote:
Fri Mar 17, 2017 10:24 pm
This one,

viewtopic.php?f=536&t=2354991

it is also for a 3.2 board!

:ugeek:
Thanks, I will get in touch with LavIgor as he is the one listed there.

Regards,
-javiexin

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by javiexin » Sat Mar 18, 2017 12:31 pm

OmkePom wrote:
Fri Mar 17, 2017 9:46 am
however it doesn't work with "Upload Extensions 3.2.0-dev" at the same time!
While I get a response from the author(s) of Upload Extensions, you may fix the "obvious" error by minor editing my extension:

Open javiexin/extension/extension/metadata_manager.php
Replace function output_template_data by the following (at the very end of the file):

Code: Select all

	public function output_template_data(\phpbb\template\template $template)
	{
		global $phpbb_container;
		$controller = $phpbb_container->get('javiexin.extension.acp.controller');
		$controller->output_metadata_to_template($this->ext_name);
	}
Open javiexin/extension/controller/admin.php
Make function output_metadata_to_template public.
In line

Code: Select all

	protected function output_metadata_to_template($ext_name)
Replace protected by public

I have not tested extensively, but this should help them coexist. But please, do test it, and report any further errors you may find.

As I said, this is a HACK (ie, quick and dirty fix) while I work with the author(s) of Upload Extension in a more complete fix/coexistence and compatibility.

Hope it works for you...
-javiexin

User avatar
spaceace
Registered User
Posts: 1857
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by spaceace » Mon Mar 27, 2017 5:35 pm

everything has been working great as i'm not able to break anything with it :D

another request... is it possible, that after you have already selected to be redirected to this extension, that it no longer asks if you want to use it and just goes to it instead? hope that makes sense :?

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by javiexin » Mon Mar 27, 2017 5:49 pm

spaceace wrote:
Mon Mar 27, 2017 5:35 pm
another request... is it possible, that after you have already selected to be redirected to this extension, that it no longer asks if you want to use it and just goes to it instead? hope that makes sense :?
Three options here:
  1. Click on the "Improved Extension Manager" link directly, instead of the "Extension Manager"
  2. You may even remove (or move to a different place) the regular Extension Manager, and make the "Improved" the default one (just go to ACP -> System -> Administrator Control Panel, select Customize -> Extension Management and move "Improved Extension Manager" to be the first in the list)
  3. Wait for 3.2.1, where the "regular" Extension Manager will be completely bypassed by the Improved one while enabled (this is possible because of a new event introduced after 3.2.0); in 3.2.0 what it is being used is a "workaround" to overcome the lack of this event
Hope this clarifies the situation, and gives you some options.
Best regards,
-javiexin

User avatar
spaceace
Registered User
Posts: 1857
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by spaceace » Tue Mar 28, 2017 10:27 am

javiexin wrote:
Mon Mar 27, 2017 5:49 pm
You may even remove (or move to a different place) the regular Extension Manager, and make the "Improved" the default one (just go to ACP -> System -> Administrator Control Panel, select Customize -> Extension Management and move "Improved Extension Manager" to be the first in the list)
this for now does exactly what i wanted. thanks :D

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by javiexin » Sun Apr 02, 2017 1:24 am

New version, with visual improvements to the multiple actions. See first post for updated link.

NOTE: If you need compatibility with the "Upload Extensions" extension, you should use the (still hackish) version on GitHub at https://github.com/javiexin/extension/t ... _uploadext
It contains exactly the same as 1.0.2 plus the hack mentioned above to make both extensions compatible.
Still pending discussion with LavIgor on better integration of both.

-javiexin

User avatar
spaceace
Registered User
Posts: 1857
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by spaceace » Wed Apr 24, 2019 7:25 pm

it's been a while since i've updated anything on my board and finally got around to getting it up to date.

after updating the board and style, i moved on to updating the extensions. here's the error i get and how i reproduce it...

error shown in ACP

Code: Select all

Catchable fatal error: Argument 2 passed to phpbb\template\base::assign_block_vars() must be of the type array, string given, called in /home/livemembers/www/www/ext/javiexin/extension/controller/admin.php on line 706 and defined in /home/livemembers/www/www/phpbb/template/base.php on line 131
how i produce it...
click on "Re-Check all versions" and then click on the "Details" link on the not up to date extension

phpBB 3.2.5
PHP 7.2.16
this extension version 1.0.3-dev

User avatar
3Di
Former Team Member
Posts: 14202
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by 3Di » Wed Apr 24, 2019 8:22 pm

Topic reported, since the Author unfortunately can't reply. :(
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
spaceace
Registered User
Posts: 1857
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by spaceace » Wed Apr 24, 2019 9:56 pm

3Di wrote:
Wed Apr 24, 2019 8:22 pm
Topic reported, since the Author unfortunately can't reply. :(
i do understand that but was hoping that someone would be able to help fix the issue as this is really the only proper place to post the error

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25387
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [3.2][DEV] Improved Extension Management

Post by Paul » Wed Apr 24, 2019 10:04 pm

3Di wrote:
Wed Apr 24, 2019 8:22 pm
Topic reported, since the Author unfortunately can't reply. :(
And locked as abd as such. If someone wants to be take it over, you can open a new topic.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Locked

Return to “Abandoned Extensions”