Seite 1 von 1

add_ACP_links geht nicht!?

Verfasst: 20.01.2006 17:39
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?

Verfasst: 20.01.2006 17:51
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

Verfasst: 20.01.2006 18:11
von Prometeus
Nein, gar nix. Deswegen bin ich ja etwas ratlos...

Verfasst: 20.01.2006 20:58
von Markus67
Hi ....

bennene die Datei um in
admin_add_links.php

Markus

Verfasst: 24.01.2006 07:59
von Prometeus
Lieber Markus,

vielen Dank... :D

War die genaue Lösung!