Seite 1 von 1

Neu Mods installieren mit Easymod "Blöde Frage"

Verfasst: 07.12.2003 13:52
von manica
Ich habe nun Easymod in einem Testforum installiert. Wie aber bitte füge ich nun neue Mods hinzu?
Das wird nirgends beschrieben. Wenn ich im Adminbereich auf Mod installieren gehe mein Paßwort eingebe kommt zwar "Alle Mods wurden verarbeitet" aber es wurde keiner installiert ausser easymod selber.

Sehe ich den Wald vor lauter Bäumen nicht?
Ich lade mir Mods herunter und entpacke diese um sie dann in das Verzeichnis auf den Server admin/mods/easymod/ hochzuladen. Und dann?

Habe nun mehrere Mods runtergeladen. Nicht in einem ist eine Anleitung für easymod. Muß man nach wie vor alle Files von Hand editieren? Dann wäre Easymod aber überflüssig.

Verfasst: 07.12.2003 20:01
von AWSW

Verfasst: 07.12.2003 22:20
von manica
Habe das wie in Punkt 05 erläutert gemacht. Da erscheinen aber keine weiteren Mods. Rufe ist es manuel über den Webrowser auf erhalte ich die Fehlermeldung das das Verzeichnis im Root liegen muss. Kopier ich das in den Root kriege ich noch mehr Fehler.
In der Zeit wo ich jetzt verzweifelt versuche den Easymod zur Arbeit zu bewegen hätte ich die Scripte schon von Hand installiert :-)
Aber trotzdem würde ich gerne noch den Fehler finden.

Verfasst: 07.12.2003 23:12
von AWSW
http://www.phpbb.de/viewtopic.php?t=35933
05.: Die zu installierenden Easy Mod Installer kompatiblen MODs in den Ornder http://www.domain.de/phpBB2/admin/mods/ kopieren als separate Unterordner.
==>

http://www.domain.de/phpBB2/admin/mods/mod1/
http://www.domain.de/phpBB2/admin/mods/mod2/
http://www.domain.de/phpBB2/admin/mods/mod3/

usw... ;)

In den Unterordnern mod1/ bis mod3/ muss sich jeweils dann die install.txt bzw die Datei befinden, die als Anleitung für den EasyModInstaller kompatiblen MOD beiliegt :roll:

Verfasst: 08.12.2003 00:39
von manica
AWSW hat geschrieben:http://www.phpbb.de/viewtopic.php?t=35933
05.: Die zu installierenden Easy Mod Installer kompatiblen MODs in den Ornder http://www.domain.de/phpBB2/admin/mods/ kopieren als separate Unterordner.
==>

http://www.domain.de/phpBB2/admin/mods/mod1/
http://www.domain.de/phpBB2/admin/mods/mod2/
http://www.domain.de/phpBB2/admin/mods/mod3/

usw... ;)

In den Unterordnern mod1/ bis mod3/ muss sich jeweils dann die install.txt bzw die Datei befinden, die als Anleitung für den EasyModInstaller kompatiblen MOD beiliegt :roll:
Genau das hab ich gemacht. Hab als beispiel den MAP Mod da ist eine easymod_install.php dabei. Aber im Admin erschein nur alle Mods wurden verarbeitet.
Also diese Texttdatei fehlt also habe ich anderen Mod genommen. Der lieferte erst einmal schreibfehler wegen falschen CHmods. Also geändert. Nun hat das script folgenden Fehler gefunden

Code: Alles auswählen

FINDE FEHLGESCHLAGEN: Konnte in Zeile [includes/functions.php] nicht finden:

return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz)); 

MOD-Script Zeile #532
Und das bei einem frisch installierten Board 2.06
War extra ein Mod aus der Liste.
Gerade noch einen anderen Mod probiert wieder ellenlange Fehlerliste.

Code: Alles auswählen

Kritischer Fehler

FINDE FEHLGESCHLAGEN: Konnte in Zeile [includes/template.php] nicht finden:

//-- mod : sub-template ---------------------------------------------------------------------------- 
//-- add 
global $HTTP_GET_VARS, $HTTP_POST_VARS, $db, $board_config, $images, $theme; 
global $sub_template_key_image, $sub_templates; 
global $tree; 
// initiate the sub-template image pack that will be use 
$sub_template_key_image = 'c0'; 
// Check if sub_templates are defined for this theme 
$sub_templates_cfg = $this->root . '/sub_templates.cfg'; 
@include($sub_templates_cfg); 
if ( isset($sub_templates) ) 
{ 
// search an id 
$cat_id = 0; 
$forum_id = 0; 
$topic_id = 0; 
$post_id = 0; 
if ( isset($HTTP_GET_VARS[POST_POST_URL]) || isset($HTTP_POST_VARS[POST_POST_URL]) ) 
{ 
$post_id = isset($HTTP_GET_VARS[POST_POST_URL]) ? intval($HTTP_GET_VARS[POST_POST_URL]) : intval($HTTP_POST_VARS[POST_POST_URL]); 
} 
if ( isset($HTTP_GET_VARS[POST_TOPIC_URL]) || isset($HTTP_POST_VARS[POST_TOPIC_URL]) ) 
{ 
$topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]) ? intval($HTTP_GET_VARS[POST_TOPIC_URL]) : intval($HTTP_POST_VARS[POST_TOPIC_URL]); 
} 
if ( isset($HTTP_GET_VARS[POST_FORUM_URL]) || isset($HTTP_POST_VARS[POST_FORUM_URL]) ) 
{ 
$forum_id = isset($HTTP_GET_VARS[POST_FORUM_URL]) ? intval($HTTP_GET_VARS[POST_FORUM_URL]) : intval($HTTP_POST_VARS[POST_FORUM_URL]); 
} 
if ( isset($HTTP_GET_VARS[POST_CAT_URL]) || isset($HTTP_POST_VARS[POST_CAT_URL]) ) 
{ 
$cat_id = isset($HTTP_GET_VARS[POST_CAT_URL]) ? intval($HTTP_GET_VARS[POST_CAT_URL]) : intval($HTTP_POST_VARS[POST_CAT_URL]); 
} 
// find the forum 
if ( ($forum_id <= 0) && ($cat_id <= 0) ) 
{ 
if ($post_id > 0) 
{ 
$sql = "select * from " . POSTS_TABLE . " where post_id=$post_id"; 
if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Wasn\'t able to access posts', '', __LINE__, __FILE__, $sql); 
if ( $row = $db->sql_fetchrow($result) ) $forum_id = $row['forum_id']; 
} 
if ($topic_id > 0) 
{ 
$sql = "select * from " . TOPICS_TABLE . " where topic_id=$topic_id"; 
if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Wasn\'t able to access topics', '', __LINE__, __FILE__, $sql); 
if ( $row = $db->sql_fetchrow($result) ) $forum_id = $row['forum_id']; 
} 
} 
// is the categories hierarchy v 2 installed ? 
$cat_hierarchy = function_exists(get_auth_keys); 
// get the ids (forums and cats) 
$fids = array(); 
if (!$cat_hierarchy) 
{ 
if ($forum_id > 0) 
{ 
// add the forum_id 
$fids[] = POST_FORUM_URL . $forum_id; 
// get the cat_id 
$sql = "select * from " . FORUMS_TABLE . " where forum_id=$forum_id"; 
if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Wasn\'t able to access forums', '', __LINE__, __FILE__, $sql); 
if ( $row = $db->sql_fetchrow($result) ) $cat_id = $row['cat_id']; 
} 
// add the cat_id 
if ($cat_id > 0) 
{ 
$fids[] = POST_CAT_URL . $cat_id; 
} 
// add the root level 
$fids[] = 'Root'; 
} 
else 
{ 
// categories hierarchy v 2 compliancy 
$cur = 'Root'; 
if ($forum_id > 0) 
{ 
$cur = POST_FORUM_URL . $forum_id; 
} 
else if ($cat_id > 0) 
{ 
$cur = POST_CAT_URL . $cat_id; 
} 
// add start 
$fids[] = $cur; 
$i= 0; 
while (($cur != 'Root') && ($cur != '')) 
{ 
// get parent level 
$cur = (isset($tree['main'][ $tree['keys'][$cur] ])) ? $tree['main'][ $tree['keys'][$cur] ] : 'Root'; 
// add the parent level 
$fids[] = $cur; 
} 
} 
// search if this file is part of a sub-template 
$sub_tpl_file = ''; 
$sub_css_file = ''; 
$sub_img_file = ''; 
$sub_img_path = ''; 
if (substr($filename, 0, 1) != '/') 
{ 
$found = false; 
for ($i=0; ( ($i < count($fids)) && !$found ); $i++) 
{ 
$key = $fids[$i]; 
// convert root into c0 category 
if ($key == 'Root') $key = 'c0'; 
if ( isset($sub_templates[$key]) ) 
{ 
// get the sub-template path 
$cur_template_path = $this->root . '/' . $sub_templates[$key]['dir']; 
// set the filename 
if ( ($sub_tpl_file == '') && file_exists($cur_template_path . '/' . $filename) ) $sub_tpl_file = $sub_templates[$key]['dir'] . '/' . $filename; 
// set the css file name 
if ( ($sub_css_file == '') && isset($sub_templates[$key]['head_stylesheet']) && file_exists($cur_template_path . '/' . $sub_templates[$key]['head_stylesheet']) ) $sub_css_file = $sub_templates[$key]['dir'] . '/' . $sub_templates[$key]['head_stylesheet']; 
// set the img file name 
if ( ($sub_img_file == '') && isset($sub_templates[$key]['imagefile']) && file_exists($cur_template_path . '/' . $sub_templates[$key]['imagefile']) ) 
{ 
$sub_img_path = $sub_templates[$key]['dir']; 
$sub_img_file = $sub_templates[$key]['imagefile']; 
// send back the lowest level of the images file 
$sub_template_key_image = $key; 
} 
} 
} 
} 
// set the tpl file 
if ($sub_tpl_file) $filename = $sub_tpl_file; 
// set the css file 
if ($sub_css_file != '') $theme['head_stylesheet'] = $sub_css_file; 
// set the sub-template filename and get images 
if ($sub_img_file != '') 
{ 
// get the images file 
$current_template_path = $this->root . '/' . $sub_img_path; 
@include($current_template_path . '/' . $sub_img_file); 
$img_lang = ( file_exists($current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english'; 
@reset($images); 
while( list($key, $value) = @each($images) ) 
{ 
if ( !is_array($value) ) 
{ 
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value); 
} 
} 
} 
} 
//-- fin mod : sub-template ------------------------------------------------------------------------ 

MOD-Script Zeile #207 
  
Ich glaube das ist wohl doch noch nicht sonderlich ausgereift. Das war der ssubtemplates mod
Der Erste der Map mod da fehlt die ganze txt
und der zweite war der timemanager

Alles angeblich Easymodkompatibel. Jetzt dürfte das Forum zeimlich zerschossen sein. War aber glücklicherweise nur eine Testinstallation.