Page Index Toggle Pages: 1
Topic Tools
Hot Topic (More than 10 Replies) Help in latest version of YaBB (Templates/Headers) (Read 2,386 times)
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,594
Location: Los Angeles

YaBB 2.4
Re: Help in latest version of YaBB (Templates/Headers)
Reply #10 - Jun 16th, 2013 at 7:27pm
Post Tools
Good luck, and have fun using your YaBB forum. It looks fantastic!  Smiley

Suggestion: You may want to move your HTML coding directly underneath your menu tab items, particularly when you choose to have a large photo or a lot of items to showcase.

To do this, I think in your forum you would place your HTML coding shown below as highlighted:
Code
Select All
<br /><br />
Your HTML coding goes here!
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"></div> 


I hope this is correct.  Roll Eyes

If you do as I suggest, the problem you're having won't matter. Wink

Edited:
And you'll want to remember to link your logo to your forum instead of this forum as you have it now.

« Last Edit: Jun 16th, 2013 at 7:45pm by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
RocksOffWebmaster
YaBB Newcomer
*
Offline



Posts: 10
Location: Mexico City

None
Re: Help in latest version of YaBB (Templates/Headers)
Reply #9 - Jun 16th, 2013 at 7:25pm
Post Tools
In paralel I'm going to use the yabb21.css template as you sggested as I am working with another template, not the default but "Rocks Off Final"
  
Back to top
IP Logged
 
RocksOffWebmaster
YaBB Newcomer
*
Offline



Posts: 10
Location: Mexico City

None
Re: Help in latest version of YaBB (Templates/Headers)
Reply #8 - Jun 16th, 2013 at 7:24pm
Post Tools
Thanks... Now I'm using the "NEWS" section ofr the header and it is working

The problema now is the logo at the left of the news section, I made it 1x1 pixels but the space is the same

Is there any way to remove the left side of the "News" section?? With this I'm almost done

You rock! Thanks again
  
Back to top
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,594
Location: Los Angeles

YaBB 2.4
Re: Help in latest version of YaBB (Templates/Headers)
Reply #7 - Jun 16th, 2013 at 5:58pm
Post Tools
RocksOffWebmaster wrote on Jun 16th, 2013 at 4:34pm:
I do the changes you suggest there, in the "TEMPLATE" and I don't see any change, I mean, whatever changes I do in the "TEMPLATE" the header remains the same

I suppose this is a silly question, but after you made the changes, did you remember to save the changed template, and are you saving the template your forum is using? I ask because YaBB has more than one template. It appears that your forum is using the yabb21.css template.

My guess is that you're editing, and saving your default1.css template.

A quick test of whether or not you're saving the correct template is to search for the following:
Code
Select All
<a href="http://www.yabbforum.com"><img src="http://rocksoff.org/aamessageboard/Templates/Forum/default/yabblogo.png" alt="YaBB - Yet another Bulletin Board" title="YaBB - Yet another Bulletin Board" border="0" /></a>
				</td> 



Change what you see above to what you see below (make a special note of the highlighted text):
Code
Select All
<a href="http://rocksoff.org/cgi-bin/messageboard/YaBB.pl"><img src="http://rocksoff.org/aamessageboard/Templates/Forum/default/yabblogo.png" alt="ROCKS OFF - The Rolling Stones Message Board" title="ROCKS OFF - The Rolling Stones Message Board" border="0" /></a>Test
				</td> 


Save the correct template.

If you've edited, and saved the correct template, then you'll see the following as part of the header in your forum:

Test

Note: As it shows above, your logo is now clickable to your forum instead of this forum, and you can see the word "Test" to the right of your logo.

I hope this helps. Wink

Edited:
Uh, oh!

For some reason, at least as I see it in Chrome and Internet Explorer, this forum isn't rendering the image of your logo at all. And with Firefox, it renders it larger than it really is.

Unfortunately, this is also happening in your forum. Hopefully, this is just an isolated issue on my end for some unknown reason, and everyone else can see your logo in whatever browser they're using.

I think this issue might be happening because you seem to be using your yabb21.css template instead of your default1.css template. But I'm only guessing.

