• 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
55
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: 112 · VirusTotal
Last edited by a moderator:

grafit

New Member
Joined
Sep 11, 2008
Messages
71
Reaction score
2
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?
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,268
Solutions
99
Reaction score
756
Location
Germany
GitHub
slawkens
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?
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,268
Solutions
99
Reaction score
756
Location
Germany
GitHub
slawkens
Here's the template once again, as the link doesn't work anymore.
 

Attachments

  • myaac-emma-template.zip
    1 MB · Views: 110 · VirusTotal

lord2020

New Member
Joined
Mar 29, 2020
Messages
3
Reaction score
0
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
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,268
Solutions
99
Reaction score
756
Location
Germany
GitHub
slawkens
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.
 

lord2020

New Member
Joined
Mar 29, 2020
Messages
3
Reaction score
0
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.
 

croix

Member
Joined
Aug 26, 2011
Messages
123
Reaction score
13
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)
 
Top