• 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][Template] Oni

Onimusha

Advanced OT User
Joined
Dec 6, 2008
Messages
257
Reaction score
156
Location
Japan
GitHub
all
NOTE: This will work only with MyAAC version 0.4.3 and higher. On older version, some bugs will show up.

Please report bugs in this thread.

Installation:

Go to Admin Panel, select 'Plugins', and then select myaac-oni-template.zip and click upload. That's all!

Configuration:
In config.local.php set:
Code:
$config['template'] = 'oni';

Config Discord:
Open your site > templates > oni > index.php
Ctrl+F and search by discord and edit the iframe line.


Screenshots:
onitemplate.png


Changelog:
1.0: Template release;
1.1: Fixed the table and input colors, the page load animation was removed;

Download:
 

Attachments

  • myaac-oni-template.zip
    944.9 KB · Views: 229 · VirusTotal
Last edited:
Hello!

Thanks for a nice job on this!

However, there is one problem with your upload.

This plugin cannot be installed:
1609753686081.png

You need to add folder plugins into your zip and there oni-template.json, look how its made here:


So your end folder-structure should look like this:
Code:
plugins/
    oni-template.json
templates/
    oni/
        config.php
        index.php
        rest-of-the-files-here

After this, you can send that folders (plugins, templates) to the .zip file like this:
You select both folder with CTRL and right click, then choose "Send to" -> ZIP Archive
1609754037986.png


This way you create an installable .zip package that can be uploaded to MyAAC admin panel.

Also, on Discord you asked about newses not displaying correctly, and in your upload I don't see news.html.twig, is it missing?

Regards,
 
If anyone like me doesn't like the animation on page load:

Replace in style.css:
Code:
* {
  margin: 0;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

*:hover {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

With just:
Code:
* {
  margin: 0;
}
 
I am trying to set up my discord but it keeps "0" all the time ): even getting enabled the widget on discord's serve setup
 

Attachments

  • myaac-tibiana-template-v1.1.zip
    1.5 MB · Views: 4 · VirusTotal
@slaw

after invite WAR with another guild.
View attachment 81648

i receive this error in wars.php
View attachment 81649
using TFS 1.2 sabrehaven.

What you have done is copying the wars.php from plugins folder. But it doesn't work that way.

Guild wars is incompatible with 0.8, because it's missing some functions & hooks.

Read here, if you would like to use the upcoming (1.0) version of myaac with guild wars: AAC - Looking For Tutorial to Add Guild Wars. (https://otland.net/threads/looking-for-tutorial-to-add-guild-wars.287549/#post-2741709)
 
Back
Top