1
hIBEES
Banner
  • 2004/4/20 21:44

  • hIBEES

  • Just popping in

  • Posts: 49

  • Since: 2004/4/20


hi,

there, found xooopps on powertools o server

superb,similiar to our exsisting front page but lot better laid out etc


anyways

i'm starting to get to grip o it but

WHEN i replace the banner.swf file in my server to a jpg pic i need to rename it still .swf, it changes the image but after a while the swf comes back

2
m0nty
Re: Banner
  • 2004/4/20 22:07

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


xoops allows u to create ad client accounts if you wasn't aware..

go into admin, system block and then select banners..

create an account for yourself..

then u can simply create a new banner, upload whatever banner you want to any folder.. and point the url to the banner you want to use..

if you don't want the default XOOPS banners then delete the ones from the XOOPS client account in the banners section..

hope this helps u more..

3
hIBEES
Re: Banner
  • 2004/4/20 23:12

  • hIBEES

  • Just popping in

  • Posts: 49

  • Since: 2004/4/20


yes it does a bit , thanks

i was referin more to the banner in the header

managed to get mine on but for some reason when you view a news story for example it doesn't show it the size i'm wanting , lovely themes and layout

4
m0nty
Re: Banner
  • 2004/4/21 2:40

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


what size are you wanting it? it should show the size of the banner submitted..

the standard banners are 468x60 i just looked at ur site altho it's closed.. i'm a little confused..

do you actually mean the banner? or the harp logo you have on there?

5
hIBEES
Re: Banner
  • 2004/4/21 18:36

  • hIBEES

  • Just popping in

  • Posts: 49

  • Since: 2004/4/20


thanks Not too shy to talk, ive keep site closed as its only early stages of it..

I've opened it to let you see the banner i'm reffering to harp is fine as is banner on main front page,when you click on a news story the "white" banner i want same as main page {confused smiley}

here the link:-http://www.hibeesbounce.com/frontpage/modules/news/article.php?storyid=5

harp is ok

6
m0nty
Re: Banner
  • 2004/4/21 22:45

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


try adding this line to your theme style.css

.navbar {margin-right: 10px;}

7
hIBEES
Re: Banner
  • 2004/4/22 13:13

  • hIBEES

  • Just popping in

  • Posts: 49

  • Since: 2004/4/20


that seems to have done the trick mate, thank you very mucho


[size=x-large]arghhh[/size]spoke too soon, it keeps coming back tae haunt me...lol

8
m0nty
Re: Banner
  • 2004/4/22 13:52

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


ok try this>

edit your theme.html and replace this section

<!-- Start Headerbar -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="<{$xoops_imageurl}>hbar_left.gif" width="10" height="23" alt="" /></td>
<td style="background-image: url('%3c{$xoops_imageurl}%3ehbar_middle.gif')" align="left">&nbsp;</td>
<td width="15%" style="background-image: url('%3c{$xoops_imageurl}%3ehbar_middle.gif')" align="right">
<form action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" class="navinput" /><input type="hidden" name="action" value="results" /> <input class="navinputImage" type="image" src="<{$xoops_imageurl}>searchButton.gif" name="searchSubmit" />
</form></td>
<td width="10"><img src="<{$xoops_imageurl}>hbar_right.gif" width="0" height="0" alt="" /></td>
</tr>
</table>
<!-- End Headerbar -->

with this >

<!-- Start Headerbar -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="<{$xoops_imageurl}>hbar_left.gif" width="10" height="23" alt="" /></td>
<td width="100%" background="<{$xoops_imageurl}>hbar_middle.gif')" align="right">
<form action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" class="navinput" /><input type="hidden" name="action" value="results" /> <input class="navinputImage" type="image" src="<{$xoops_imageurl}>searchButton.gif" name="searchSubmit" />
</form></td>
<td width="10"><img src="<{$xoops_imageurl}>hbar_right.gif" width="10" height="23" alt="" /></td>
</tr>
</table>
<!-- End Headerbar -->

hope this cures it.. it did on my machine

9
hIBEES
Re: Banner
  • 2004/4/22 15:10

  • hIBEES

  • Just popping in

  • Posts: 49

  • Since: 2004/4/20


no mate that never worked either, its strange and beginning to piss me off, sometimes the banner i want shows up perfectly yet other times its like its trying to load the original xoop flash .swf file

very strange indeed

http://www.hibeesbounce.com/frontpage/modules/news/article.php?storyid=5

url of the page in question,hopefully you will see the wee box where the top banner should be


I replaced the second part of the themes code in that template you were referring to, hope ive done in right place

10
m0nty
Re: Banner
  • 2004/4/22 17:04

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


ok i think ur a lil confused and that in turn confused me..

is this image the one you are referring to as your banner >

http://www.hibeesbounce.com/frontpage/images/banners/xoops_banner_2.gif

if it is then this isn't a banner and should not be treated as a banner.. banners and the banner code are entirely seperate things and are defined in admin/preferences/banners

if you want the above image displayed on all your pages as a header logo..

change this part in your theme.html

<!-- Start Header -->
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #008000; color: #ffffff">
<tr>
<td height="150" width="200" valign="middle" align="left" rowspan="2">
<a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a></td>
<td valign="middle" align="center" width="100%">
<{$xoops_banner}>
</td></tr><tr>
<td width="100%" valign="bottom" align="right" class="navbar" >
<table border="0" cellpadding="1" cellspacing="0">
<tr>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="<{$xoops_url}>">Home</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/chat/index.php3">Chat</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/forum">Forum</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/gallery">Gallery</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/forum/announcement.php?f=5&announcementid=34">Games</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/PredictionLeague">PredictionLeague</a></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- End Header -->

Change it to:

<!-- Start Header -->
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #008000; color: #ffffff">
<tr>
<td height="150" width="200" valign="middle" align="left" rowspan="2">
<a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a></td>
<td valign="middle" align="center" width="100%"><a href="<{$xoops_url}>"><img src="<{$xoops_url}>/images/banners/xoops_banner_2.gif" /></a></td></tr>
<tr>
<td width="100%" valign="bottom" align="right" class="navbar" >
<table border="0" cellpadding="1" cellspacing="0">
<tr>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="<{$xoops_url}>">Home</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/chat/index.php3">Chat</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/forum">Forum</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/gallery">Gallery</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/forum/announcement.php?f=5&announcementid=34">Games</a></td>
<td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.hibeesbounce.com/PredictionLeague">PredictionLeague</a></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- End Header -->


also a slight error in the other section..

in <!-- Start Headerbar --> section

find this line:

<td width="100%" background="<{$xoops_imageurl}>hbar_middle.gif')" align="right">

change it to:

<td width="100%" background="<{$xoops_imageurl}>hbar_middle.gif" align="right">


hope this helps you..

Login

Who's Online

160 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits