add_ACP_links geht nicht!?

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Prometeus
Mitglied
Beiträge: 371
Registriert: 01.07.2005 11:07

add_ACP_links geht nicht!?

Beitrag von Prometeus »

Hallo, ich wollte mir einen winzigen MOd einbauen...
Hab alles nach Plan gemacht, ist ja nicht schwer... :lol:

Aber das Ergebnis ist = 0, Ich erhalte keine Links im ACP

-------------------------------------------------------------------------------
##############################################################
## MOD Title: add_ACP_links
## MOD Author: wicher <http://www.detecties.com/phpbb2018>
##
##
## MOD Description: This mod adds links into your ACP,
## you can easy define them yourself in the included file.
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit: language/lang_admin.php
## Included Files: add_admin_links.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbbhacks.com for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbbhacks.com
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ EDIT ]------------------------------------------
#

open the included file add_admin_links.php and add the links you want in your ACP

#
#-----[ SAVE/CLOSE ]------------------------------------------
#

add_admin_links.php

#
#-----[ COPY ]------------------------------------------
#

copy add_admin_links.php to admin/add_admin_links.php

#
#-----[ OPEN ]------------------------------------------
#

language/lang_admin.php

#
#-----[ FIND ]------------------------------------------
#

$lang['Styles'] = 'Styles Admin';

#
#-----[ AFTER, ADD ]------------------------------------------
#

$lang['Extra_links'] = 'Extra Links';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Die add_admin_links.php folgt hier....


Code: Alles auswählen

<?php
/***************************************************************************
*                             add_admin_links.php
*                              -------------------
*     begin                : Thu May 31, 2001
*     copyright            : (C) 2001 The phpBB Group
*     email                : support@phpbb.com
*
*     $Id: admin_mass_email.php,v 1.15.2.7 2003/05/03 23:24:01 acydburn Exp $
*
****************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************
 * Onderstaande defenitie kun je gebruiken voor het toevoegen van links in bepaalde catagoriën
 * $lang['General'] = 'General Admin';
 * $lang['Users'] = 'User Admin';
 * $lang['Groups'] = 'Group Admin';
 * $lang['Forums'] = 'Forum Admin';
 * $lang['Styles'] = 'Styles Admin';
 * $lang['Extra_links'] = 'Extra Links';
 ***************************************************************************/


define('IN_PHPBB', 1);

if( !empty($setmodules) )
{
	$filename = basename(__FILE__);
// here below you can add extra links.
	$module['Extra_links']['Admin_Forum'] = '../viewforum.php?f=1';    // change 1 to the corresponding forum ID of your adminforum or delete this line if you dont have one.
	$module['Extra_links']['phpbb.de'] = 'http://www.phpbb.de/';
	$module['Extra_links']['phpbb.com'] = 'http://www.phpbb.com/';	
	$module['Extra_links']['phpbbhacks.com'] = 'http://www.phpbbhacks.com/';
	$module['Extra_links']['db'] = 'http://www.geoforum.tu-berlin.de/db-tool/';
	
// here above you can add extra links.
	return;
}

?>
Müssen hier noch andere Files verändert werden, welche nicht vermerkt sind?
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

die 3 werden auch nicht angezeigt?

Code: Alles auswählen

   $module['Extra_links']['phpbb.de'] = 'http://www.phpbb.de/'; 
   $module['Extra_links']['phpbb.com'] = 'http://www.phpbb.com/';    
   $module['Extra_links']['phpbbhacks.com'] = 'http://www.phpbbhacks.com/';
Markus
Benutzeravatar
Prometeus
Mitglied
Beiträge: 371
Registriert: 01.07.2005 11:07

Beitrag von Prometeus »

Nein, gar nix. Deswegen bin ich ja etwas ratlos...
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ....

bennene die Datei um in
admin_add_links.php

Markus
Benutzeravatar
Prometeus
Mitglied
Beiträge: 371
Registriert: 01.07.2005 11:07

Beitrag von Prometeus »

Lieber Markus,

vielen Dank... :D

War die genaue Lösung!
Antworten

Zurück zu „phpBB 2.0: Mod Support“