How can i edit the resource manager download button from "No Permission to download" To Register To Download

  • Join us to download any resource for free. You will be able to download or guest post.
    Sign Up Now

kakumo

New member
Feb 15, 2023
4
0
1
uganda
I was wondering how can i change the button Text and colour, Any manual doing method i will appreciate
 
I successfully changed it and everything is okay, I needed some help on this addon

I will really appreciate it if a user would guide me on how this

Amazon S3 for XenForo 2.3.0 add-on​

I USE DIGITAL OCEAN S3 BUCKETS

I have also done all configurations for my bucket on my config.php

My problem is I use shared hosting and set up of S3cmd it cant be done. I just needed my uploaded data to be deleted automatically from my hosting once I have uploaded a file or a user has uploaded it. only files, profile pictures, and any shared files.


and this is my code




$s3 = function()
{
return new \Aws\S3\S3Client([
'credentials' => [
'key' => '...........................',
'secret' => '..............................................'
],
'region' => '.....................',
'version' => 'latest',
'endpoint' => '..............................'
]);
};

$config['fsAdapters']['data'] = function() use($s3)
{
return new \League\Flysystem\AwsS3v3\AwsS3Adapter($s3(), '.......................', 'data');
};

PHP:
$config['externalDataUrl'] = function($externalPath, $canonical)
{
return 'https://......................................................................./data/' . $externalPath;
};

$config['fsAdapters']['internal-data'] = function() use($s3)
{
return new \League\Flysystem\AwsS3v3\AwsS3Adapter($s3(), '..........................', 'internal_data');
};
 

Similar threads

March 2024

Total amount
$38.00
Goal
$250.00
Donation ends:

Staff online

Forum statistics

Threads
9,026
Messages
22,635
Members
51,484
Latest member
yopppy

About us

  • Our community has been around from 2017 and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. Providing Free Resources to help newcomers/startups. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu