• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[MyAAC][Plugin] Better Downloads Page

slaw

Software Developer
Joined
Aug 27, 2007
Messages
3,657
Solutions
125
Reaction score
1,103
Location
Germany
GitHub
slawkens
This plugin changes downloads page to be more realistic (like on tibia.com).

Requirements: Minimum MyAAC 0.5.0 is required.

Installation:

Go to Admin Panel, select 'Plugins', and then select better-downloads-page.zip and click upload. That's all!

Configuration: In config.local.php add:
Code:
$config['downloads'] = array(
    'clients' => array(
        // name => link to download
        'Client 11.47' => 'http://www.mediafire.com/file/9232w30it5982b2/Malvera_Global_-_11.46.rar',
        'Client 10' => 'http://www.mediafire.com/file/2q215ur471uq2tf/MalveraGlobal_-_10.rar'
    ),
    'ip_changer' => 'https://static.otland.net/ipchanger.exe', // remove to disable ip changer link
    'minimap' => true // display link to download minimap from https://tibiamaps.io/downloads?
);

Configuration is self explaining:
  • clients - array of clients to be shown on downloads page for Windows.
  • ip_changer - if set to address, it will show link to download ip changer, if set to false it won't show ip changer link at all
  • minimap - show link to download minimap from Tibia map downloads · TibiaMaps.io

Screenshots:
tibiarl-downloads.jpg
tibiarl-downloads-2.jpg
 

Attachments

  • better-downloads-page.zip
    177.8 KB · Views: 849 · VirusTotal
I did the installation and there was no change in the layout, it still shows the primary change made in twig ...
 
I did the installation and there was no change in the layout, it still shows the primary change made in twig ...
Probably you do something wrong because for me everything works fine. Did you added this in config.local.php
PHP:
  $config['downloads'] = array(
    'clients' => array(
        // name => link to download
        'Client 11.47' => 'http://www.mediafire.com/file/9232w30it5982b2/Malvera_Global_-_11.46.rar',
        'Client 10' => 'http://www.mediafire.com/file/2q215ur471uq2tf/MalveraGlobal_-_10.rar'
    ),
    'ip_changer' => 'https://static.otland.net/ipchanger.exe', // remove to disable ip changer link
    'minimap' => true // display link to download minimap from https://tibiamaps.io/downloads?
);
 
Probably you do something wrong because for me everything works fine. Did you added this in config.local.php
PHP:
  $config['downloads'] = array(
    'clients' => array(
        // name => link to download
        'Client 11.47' => 'http://www.mediafire.com/file/9232w30it5982b2/Malvera_Global_-_11.46.rar',
        'Client 10' => 'http://www.mediafire.com/file/2q215ur471uq2tf/MalveraGlobal_-_10.rar'
    ),
    'ip_changer' => 'https://static.otland.net/ipchanger.exe', // remove to disable ip changer link
    'minimap' => true // display link to download minimap from https://tibiamaps.io/downloads?
);
thank you, really was my error :S
 
Hello! Probably something missing? anyone can help me?

My actual downloads page... with plugin correctly uploaded

1588742646841.png

My config.local.php :S
1588742690436.png
 
You need to delete from the admin panel - Pages the downloads page
I have delete my download page in Menus and still don't work and now I don't have Download page :)
 
I have delete my download page in Menus and still don't work and now I don't have Download page :)

No from Menus, but from Pages.

If you don't see the new page, but the old downloads page.
 
@slaw I make it on my page, but with aldora temple it itsnt see able.. how can i change color of text for white, fox example?
 
Its possible to make this link download directly from host and not redirect to mediafire etc etc? Any smart tips how? best regards Jeremia

Im doing something wrong, I guess its something infront I miss :)



Not Found​

The requested URL /home/otsmanager/www/public_html/OpenTibia_Setup.exe was not found on this server.
 
Its possible to make this link download directly from host and not redirect to mediafire etc etc? Any smart tips how? best regards Jeremia

Im doing something wrong, I guess its something infront I miss :)



Not Found​

The requested URL /home/otsmanager/www/public_html/OpenTibia_Setup.exe was not found on this server.

If you put your client in public_html, then you need to configure just like this:
Code:
'Client 11.47' => 'http://your-ip/OpenTibia_Setup.exe',
 
i followed all the steps here but i still get the same downloads page. When i go to admin panel Pages, there is nothing there, and in Menu i can see the downloads but cannot delete it.
 
Thank you for the reply, i did and still does not show up, i changed to exactly how you mentioned there

Maybe try clear cache in admin panel:
1692769771207.png

Also would be useful to know what MyAAC version do you use?

And what is the content of system/pages/downloads.php?
 
Back
Top