Icons nicht zu sehen

Alles zu Styles, Templates, Icons und Smilies für phpBB 3.0.x, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
phpBB Styles Demo
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
psdtuning
Mitglied
Beiträge: 21
Registriert: 26.01.2010 22:57

Icons nicht zu sehen

Beitrag von psdtuning »

Hallo,
ich habe mit dem Design 1Game folgendes Problem:
Unter den Beiträgen müssen eigentlich Icons|Buttons mit eMail, PN, MSN und ICQ zu sehen sein. Aber es Funktioniert nur eMail und Profil.
Hier mal ein Link zum Forum mit passendem Thema: Klick it

Wenn ich meine Selbst Erstellten Buttons auf den Server spiele sehe ich nichts. Ich habe die Richtigen Namen für die Buttons genommen, Templates und Grafiksammlungen Aktualisiert, Ergebniss: Erfolgslos.

Liegt das nun am Style oder hab ich da iwas Verhauen? Hab das Design auch schon vom Server Geschmissen und neu Installiert, Hilft auch nichts. Bin Echt Ratlos =(
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Re: Icons nicht zu sehen

Beitrag von JFooty »

psdtuning hat geschrieben:Unter den Beiträgen müssen eigentlich Icons|Buttons mit eMail, PN, MSN und ICQ zu sehen sein.
Müssen?
psdtuning hat geschrieben:Aber es Funktioniert nur eMail und Profil.
Zumindest sollte außerdem noch PN funktionieren, sofern du das Recht hast PN zu versenden.
Im Quellcode deiner viewtopic_body.html befindet sich nämlich nur das hier:

Code: Alles auswählen

<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div>
Damit ist klar, warum zum Beispiel MSN und ICQ nicht angezeigt werden. :wink:
Damit z.B. der ICQ-Button unter dem Beitrag angezeigt wird musst du das hier:

Code: Alles auswählen

<!-- IF postrow.U_ICQ --><a href="{postrow.U_ICQ}">{ICQ_IMG}</a> <!-- ENDIF -->
einfügen. Also sieht das dann z.B. so aus:

Code: Alles auswählen

<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_ICQ --><a href="{postrow.U_ICQ}">{ICQ_IMG}</a> <!-- ENDIF -->&nbsp;</div>
Für MSN musst du dann einfügen...
Aber das findest du sicher selbst heraus, oder? :wink:
Kein Support per PN!
psdtuning
Mitglied
Beiträge: 21
Registriert: 26.01.2010 22:57

Re: Icons nicht zu sehen

Beitrag von psdtuning »

Ich glaube^^ Dann danke ich dir =)

Jetzt gehen diese Buttons zwar, aber die Icons auf der Hauptseite sind die Bilder nichtmehr zusehen...
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Re: Icons nicht zu sehen

Beitrag von JFooty »

psdtuning hat geschrieben:aber die Icons auf der Hauptseite sind die Bilder nichtmehr zusehen...
Das hat damit nichts zu tun.
Offenbar fehlen sämtliche Grafiken im Ordner styles/1Game/imageset/ . :o
Hast du die aus Versehen gelöscht oder verschoben?
Lade die Grafiken einfach noch einmal hoch, dann sollten sie auch wieder zu sehen sein. :wink:
Kein Support per PN!
psdtuning
Mitglied
Beiträge: 21
Registriert: 26.01.2010 22:57

Re: Icons nicht zu sehen

Beitrag von psdtuning »

Neu Hochgeladen...
Ergebniss: Das Gleiche -.-
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Re: Icons nicht zu sehen

Beitrag von JFooty »

psdtuning hat geschrieben:Neu Hochgeladen...
Mag sein, aber auf jeden Fall nicht in den richtigen Ordner.
Wenn ich http://psd-tuning.cwsurf.de/styles/1Gam ... m_read.gif direkt aufrufe, bekomme ich immer noch ein 404 auf's Auge gedrückt. :o
Übrigens scheinen auch die anderen Grafiken auf einmal nicht mehr vorhanden zu sein.
Da kommt ebenfalls viernullvier ...
Bsp.: http://psd-tuning.cwsurf.de/styles/1Gam ... ct_icq.png :-?

Edit: Sehe gerade, dass in der imageset.cfg alle Grafiken mit der Endung .png stehen.
Deine Grafiken sind aber .gif-Dateien. Eins von beiden müsstest du entsprechend anpassen.

Gleiches Problem, nur umgekehrt, für die Forenübersicht. Dort hast du .png-Dateien, aber in der imageset.cfg stehen die Grafiken mit der Endung .gif.
Kein Support per PN!
psdtuning
Mitglied
Beiträge: 21
Registriert: 26.01.2010 22:57

Re: Icons nicht zu sehen

