| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
dr00t
Joined: 29 Mar 2008 Posts: 2
|
Posted: Sat Mar 29, 2008 2:09 pm Post subject: How to Install Optimal Titles V 1.0 |
|
|
Hey guys, I am pretty good with code (not a programmer though) but I just downloaded this "Optimal Titles V1.0" from the site and I unzipped it... and I am staring at 1 text file (english version) and a folder leading to the french translation.
Ok, so I open the english version in my text editor.. and I stop.
What now?
How do I install this MOD into my PHPBB 3.0 board?
I am a newbie that needs some help. Any advice is appreciated! |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13031
|
|
| Back to top |
|
 |
dr00t
Joined: 29 Mar 2008 Posts: 2
|
Posted: Sat Mar 29, 2008 5:24 pm Post subject: Re: How to Install Optimal Titles V 1.0 |
|
|
Well, even in the english version of the file, everything is referencing something french.
What's up with that? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13031
|
Posted: Sat Mar 29, 2008 6:12 pm Post subject: Re: How to Install Optimal Titles V 1.0 |
|
|
These are all the required steps to install the mod, from the English speaking install :
| Code: |
## MOD Title: phpBB3 SEO Optimal titles
## MOD Author: dcz <n/a> http://www.phpbb-seo.com/
## MOD Description: phpBB3 page titles Optimization.
##
## MOD Version: 1.0
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
#
#-----[ AFTER, ADD]------------------------------------------
#
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF --></title>
#
#-----[ FIND ]------------------------------------------
#
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
#
#-----[ REPLACE WITH ]------------------------------------------
# EG Delete
#
#-----[ OPEN ]----------------------------------------------
#
language/en/common.php
#
#-----[ FIND ]----------------------------------------------
#
?>
#
#-----[ BEFORE, ADD]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$lang['Page'] = 'Page ';
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start / $config['topics_per_page'] ) + 1 ) : '';
page_header($forum_data['forum_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($topic_data['topic_title'] . ' : ' . $topic_data['forum_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
There is no french
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
corriere
Joined: 01 Apr 2008 Posts: 2
|
Posted: Tue Apr 01, 2008 11:24 am Post subject: Re: How to Install Optimal Titles V 1.0 |
|
|
there is an error....
when you say :
find:
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
#
#-----[ REPLACE WITH ]------------------------------------------
# EG Delete
i think there is an error... perhaps #EG delete should be without #
i say this because after i modify the oveall header i have the write #eg delete in the top of all pages
please confirm or correct it. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13031
|
Posted: Sun Apr 06, 2008 12:25 pm Post subject: Re: How to Install Optimal Titles V 1.0 |
|
|
Nope, Replace something with nothing means delete.
We use this because there is no support for deletion in the mod format, and there is no move instruction either.
Here, we just need to move some code, so, we add it where it should and then delete it where it was (using the replace with nothing instruction since there is no delete).
Mod format is basic, but I admit, if we ask our-self too much questions, it can become tricky
It's all explained in the the How to install a mod thread at phpBB.com.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |