##############################################################
## MOD Title: SEO above and beyond the A2K mod
## MOD Author: Joe Hayes, in addtion to Craven de Kere's Mod.
## MOD Description: SEO in addition to what's given in the A2K phpBB mod.
##
## Installation Level: (Intermediate)
## Installation Time: 10 Minutes
## Files To Edit: index_body.tpl, viewforum_body.tpl, viewtopic_body.tpl, .css, page_header.php
## Included Files: n/a
##############################################################
## Author Notes:
## This MOD will make the following changes.
## 1. Un-link and add heading tags around the maintitle on index, viewforum, and viewbody
## 2. Remove visible guest links to various places which will lead to duplicate URL's
## 3. Remove the addition spacing under the heading tag in the template's css file
## 4. Point all links to a root of "/" instead of "/index.php"
##
## This mod is a piggy back mod for the able2know seo, for more information see:
## http://www.able2know.com/forums/about15132.html If you have not already done the A2K
## mod you should do this also, as this is just additional SEO.
##
##############################################################
## MOD History:
##
## 8-25-2005 v1.0
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
root/templates/your_template/index_body.tpl
#
#-----[ INLINE - FIND ]------------------------------------------
#
class="maintitle">{L_INDEX}
#
#-----[ REPLACE WITH ]------------------------------------
#
class="maintitle">
{L_INDEX}
#
#-----[ FIND - OR SOMETHING SIMILAR]------------------------------------------
#
{L_SEARCH_NEW}
{L_SEARCH_SELF}
{L_SEARCH_UNANSWERED}
#
#-----[ REPLACE WITH ]------------------------------------
#
{L_SEARCH_NEW}
{L_SEARCH_SELF}
{L_SEARCH_UNANSWERED}
#
#-----[ OPEN ]------------------------------------------
#
root/templates/your_template/viewforum_body.tpl
#
#-----[ INLINE - FIND ]------------------------------------------
#
class="maintitle">{FORUM_NAME}
#
#-----[ REPLACE WITH ]------------------------------------
#
class="maintitle">{FORUM_NAME}
#
#-----[ FIND - OR SOMETHING SIMILAR ]------------------------------------------
#
{L_MARK_TOPICS_READ} |
#
#-----[ REPLACE WITH ]------------------------------------
#
{L_MARK_TOPICS_READ}
|
#
#-----[ OPEN ]------------------------------------------
#
root/templates/your_template/viewtopic_body.tpl
#
#-----[ INLINE - FIND ]------------------------------------------
#
class="maintitle" valign="top"> {TOPIC_TITLE}
#
#-----[ REPLACE WITH ]------------------------------------
#
class="maintitle" valign="top">{TOPIC_TITLE}
#
#-----[ FIND - OR SOMETHING SIMILAR ]------------------------------------------
#
{L_VIEW_PREVIOUS_TOPIC} :: {L_VIEW_NEXT_TOPIC} |
#
#-----[ REPLACE WITH ]------------------------------------
#
{L_VIEW_PREVIOUS_TOPIC} :: {L_VIEW_NEXT_TOPIC}
|
#
#-----[ OPEN ]------------------------------------------
#
root/templates/your_template/your_template.css
#
#-----[ FIND (OR SOMETHING SIMILAR) ]------------------------------------------
#
.maintitle,h1{
font:bold 20px/120%
#
#-----[ REPLACE WITH ]------------------------------------
#
.maintitle,h1{
margin-bottom: 0;font:bold 20px/120%
#
#-----[ OPEN ]------------------------------------------
#
root/includes/page_header.php
#
#-----[ FIND (OR SOMETHING SIMILAR) ]------------------------------------------
#
'U_INDEX' => append_sid('index.'.$phpEx),
#
#-----[ REPLACE WITH ]------------------------------------
#
'U_INDEX' => append_sid('/'),
// note - REPLACE WITH your forum root, if your forum is in a subfolder
// then replace REPLACE WITH 'U_INDEX' => append_sid('/subfolder/'),
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM