[Alpha] H1 Header Link

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
Volksdevil
Registered User
Posts: 2413
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

[Alpha] H1 Header Link

Post by Volksdevil » Sun Jan 17, 2016 7:35 pm

Please let me know if you install it, and it works as it should. :) And any coding advice appreciated if you look over the code.

Extension Name:
H1 Header Link.

Extension Description:
Turns the <H1> in the header of your board into a link.

Features:
  • Nothing exciting to speak of.
Demo URL:
http://www.testphpbb.co.uk
User: Test
Pass: testing

Extension Download:
http://www.testphpbb.co.uk

Install instructions:
Download and extract the zip folder.
Upload the 'volksdevil' folder to your boards 'ext' folder so that you have:
YOUR_BOARD_ROOT/ext/volksdevil/h1headerlink
Navigate to the 'customise' tab and enable the 'H1 Header Link' extension.

To maximise usage, you need to be sure that the following fields in ACP > Board settings are filled out with good names etc:
  • Site name
  • Board index test
  • Main website URL (If applicable)
  • Main website test (If applicable)
'Board Index' or 'Home' aren't really good titles, you should use the 'Name' of your site whether it be the forum, or the main website entries if you also use those.
Image

Screenshots:
Image

Author:
Volksdevil

Extension Version:
1.0.0

Requirements:
Only developed with prosilver in mind. Can work for others.
Last edited by Volksdevil on Sun Jan 17, 2016 10:52 pm, edited 1 time in total.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
My Volkswagen Corrado G60 | Opel Manta Owners Forum

divingbrit
Registered User
Posts: 86
Joined: Fri Mar 21, 2003 3:18 pm

Re: [Alpha] H1 Header Link

Post by divingbrit » Sun Jan 17, 2016 8:34 pm

Installed on Areo Green style, replaces "Sporting-Lincs Forum" with a link saying HOME, which points to www.sporting-lincs.com So it works, but not sure why I would need it, but I am sure someone will find it useful.
Shy but working at it

User avatar
Volksdevil
Registered User
Posts: 2413
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Alpha] H1 Header Link

Post by Volksdevil » Sun Jan 17, 2016 8:44 pm

Ah, apologies...I've forgotten to check/test the 'Home' variable as I don't use it. I'll sort that when I can. Although your site seems to have a strange setup with two breadcrumb links [Home & Board index]?

The end goal is to add a little SEO, as it's not ideal having the logo as a link and not the <H1>. Having the H1 as a link is better thought of. Also gives a better navigation on mobile ;)

Have you edited any core files? As the H1 should stay as 'Sporting-Lincs Forum' I think...

Could you share what you have for these settings?
Image
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
My Volkswagen Corrado G60 | Opel Manta Owners Forum

User avatar
Lumpy Burgertushie
Registered User
Posts: 63196
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [Alpha] H1 Header Link

Post by Lumpy Burgertushie » Mon Jan 18, 2016 3:43 am

the h1s are considered important by the search engines but that is because it is assumed that anything of that size would be content related/important etc.

never heard anything about having a h1 be a link making any difference for SEO.

certainly can't hurt.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

User avatar
Volksdevil
Registered User
Posts: 2413
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Alpha] H1 Header Link

Post by Volksdevil » Mon Jan 18, 2016 3:54 am

Yeah, I've read it quite a lot Robert. Mainly regards internal link flow...Ideally I'd like to use template events around the H1 and the description underneath, it can be optimised quite a lot by making the description paragraph underneath become dynamic, and also turned into a H2.

If you're on Google+ Robert/anybody else, this is a great community. When you ask good questions on there, the guys will get together in a hangout video and answer them:
https://plus.google.com/u/0/communities ... 4667803217
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
My Volkswagen Corrado G60 | Opel Manta Owners Forum

divingbrit
Registered User
Posts: 86
Joined: Fri Mar 21, 2003 3:18 pm

Re: [Alpha] H1 Header Link

Post by divingbrit » Mon Jan 18, 2016 7:04 am

Site Name - Sporting-lincs.forum
Site Description - Now 1600+ Lincolnshire Sports Clubs in our Database
Main Website URL - http://www.sporting-lincs.com/index.php
Shy but working at it

User avatar
Volksdevil
Registered User
Posts: 2413
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Alpha] H1 Header Link

Post by Volksdevil » Mon Jan 18, 2016 2:04 pm

OK, I see you have the Main Website URL field filled out when you don't/shouldn't need it ;) It's creating an extra link to the same place. It's only used if you have a main website [None phpBB] and then have your forum at mainwebsite.com/forum for example.

I've updated my first post to include the below...
Volksdevil wrote: To maximise usage, you need to be sure that the following fields in ACP > Board settings are filled out with good names etc, your 'site name' is fine:
  • Site name
  • Board index test
  • Main website URL (If applicable)
  • Main website test (If applicable)
'Board Index' or 'Home' aren't really good titles, you should use the 'Name' of your site whether it be the forum, or the main website entries if you also use those.
Image
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
My Volkswagen Corrado G60 | Opel Manta Owners Forum

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Yandex [Bot] and 33 guests

cron