Problem mit dem Style: phpVB2

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
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.
Thor
Mitglied
Beiträge: 12
Registriert: 08.09.2002 19:27
Kontaktdaten:

Beitrag von Thor »

Sorry aber in dieser Datei steht die Zeile schon.

Code: Alles auswählen

<?php

//
// Do not alter this line!
//
define(TEMPLATE_CONFIG, TRUE);

//
// Configuration file for subSilver template
//
// $Id: subSilver.cfg,v 1.8 2001/12/21 12:46:25 psotfx Exp $
//
// **      copyright (C) 2001 The phpBB Group      **
// **         Created by subBlue design            **
// **               www.subBlue.com	  	   **
//
// ** subSilver dev. forum: www.subSky.com/phpBB2/ **
//
// This contains (at present) an array, images which
// points to the location of individiual images used
// by the template
//

$current_template_images = $current_template_path . "/images";

$smilies_url = "images/smiles";

$images['icon_quote'] = "$current_template_images/icon_quote_lang.gif";
$images['icon_edit'] = "$current_template_images/icon_edit_lang.gif";
$images['icon_search'] = "$current_template_images/icon_search_lang.gif";
$images['icon_profile'] = "$current_template_images/icon_profile_lang.gif";
$images['icon_pm'] = "$current_template_images/icon_pm_lang.gif";
$images['icon_email'] = "$current_template_images/icon_email_lang.gif";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif";
$images['icon_ip'] = "$current_template_images/icon_ip_lang.gif";
$images['icon_www'] = "$current_template_images/icon_www_lang.gif";
$images['icon_icq'] = "$current_template_images/icon_icq_add_lang.gif";
$images['icon_aim'] = "$current_template_images/icon_aim_lang.gif";
$images['icon_yim'] = "$current_template_images/icon_yim_lang.gif";
$images['icon_msnm'] = "$current_template_images/icon_msnm_lang.gif";
$images['icon_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
$images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif";
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";

$images['forum'] = "$current_template_images/folder.gif";
$images['forum_new'] = "$current_template_images/folder_new.gif";
$images['forum_locked'] = "$current_template_images/folder_locked.gif";

$images['folder'] = "$current_template_images/folder.gif";
$images['folder_new'] = "$current_template_images/folder_new.gif";
$images['folder_hot'] = "$current_template_images/folder_hot.gif";
$images['folder_hot_new'] = "$current_template_images/folder_new_hot.gif";
$images['folder_locked'] = "$current_template_images/folder_lock.gif";
$images['folder_locked_new'] = "$current_template_images/folder_lock_new.gif";
$images['folder_sticky'] = "$current_template_images/folder_sticky.gif";
$images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif";
$images['folder_announce'] = "$current_template_images/folder_announce.gif";
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";

$images['post_new'] = "$current_template_images/post_lang.gif";
$images['post_locked'] = "$current_template_images/reply-locked_lang.gif";
$images['reply_new'] = "$current_template_images/reply_lang.gif";
$images['reply_locked'] = "$current_template_images/reply-locked_lang.gif";

$images['pm_inbox'] = "$current_template_images/msg_inbox.gif";
$images['pm_outbox'] = "$current_template_images/msg_outbox.gif";
$images['pm_savebox'] = "$current_template_images/msg_savebox.gif";
$images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif";
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.gif";
$images['pm_replymsg'] = "$current_template_images/reply_lang.gif";
$images['pm_postmsg'] = "$current_template_images/msg_newpost.gif";
$images['pm_quotemsg'] = "$current_template_images/icon_quote_lang.gif";
$images['pm_editmsg'] = "$current_template_images/icon_edit_lang.gif";
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";

$images['topic_watch'] = "";
$images['topic_un_watch'] = "";
$images['topic_mod_lock'] = "$current_template_images/topic_lock.gif";
$images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif";
$images['topic_mod_split'] = "$current_template_images/topic_split.gif";
$images['topic_mod_move'] = "$current_template_images/topic_move.gif";
$images['topic_mod_delete'] = "$current_template_images/topic_delete.gif";

$images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";

$images['auth_can_read'] = "";
$images['auth_cannot_read'] = "";
$images['auth_can_post'] = "";
$images['auth_cannot_post'] = "";
$images['auth_can_reply'] = "";
$images['auth_cannot_reply'] = "";
$images['auth_can_edit'] = "";
$images['auth_cannot_edit'] = "";
$images['auth_can_delete'] = "";
$images['auth_cannot_delete'] = "";
$images['auth_mod'] = "";

//
// Vote graphic length defines the maximum length of a vote result
// graphic, ie. 100% = this length
//
$board_config['vote_graphic_length'] = 205;
$board_config['privmsg_graphic_length'] = 175;

?>
Kann mir nicht erklären warum das icon nicht angezeigt wird.
CU Thor
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

hmm... hast Du nur ´nen Image Ordner unter /phpVB2 ? ..also ka Sprachordner unter /images ? Is denn der Button vorhanden und wie schaut er aus ? Bzw. wie lautet der Name des Buttons, denn irgendwie stimmen die Buttonnamen aus der *.cfg ned mit den Buttons auf Deinem Forum überein !? :-?
Thor
Mitglied
Beiträge: 12
Registriert: 08.09.2002 19:27
Kontaktdaten:

Beitrag von Thor »

Yepp der Button ist da

[ externes Bild ]

Hab keinen Sprachodner unter phpvb2.
CU Thor
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

..das komische, wenn Du Dir die Namen der Buttons anschaust (newtopic, reply)...dann lauten diese anders als in der *.cfg definiert !? :-?

Edit: Der Grund.. weil die Bildernamen in der viewtopic_body.tpl (und sicherlich auch in anderen tpls direkt bezeichnet werden).
<td align="right"><a href="{U_POST_NEW_TOPIC}"><img src="templates/phpVB2/images/post_english2.gif" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="templates/phpVB2/images/reply_english2.gif" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
..ersetze ma das obige mit..
<td align="right"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
Thor
Mitglied
Beiträge: 12
Registriert: 08.09.2002 19:27
Kontaktdaten:

Beitrag von Thor »

OK ich versuch das mal!

Edit:

Danke! es hat funktioniert! Aber warum stehen in der Datei die Icons direct verlinkt?

Naja falls nochjemand mal das problem haben sollte findet er ja jetzt die hier die Lösung
Zuletzt geändert von Thor am 27.10.2002 11:36, insgesamt 1-mal geändert.
CU Thor
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

..funktioniert das obige ned ?
Thor
Mitglied
Beiträge: 12
Registriert: 08.09.2002 19:27
Kontaktdaten:

Beitrag von Thor »

Doch hatte nur nicht gesehn das du deinen obigen Beitrag editiert hast! Jetzt funktioniert alles einwandfrei!! Nochmals DANKE!
CU Thor
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“