Page Index Toggle Pages: 1
Topic Tools
Normal Topic Adding a banner to the top of the forum (Read 2,235 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Adding a banner to the top of the forum
Reply #6 - May 26th, 2010 at 1:53am
Post Tools
Excellent

now you have lots of opportunities!  Wink

Good Luck
Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
tonyevans
YaBB Newcomer
*
Offline



Posts: 24
Re: Adding a banner to the top of the forum
Reply #5 - May 26th, 2010 at 1:30am
Post Tools
Thanks very much Guys - I now have just what I wanted - I even got it to open the target in a new window - Tony
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Adding a banner to the top of the forum
Reply #4 - May 25th, 2010 at 11:10am
Post Tools
Hi Tony

Two things -

A. I think that .jpg you reference is a tad small (its a thumbnail) The code below shows the full size pic.

B. It looks like it should work, but the only way to find out is to try! (just save a copy of default.html, or you can re-upload)

You will probably want to set it off with paragraph tags <p> </p> or division tags <div>,</div>

Code
Select All
<div align="center">
<a href="http://www.thegomc.com">
<img src="http://www.thegomc.com/PicHosting/image-799F_4BFB23D1.jpg" border="0"></</a>
</div> 



I guess you probably want to have the URL of the main page on the Auction Site, rather than the pics gallery, so I made that change.

Good Luck
Cool





« Last Edit: May 25th, 2010 at 11:15am by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
tonyevans
YaBB Newcomer
*
Offline



Posts: 24
Re: Adding a banner to the top of the forum
Reply #3 - May 25th, 2010 at 4:59am
Post Tools
Hi again, I have looked and read the Mods but these are not what I need all I want to do is place a banner at the top of the main page (Banner link below) with a link to the auction site which is www.GOMCauctions.com.

The above code I think (I said I was new) is to set-up a place for the banner in the template but how do I get the banner to display and add the hyper-link?

<a href="http://www.thegomc.com/PicHosting/share-799F_4BFB23D1.html"><img src="http://www.thegomc.com/PicHosting/thumb-799F_4BFB23D1.jpg" border="0"></a>

Sorry to be a pain - Tony
  
Back to top
 
IP Logged
 
tonyevans
YaBB Newcomer
*
Offline



Posts: 24
Re: Adding a banner to the top of the forum
Reply #2 - May 25th, 2010 at 1:32am
Post Tools
Thank you for that - I will have to investigate it and have a look at the other links - Tony
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Adding a banner to the top of the forum
Reply #1 - May 25th, 2010 at 12:59am
Post Tools
Hi

You 'can' just add some HTML to your default template.

You can do it right in the built-in template editor in Admin Center.

I put a <div> right after the <body> tag.

the div mechanism also means you can define the css for it.

this puts it right above the YaBB messages/alerts.
Code
Select All
</head>
<body>
<div align="center">
	<table border="1" cellpadding="2" cellspacing="3" width="92%" style="border-collapse: collapse">
		<tr>
				</tr>
	</table>
</div> 



That should work for what you want to do. Note - I used a table and a <div>, but it could have also been a <p>.

If you want something elaborate look on BoardMod

http://www.boardmod.org/yabb2/YaBB.pl?board=newsy24

The Codex has awhole section on little fixes.
http://codex.yabbforum.com/YaBB.pl?board=templates

be sure to backup your default template before you start.
(yabb2/Templates/default/default.html)

Good Luck
Smiley
« Last Edit: May 25th, 2010 at 1:06am by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
tonyevans
YaBB Newcomer
*
Offline



Posts: 24
Adding a banner to the top of the forum
May 24th, 2010 at 11:11pm
Post Tools
Hi - I am very new and this has most likely been dealt with elsewhere but I have been unable to find where so here goes.

My forum (just 3 months old) has also started an auction site and would like to add a banner link at the top of the forum page for visitors to click on and be passed on to the auction site.

Is there a simple way to do this? If so, how?

Tony Evans
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top