Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: lucas-ruroken on May 14, 2010, 02:38:13 AM

Title: H1 Tags in link tree
Post by: lucas-ruroken on May 14, 2010, 02:38:13 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2554)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FAdkmods%2Flogo.png&hash=b7e60a41a3ada5e2ace731e912eef5f3dd40e770) (http://www.smfpersonal.net/)


H1 Tags in linktree



Autor:
- lucas-ruroken

Perfil
My Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=195264)

(https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=JX63M3JYP5F5E&lc=AR&item_name=Animedk&item_number=47504637&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
Help support my mods



With this mod, you can add a h1 tags in your link tree.

Before
Your Forum -> Your Topic       (Link tree)

After
Your Forum -> <h1>Your Topic</h1>       (Link tree)



Changelog V1.0.1
Removed default h1 tag in forum title

Official Support: www.smfpersonal.net (http://www.smfpersonal.net)
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 14, 2010, 09:36:07 AM
I like this simple mod, it would be good for SEO.
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 14, 2010, 11:21:40 AM
Si, esa es precisamente la finalidad del mod,

Very simple and very effective
Title: Re: H1 Tags in link tree
Post by: Sirius OCTeam on May 15, 2010, 03:18:06 AM
Great mod  ;)

But be careful that when we have the linktree at the top and at the bottom at the same time, we cannot have two H1 together on the page.
We must have only one H1....I suggest for the top linktree only and eventually, H2 for the bottom linktree.
Title: Re: H1 Tags in link tree
Post by: arba on May 15, 2010, 07:59:03 AM
Just install this mod, SMF 1.1.11 version. But I dont see any diference before and after the mod instalation? Is there some visible diference in titlle look?
Title: Re: H1 Tags in link tree
Post by: rd on May 15, 2010, 08:09:45 AM
This mod is pretty nice! It will make a difference in SEO, if used right.
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 15, 2010, 08:38:11 AM
Quote from: arba on May 15, 2010, 07:59:03 AM
Just install this mod, SMF 1.1.11 version. But I dont see any diference before and after the mod instalation? Is there some visible diference in titlle look?

good point, how would you modify the code for this?
Title: Re: H1 Tags in link tree
Post by: Paracelsus on May 15, 2010, 09:09:20 AM
Quote from: Sirius OCTeam on May 15, 2010, 03:18:06 AM
Great mod  ;)

But be careful that when we have the linktree at the top and at the bottom at the same time, we cannot have two H1 together on the page.
We must have only one H1....I suggest for the top linktree only and eventually, H2 for the bottom linktree.

