Template Serenity

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Template Serenity

Postby linus » Sun Jun 10, 2007 10:34 am

Hi,

my forum's www.forum-linux-italia.com ... I've a problem with serenity template :cry:

MOD : adv_phpbb3_mod_rewriteV0-2-0RC1

I do not have the file Forum_fn.js... :?

Image

Image

Thank's DCZ
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Advertisement

Postby TomaS » Sun Jun 10, 2007 12:26 pm

me too i ahve same problem whit this step
TomaS
PR2
PR2
 
Posts: 229
Joined: Fri Jun 08, 2007 1:22 am

Postby dcz » Mon Jun 11, 2007 1:28 pm

In the subsilver2 template, the code to look for is in the overall_header.html template, the code to look for should thus be there in yours I guess.

This particular code changes is here to allow the use of our rewritten urls when using the jump to page JS, not really an issue SEO wise, but still, better to only use the proper urls.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Tue Jun 12, 2007 4:27 am

thank's :wink:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby linus » Sat Jun 16, 2007 6:21 pm

I have resolved with the avatarbut me it remains a problem with the forum :

modifying the link I see the GIF


Image

Image

:?:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Sat Jun 16, 2007 10:16 pm

All right here is what should be the final fix to deal with all images issues :

Open :

Code: Select all
includes/functions.php


find :

Code: Select all
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   global $phpbb_seo;


After Add :
Code: Select all
   $template->assign_vars( array( 'PHPBB_FULL_URL' => $phpbb_seo->seo_path['phpbb_url'] ) );


Open :
Code: Select all
styles/prosilver/template/overall_header.html


Find :
Code: Select all
<head>


After add :
Code: Select all
   <BASE HREF="{PHPBB_FULL_URL}">


Will be the one used in RC2 to deal with absolute paths, the forums url will remain absolute, but the img will go back to the relative method this way.

Will mean less code changes and less problems with mods.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Sun Jun 17, 2007 6:13 am

it does not work :(
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Sun Jun 17, 2007 9:37 am

The find was a little imprecise, make sure you did this in the page_header function :

Code: Select all
function page_header($page_title = '', $display_online_list = true)
{
   global $db, $config, $template, $SID, $_SID, $user, $auth, $phpEx, $phpbb_root_path;
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   global $phpbb_seo;


++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Sun Jun 17, 2007 5:19 pm

yes, i've :cry:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby SeO » Tue Jun 19, 2007 12:20 pm

Have you cleared the template's cache ?
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby linus » Thu Jun 21, 2007 5:58 am

SeO wrote:Have you cleared the template's cache ?


Thank's :D

now it works well :P
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Fri Jun 22, 2007 10:58 am

;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Sun Jun 24, 2007 6:06 pm

...analyzing well all it remains only a problem...

mod installed on www.forum-linux-italia.com


Image

Image


Thank's :oops:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby linus » Mon Jun 25, 2007 5:05 am

Resolved with code :

Code: Select all
/**
* Error and message handler, call with trigger_error if reqd
*/
function msg_handler($errno, $msg_text, $errfile, $errline)
{
   global $cache, $db, $auth, $template, $config, $user;
   global $phpEx, $phpbb_root_path, $msg_title, $msg_long_text;
   
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN

   global $phpbb_seo;
   $template->assign_vars( array( 'PHPBB_FULL_URL' => $phpbb_seo->seo_path['phpbb_url'] ) );

   // www.phpBB-SEO.com SEO TOOLKIT END


:D :D :D
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Mon Jun 25, 2007 7:42 am

Great, but I'm not sure to understand the original problem, could you try to explain a bit more ?

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Next

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: micvegas and 14 guests