Beitrag von psdtuning »

Lol... Habs Angepasst, jetzt geht Beides nicht :'(
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Re: Icons nicht zu sehen

Beitrag von JFooty »

psdtuning hat geschrieben:Lol...
Schön, wenn du noch Spaß dabei hast... :wink:
psdtuning hat geschrieben:Habs Angepasst, jetzt geht Beides nicht
Also noch einmal Schritt für Schritt:

1.Schritt:
Prüfe, ob alle Grafiken auf deinem Server im richtigen Ordner vorhanden sind.
Du musst zwei Ordner überprüfen, nämlich:
a) den Ordner styles/1Game/imageset/
und
b) den Ordner styles/1Game/imageset/de/

2.Schritt:
Prüfe, ob die Einträge in der Konfigurationsdatei imageset.cfg mit den Dateinamen in diesem Ordner übereinstimmen.
Also wenn du z.B. die Datei styles/1Game/imageset/forum_unread.png mit einer Höhe von 35 Pixel (erste Zahl in der imageset.cfg) und einer Breite von 35 Pixel (zweite Zahl in der imageset.cfg) nutzen möchtest, muss in der styles/1Game/imageset/imageset.cfg folgendes auftauchen:

Code: Alles auswählen

img_forum_unread = forum_unread.png*35*35
Bei dir stimmen z.B. die Einträge der Datei styles/1Game/imageset/imageset.cfg überhaupt nicht.
Du hast offenbar einfach die Datei styles/1Game/imageset/de/imageset.cfg dorthin kopiert.
Die Datei styles/1Game/imageset/imageset.cfg sieht im original so aus:

Code: Alles auswählen

#
# phpBB Imageset Configuration File
#
# @package phpBB3
# @copyright (c) 2005 phpBB Group 
# @license http://opensource.org/licenses/gpl-license.php GNU Public License 
#
#
# At the left is the name, please do not change this
# At the right the value is entered
# For on/off options the valid values are on, off, 1, 0, true and false
#
# Values get trimmed, if you want to add a space in front or at the end of
# the value, then enclose the value with single or double quotes. 
# Single and double quotes do not need to be escaped.
#
#

# General Information about this style
name = 1Game
copyright = &copy; phpBB Group, 2003
version = 3.0.6

# Images 
img_site_logo = site_logo.gif*94*170
img_upload_bar = upload_bar.gif*16*280
img_poll_left = poll_left.gif*12*4
img_poll_center = poll_center.gif*12*
img_poll_right = poll_right.gif*12*4
img_icon_friend =
img_icon_foe =

img_forum_link = forum_link.gif*27*27
img_forum_read = forum_read.gif*27*27
img_forum_read_locked = forum_read_locked.gif*27*27
img_forum_read_subforum = forum_read_subforum.gif*27*27
img_forum_unread = forum_unread.gif*27*27
img_forum_unread_locked = forum_unread_locked.gif*27*27
img_forum_unread_subforum = forum_unread_subforum.gif*27*27

img_subforum_read = subforum_read.png*9*11
img_subforum_unread = subforum_unread.png*9*11
img_topic_moved = topic_moved.gif*18*19

img_topic_read = topic_read.gif*18*19
img_topic_read_mine = topic_read_mine.gif*18*19
img_topic_read_hot = topic_read_hot.gif*18*19
img_topic_read_hot_mine = topic_read_hot_mine.gif*18*19
img_topic_read_locked = topic_read_locked.gif*18*19
img_topic_read_locked_mine = topic_read_locked_mine.gif*18*19

img_topic_unread = topic_unread.gif*18*19
img_topic_unread_mine = topic_unread_mine.gif*18*19
img_topic_unread_hot = topic_unread_hot.gif*18*19
img_topic_unread_hot_mine = topic_unread_hot_mine.gif*18*19
img_topic_unread_locked = topic_unread_locked.gif*18*19
img_topic_unread_locked_mine = topic_unread_locked_mine.gif*18*19

img_sticky_read = sticky_read.gif*18*19
img_sticky_read_mine = sticky_read_mine.gif*18*19
img_sticky_read_locked = sticky_read_locked.gif*18*19
img_sticky_read_locked_mine = sticky_read_locked_mine.gif*18*19
img_sticky_unread = sticky_unread.gif*18*19
img_sticky_unread_mine = sticky_unread_mine.gif*18*19
img_sticky_unread_locked = sticky_unread_locked.gif*18*19
img_sticky_unread_locked_mine = sticky_unread_locked_mine.gif*18*19