On SMF 1.1.11 this is a problem, since there are 2 breadcrumbs instead of one, making each page have a repeated h1 tag - considered bad for SEO (I think in SMF 2.0 there's only one breadcrumb so everything ok in this version).
Title: Re: H1 Tags in link tree
Post by: SN on May 15, 2010, 09:31:07 AM
Can anyone explain to me how this can help SEO?
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 15, 2010, 12:06:15 PM
Quote from: SN on May 15, 2010, 09:31:07 AM
Can anyone explain to me how this can help SEO?
yo can read: http://ezinearticles.com/?Use-of-H1-Tags-in-SEO&id=2655934
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 15, 2010, 04:44:30 PM
lucas-ruroken,

Since majority of the users are on 1.1.11, do you have a fix for this?  I tried to do this myself, but it's more complicated than I thought.
Title: Re: H1 Tags in link tree
Post by: Sirius OCTeam on May 15, 2010, 05:18:41 PM
Quote from: Paracelsus on May 15, 2010, 09:09:20 AM
On SMF 1.1.11 this is a problem, since there are 2 breadcrumbs instead of one, making each page have a repeated h1 tag - considered bad for SEO (I think in SMF 2.0 there's only one breadcrumb so everything ok in this version).

I'm with 2.0RC3 and I have two breadcrumbs...one at top, one at bottom.
Just look at this topic itself, there's two...
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 15, 2010, 05:28:27 PM
There's no evidence that two H1 tag is bad, but it's probably best to use just one.  I implemented this mod two days ago and I already seeing ranking improvements for google search.   This is a great mod.
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 16, 2010, 12:07:21 AM
Quote from: petecheng on May 15, 2010, 05:28:27 PM
There's no evidence that two H1 tag is bad, but it's probably best to use just one.  I implemented this mod two days ago and I already seeing ranking improvements for google search.   This is a great mod.

yes of course, is a very great mod because is very important to seo.

This mod not makes changes in sight...
Title: Re: H1 Tags in link tree
Post by: Afro on May 16, 2010, 07:28:03 AM
Ok, so we just install the mod and pray/hope it works.
Arent there a way to see it at work ?
Title: Re: H1 Tags in link tree
Post by: rd on May 16, 2010, 07:46:49 AM
I think you gotta look at tge post template to see if it works.
Title: Re: H1 Tags in link tree
Post by: Paracelsus on May 16, 2010, 08:16:25 AM
Quote from: Sirius OCTeam on May 15, 2010, 05:18:41 PM
Quote from: Paracelsus on May 15, 2010, 09:09:20 AM
On SMF 1.1.11 this is a problem, since there are 2 breadcrumbs instead of one, making each page have a repeated h1 tag - considered bad for SEO (I think in SMF 2.0 there's only one breadcrumb so everything ok in this version).

I'm with 2.0RC3 and I have two breadcrumbs...one at top, one at bottom.
Just look at this topic itself, there's two...

Ok, maybe they've updated it in recent beta or RC versions of SMF 2.0, because in earlier versions there was just one.

Anyway, in SMF 2.0 the H1 tag is always the same - the header logo - so it is never duplicated:
<h1 class="forumtitle">
<a href="http://www.simplemachines.org/community/index.php"><img src="http://www.simplemachines.org/community/Themes/smsite2/images/site/smsite_logo.jpg?rc2.1.1" alt="Simple Machines Community Forum" /></a>
</h1>


The H2 tags match the News, the H3 are somewhat strange (haven't understood them yet), the H4 match the Profile part in each post... and it's the H5 tags that match the post subject.

H2, H3, H4 and so on can be duplicated (or even more) without SEO penalty, it's the H1 that has to be in each page just once, so no problem at all with SMF 2.0.
Title: Re: H1 Tags in link tree
Post by: rd on May 16, 2010, 08:20:31 AM
I think thenthis mod shouldn't support 1.1.x because it may hurt then help.
Title: Re: H1 Tags in link tree
Post by: Paracelsus on May 16, 2010, 11:35:10 AM
Actually, it can hurt even 2.0 version if the H1 tag (which I posted above) isn't somehow "silenced" (thus making multiple H1 tags instead of one, which is considered bad for SEO). But I haven't looked deeply into this MODs code so I really can't tell.
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 16, 2010, 02:03:09 PM
Quote from: Paracelsus on May 16, 2010, 11:35:10 AM
Actually, it can hurt even 2.0 version if the H1 tag (which I posted above) isn't somehow "silenced" (thus making multiple H1 tags instead of one, which is considered bad for SEO). But I haven't looked deeply into this MODs code so I really can't tell.

I don't think so...

Quote from: Royalduke on May 16, 2010, 08:20:31 AM
I think thenthis mod shouldn't support 1.1.x because it may hurt then help.

I had better results with this mod in 1.1 that in 2.0, but in 2.0 the results were very positive
Title: Re: H1 Tags in link tree
Post by: Paracelsus on May 16, 2010, 05:23:38 PM
Lucas-ruroken,

The thing is... on this site (SMF) you have a clear H1 tag applied to the forum banner (just check the page source-code) but in your demo site where you have the MOD working there is no H1 tag in forum banner possibly because you're using a custom theme perhaps? Try to apply the MOD to a non-customized default Curve theme and see how many H1 tags you find.
Title: Re: H1 Tags in link tree
Post by: Antes on May 16, 2010, 05:39:04 PM
Good work lucas :) you are improving SMF in SEO section
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 16, 2010, 07:04:26 PM
Quote from: Paracelsus on May 16, 2010, 05:23:38 PM
Lucas-ruroken,

The thing is... on this site (SMF) you have a clear H1 tag applied to the forum banner (just check the page source-code) but in your demo site where you have the MOD working there is no H1 tag in forum banner possibly because you're using a custom theme perhaps? Try to apply the MOD to a non-customized default Curve theme and see how many H1 tags you find.

yes, but yesterday, i use curve theme with two tags h1 and I had greats result :)
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 16, 2010, 08:41:18 PM
I also use a custom theme, only place where <h1> tags duplicates is on the topic listings.

But I clearly seeing improvement already on my forums.  I haven't tried it on the default theme so i don't know.
Title: Re: H1 Tags in link tree
Post by: rd on May 16, 2010, 08:52:55 PM
Quote from: petecheng on May 16, 2010, 08:41:18 PM
I also use a custom theme, only place where <h1> tags duplicates is on the topic listings.

But I clearly seeing improvement already on my forums.  I haven't tried it on the default theme so i don't know.

Well, I am seeing improvements but it might just be the fact that I tried hard to increase my forums rankings last month. Anyways, I am also using this mod on a custom theme.
Title: Re: H1 Tags in link tree
Post by: Paracelsus on May 17, 2010, 04:39:52 AM
Quote from: lucas-ruroken on May 16, 2010, 07:04:26 PM
Quote from: Paracelsus on May 16, 2010, 05:23:38 PM
Lucas-ruroken,

The thing is... on this site (SMF) you have a clear H1 tag applied to the forum banner (just check the page source-code) but in your demo site where you have the MOD working there is no H1 tag in forum banner possibly because you're using a custom theme perhaps? Try to apply the MOD to a non-customized default Curve theme and see how many H1 tags you find.

yes, but yesterday, i use curve theme with two tags h1 and I had greats result :)

I believe in you, just pointed out my observation... actually there is no official support saying that multiple H1 tags are bad, it is just a general feeling among "SEO-experts", but I've already seen Matt Cutts (Google software engineer) saying there is no problem in using multiple H1 tags (if they're not too many of course).
Title: Re: H1 Tags in link tree
Post by: coolfx350 on May 17, 2010, 06:36:39 AM
Matt Cutts words are golden, it's like insider info.