Ah, strike this edit since I can now see you're working on this as I type. My bad. Roll Eyes
Oh, and it looks like you've got the hang of it, too. Congratulations! Smiley

Suggestion: You may want to move your HTML coding directly underneath your menu tab items, particularly when you choose to have a large photo or a lot of items to showcase.

To do this, I think in your forum you would place your HTML coding shown below as highlighted:
Code
Select All
<br /><br />
Your HTML coding goes here!
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"></div> 



Good luck, and have fun using your YaBB forum. It looks fantastic!  Smiley

« Last Edit: Jun 16th, 2013 at 7:24pm by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
RocksOffWebmaster
YaBB Newcomer
*
Offline



Posts: 10
Location: Mexico City

None
Re: Help in latest version of YaBB (Templates/Headers)
Reply #6 - Jun 16th, 2013 at 4:37pm
Post Tools
BTW... you rock! It's cool to have people helping each other without any  other benefit that satisfaction of helping... the world would be heaven if all the people were like you fine people

I do the same as I started the board back in 1998 for free and I pay hosting, domain and my time
  
Back to top
IP Logged
 
RocksOffWebmaster
YaBB Newcomer
*
Offline



Posts: 10
Location: Mexico City

None
Re: Help in latest version of YaBB (Templates/Headers)
Reply #5 - Jun 16th, 2013 at 4:34pm
Post Tools
Thanks a lot, I'm not sure if I understood as English is my third language but the problem is that I want a header like this http://www.rocksoff.org/messageboard/YaBB.pl [in which I have images and so many HTML codes (links below the header) and sometimes instead of a picture like the one I have now I post a video, etc] and what I have is a header like this http://rocksoff.org/cgi-bin/messageboard/YaBB.pl

In the "template" inside the ADMIN area I have the one used in the old board (the first above)

I do the changes you suggest there, in the "TEMPLATE" and I don't see any change, I mean, whatever changes I do in the "TEMPLATE" the header remains the same Cool
  
Back to top
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,594
Location: Los Angeles

YaBB 2.4
Re: Help in latest version of YaBB (Templates/Headers)
Reply #4 - Jun 16th, 2013 at 6:44am
Post Tools
Dandello wrote on Jun 15th, 2013 at 2:35pm:
- you can use html in default.html without any problems. But I'm personally leery of advising anyone to edit that everyday.

This is actually very easy to do, especially if you edit the template every day to make you an expert at it. However, Dandello nonetheless makes a very good, and important point.

Admittedly, I don't edit our template on a daily basis. However, because I edit it regularly enough to do things like publishing special messages, to remind myself where I'm to place those messages, I have the following reminder in our template (without the highlighted text shown below):

Code
Select All
<!-- Insert here: Use the space below to include special messages. -->
This is the place to place our forum's special messages.
<!-- Insert here: Use the space above to include special messages. --> 


I guess it's my personal "Editing for Dummies" reminder. Cheesy

*************************************

Dandello wrote on Jun 15th, 2013 at 2:35pm:
Add an iframe to default.html at the place you want the newsfeeder to show and style it to not show borders, etc. and have it call 'Templates/default/newsfeeder.html'.

This is a clever idea, and one that doesn't require daily edits of the template. I just tested an iFrame in our forum for a news feed, and it worked as Dandello explained it.

I'm reminded of our forum's Twitter timeline feed, which only required a one-time edit of our template.

By the way, replacing YaBB's default news feed with HTML language gives you the ability to make your news feed really stand out in the way you want it to look. As I've mentioned before, this is another great advantage of using YaBB (it easily allows HTML language to be incorporated into the forum).

« Last Edit: Jun 16th, 2013 at 6:47am by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,247
Location: Earth

YaBB 2.6.0
Re: Help in latest version of YaBB (Templates/Headers)
Reply #3 - Jun 15th, 2013 at 2:35pm
Post Tools
As Bill says - you can use html in default.html without any problems. But I'm personally leery of advising anyone to edit that everyday.

For an easier to change out newsfeeder I'd suggest something a little simpler to maintain (although a little more complex at the outset) :