img_announce_read = announce_read.gif*18*19
img_announce_read_mine = announce_read_mine.gif*18*19
img_announce_read_locked = announce_read_locked.gif*18*19
img_announce_read_locked_mine = announce_read_locked_mine.gif*18*19
img_announce_unread = announce_unread.gif*18*19
img_announce_unread_mine = announce_unread_mine.gif*18*19
img_announce_unread_locked = announce_unread_locked.gif*18*19
img_announce_unread_locked_mine = announce_unread_locked_mine.gif*18*19

img_global_read = announce_read.gif*18*19
img_global_read_mine = announce_read_mine.gif*18*19
img_global_read_locked = announce_read_locked.gif*18*19
img_global_read_locked_mine = announce_read_locked_mine.gif*18*19
img_global_unread = announce_unread.gif*18*19
img_global_unread_mine = announce_unread_mine.gif*18*19
img_global_unread_locked = announce_unread_locked.gif*18*19
img_global_unread_locked_mine = announce_unread_locked_mine.gif*18*19

img_subforum_read = 
img_subforum_unread = 

img_pm_read = topic_read.gif*18*19
img_pm_unread = topic_unread.gif*18*19

img_icon_back_top =

img_icon_post_target = icon_post_target.gif*9*12
img_icon_post_target_unread = icon_post_target_unread.gif*9*12

img_icon_topic_attach = icon_topic_attach.gif*18*14
img_icon_topic_latest = icon_topic_latest.gif*9*18
img_icon_topic_newest = icon_topic_newest.gif*9*18
img_icon_topic_reported = icon_topic_reported.gif*18*19
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
dagegen sieht die Datei styles/1Game/imageset/de/imageset.cfg im Original so aus:

Code: Alles auswählen

#
# phpBB Imageset Configuration File
#
# @package phpBB3
# @copyright (c) 2005 phpBB Group 
# @license http://opensource.org/licenses/gpl-license.php GNU Public License 
#
#
# At the left is the name, please do not change this
# At the right the value is entered
# For on/off options the valid values are on, off, 1, 0, true and false
#
# Values get trimmed, if you want to add a space in front or at the end of
# the value, then enclose the value with single or double quotes. 
# Single and double quotes do not need to be escaped.
#
#

# Images 
img_icon_contact_aim = icon_contact_aim.gif
img_icon_contact_email = icon_contact_email.gif
img_icon_contact_icq = icon_contact_icq.gif
img_icon_contact_jabber = icon_contact_jabber.gif
img_icon_contact_msnm = icon_contact_msnm.gif
img_icon_contact_pm = icon_contact_pm.gif
img_icon_contact_yahoo = icon_contact_yahoo.gif
img_icon_contact_www = icon_contact_www.gif

img_icon_post_delete = icon_post_delete.gif
img_icon_post_edit = icon_post_edit.gif
img_icon_post_info = icon_post_info.gif
img_icon_post_quote = icon_post_quote.gif
img_icon_post_report = icon_post_report.gif

img_icon_user_online = icon_user_online.gif
img_icon_user_offline = icon_user_offline.gif
img_icon_user_profile = icon_user_profile.gif
img_icon_user_search = icon_user_search.gif
img_icon_user_warn = icon_user_warn.gif

img_button_pm_forward =
img_button_pm_new = button_pm_new.gif
img_button_pm_reply = button_pm_reply.gif
img_button_topic_locked = button_topic_locked.gif
img_button_topic_new = button_topic_new.gif
img_button_topic_reply = button_topic_reply.gif
3.Schritt:
Wenn alle Dateien auf dem Server im richtigen Ordner vorhanden sind und die Dateinamen mit den Einträgen (in der richtigen) imageset.cfg übereinstimmen, gehst du in den Adminbereich deines Forums.
Dort klickst du auf "Styles", dann auf "Grafiksammlungen" und klickst bei der Grafiksammlung des Styles 1Game noch auf "Aktualisieren".

Wenn du alles korrekt gemacht hast, sollten dann alle Grafiken sichtbar sein.
Eventuell musst du noch den Cache vom Forum bzw. den Cache vom Browser leeren.
Kein Support per PN!
psdtuning
Mitglied
Beiträge: 21
Registriert: 26.01.2010 22:57

Re: Icons nicht zu sehen

Beitrag von psdtuning »

Das Heisst? :D
Müssen die Beiden .cfg's gleich sein?
JFooty
Ehemaliges Teammitglied
Beiträge: 1868
Registriert: 02.10.2007 11:46

Re: Icons nicht zu sehen

Beitrag von JFooty »

psdtuning hat geschrieben:Müssen die Beiden .cfg's gleich sein?
:o Nein!
Schau dir mal die Dateien in meinem vorherigen Post genauer an.
Scrolle dazu einfach mal in den Codeabschnitten ein wenig nach unten und du siehst den Unterschied... :wink:
Kein Support per PN!
Antworten

Zurück zu „[3.0.x] Styles, Templates und Grafiken“