Anyways. I wish the Mod writter could modify the code to support only <h1 tag on a single page regardless of themes, but I guess that's hard to do.

thanks op.
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 18, 2010, 06:07:39 PM
you're welcome
Title: Re: H1 Tags in link tree
Post by: mu271828 on May 25, 2010, 04:01:40 AM
Thanks for the mod!

You can make only the first occurrence of the linktree contain h1 tags by checking if something like $context['h1_linktree_shown'] is not set, and then setting it after the first time:
Code (install.xml) Select

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>lucas-ruroken:H1tags</id>
<version>1.0</version>
<file name="$themedir/index.template.php">
<operation>
<search position="replace"><![CDATA[
foreach ($context['linktree'] as $link_num => $tree)
]]></search>
<add><![CDATA[
$i = 1;
$count = count($context['linktree']);
foreach ($context['linktree'] as $link_num => $tree)
]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
// Show the link, including a URL if it should have one.
]]></search>
<add><![CDATA[
if($count == $i && !isset($context['h1_linktree_shown']))
echo'<h1 style="font-size: 1em; display: inline;">';

// Show the link, including a URL if it should have one.
]]></add>
</operation>
<operation>
<search position="after"><![CDATA[
// Show something after the link...?
]]></search>
<add><![CDATA[
if($count == $i && !isset($context['h1_linktree_shown']))
echo'</h1>';
$i++;
]]></add>
</operation>
<operation>
<search position="before"><![CDATA[
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '&nbsp;>&nbsp;';
}
]]></search>
<add><![CDATA[
  $context['h1_linktree_shown'] = true;
]]></add>
</operation>
</file>
</modification>
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on May 25, 2010, 04:14:09 AM
the mod add h1 tag in the last link tree...
Title: Re: H1 Tags in link tree
Post by: !RFAN on May 27, 2010, 03:15:34 AM
i installed this mod and m using a custom theme...
can anybody please check my forum and tell me if this mod is working properly and will improve SEO..
please: http://www.amigozone.tk

