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.
RHitman
Registered User
Posts: 32
Joined: Fri Sep 26, 2008 2:25 am

Re: Add Homepage link in header

Post by RHitman » Thu Oct 29, 2009 3:58 pm

Hello
I would like to install this mod and I downloaded it but don't see any install instructions or how to.
Is there a file I am missing a readme or something.
Any help please.

Ruben M.

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 » Thu Oct 29, 2009 5:57 pm

Extract the zip you downloaded. Inside the folder you'll get after extraction you'll see a file named install.xml (or install_mod.xml - don't remember now...)
Open this xml file with your favorite internet browser, it contains the instructions you need.
Your other alternative is to install Automod and let it install the mod automatically for you.
I personally prefer the manual method to install mods, but that's just me... ;)
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...

majorshi
Registered User
Posts: 2
Joined: Sun Nov 15, 2009 6:33 pm

error message re: Add Homepage

Post by majorshi » Sun Nov 15, 2009 6:39 pm

"Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\cache\tpl_prosilver_overall_header.html.php on line 128"


ever I recovered the original webpage, it still shows me this error message when I try to access it.
Could you please help? Sorry, I am pretty new to it.

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 » Sun Nov 15, 2009 7:51 pm

If you restored the original file and still shows the error, then clearing your forum's cache will solve the issue.
About your error now, it shows that you made a mistake in the file edits. What style are you using?
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...

majorshi
Registered User
Posts: 2
Joined: Sun Nov 15, 2009 6:33 pm

Re: Add Homepage link in header

Post by majorshi » Sun Nov 15, 2009 11:44 pm

YES, thanks a lot, I solved the problem by deleting the cache file, I am using prosilver style.

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 » Mon Nov 16, 2009 8:10 am

OK, cool.
If you need help with the prosilver edits just post your overall_header.html here in

Code: Select all

 tags
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...

Spazzman67
Registered User
Posts: 15
Joined: Wed Jun 18, 2008 8:05 pm

Re: Add Homepage link in header

Post by Spazzman67 » Fri Nov 20, 2009 6:13 pm

when it comes to php editing i dont know squat! I can follow directions very well, but step by step instructions.

I did not upgrade my board or have any mods. My boards version is 3.0.1. I am fine with it, unless there is a HUGE reason that I DESPERATELY need to update. What I want to do is simple (well it should be right?) Is to change the header at the top to link back to my homepage. Right now you click on it it just wants to link back to the same page as if you refreshed the page. I dont mind if its just the logo or the whole banner that will be effective..Just whatever is easier.

you probably want the link to my forums page. http://www.retro64games.net/forums/index.php

I would appreciate any help and thanks in advanced.

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 » Fri Nov 20, 2009 6:52 pm

First of all I will advise you to DO upgrade to 3.0.6.
That being said to change the location clicking on the logo will take you to:
You posted that your forum's index is at http://www.retro64games.net/forums/index.php, so I'm guessing that site index is http://www.retro64games.net/
So:
Open styles/prosilver/template/overall_header.html
Find:

Code: Select all

			<div id="site-description">
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Replace with

Code: Select all

			<div id="site-description">
				<a href="http://www.retro64games.net/" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
After saving and uploading the changed file to your site, remember to purge your cache via the ACP
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...

Mr_makaveli
Registered User
Posts: 1159
Joined: Sun Oct 26, 2008 3:34 pm

Re: Add Homepage link in header

Post by Mr_makaveli » Sat Nov 21, 2009 7:04 am

i have read through three pages then stopped - does this take you back too page index (homepage) or does it make it the users homepage when they log on too firefox or ie, im sorry if qstn has been answered :oops:
www.tgzforum.com, a new forum for all types of people

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 » Sun Nov 22, 2009 12:41 pm

The link takes you to any page you set from the ACP, not on each user's homepage (this is done via the www link in their profiles)
The name "Add Homepage link in header" was given to this mod because I initially created it to enter your site index address and clicking it, it takes you there, but you can practically enter any website address you like from the ACP.
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...

WarlockMaster
Registered User
Posts: 14
Joined: Sun Nov 22, 2009 5:44 am

Re: Add Homepage link in header

Post by WarlockMaster » Sat Nov 28, 2009 5:21 pm

Portuguese Brazil Translations ;) :

language/en/acp/board.php

