How to change the title
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
How to change the title
Your Portal Version: 1.0.2
Your phpBB Type: Premodded phpBB
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://pokerhold-m.com
What have you done before the problem was there?
I look into differents files without success
What have you already tryed to solve the problem?
nothing of more
Description and Message
Hello,
I would like to change the name of the portalboard page " portail" by the title of my website and i don't find where it is Someone can help me please ? Thanks very much
Your phpBB Type: Premodded phpBB
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://pokerhold-m.com
What have you done before the problem was there?
I look into differents files without success
What have you already tryed to solve the problem?
nothing of more
Description and Message
Hello,
I would like to change the name of the portalboard page " portail" by the title of my website and i don't find where it is Someone can help me please ? Thanks very much
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
language/fr/mods/lang_portal.php
Code: Select all
// General
'PORTAL' => 'Portal',
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: How to change the title
Thanks kevin ! it's ok
I have other questions if you can help me.
1) i use a redirection . How can i put the portal at http://www.pokerhold-m.com instead of http://www.pokerhold-m.com/PHPBB3 without using my index.htm page please ?
2) Where can i add meta description for the portalboard please ?
3) How can i change the color of block "menu" , "help" etc to have the same style as my forum please ?
4 ) How can i do the update 1.0.2 to 1.0.3 please ?
Regards,
Thanks
I have other questions if you can help me.
1) i use a redirection . How can i put the portal at http://www.pokerhold-m.com instead of http://www.pokerhold-m.com/PHPBB3 without using my index.htm page please ?
2) Where can i add meta description for the portalboard please ?
3) How can i change the color of block "menu" , "help" etc to have the same style as my forum please ?
4 ) How can i do the update 1.0.2 to 1.0.3 please ?
Regards,
Thanks
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
Forum Rules wrote:Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
- see above (board3 Portal FAQ)
- meta descriptions can be added in the overall_header.html - but this is for the complete forum. There is no way to add meta tags for the portal only
- see above (board3 Portal FAQ)
- update_board3portal_102.xml is included in the package, in the contrib directory
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: How to change the title
Ok sorry and thank for the link , i will try to do that "Moving portal.php outside of your forums directory"Kevin wrote:1) see above (board3 Portal FAQ)
Ok thanks, can i ask you an exemple please ? when i open my overall_header i can find :Kevin wrote:2 )meta descriptions can be added in the overall_header.html - but this is for the complete forum. There is no way to add meta tags for the portal only
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<head>
{SEO_BASE_HREF}
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF --></title>
<!-- // MOD : MSSTI RSS Feeds (V1.0.4) - Start-->
Ok thank you vmKevin wrote:3 ) see above (board3 Portal FAQ)
I just try but i can't find :Kevin wrote:4) update_board3portal_102.xml is included in the package, in the contrib directory
"V'U_PORTAL'=> append_sid("{$phpbb_root_path}portal.$phpEx"), in includes / functions.php
and i can't find in the overall_header :
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
and i can't find
<li class="icon-home"><a href="{U_PORTAL}">{L_PORTAL}</a> » <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
but i have
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --><strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
Sorry
Last edited by AIpx on 28. April 2009 15:58, edited 1 time in total.
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
Erm, taking a look into your source code brings up this:AIpx wrote:Ok thanks, can i ask you an exemple please ?
Code: Select all
<meta name="description" lang="fr" content="Portail Pokerhold-M : Passion Poker - Les bons plans poker : Passion Poker" />
<meta name="keywords" content="Passion, Poker, plans, poker, bons, Les, Pokerhold, Portail" />
Search for: U_PORTALAIpx wrote:I just try but i can't find : "V'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),
Might be that you forgot to do this edit with V. 1.0.2 - i cant see the link in your forum. You might do the edits as stated in the install.xml
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: How to change the title
Hi,
Thanks Kevin , i have try to do " Moving portal.php outside of your forums directory" and if avec the messages :
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 22: main(./phpBB3/portal/includes/lang_adm_additional_blocks.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 22: main() [function.include]: Failed opening './phpBB3/portal/includes/lang_adm_additional_blocks.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 58: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3011)
Thanks
Thanks Kevin , i have try to do " Moving portal.php outside of your forums directory" and if avec the messages :
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 22: main(./phpBB3/portal/includes/lang_adm_additional_blocks.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 22: main() [function.include]: Failed opening './phpBB3/portal/includes/lang_adm_additional_blocks.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Notice: in file /homez.143/pokerhol/www/portal.php on line 58: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3011)
Thanks
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
This file does not exist: http://www.pokerhold-m.com/phpBB3/porta ... blocks.php
It seems that you are using a portal.php from B3P package 1.0.3 without having properly updated to it (the rest of the installation is still v. 1.0.2).
The lang_adm_additional_blocks.php has been added in v. 1.0.3.
Use a portal.php of the 1.0.2 package or update to 1.0.3 before trying to move it outside the phpBB root directory.
It seems that you are using a portal.php from B3P package 1.0.3 without having properly updated to it (the rest of the installation is still v. 1.0.2).
The lang_adm_additional_blocks.php has been added in v. 1.0.3.
Use a portal.php of the 1.0.2 package or update to 1.0.3 before trying to move it outside the phpBB root directory.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
- Active Member
- Posts: 11
- Joined: 9. October 2008 12:59
- phpBB.com User: Anotheridiot
- Location: Dublin, Ireland
Re: How to change the title
I did this, but it has also changed a portal link I had in the main_menu.htmlKevin wrote:language/fr/mods/lang_portal.phpCode: Select all
// General 'PORTAL' => 'Portal',
Code: Select all
<li><a href="{U_PORTAL}">{L_PORTAL}</a></li>
I have done the same thing in common.php for
Code: Select all
'INDEX' => 'index',
Ive gotten around it in the main menu by changing
Code: Select all
<li><a href="{U_PORTAL}">Home</a></li>
-Dan
_______________________________________
Lifes not fair... but the Root Password Helps !
_______________________________________
Lifes not fair... but the Root Password Helps !
-
- Active Member
- Posts: 11
- Joined: 9. October 2008 12:59
- phpBB.com User: Anotheridiot
- Location: Dublin, Ireland
Re: How to change the title
the line in overall header is
to be changed to
Overall footer edits are
change
to
Templates need to be refreshed after these changes.
Code: Select all
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> »
Code: Select all
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">Home</a> »
change
Code: Select all
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->
Code: Select all
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">Home</a> » <!-- ENDIF -->
-Dan
_______________________________________
Lifes not fair... but the Root Password Helps !
_______________________________________
Lifes not fair... but the Root Password Helps !
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
Thanks for sharing, but this is not a good way to do it. What you have done now is to "hardcode" it and is more "quick & dirty" than anything else. You need to edit every file, that doesn't make no sense. Also this is not a solution for multilingual forums, e.g. French and English "Portail" and "Portal".
Simply change it in the language files, like i've told above:
language/ your language /mods/lang_portal.php
Change Whatever to the name you want to have for the portal link and description.
Don't forget to purge the cache afterwards.
Simply change it in the language files, like i've told above:
language/ your language /mods/lang_portal.php
Code: Select all
// General
'PORTAL' => 'Whatever',
Don't forget to purge the cache afterwards.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
- Active Member
- Posts: 11
- Joined: 9. October 2008 12:59
- phpBB.com User: Anotheridiot
- Location: Dublin, Ireland
Re: How to change the title
What my point was making that edit in lang_portal.php does change the page title, but it also changes the appearance of text for all occurances of {L_PORTAL} on the page.
So for example if it was to be changed to
The page title ends up as
WEBSITE * WHATEVER.
But the breadcrumbs in overall footer and overall header, all occurances of the {L_PORTAL} change to whatever as well.
So if you were viewing this forum it would read
* WHATEVER ‹ Board index ‹ Portal ‹ board3 Portal - English Support
Ive been studying some online marketing techniques lately and have discovered that google uses the page title like the cover of a book. The More descriptive the title, the more relevant hits your site will get.
Because Ive pretty much quoted from one of my study documents, I feel I have to mention that the document I have taken most of my start from is called Online Marketing by Damien Mulley
So for example if it was to be changed to
Code: Select all
// General
'PORTAL' => 'WHATEVER',
WEBSITE * WHATEVER.
But the breadcrumbs in overall footer and overall header, all occurances of the {L_PORTAL} change to whatever as well.
So if you were viewing this forum it would read
* WHATEVER ‹ Board index ‹ Portal ‹ board3 Portal - English Support
Ive been studying some online marketing techniques lately and have discovered that google uses the page title like the cover of a book. The More descriptive the title, the more relevant hits your site will get.
Because Ive pretty much quoted from one of my study documents, I feel I have to mention that the document I have taken most of my start from is called Online Marketing by Damien Mulley
-Dan
_______________________________________
Lifes not fair... but the Root Password Helps !
_______________________________________
Lifes not fair... but the Root Password Helps !
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
Okay, but to just change the portal title it would have been easier to modify
in portal.php and define an own variable, like "P_TITLE" or something and add it to the lang file.
Just one edit instead of several in several templates.
Anyway, main thing is that you have what you wanted to have.
Code: Select all
// output page
page_header($user->lang['PORTAL']);
Just one edit instead of several in several templates.
Anyway, main thing is that you have what you wanted to have.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
- Active Member
- Posts: 11
- Joined: 9. October 2008 12:59
- phpBB.com User: Anotheridiot
- Location: Dublin, Ireland
Re: How to change the title
Yeah that works much better.
I undid all my previous edits and went with the following. Much tidier and neater solution.
in portal.php
Find
Replace with
In /language/en/mods/lang_portal.php
Find
Add After
I undid all my previous edits and went with the following. Much tidier and neater solution.
in portal.php
Find
Code: Select all
// output page
page_header($user->lang['PORTAL']);
Code: Select all
// output page
page_header($user->lang['PORTAL_TITLE']);
Find
Code: Select all
'PORTAL_INSTALL_TEXT' => 'An installation file has been detected. If you want to update your portal (or any other mod), please execute the installer. If you have already done so, please remove or rename the directory for security reasons.',
Code: Select all
'PORTAL_TITLE' => 'WHATEVER',
-Dan
_______________________________________
Lifes not fair... but the Root Password Helps !
_______________________________________
Lifes not fair... but the Root Password Helps !
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: How to change the title
Yeah, i subscribe to that!Anotheridiot wrote:Much tidier and neater solution.
Have a nice weekend (public holiday today in Germany)!
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!