thanks :)
Title: Re: H1 Tags in link tree
Post by: Afro on May 27, 2010, 05:20:55 AM
Quote from: amigozone on May 27, 2010, 03:15:34 AM
i installed this mod and m using a custom theme...
can anybody please check my forum and tell me if this mod is working properly and will improve SEO..
please: http://www.amigozone.tk

thanks :)

No it is not working on your forum. You need to edit your theme's index.template.php and add the codes manuaaly.
Title: Re: H1 Tags in link tree
Post by: !RFAN on May 27, 2010, 06:32:31 AM
you mean i shud parse the mod and do all modifications manually in index.template.php ??

thanks :)
Title: Re: H1 Tags in link tree
Post by: Afro on May 27, 2010, 07:02:17 AM
^^ I mean you should open your theme/index.template.php and add the whole edits manually. The mod already made those edits on the default theme. Assuming you installed it.
Title: Re: H1 Tags in link tree
Post by: lucas-ruroken on June 08, 2010, 12:00:46 PM
V1.0.1 Released
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: mariusfv on July 16, 2010, 05:48:17 AM
Hi lucas-ruroken, I use your link tree mod (http://custom.simplemachines.org/mods/index.php?mod=2559) and I want to install this mod too but is error on install and when I want to modify the code manually some portion of code are modified.
I attach my index.template.php ...can you please help me with modification ?

I have SMF 1.1.11 & default theme.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on July 16, 2010, 11:59:05 AM
Done! ;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: mariusfv on July 16, 2010, 01:01:24 PM
10x lucas-ruroken for your help and your time .
This mode add improvement for optimization at spiders search no ?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on July 16, 2010, 05:18:01 PM
Of course.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Fisch.666 on August 16, 2010, 09:04:26 AM
Hi!

I have installed this mod at two different 2.0rc3 forums. At the forum without a portal, only one h1 tag is added. But at the second forum with the Portamx (http://portamx.com/) portal, two h1 tags are added:

http://www.prielwurmjaeger.de/forum/news/

Any hints how i can fix this? Thanks in advance for a reply.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on August 16, 2010, 11:39:41 AM
yeah! attach your index.template.php
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Fisch.666 on August 16, 2010, 11:58:11 AM
Hi!

Thanks for your reply. This is my index.template.php for the portamx portal and the raven theme.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on August 16, 2010, 12:30:59 PM
;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Fisch.666 on August 16, 2010, 12:48:44 PM
Thanks, works now without a problem!
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on August 16, 2010, 12:59:09 PM
Perfect!

Greetings
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: frantic on September 12, 2010, 09:01:55 PM
hi lucas, i installed your mod today on my test site just to see how it would go.  When i look at the script code using the f12 button on internet explorer i see 4 h1 tags come up in my search.  Does that mean this is working right.  This thread is kindof confusing to me.  Am i only suppose to be able to search for 2?  I'm using smf 2.0 RC3 and i hope i explained this right.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: abhi on September 12, 2010, 09:42:25 PM
I want to check tanx!
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Raffoz on October 17, 2010, 08:11:57 AM
can someone, please, explain me the utility of this mod? :)

thanks and sorry for my limits... :)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on October 18, 2010, 01:17:08 AM
Improve seo ;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: juliegreen on November 12, 2010, 10:59:17 AM
is it compt. with rc4 yet? if not any plan to do so? thank you
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on November 12, 2010, 12:40:43 PM
Now.... updated to rc4
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Danpotter on November 23, 2010, 04:19:18 AM
Hello all,i have installed Mods  "H1 Tags in link tree" and also "H Tag:Improve SEO"

