Optimal Title Mod For Custom "Style" SE Gamer Dark Style

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

Optimal Title Mod For Custom "Style" SE Gamer Dark Style

Postby 8fold » Fri Feb 07, 2014 10:32 am

Hi guys,

please excuse my ignorance however I have some questions and I couldn't find a thread adequate for just the Optimal Title Mod.

I wan't to use the Optimal Title Mod for a custom theme SE Gamer Dark Style by Christian Bullock , its been modified a little have a look if you like www.therustforums.com To make things a little more challenging I can write in Java and Python however not really any PHP my uni decided to teach .net instead :3.

Am I wrong to assume that the mod is deeply integrated into the prosilver theme? or is it a rather easy process to transfer it to another theme?

I have no issue with doing a little reading in order to get the correct information to make the Mod work this SE Gamer theme. However I don't know where to start.

I am hoping one of the regulars here can direct me in the right direction.

Thanks Ben
8fold
 
Posts: 6
Joined: Fri Feb 07, 2014 10:15 am

Advertisement

Re: Optimal Title Mod For Custom "Style" SE Gamer Dark Style

Postby HB » Fri Feb 07, 2014 2:46 pm

In terms of programming difficulty on a scale of 1 to 10, the Optimal Titles mod is 0.5. Take a look at the install.xml instructions (they tell you what to change in your code). The template-specific change applies to just one file, overall_header.html:

Find:
Code: Select all
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />


Add after:
Code: Select all
<title>{PAGE_TITLE}<!-- IF S_IN_MCP --> &bull; {L_MCP}<!-- ELSEIF S_IN_UCP --> &bull; {L_UCP}<!-- ENDIF --></title>


Find and delete:
Code: Select all
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>


OK, I take it back. It's more like 0.25 on the difficulty scale. :D
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am

Re: Optimal Title Mod For Custom "Style" SE Gamer Dark Style

Postby 8fold » Sat Feb 08, 2014 12:49 am

Ah that's great,

I'm glad that's the case.

I'll let you know how the update goes.

Thanks again.
8fold
 
Posts: 6
Joined: Fri Feb 07, 2014 10:15 am

Re: Optimal Title Mod For Custom "Style" SE Gamer Dark Style

Postby 8fold » Sat Feb 08, 2014 6:26 am

Hey again,


So I did the Mod install however, after I purge my cache.
the footer gives an error Parse error: syntax error, unexpected '}' in /home/ratethat/public_html/cache/tpl_SE-Gamer-Dark_overall_footer.html.php on line 25

If I revert back to the cache backup I made, this goes away and naturally the mod won't work.

I am not sure why this is. I have checked to make sure I modified the overall_header.html and not the overall_footer.html, I did.
8fold
 
Posts: 6
Joined: Fri Feb 07, 2014 10:15 am

Re: Optimal Title Mod For Custom "Style" SE Gamer Dark Style

Postby 8fold » Sat Feb 08, 2014 10:54 am

That footer Error was due to a different Issue. so never mind me :)
8fold
 
Posts: 6
Joined: Fri Feb 07, 2014 10:15 am


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 11 guests