phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
How to Install Optimal Titles V 1.0

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB3 SEO MODS
::  
Author Message
dr00t



Joined: 29 Mar 2008
Posts: 2

How to Install Optimal Titles V 1.0Posted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

How to Install Optimal Titles V 1.0Posted: Sat Mar 29, 2008 5:22 pm    Post subject: Re: How to Install Optimal Titles V 1.0

The install file is just a set of instruction to apply, such as open a file, find some code and add some new.

More on the How to install a mod thread at phpBB.com.

In the optimal title mod case, it's pretty simple, few code changes.

++

_________________
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
Visit poster's website
dr00t



Joined: 29 Mar 2008
Posts: 2

How to Install Optimal Titles V 1.0Posted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

How to Install Optimal Titles V 1.0Posted: 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} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>

#
#-----[ FIND ]------------------------------------------
#

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- 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 Wink

++

_________________
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
Visit poster's website
corriere



Joined: 01 Apr 2008
Posts: 2

How to Install Optimal Titles V 1.0Posted: 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} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

How to Install Optimal Titles V 1.0Posted: 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 Wink

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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB3 SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: