image at the top of page

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

image at the top of page

Beitrag von Blisk »

I have one quick question, trying not to make you very bussy
:respect:

How to put at the top of page an image, now it is a light blue image, bit I want an image like a sunset at the top.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Search in your template-folder under images the file logo_phpBB.gif. This is the image on the top of the board.
Create a new logo, name it like the original one and copy it to the template folder.
So after a site refresh the new image will be shown.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

no no, I know about logo image, I change it.
I am looking how to change a bacground of logo.
whole background from left to right of forum at the top, on top of it is a logo, and banners and a clock on my forum. I found a jpg file, but when I put another image it puts more one after another, I need just one image.
;)
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

This is the picture "cellpic_bkg.jpg".
Edit it or remove it with deleting the class in overall_header.tpl
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I like to replace it with one pic, now the cellpic_bkg.jpg is a 4 cm height and 0.5 cm width
and if i put a pic 4cm height and 25 cm width, it takes 2 pic instead of 1.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Replace in the class definition

Code: Alles auswählen

repeat-x
with

Code: Alles auswählen

no-repeat
and the image will be displayed only once.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

TNX, That's what I am looking for.
You are great!
:D
didn't tested yet, but just wondering, will an image adjust (width) automatically on monitor resolution???
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

This is a feature some browsers will do, but normaly an image will not be streched.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

wit a code is not a possible to set an automatic adjust an image??
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Öhm, no. For doing this you must know how width / height is the browser window to fit the image.
There's no command to fit an image to the window. Just via scripts like in Javascript, Java, or similar you can fit the image.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

[quote="oxpus - Thu 28.Oct, 2004 16:25";p="16088"]Replace in the class definition

Code: Alles auswählen

repeat-x
with

Code: Alles auswählen

no-repeat
and the image will be displayed only once.[/quote]

didn't find this repeat in overall header.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Attach the file. I'll take a look.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

ok, here is a file.
:D
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, try this:
Open the overall_header.tpl and find

Code: Alles auswählen

<td align="center" width="100%">{BANNER_0_IMG}</td><td><img src="images/spacer.gif" alt="" width="28" height="4" /></td>
Replace this line with

Code: Alles auswählen

<td align="center">{BANNER_0_IMG}</td><td><img src="images/spacer.gif" alt="" width="28" height="4" /></td>
This lets the image dimensions as they are and do not stretch or muliple it.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I try this but I cant say it works, because my portal streches up over proportion, thats makes users unhappy, don't know why??
:(
how to make a portal to always fit a monitor resolution?
Benutzeravatar
pinguinmsp (Martin)
Beiträge: 1327
Registriert: Fr 04.Apr, 2003 23:54
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von pinguinmsp (Martin) »

No wonder. Resize the images from the countdown. This block will not wrap!
Zuletzt geändert von pinguinmsp (Martin) am Fr 12.Nov, 2004 23:46, insgesamt 1-mal geändert.
Dunkel wars der Mond schien helle als ein wagen flitze schnelle langsam um die gerade Ecke Fuhr.......
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I did remove the countodwn images but it was the same. I will turn off the countdown for a wfile to check.
ThX for advice.

I did tested, it is not that, portal still streches up over proportion.
:confused:
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Look into the portal_body.tpl.
There are defined the tables with width="100%". Try to remove (only!) one width for each column.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I will try.
I did some testing, I copied my portal_body.tpl and overall_header.tpl from povej.com, to povej.net and portal still sreches up over proportion, but on povej.com doesn't strech up and it works OK, I don't understand why?
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Look for content in each box on the portal. Will something not warp?
To long text, to width images?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

No there was no long text, no big images, but still.
I did what you suggest and remove width="100%" in portal_body.tpl.
now it works. TNX :D
What is this 100% and why is the problem about that?
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

100% will be interpreted differently by each browser.
IE will fit the width to 100% for the windows, or, if into a table cell to the maximum cell width.
Firefox will interpret it as it is and fit the cell to the width this cell can have, so the column may fit the window, not the table ;) and the layout is destroyed. But this is the right definition!!!!!

But Smartor, the author of the Portal, haved already updated the ezPortal without the "one" uneeded 100%. After stefan released the plus 1.5.2 :(
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I will check a blend portal it has a lot of possibility, and maybe change ez portal to blend portal if it is more flexibile than this I have.
Johnneke
Beiträge: 7
Registriert: Sa 13.Nov, 2004 07:31

Beitrag von Johnneke »

blend is a great portal to and austin (the creator) gives great support to the people to, that the thing that makes a mod great imo just like oxpus does here :D
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

:eek:
Thx for this...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten