3.2.x 3.2.x SnippetsExt uploader 3.2.1 fix

Snippets
Previous topicNext topic
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5026
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Ext uploader 3.2.1 fix

Post by martin »

Quick and dirty fix to get it working on 3.2.1

Open ext/boardtools/upload/includes/compatibility/v_3_2_x.php
Find This may be a partial find and not the whole line

Code: Select all

public function output_template_data(\phpbb\extension\metadata_manager $metadata_manager)
	{
		$metadata_manager->output_template_data(objects::$template);
	}
}
Replace with Replace the preceding lines with the following

Code: Select all

public function output_template_data(\phpbb\extension\metadata_manager $metadata_manager)
	{
		//$metadata_manager->output_template_data(objects::$template);
	}
}
User avatar

Jadonking042
Users
Users
Status: Offline
User theme: Dark
Posts: 11
Joined: Nov 13th, '17, 11:35
    Android Chrome

Re: Ext uploader 3.2.1 fix

Post by Jadonking042 »

Don't I need to upload anything. And where can find that folder

[ Post made via Android ] Image
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5026
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Ext uploader 3.2.1 fix

Post by martin »

User avatar

Tarantino
Users
Users
Status: Offline
User theme: Dark
Posts: 42
Joined: Sep 10th, '16, 02:58
    Windows 10 Chrome

Re: Ext uploader 3.2.1 fix

Post by Tarantino »

For what I've checked this isn't needed. The Upload extension works perfectly.
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5026
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Ext uploader 3.2.1 fix

Post by martin »

Yes it does now but at the time of posting it did not.
User avatar

Tarantino
Users
Users
Status: Offline
User theme: Dark
Posts: 42
Joined: Sep 10th, '16, 02:58
    Windows 10 Chrome

Re: Ext uploader 3.2.1 fix

Post by Tarantino »

Strange, because the post was made on 17 Jul 2017 and the code that fix it was submited at 02 Jul 2017 :whistl:
But ok, it was on the same month. I forgive you :P
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5026
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Ext uploader 3.2.1 fix

Post by martin »

Code i posted was a temp fix note its a comment out job the real fix has been changed in the files by the author.
Previous topicNext topic