1)What is the difference between these Both Mods??

2)Now my forum got both Mods,can i run these two mods?? or have to run only one??

3)If running two Mods is wrong,what wrong thing will happen to forum  for running 2 mods??

4)If running only one mod is preferable,which Mod is the best one??


Please answer all my questions and help me....

Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on November 23, 2010, 10:03:52 PM
1) both mods does the same thing... in differents places

2)No, please use one of both

3) Nothing.... But The result will not be the best

4) yes, but anyone is the same

PD: Sorry for my poor english, I don't speak it very good
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: fdr77 on December 06, 2010, 10:40:31 AM
you can see if is ok ?
I have unsure
Thank you
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on December 07, 2010, 08:38:40 PM
It works.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Jokerâ„¢ on December 08, 2010, 01:07:29 PM

if($count == $i)
echo'<h1 style="font-size: 1em; display: inline;">';

// Show the link, including a URL if it should have one.


In that code you forgot to close the h1 tag. It is giving invalid markup validation. The code can be



if($count == $i)
echo'<h1 style="font-size: 1em; display: inline;" />';

// Show the link, including a URL if it should have one.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: 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++;
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DanteOz on December 15, 2010, 09:11:04 PM
Thanks for the mod, so if I install this mod in my smf 2.0 rc4 I will have no problem even if the h1 tag is duplicated in a page, right?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on December 16, 2010, 09:53:12 AM
I recommend delete anothers h1tags
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DanteOz on December 17, 2010, 12:24:54 PM
How do I delete them?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on December 17, 2010, 03:58:03 PM
attach your index.template.php
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DanteOz on December 17, 2010, 06:26:05 PM
This is it
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on December 18, 2010, 11:58:42 AM
The mod is installed on your theme.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DanteOz on December 18, 2010, 01:30:20 PM
Ok, I see 2 h1 tags in my topic page, is that ok?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on December 18, 2010, 02:00:31 PM
In your topic page... I see only one h1 tag ;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DanteOz on December 18, 2010, 02:34:23 PM
I mean when viewing the source code of a topic in my forum, I can find two h1 tags per page, should I post the link for you to confirm?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: unformatted_ on January 29, 2011, 05:40:16 PM
Hi!

Thanks for the mod, but I have a big problem: after install, my forum title and menu on top right (mod) the letter size stays very very big (80pix or more)

Can you help me to solve this please?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on January 30, 2011, 05:35:34 PM
url of your site?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on January 30, 2011, 06:23:10 PM
The mod is not installed on your forum.... -.-
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on January 30, 2011, 06:24:46 PM
and... please don't hide them smf copyright.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on February 19, 2011, 01:48:39 PM
Updated to SMF 2.0 RC5 & 1.1.13
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: reefforum on March 07, 2011, 11:22:13 PM
hello, can you tell me if this is roking on  my site?  (http://reefcollege.com)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on April 10, 2011, 05:35:30 PM
yes, It does
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: wickedgood on April 21, 2011, 06:04:09 PM
I tried to install this mod on my 2.0RC5 forum http://uscleanersnetwork.com (http://uscleanersnetwork.com) I'm using a custom theme.

When I replace <h1> with <span> It makes my centered logo go to far left. I've tried a few variations of code there and it all does the same thing.

What should I change to fix this?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on May 05, 2011, 10:38:02 AM
but, this doesnt work in your logo..... It works in your linktree...
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: DarioRed on June 15, 2011, 09:48:41 AM
Hi lucas-ruroken, do you plan to update this mod to SMF 2.0 Gold.

Thanks, mod user!:)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on June 15, 2011, 05:08:50 PM
I plan to update all mod by Adk-Team (SMF Personal)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on July 06, 2011, 12:28:27 PM
Compatible with SMF 1.1.14 & 2.0
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: MiY4Gi on July 27, 2011, 06:57:06 PM
I installed it on 2.0 Gold with Ambassador custom theme.

