• 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] Emma

MyAAC

Well-Known Member
Joined
May 4, 2017
Messages
98
Solutions
8
Reaction score
66
As requested by some of you, here it is, the fresh emma template for MyAAC!

NOTE: This will work only with MyAAC version 0.4.0 and higher. On older version, some bugs will show up.


Demo: http://demo.my-aac.org/?template=emma

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

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

Screens:
Bildschirmfoto 2017-09-13 um 14.29.20.png
Bildschirmfoto 2017-09-13 um 14.28.06.png
Bildschirmfoto 2017-09-13 um 14.27.55.png
 

Attachments

  • myaac-emma-template.zip
    1 MB · Views: 302 · VirusTotal
Last edited by a moderator:
Hello.

I got a problem using emma's template.

For some reason menu was not loaded on the page.

I went to the index.php file and found the following code:

PHP:
<div id="menu">
  <?php
      $menu_table_exist = tableExist(TABLE_PREFIX . 'menu');
      if($menu_table_exist) {
               require_once($template_path . '/menu_dynamic.php');
       }
       else {
             require_once($template_path . '/menu.php');
      }
   ?>
</div>

In the admin page I went to the menu option and there was no emma template in the list to edit.

The temporary solution was to remove some lines from the code to control the menu only by the menu.php
PHP:
<div id="menu">
<?php
require_once($template_path . '/menu.php');
?>
</div>


Could you help?
 
Hello.

I got a problem using emma's template.

For some reason menu was not loaded on the page.

I went to the index.php file and found the following code:

PHP:
<div id="menu">
  <?php
      $menu_table_exist = tableExist(TABLE_PREFIX . 'menu');
      if($menu_table_exist) {
               require_once($template_path . '/menu_dynamic.php');
       }
       else {
             require_once($template_path . '/menu.php');
      }
   ?>
</div>

In the admin page I went to the menu option and there was no emma template in the list to edit.

The temporary solution was to remove some lines from the code to control the menu only by the menu.php
PHP:
<div id="menu">
<?php
require_once($template_path . '/menu.php');
?>
</div>


Could you help?

Did you tried to reinstall this emma template? You had any errors when installing?

Seems there's no config.php in your templates/emma directory (not showing in admin panel).

And for not showing menu, is anything in your database table myaac_menu with name emma? Or only other names?
 
Here's the template once again, as the link doesn't work anymore.
 

Attachments

  • myaac-emma-template.zip
    1 MB · Views: 125 · VirusTotal
Thank you very much, I have one more question
when an emailer tries to send an email, I get an error
Error sending message preview. More information can be found in the system / logs / mailer-error.log file
 
Thank you very much, I have one more question
when an emailer tries to send an email, I get an error
Error sending message preview. More information can be found in the system / logs / mailer-error.log file

Look into logs as said.
 
this is in error.log

[Thu, 02 Apr 2020 06:32:55 +0000]
Could not instantiate mail function.

[Thu, 02 Apr 2020 06:34:03 +0000]
Could not instantiate mail function.

[Thu, 02 Apr 2020 12:34:00 +0000]
Could not instantiate mail function.

[Thu, 02 Apr 2020 12:34:13 +0000]
Could not instantiate mail function.

[Thu, 02 Apr 2020 12:34:16 +0000]
Could not instantiate mail function.
 
Just noticed I'm getting this UI-error with buttons on account management-page.

1609004190129.png
Post automatically merged:

copied files from .zip file put in xampp/MyAAC/Plugin and Template

You need to install it via your admin page -> plugins. (localhost/admin)
 
Back
Top