Code: Select all

	'HOMEPAGE_URL'					=> 'Endereço da Homepage',
	'HOMEPAGE_URL_EXPLAIN'			=> 'Informe aqui o endereço da da sua homepage. Você também pode usar algo como "../site", se sua homepage estiver no mesmo domínio, ou usar o endereço completo se estiver em outro domínio.. ',
	'HOMEPAGE_TITLE'				=> 'Título da Homepage',
	'HOMEPAGE_TITLE_EXPLAIN'		=> 'Esse título será exibido quando você mover o mouse sobre o link da homepage. Se não deseja exibir nenhum título, deixe esse campo em branco.',
	'SHOW_HOMEPAGE'					=> 'Exibir sua a URL da sua homepage no cabeçalho',
	'SHOW_HOMEPAGE_EXPLAIN'			=> 'Se você selecionar "Não" a URL da sua homepage não será exibida no cabeçalho',
	'SHOW_HOMEPAGE_IN_NEW'			=> 'Homepage em uma nova janela',
	'SHOW_HOMEPAGE_IN_NEW_EXPLAIN'	=> 'Se você selecionar "Sim" o link para sua homepage irá abrir em uma nova janela',
Thanks for the MOD :D

User avatar
valahul
Registered User
Posts: 33
Joined: Mon Nov 30, 2009 8:18 am

Re: Add Homepage link in header

Post by valahul » Mon Nov 30, 2009 8:30 am

I have installed 3.0.6 version, the last.
I tried this mod, to add a link to my homepage forum but i can''t get it to work.
I use a subsilver2 based theme "my autumn" http://demo.phpbb3styles.net/MG+Autumn .
I can''t add a homepage to forum. In 3.0.6 i don''t find the cod that is in mod description in overall_header.
Maybe in menu_block.html.
Some help would be appreciated.
THANKS.

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 » Mon Nov 30, 2009 11:04 am

WarlockMaster wrote:Portuguese Brazil Translations ;) :

language/en/acp/board.php

Code: Select all

	'HOMEPAGE_URL'					=> 'Endereço da Homepage',
	'HOMEPAGE_URL_EXPLAIN'			=> 'Informe aqui o endereço da da sua homepage. Você também pode usar algo como "../site", se sua homepage estiver no mesmo domínio, ou usar o endereço completo se estiver em outro domínio.. ',
	'HOMEPAGE_TITLE'				=> 'Título da Homepage',
	'HOMEPAGE_TITLE_EXPLAIN'		=> 'Esse título será exibido quando você mover o mouse sobre o link da homepage. Se não deseja exibir nenhum título, deixe esse campo em branco.',
	'SHOW_HOMEPAGE'					=> 'Exibir sua a URL da sua homepage no cabeçalho',
	'SHOW_HOMEPAGE_EXPLAIN'			=> 'Se você selecionar "Não" a URL da sua homepage não será exibida no cabeçalho',
	'SHOW_HOMEPAGE_IN_NEW'			=> 'Homepage em uma nova janela',
	'SHOW_HOMEPAGE_IN_NEW_EXPLAIN'	=> 'Se você selecionar "Sim" o link para sua homepage irá abrir em uma nova janela',
Thanks for the MOD :D
Thanks a lot for the translation! I will add a link for it in the third post
valahul wrote:I have installed 3.0.6 version, the last.
I tried this mod, to add a link to my homepage forum but i can''t get it to work.
I use a subsilver2 based theme "my autumn" http://demo.phpbb3styles.net/MG+Autumn .
I can''t add a homepage to forum. In 3.0.6 i don''t find the cod that is in mod description in overall_header.
Maybe in menu_block.html.
Some help would be appreciated.
THANKS.
Open styles/mg_autumn/template/menu_block.html
Find:

Code: Select all

	<td class="forum-buttons" colspan="3" width="100%">
		<!-- IF not S_IS_BOT -->
Add, after

Code: Select all

			<!-- IF S_SHOW_HOMEPAGE and U_HOMEPAGE --><a href="{U_HOMEPAGE}" <!-- IF U_HOMEPAGE_TITLE -->title="{U_HOMEPAGE_TITLE}"<!-- ENDIF --><!-- IF S_SHOW_HOMEPAGE_IN_NEW -->onclick="window.open(this.href); return false;"<!-- ENDIF -->><img src="{T_THEME_PATH}/images/icon_mini_home.gif" width="12" height="13" alt="" /> {L_HOMEPAGE}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
Don't forget to purge your cache...
Let me know if it is OK... ;)
Last edited by ChriZathens on Mon Nov 30, 2009 12:39 pm, edited 1 time 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
valahul
Registered User
Posts: 33
Joined: Mon Nov 30, 2009 8:18 am

Re: Add Homepage link in header

Post by valahul » Mon Nov 30, 2009 12:24 pm

WORKS GREAT!
SUPER MOD!
THANKS A LOT ChriZathens.

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 » Mon Nov 30, 2009 12:50 pm

Cool :ugeek: Glad it works! :D
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...

Locked

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

Who is online

Users browsing this forum: No registered users and 28 guests