Worked like a charm.  :)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on July 27, 2011, 09:16:53 PM
Perfect ;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Fisch.666 on July 30, 2011, 08:57:47 AM
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++;

Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on July 31, 2011, 04:35:47 PM
attach your index.template.php
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Fisch.666 on August 01, 2011, 01:34:34 AM
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
Title: Re: H1 Tags in link tree (V1.0.1 Released) IE8 pages in bold
Post by: OCJ on September 11, 2011, 04:48:42 PM
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  ;)
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Adk-Team on September 24, 2011, 03:55:53 PM
Updated to SMF 1.1.15 and 2.0.1  ;)

Regards enik...
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: TheCodfather on October 10, 2011, 10:52:15 AM
how do u check if this is acctually working or not ?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: briggz5d on January 01, 2012, 07:01:43 AM
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
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: OCJ on January 04, 2012, 05:12:49 AM
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.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Adk-Team on January 20, 2012, 01:39:12 PM
Updated to 2.0.2
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: shubha on February 02, 2012, 04:09:30 AM
I have start the new website and check with the seo software it shows "Your page has NO H1 tags".
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: FreeMan19 on February 13, 2012, 06:40:28 AM
don't work on SMF 2.0 RC3
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Mr. Jinx on June 03, 2012, 06:29:30 AM
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
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: lucas-ruroken on June 03, 2012, 01:20:19 PM
url of your website?

are you using the default theme?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Mr. Jinx on June 03, 2012, 02:50:32 PM
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 (http://www.chelloo.com/upc))
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.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: pss7 on July 02, 2012, 04:06:29 PM
does not work with carbon theme :(

any update to this?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: joeyjojoshabadoo on December 04, 2012, 12:21:40 PM
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 (http://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
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Skaty on January 10, 2013, 10:05:41 AM
Mod is working,

you can test it from here:
http://www.givegoodweb.com/tools/page-check/
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: 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
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Skaty on January 15, 2013, 01:23:21 PM
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.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Babyfacemagee on January 15, 2013, 01:35:09 PM
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?
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Arantor on January 15, 2013, 01:52:31 PM
QuoteDoes SMF 2.02 put H1 tags in automatically?

Yes: the page title element is normally an h1.

Quotedoes this Mod help or hurt a forum's SEO?

I'd argue that it makes things worse these days and should be avoided.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Skaty on January 15, 2013, 02:46:51 PM
Now i tried it with 2 check sites.

Before install this mod:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F92Oov.png&hash=df6ad8757b1b16c06d3fb8626f6a98d7461e9fd6)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FfNYvD.png&hash=55c91bdac3214c3fccbb2f1300af4123d5f8b30a)


After install:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimgur.com%2FvlJ4g.png&hash=83a1e385c55700df7a4d1fe4c4b0f4b7c8e82462)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FzgXXb.png&hash=c03e18d03adf63915dc3bea4bff80dd5cea4a3e6)


This is work for me because my theme does not have h1 tag, i look the index.template now. and the default theme has h1 and h2 tags, but my custom theme does not have, this is the differences.

@Babyfacemagee, in that case i guess you don't need to install this mod, your theme already has this tags.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Babyfacemagee on January 15, 2013, 08:01:53 PM
Ok, thanks.  I guess you're right that the theme on my sites already have the H1 tags included.  Thanks for the help guys.
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Adk-Team on February 04, 2013, 08:42:31 PM
SMF 2.0.4 updated  ;)

Regards enik...
Title: Re: H1 Tags in link tree (V1.0.1 Released)
Post by: Mudaber on October 21, 2013, 02:13:18 PM
I am using this mod for adding h1 tags even I have parse my index.template.php file but h1 tags are still not working. I have attached my index.template.php file . Anybody can help me how can I resolve this problem please.