News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

H1 Tags in link tree

Started by lucas-ruroken, May 14, 2010, 02:38:13 AM

Previous topic - Next topic

nfpuu1u

Hi!

Thanks for the smf 2.0 final update. Just a small note, i had to edit my index.template.php like this to get an valid xhtml index page while using portamx 1.3

Quote from: fdr77 on December 08, 2010, 09:48:39 PM
hy joker,
but the h1 tag  so  is not closed
if($count == $i)
echo'<h1 style="font-size: 1em; display: inline;">';

// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';


if($count == $i)
echo'</h1>';
$i++;


lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

nfpuu1u

Hi!

I've attached it at this post. There are some edits in it, which you made a year ago for my raven theme:

http://www.simplemachines.org/community/index.php?topic=381407.msg2748092#msg2748092

OCJ

#83
All pages/text viewed in internet explorer 8 appeared bold... after uninstalling it returned to normal.
Hope there is a fix for this if it helps SEO.

smf 2.0 and simple portal 2.33 .... i liked yours too  ;)

Adk-Team

Updated to SMF 1.1.15 and 2.0.1  ;)

Regards enik...

TheCodfather

how do u check if this is acctually working or not ?

briggz5d

hello,

I use just installed this mode on SMF 2.0.2 (Emulated 2.0.1)
i'd like to confirm that its been installed correctly on my custom theme
Please check http://www.ngbuzz.com/index.php/topic,417.0.html i see ONly the Topic Link as Bold top & bottom and not the entire link tree

OCJ

Nothing much changed .. in internet explorer (8 ) all page is bold text - portal page of simple portal - unuseable sadly.
Other browsers ok.
Also the Bloc template display is incorrect using this mod.

SM 2.0.2/ SPortal 2.3.4 All latest.

Attached:
h1link1.png: incorrect template display
h1link2.png: correct template display
h1link3.png: left text correct; right text all bold - with this mod.


shubha

#89
I have start the new website and check with the seo software it shows "Your page has NO H1 tags".


FreeMan19


Mr. Jinx

I think there is a small bug in the installer.
After installing this on a SMF 2.02 forum, it doesn't close the /H1 tag, instead is adds a /SPAN

lucas-ruroken

url of your website?

are you using the default theme?
Adk Portal 3.1 is coming....

Design your universe!

Mr. Jinx

#93
Well, it's a modified default theme, but I didn't change the part that this mod needs to change, atleast that is what I thought :) (link)
I have fixed it manually in index.template.php, so for me it's not a problem.

I looked at the install file. It went wrong because this part was missing in my template:
<h1 class="forumtitle">
The next step is to replace the next /h1 with /span. Because I didn't had a /h1 tag to close the forum title, it replaced the /h1 tag from it's own mod.

This is something that could go wrong more frequently because most people replace the title with an image.

pss7

does not work with carbon theme :(

any update to this?

joeyjojoshabadoo

HI all,

can someone tell me if this is working on my forum? I installed it, im on 202, br finale, but I can't tell whether it's working or not- it doesnt look like it from viewing the page source.

dropkickrugby.com/forum

DO I need to put h1 tags around each post title manually? I tried that though and it just displays the tags in the post title..

sorry for any silly questions, would appreciate any help.

Many thanks


Babyfacemagee

Could you please check to see if the mod is working on my site http://nexus7forum.com

Thank you.

BFM

Skaty

Quote from: Babyfacemagee on January 15, 2013, 01:16:45 PM
Could you please check to see if the mod is working on my site http://nexus7forum.com

Thank you.

BFM

Just put your domain to that link i gave, it should tell you what is going on in your web site.

Babyfacemagee

I did use the tool you linked to but it's causing me some confusion and here's why.  On another site (NookHDForum.com) that I had NOT installed this Mod on it tells me that I have 2 H1 tags on the page.  Does SMF 2.02 put H1 tags in automatically?

When I put Nexus7Forum.com into the tool, which DOES have the mod installed it says I have 3 H1 tags on the page and that I should consider reducing the amount and using H2-H6 tags.   So the question is...does this Mod help or hurt a forum's SEO?  Does SMF 2.02 already have H1 tags put in and is this mod overkill or is the H1 tag that this mod put in, in a different place where it adds value? (or is the tool you linked to not working correctly and telling me I have H1 tags on a site that does not have them)   A little further clarification would be appreciated.  I've read the H1 article earlier in this thread so i'm aware of the value of H1 tags.  I'm a little confused however by the results I'm getting from this tool you linked to and if this mod will help or hurt a forum.  Again...you can try them yourself and see in the tool you linked to.

Nexus7Forum.com - this has the mod installed. The tool you linked to says it has H1 tags in 3 places.
NookHDForum.com - this does not have the mod installed.  The tool you linked to says it has H1 tags in two places already.

Advice/Insight?

Advertisement: