Re: Help in latest version of YaBB (Templates/Headers)Reply #1 - Jun 15th, 2013 at 5:21am

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.

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

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.

Note: Like most others, this forum doesn't allow 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.

Re: Help in latest version of YaBB (Templates/Headers)Reply #3 - Jun 15th, 2013 at 2:35pm

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!

- 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

<!-- 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. -->

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: Like most others, this forum doesn't allow 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.

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.

Note: Like most others, this forum doesn't allow 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.

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: Like most others, this forum doesn't allow 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.