Add Homepage link in header

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29220
Joined: Sat Aug 16, 2003 7:36 am

Add Homepage link in header

Post by Extensions Robot »

Modification name: Add Homepage link in header
Author: ChriZathens
Modification description: Simple mod which helps you place a link for your homepage on the header of the forum.
The latest version (see screenshot) enables full control of the mod via the ACP.
Modification version: 1.1.0
Tested on phpBB version: 3.0.8

Download file: Add_Homepage_Link_1.1.0.zip
File size: 90.84 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 15 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Add Homepage link in header

Post by DavidIQ »

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Add Homepage link in header

Post by ChriZathens »

Thanks a lot for the validation guys!!!!

Since this mod is now updated to version 1.0.8, let me give you a screenie and a brief description of the features:

Features - Controllable via ACP
  1. Enable/Disable the mod
  2. Set the link of your homepage
  3. Optionally, set a title (to show when your mouse is over the link)
  4. Select whether you want your link to open in a new window
And a screenshot from the ACP:
shlih.jpg
shlih.jpg (60.06 KiB) Viewed 20815 times
For those who have installed the dev version 1.0.6 and want to update to 1.0.8 : update intructions

If you need to use a different image for your link, instructions are in this post.

Installation for additional templates
  1. Avalon: http://www.phpbb.com/community/viewtopi ... #p10102955
  2. twilightBB: http://www.phpbb.com/community/viewtopi ... #p10149545
  3. etech: http://www.phpbb.com/community/viewtopi ... #p10524245
  4. aerored: http://www.phpbb.com/community/viewtopi ... #p10540775
  5. Getaway: http://www.phpbb.com/community/viewtopi ... #p10703245
  6. 1Game: http://www.phpbb.com/community/viewtopi ... #p12076785

Additional translations
  1. Portuguese Brazil translation (thanks WarlockMaster) : http://www.phpbb.com/community/viewtopi ... #p11346595
Last edited by ChriZathens on Wed Feb 17, 2010 3:25 pm, edited 10 times in total.
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
asrock
Registered User
Posts: 244
Joined: Sat May 10, 2008 9:05 pm

Re: Add Homepage link in header

Post by asrock »

Would this work with Avalon theme, based on subsilver2?
Image
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

I can't test it, but I see no reason why it wouldn't... ;)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
asrock
Registered User
Posts: 244
Joined: Sat May 10, 2008 9:05 pm

Re: Add Homepage link in header

Post by asrock »

Thanks Chriz, I'll test it and if all ok I'll post back.

Thanks again.
Image
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

If you need any help, I'll be right here... :)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

If you need any help, I'll be right here... :)



EDIT: Just found some time and tested it.. It has differences, but it is not a problem implementing it...

Just open/styles/avalon/template/overall_header.html
Find:

Code: Select all

<a href="{U_FAQ}">{L_FAQ}</a> 
add, before:

Code: Select all

<a href="{U_HOMEPAGE}">{L_HOMEPAGE}</a> &#8226;
OR

Find:

Code: Select all

<div class="navrow">
add, after

Code: Select all

<a href="{U_HOMEPAGE}">{L_HOMEPAGE}</a> &#8226;
Test what way you prefer it... ;)
Refresh template, clear cache and you're good.. :)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: Add Homepage link in header

Post by lovelysummer »

I use sub-domain for my forum. I would like to ask my forum is http://forum.mycichlidfish.hk/ but my homepage is http://mycichlidfish.hk/.
What should I put in the
'U_HOMEPAGE' => "../site",
Is it simply add the full address to it ?

Tks. :)

edit : I made it ...very nice mod.... :D
I make the site to be opened in a new page, and do the following to the breadcumb.html.
simply in line add

Code: Select all

target="_blank"
after

Code: Select all

<a href="{U_HOMEPAGE}"
User avatar
asrock
Registered User
Posts: 244
Joined: Sat May 10, 2008 9:05 pm

Re: Add Homepage link in header

Post by asrock »

Chriz OMG, Your a damn hero mate, you actually took the time to install the avalon theme just to give me an answer? :o Dude you really didn't need to do all that, but thank you so very much for that because due to the fact that you did I have now got my little MOD installed as per your excellent instructions and it looks f**king COOL! So happy with it. The Team on this great forum should really be upgrading you for going above and beyond to help other newbie users like myself! Thank you very very much mate.

Finally... LOL, Theres always a BUT :lol:
As you can see from my capture below, I want to make the {HOMEPAGE} part look the same as my other links on my navrow... off caps and without the { and } also I have a custom homepage with a different URL, could you tell me where I would enter the URL for my custom page so that my new Homepage link will take a user to it without opening another browser window.

Again Chriz, your very kind. Many kind regards! ;)





*** UPDATE ***

Chriz, No worries my friend! I got it sorted :D I just modified the {U_HOMEPAGE} and the {L_HOMEPAGE} and now I've got what I want plus it doesn't need to open in another browser window. Yipeeeee!
Many thanks for your great MOD Chriz and for your very kind help! Thank You. ;)
After I messed around a little myself. Yipeee!
After I messed around a little myself. Yipeee!
After.jpg (36.57 KiB) Viewed 21550 times
Before
Before
Before.jpg (32.66 KiB) Viewed 21550 times
Image
lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: Add Homepage link in header

Post by lovelysummer »

I have a question in prosilver installation instructions.

prosilver/style/template/overall header.html

Code: Select all

<li class="icon-home"><a href="{U_HOMEPAGE}" accesskey="y">{L_HOMEPAGE}</a>
Is it necessary to have the <li closer after </a>

Code: Select all

</li>
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

asrock : You are very welcome... also keep in mind that in the next version the link will be configurable via ACP...So it will be very easy to enter any link you like.. ;)

lovelysummer : Yes, you are correct! It was actually a mistake in the instructions..My bad and I apologize for that.
Add after should be

Code: Select all

    <li class="icon-home"><a href="{U_HOMEPAGE}" accesskey="y">{L_HOMEPAGE}</a></li>
I will fix this in the next version and will also update the 3d post... Thanks for noticing this! ;)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
asrock
Registered User
Posts: 244
Joined: Sat May 10, 2008 9:05 pm

Re: Add Homepage link in header

Post by asrock »

Chriz, its a great simple little MOD... I love it, thanks for that!
By the way when you do release an update for this will it simply be a matter of overwriting the current files to update the MOD?
Image
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

It is not done yet, but I guess it will be a replace in includes/functions, an addition in overall_header.html and and one or two more files to edit..
I estimate the update will be a matter of 5 minutes
But that is just estimations, when I actually implement it I will know for sure.. :)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: Add Homepage link in header

Post by Mircea007 »

i have a question where is the home button taking u ... to the board index ..... or if you have a website and a forum can this homepage button take you to the website ?
Flash Games like you never seen before
Locked

Return to “[3.0.x] MOD Database Releases”