Peachy Keen no H1 Tags


Post Number: 314

8 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


Hello,
Can you share with us how to add H1 Tags on all pages..
I'd like the text to actually be hidden off screen or in the logo, and it be the forum title, category title and thread title.
This is VERY important to me, I'd love this to be in the default download as well for future upgrades. :)
Thanks
-Brandon

Post Number: 316

8 months ago

  • Posts: 266
  • Joined: Jul 6, 2010
Mike Creuzer's Avatar

Mike Creuzer

Quality Assurance

Hello Brandon,

What exactly do you mean by add h1 tags on every page? As in, would you like the logo to be an h1 tag with the forum name being inside but the text hidden off the screen?

Thanks,
Mike

Post Number: 320

8 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


Hello Mike,
Thanks for the response.
The logo was just a suggestion if the h1 tag needed to be hidden.
I would like the site name to be the h1 tag on this page
adminbb.org/
I would like the forum category name to be the h1 tag on these pages
adminbb.org/forums/community-introductions.5/
and I would like the thread title to be the h1 tag here
adminbb.org/threads/hello-everyone-im-brandon.3596/
I would like all that to be auto-generated depending on the page you're on.
My other style has it setup like this.
general-forums.com/
I wouldn't mind if I had to have the h1 tags visible like this style, but I know the tags can be hidden behind the logo or off to the right so the user doesn't exactly see the h1 tags/words, but the search engine bots will still see them.
Thanks, let me know if you have any questions :)

Post Number: 321

8 months ago

  • Posts: 266
  • Joined: Jul 6, 2010
Mike Creuzer's Avatar

Mike Creuzer

Quality Assurance

General-forums.com has an image for the logo, not an H1 tag. If you want it to be an image, you need to delete the image tag, replace it with <h1 class="logo">AdminBB</h1> and then in your additional.css file, add something like this:
Code:
h1.logo {width: XXXpx; height: XXXpx; background: url(path/to/logo.png) 0 0 no-repeat};
As for the others, you basically need to just go around and find these templates and change the <h3> to <h1>. XenForo comes with all of this as <h3>, and I think they handled most of it correctly. Google doesn't want too many <h1> tags, as they are used in SEO as far as I know. I do not think I want to change Peachy for this, since it is really something that each person has a different opinion on. That said, we leave such decisions to the default platform's choice, in this case XenForo.

But, as I said, the logo I find to be fine to do, the only reason I don't do it on templates is for the reason I said above and the fact that you would need a background image in CSS, not an HTML image to pull off an image logo, and thus it will not print unless you specifically set it to do so, which most people don't want to bother doing that when they buy a template.

Hope this helps Brandon,
Mike

Like
1 person likes this post.
Post Number: 324

8 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


Hello Mike,
Thanks for the help, I actually just looked at the code on my other site and found one spot I could copy and past and achieve what I need.
It's in the Page_Container template, just after the
Code:
<xen:include template="ad_below_top_breadcrumb" />
code, I placed the following code between this tag.
Code:
<xen:hook name="page_container_content_title_bar"></xen:hook>
sorry for the format..
Code:
<xen:if is="!{$noH1}"> &lt;!-- h1 title, description --&gt; <div class="titleBar"> <h1><xen:if is="{$h1}">{xen:raw $h1}<xen:elseif is="{$title}" />{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></h1> <xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if> </div> </xen:if>

Post Number: 330

8 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


one more thing for this style..
How do I remove the forum title from all pages other then the home page
I don't want the same text on all pages as it's bad for SEO.
I want this on the home page
"site name"
and this on the forum categories.
"category name" not "category name | site name"
same with the threads..
"thread name" not "thread name | site name"
How can I achieve this?
Also there is a bug on this site, I can't click to my post or threads from my profile.. I click it and nothing happens..
Quote:
Community
Contributed 3 posts View all posts by Brandon Sheley
Created 1 threads

Post Number: 331

8 months ago

  • Posts: 68
  • Joined: Feb 5, 2011
Marshton's Avatar

Marshton

Lead Developer

^With that bug, sorry about that.
That's coming later :\

Post Number: 333

8 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


okay np on the links here :)
can you share what I need to remove to kill the site name in my title tag on the forum category pages and the thread pages?
also :)
some members are getting a messed up layout in the avatar header part
here is a screen shot
http://adminbb.org/threads/bug.3794/
I haven't been able to reproduce it in IE7 FF7 or chrome yet..
thx for the help

Post Number: 677

5 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


Hello Everyone,

I'd like to bump this thread if that is ok?

I see the new style shows the h1 tags in the wc3 validator so that isn't an issue for me ATM.
One thing that does bother me is when quoting a post all I see is the HTML, no rich text option?
http://admin-talk.com/threads/6260/
As well as this error a member reported, I'm asking him to provide screenshots.
The 2nd thing is the @topBanner area doesn't show when a user has adblock, how do I fix that?
I posted on the facebook wall and saw it would be patched.

Thanks for the help

Post Number: 682

5 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


How are these fixes coming?
The style isn't usable ATM
errors out when people make post

Post Number: 722

4 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


How is this update coming along?

Thanks

Post Number: 723

4 months ago

  • Posts: 266
  • Joined: Jul 6, 2010
Mike Creuzer's Avatar

Mike Creuzer

Quality Assurance

Hey Brandon, quite well. I started from scratch as I just prefer my own code, and I wanted to clean it up a bit and make it a bit more streamlined. It's using minimal template edits now, a fully functional color pallette, semantic dynamic html to allow for fluid designs and easy customization. The minimal template edits ensure it will work with 100% of the competent developer plugins.

Like
1 person likes this post.
Post Number: 724

4 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


outstanding
btw when I hit "Like" for your post, I got this error
<snip>

Like
1 person likes this post.
Post Number: 763

4 months ago

  • Posts: 266
  • Joined: Jul 6, 2010
Mike Creuzer's Avatar

Mike Creuzer

Quality Assurance

Brandon, everything working how you wanted now?

Post Number: 985

2 months ago

  • Posts: 13
  • Joined: Aug 31, 2011
Brandon Sheley's Avatar

Brandon Sheley


I just added the style again to see how it's loading. Everything seems fine, how exactly do I go about replacing my logo's?
I have photoshop and remember going to edit it last time but with the way it was sliced, it was weird to edit and save.
Thanks


also.. what would it cost for you guys to update the logo's?
Keeping the same text but have it say "Admin Talk"?

Thanks