[SEO URL] Board3 portal

phpBB SEO mods by phpBB SEO.

Moderator: Moderators

Re: [SEO URL] Board3 portal

Postby dcz » Sun Dec 27, 2009 4:30 pm

It's normal, the code posted on board3.de is still using phpbb_seo::format_url directly, it's for older versions.
Now it would be something like find :
Code: Select all
         // unread?
         $forum_id = $fetch_news[$i]['forum_id'];
         $topic_id = $fetch_news[$i]['topic_id'];

after add :
Code: Select all
      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $fetch_news[$i]['topic_title'] = censor_text($fetch_news[$i]['topic_title']);
      $phpbb_seo->set_url($fetch_news[$i]['forum_name'], $forum_id, $phpbb_seo->seo_static['forum']);
      $phpbb_seo->prepare_iurl($fetch_news[$i], 'topic', $fetch_news[$i]['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
      // www.phpBB-SEO.com SEO TOOLKIT END

find :
Code: Select all
         // Show "read full" page
   {
      $i = $news;
      $forum_id = $fetch_news[$i]['forum_id'];
      $topic_id = $fetch_news[$i]['topic_id'];

after add :
Code: Select all
      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $fetch_news[$i]['topic_title'] = censor_text($fetch_news[$i]['topic_title']);
      $phpbb_seo->set_url($fetch_news[$i]['forum_name'], $forum_id, $phpbb_seo->seo_static['forum']);
      $phpbb_seo->prepare_iurl($fetch_news[$i], 'topic', $fetch_news[$i]['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
      // www.phpBB-SEO.com SEO TOOLKIT END

in portal/block/news.php.
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: 21325
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Re: [SEO URL] Board3 portal

Postby peto » Sun Dec 27, 2009 7:06 pm

Thank you,
I modified the file news.php but it does not work :(
my news.php: http://seo.nefris.sk/news.txt
Need to modify another file as news.php?

thanks
peto
 
Posts: 8
Joined: Sat Dec 26, 2009 9:58 pm

Re: [SEO URL] Board3 portal

Postby peto » Sun Dec 27, 2009 7:07 pm

I need change url from seo.nefris.sk/topic1.html to seo.nefris.sk/welcome-to-phpbb3-t1.html on portal for news block
peto
 
Posts: 8
Joined: Sat Dec 26, 2009 9:58 pm

Re: [SEO URL] Board3 portal

Postby Niecher » Tue Mar 09, 2010 10:10 am

Thanks dcz,

SEO for News works fine.

Regards.
Niecher
 
Posts: 4
Joined: Thu Feb 26, 2009 3:35 am

Re: [SEO URL] Board3 portal

Postby Lister » Fri Mar 26, 2010 9:32 am

peto wrote:Thank you,
I modified the file news.php but it does not work :(
my news.php: http://seo.nefris.sk/news.txt
Need to modify another file as news.php?

thanks



Snap it did not work for me either. I'm using PHPBB 3.07 with the SEO premod and the 1.05 version of the Board 3 portal. :(

I applied the changes to news.php twice in order to make sure I did it correctly. It still didn't work.

Are there any other files which I need to modify other than news.php in order to get this to work?

Thanks.
Lister
 
Posts: 11
Joined: Tue Jan 26, 2010 5:50 pm

Re: [SEO URL] Board3 portal

Postby eoinzy » Fri May 28, 2010 7:34 am

Hi,

Is there any update on this? Does portal 105 work with phpBB307-pl1?

I'm considering upgrading my forum and portal so just wondering.

thanks.
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: [SEO URL] Board3 portal

Postby Lister » Fri May 28, 2010 9:17 am

eoinzy wrote:Hi,

Is there any update on this? Does portal 105 work with phpBB307-pl1?

I'm considering upgrading my forum and portal so just wondering.

thanks.



I'm on 3.07 PL1, and it has been working ok for me over the last month.

I had to make some minor modifications to the includes/setup_phpbb_seo.php file to get it to work.
Lister
 
Posts: 11
Joined: Tue Jan 26, 2010 5:50 pm

Re: [SEO URL] Board3 portal

Postby eoinzy » Mon Jun 14, 2010 6:56 am

Did the upgrade. Works fine on my board with no mods, other than the seo pre-mod.
see here: phpBB307-PL1 with Seo Premod and portal mod

I'm gonna add some other mods soon like arcade and sudoku but what I'm worried about is the Topic in Text hover, which needs modification to portal.php itself. I'll let you know if they cause any conflicts.

Cheers.
Last edited by eoinzy on Sun Jun 27, 2010 4:42 am, edited 1 time in total.
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: [SEO URL] Board3 portal

Postby mut2nt » Sat Jun 26, 2010 11:41 am

the link doesn't work !
mut2nt
 
Posts: 3
Joined: Mon Jun 21, 2010 3:06 pm
Location: hell

Re: [SEO URL] Board3 portal

Postby eoinzy » Sun Jun 27, 2010 4:43 am

oops sorry. should work now.
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: [SEO URL] Board3 portal

Postby mut2nt » Sun Jun 27, 2010 8:41 am

eoinzy wrote:Did the upgrade. Works fine on my board with no mods, other than the seo pre-mod.
see here: phpBB307-PL1 with Seo Premod and portal mod

I'm gonna add some other mods soon like arcade and sudoku but what I'm worried about is the Topic in Text hover, which needs modification to portal.php itself. I'll let you know if they cause any conflicts.

Cheers.

what upgrade? :D
mut2nt
 
Posts: 3
Joined: Mon Jun 21, 2010 3:06 pm
Location: hell

Re: [SEO URL] Board3 portal

Postby eoinzy » Mon Jun 28, 2010 6:06 am

I upgraded from the pre-mod 305 to the pre-mod 307-PL1.
I had to reinstall all my mods, like the portal, and the arcade. They all seem to be working fine so far with the changes in this thread.

I'm gonna add a couple more mods soon, but I always make the changes on my live site so this time i'm gonna make sure i back everything up before hand! The last time i made a change, the formatting of every thread went haywire! It was crazy! Thats why i decided to make a clean break and upgrade! :oops:
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: [SEO URL] Board3 portal

Postby neofila » Wed Aug 04, 2010 12:22 pm

In Recent hot topic
this array is empty $phpbb_seo->seo_url['forum']

Code: Select all
$phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$cur_forum_id]);


What do I need to check?
neofila
 
Posts: 1
Joined: Wed Aug 04, 2010 12:20 pm

Re: [SEO URL] Board3 portal

Postby eoinzy » Tue Sep 28, 2010 9:58 pm

Theres a new v106 portal out now. I have updated and the SEO has stopped working for the URLs only. The usernames and forum names still seem to work OK!

I used the "105 to 106" guide that came with v106 and all it said was to change 2 lines. I changed them in my fully working 105 portal and the URL rewriting stopped working. It reverted to "topic123.html"! :(

Heres the 2 changes:

Find:
Code: Select all
    // show login box and user menu
    // only registered user see user menu
    if ($user->data['is_registered'])
    {
        include($phpbb_root_path . 'portal/block/user_menu.' . $phpEx);
    }
    else
    {
        include($phpbb_root_path . 'portal/block/login_box.' . $phpEx);
    }
   
    if ($portal_config['portal_user_menu'])
    {
        $template->assign_var('S_DISPLAY_USERMENU', true);
    }


Replace With:
Code: Select all
   if ($portal_config['portal_user_menu'])
   {
      // show login box and user menu
      // only registered user see user menu
      if ($user->data['is_registered'])
      {
         include($phpbb_root_path . 'portal/block/user_menu.' . $phpEx);
      }
      else
      {
         include($phpbb_root_path . 'portal/block/login_box.' . $phpEx);
      }
      $template->assign_var('S_DISPLAY_USERMENU', true);
      
      if($config['allow_topic_notify'] || $config['allow_forum_notify'])
      {
         $template->assign_var('S_DISPLAY_SUBSCRIPTIONS', true);
      }
   }


Find:
Code: Select all
         'U_MARK_FORUMS'               => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',


Replace with:
Code: Select all
         'U_MARK_FORUMS'               => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '',


:?
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: [SEO URL] Board3 portal

Postby zohall » Wed Sep 29, 2010 9:44 am

thank u :D
zohall
 
Posts: 21
Joined: Sat Aug 14, 2010 4:43 pm
Location: www.zohall.com/

PreviousNext

Return to phpBB SEO TooLKit

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Hastursoft and 13 guests