ich bedanke mich bei euch allen für diese tolle software, es ist mir eine freude, diese software zu nutzen.
Im moment bereite ich alles vor , lade die plugins und passe es für meine nutzung an. Doch jetzt scheitere ich gnadenlos an der einrichtig des plugins Mitgliedsbeitrag, ich verusche den include (server_path.... zu setzen, doch leider sehr erfolglos, entwerde ich habe dann nur noch einen blanken bildschirm, oder es "zerrupft" mir die ganze darstellung, sprich, die menü einträge liegen komplett auf der linken bildschimseite und sonst ist nichts mehr zu sehen. Bis jetzt sieht die "my_body_bottom.php so aus :
Code: Alles auswählen
</div><!-- closes "div#left-block" -->
</div><!-- closes "div.col-md-9" -->
<div class="col-md-3">
<div id="right-block" class="admidio-container">
<?php
include(SERVER_PATH.'/adm_plugins/login_form/login_form.php');
include(SERVER_PATH.'/adm_plugins/sidebar_online/sidebar_online.php');
include(SERVER_PATH.'/adm_plugins/statistics/statistics.php');
include(SERVER_PATH.'/adm_plugins/awards/awards.php');
include(SERVER_PATH.'/adm_plugins/sidebar_announcements/sidebar_announcements.php');
include(SERVER_PATH.'/adm_plugins/calendar/calendar.php');
include(SERVER_PATH.'/adm_plugins/birthday/birthday.php');
include(SERVER_PATH.'/adm_plugins/random_photo/random_photo.php');
?>
<div id="plugin_menu" class="admidio-plugin-content">
<?php
// Module Menu
$moduleMenu = new Menu('modules', $gL10n->get('SYS_MODULES'));
$moduleMenu->addItem('overview', '/adm_program/index.php',
$gL10n->get('SYS_OVERVIEW'), '/icons/home.png');
if($gPreferences['enable_announcements_module'] == 1
|| ($gPreferences['enable_announcements_module'] == 2 && $gValidLogin))
{
$moduleMenu->addItem('announcements', '/adm_program/modules/announcements/announcements.php',
$gL10n->get('ANN_ANNOUNCEMENTS'), '/icons/announcements.png');
}
if($gPreferences['enable_download_module'] == 1)
{
$moduleMenu->addItem('download', '/adm_program/modules/downloads/downloads.php',
$gL10n->get('DOW_DOWNLOADS'), '/icons/download.png');
}
if($gPreferences['enable_mail_module'] == 1 && !$gValidLogin)
{
$moduleMenu->addItem('email', '/adm_program/modules/messages/messages_write.php',
$gL10n->get('SYS_EMAIL'), '/icons/email.png');
}
if(($gPreferences['enable_pm_module'] == 1 || $gPreferences['enable_mail_module'] == 1) && $gValidLogin)
{
$unreadBadge = '';
// get number of unread messages for user
$message = new TableMessage($gDb);
$unread = $message->countUnreadMessageRecords($gCurrentUser->getValue('usr_id'));
if($unread > 0)
{
$unreadBadge = '<span class="badge">' . $unread . '</span>';
}
$moduleMenu->addItem('private_message', '/adm_program/modules/messages/messages.php',
$gL10n->get('SYS_MESSAGES') . $unreadBadge, '/icons/messages.png');
}
if($gPreferences['enable_photo_module'] == 1
|| ($gPreferences['enable_photo_module'] == 2 && $gValidLogin))
{
$moduleMenu->addItem('photo', '/adm_program/modules/photos/photos.php',
$gL10n->get('PHO_PHOTOS'), '/icons/photo.png');
}
if($gPreferences['enable_guestbook_module'] == 1
|| ($gPreferences['enable_guestbook_module'] == 2 && $gValidLogin))
{
$moduleMenu->addItem('guestbk', '/adm_program/modules/guestbook/guestbook.php',
$gL10n->get('GBO_GUESTBOOK'), '/icons/guestbook.png');
}
$moduleMenu->addItem('lists', '/adm_program/modules/lists/lists.php',
$gL10n->get('LST_LISTS'), '/icons/lists.png');
if($gValidLogin)
{
$moduleMenu->addItem('mylist', '/adm_program/modules/lists/mylist.php',
$gL10n->get('LST_MY_LIST'), '/icons/mylist.png');
}
if($gPreferences['enable_dates_module'] == 1
|| ($gPreferences['enable_dates_module'] == 2 && $gValidLogin))
{
$moduleMenu->addItem('dates', '/adm_program/modules/dates/dates.php',
$gL10n->get('DAT_DATES'), '/icons/dates.png');
}
if($gPreferences['enable_weblinks_module'] == 1
|| ($gPreferences['enable_weblinks_module'] == 2 && $gValidLogin))
{
$moduleMenu->addItem('links', '/adm_program/modules/links/links.php',
$gL10n->get('LNK_WEBLINKS'), '/icons/weblinks.png');
}
echo $moduleMenu->show();
// Administration Menu
if($gCurrentUser->approveUsers() || $gCurrentUser->editUsers()
|| $gCurrentUser->manageRoles() || $gCurrentUser->isWebmaster())
{
$adminMenu = new Menu('administration', $gL10n->get('SYS_ADMINISTRATION'));
if($gCurrentUser->approveUsers() && $gPreferences['registration_mode'] > 0)
{
$adminMenu->addItem('newreg', '/adm_program/modules/registration/registration.php',
$gL10n->get('NWU_NEW_REGISTRATIONS'), '/icons/new_registrations.png');
}
if($gCurrentUser->editUsers())
{
$adminMenu->addItem('usrmgt', '/adm_program/modules/members/members.php',
$gL10n->get('MEM_USER_MANAGEMENT'), '/icons/user_administration.png');
}
if($gCurrentUser->manageRoles())
{
$adminMenu->addItem('roladm', '/adm_program/modules/roles/roles.php',
$gL10n->get('ROL_ROLE_ADMINISTRATION'), '/icons/roles.png');
}
if($gCurrentUser->isWebmaster())
{
$adminMenu->addItem('dbback', '/adm_program/modules/backup/backup.php',
$gL10n->get('BAC_DATABASE_BACKUP'), '/icons/backup.png');
$adminMenu->addItem('orgprop', '/adm_program/modules/preferences/preferences.php',
$gL10n->get('SYS_SETTINGS'), '/icons/options.png');
}
echo $adminMenu->show();
}
?>
</div><!-- closes "div#plugin_menu" -->
</div><!-- closes "div#right-block" -->
</div><!-- closes "div.col-md-3" -->
</div><!-- closes "div.row" -->
</div><!-- closes "div#page" -->
<p id="copyright">
<a href="http://www.admidio.org/" style="text-decoration: none;">
<img src="<?php echo THEME_PATH; ?>/images/admidio_logo_20.png"
alt="<?php echo $gL10n->get('SYS_ADMIDIO_SHORT_DESC'); ?>"
title="<?php echo $gL10n->get('SYS_ADMIDIO_SHORT_DESC'); ?>"
style="border: 0; vertical-align: bottom;" />
</a>
<span style="font-size: 9pt; padding-left: 8px;">© 2004 - 2016 <?php echo $gL10n->get('SYS_ADMIDIO_TEAM'); ?></span>
</p>
Ich danke euch allen schon jetzt und wünsche einen tollen Tag,
Herzlicher Gruss, Christian