Add an iframe to default.html at the place you want the newsfeeder to show and style it to not show borders, etc. and have it call 'Templates/default/newsfeeder.html'.

Then create a minimal newsfeeder.html file for it and put THAT in your yabb2/Templates/default/  That will be your new 'newsfeeder' file. And since it's in Templates/default, it can be edited under Forum Layout->Templates. And since it's a separate html page, it can be styled with html (in fact it can only be styled with html).

The better solution IMHO would be a javascript one as that won't involve iframes, but the general programming to make it easy to edit would be a bit hairier and beyond my personal current abilities in javascript.

Edited:
I've dropped a note on Carsten's Mod board to see if anyone there has a suggestion.
« Last Edit: Jun 15th, 2013 at 2:58pm by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,594
Location: Los Angeles

YaBB 2.4
Re: Help in latest version of YaBB (Templates/Headers)
Reply #2 - Jun 15th, 2013 at 6:28am
Post Tools
RocksOffWebmaster wrote on Jun 15th, 2013 at 2:41am:
What I want is the one I have now on the new forum but with the option to use the header with full HTML codes

Since 2002, I've used full HTML codes in our YaBB forum. As such ...

To use full HTML codes in your forum, simply add them to your template. Go to Admin Center, then Forum Layout, and then Template.

In the edit window of your template, search for the following:
Code
Select All
<br /><br />
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"> 


As you can see below, the highlighted part is where you place your full HTML codes:
Code
Select All
<br /><br />
Put your full HTML codes here!
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"> 


As an actual example with the photo you referenced, you'd edit the following into your template:
Code
Select All
<br /><br />
<center><p><b>
<a href="http://rocksoff.org/aamessageboard/Templates/Forum/default/yabblogo.png" onMouseover="window.status='rocksoff.org Photo'; return true;" target="window"><img src="http://rocksoff.org/aamessageboard/Templates/Forum/default/yabblogo.png" border=0 alt="yabblogo.png"></a>
</b></p></center>
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"> 


And so on, and so forth as often as you want to change it.

Being able to use full HTML coding in a YaBB forum is yet another reason I like using YaBB. Cool

Good luck, and have fun in your forum!

Disclaimer: Looking at the source code of your forum, I'm pretty sure this is where your full HTML code is supposed to be placed. But to know this for sure, try typing test where I show it below since that's easy on the eyes, and can be very quickly deleted or moved around until you find the exact place you want your HTML code to be.

Code
Select All
<br /><br />
test
<div class="nav" style="width: 100%; margin-left: auto; margin-right: auto; text-align: left;"> 



  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,247
Location: Earth

YaBB 2.6.0
Re: Help in latest version of YaBB (Templates/Headers)
Reply #1 - Jun 15th, 2013 at 5:21am
Post Tools
It looks like 2.1 allowed the use of html in the news section. Is this what you're talking about? Because there's no reason you couldn't add a 'header' div to the actual default.html and put your information in it or even add a a call to a javascript that will print html into a div.

Or you can try the 'html in posts mod' (http://www.boardmod.org/yabb2/YaBB.pl?num=1288196468

Or make a request to Carsten's board for a Mod that will do what you want.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
RocksOffWebmaster
YaBB Newcomer
*
Offline



Posts: 10
Location: Mexico City

None
Help in latest version of YaBB (Templates/Headers)
Jun 15th, 2013 at 2:41am
Post Tools
Hi everyone

I really need your help, please help me!!

I just moved two days ago from YaBB 2.1 to YaBB 2.5.2... One of the reasons to choose YaBB was the great template that allow the administrators to use HTML codes to post images/videos/links etc.

So one of the features of my message board was that I change the header daily, so it's like a magazine of stones news whit a new cover everyday...

Now I have two options:
  • To use the header the old way but if I do this the images do not appear on the threads and the avatars and image signatures do not show
  • To use just an image as a header (I can't add any other thing, even a header's footer showing the picture copyright, date, venue, etc.


My old board is here http://rocksoff.org/messageboard and the new one is here http://rocksoff.org/cgi-bin/messageboard/YaBB.pl?board=general

What I want is the one I have now on the new forum but with the option to use the header with full HTML codes

Please help, thanks in advance
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top