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  
 
   
sitemap ?

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
::  
Author Message
Markas



Joined: 04 Oct 2007
Posts: 17

sitemap ?Posted: Sat Dec 22, 2007 9:04 pm    Post subject: sitemap ?

is there any mod to make sitemap with these URLs which your advanced seo url gives? Wink
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Sat Dec 22, 2007 10:58 pm    Post subject: Re: sitemap ?

no and pls befor you start new topic use search this question about sitemap is here many times

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Fri Jan 04, 2008 8:20 pm    Post subject: Re: sitemap ?

hi developers,
i found one sitemap code wich is not recommended for live forum but for you can be usefull in my opinon
I dont know if i can use it if is it safe to use other "software" and mix it whit yours code

Code:
<?php
/**
*
* @author Tobi Schäfer http://www.seo-phpbb.org/
*
* @package phpBB3
* @version $Id: google-sitemap.php V0.1.1 2007-08-30 23:54:18 tas2580 $
* @copyright (c) 2005 phpBB Group; 2006 phpBB.de
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/

$domain_root = 'http://www.YOUR-DOMAIN.TLD/'; // Edit here



define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);

$user->session_begin();
$auth->acl($user->data);

if (is_numeric($_GET['fid'])) {
   $fid = $_GET['fid'];
}

echo header('Content-Type: text/xml; charset=utf-8');


if (isset($fid)) {
   echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
   echo '<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">'."\n";
  $sql = 'SELECT  forum_topics, forum_id, forum_name FROM ' . FORUMS_TABLE . ' WHERE forum_id = "'. (int) $fid.'"';
  $result = $db->sql_query($sql);
  $forum_data = $db->sql_fetchrow($result);
 
  // Forums
  echo '<url>'. "\n";
  echo '   <loc>' . $domain_root .  'viewforum.' . $phpEx . '?f=' . $forum_data['forum_id'] . '</loc>'. "\n";
  echo '   <changefreq>hourly</changefreq>'. "\n";
  echo '</url>'. "\n";
   
   // Forums with more that 1 Page
   if ( $forum_data['forum_topics'] > $config['topics_per_page'] )
   {
      $pages = $forum_data['forum_topics'] / $config['topics_per_page'];
      for ($i = 1; $i < $pages; $i++)
      {
         $s = $s + $config['topics_per_page'];
        echo '<url>'. "\n";
        echo '   <loc>' . $domain_root .  'viewforum.' . $phpEx . '?f=' . $forum_data['forum_id'] . '&amp;start=' . $s . '</loc>'. "\n";
        echo '   <changefreq>hourly</changefreq>'. "\n";
        echo '</url>'. "\n";
      }
   }

  if ($forum_data['forum_id'] == $fid) {
   $sql = 'SELECT t.topic_title, t.topic_replies, t.topic_last_post_id, t.forum_id, t.topic_type, t.topic_id, p.post_time, p.post_id
   FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p
   WHERE t.forum_id = '.$fid.'
   AND p.post_id = t.topic_last_post_id
   ORDER BY t.topic_type DESC, t.topic_last_post_id DESC';
   $result = $db->sql_query($sql);
    while ($data = $db->sql_fetchrow($result))
    {
       // Topics
      echo '<url>'. "\n";
      echo '   <loc>'. $domain_root . $forum_url . 'viewtopic.' . $phpEx . '?f=' . $forum_data['forum_id'] . '&amp;t=' . $data['topic_id'] . '</loc>'. "\n";
      echo '   <lastmod>'.date('Y-m-d', $data['post_time']),'</lastmod>'. "\n";
       echo '</url>'. "\n";

         // Topics with more that 1 Page
        if ( $data['topic_replies'] > $config['posts_per_page'] )
         {
            $s = 0;
            $pages = $data['topic_replies'] / $config['posts_per_page'];
            for ($i = 1; $i < $pages; $i++)
            {
               $s = $s + $config['posts_per_page'];
              echo '<url>'. "\n";
              echo '   <loc>'. $domain_root . $forum_url . 'viewtopic.' . $phpEx . '?f=' . $forum_data['forum_id'] . '&amp;t=' . $data['topic_id'] . '&amp;start=' . $s . '</loc>'. "\n";
              echo '   <lastmod>'.date('Y-m-d', $data['post_time']),'</lastmod>'. "\n";
              echo '</url>'. "\n";
            }
         }
    }
  }
  echo '</urlset>';
}

else

{
  echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
  echo '  <sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">'."\n";
   $sql = 'SELECT forum_id FROM ' . FORUMS_TABLE;
  $result = $db->sql_query($sql);
  while($data = $db->sql_fetchrow($result))
  {
     if ($auth->acl_get('f_list', $data['forum_id']))
      {
        echo '    <sitemap>' . "\n";
      echo '       <loc>'. $domain_root .'google-sitemap.php?fid='.$data['forum_id'].'</loc>'. "\n";
      echo '       <changefreq>daily</changefreq>'. "\n";
         echo '    </sitemap>'. "\n";
    }
  }
  echo "\n".'  </sitemapindex>';
}

?>


or what do you think about this sitemap mod?
its look very very nice , control viac acp some setting there and you can choose if you use seomod, but not cooperate whit your seo mod only whit handyman mod.
http://www.phpbb.com/community/viewtopic.php?f=70&t=600289&st=0&sk=t&sd=a

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

sitemap ?Posted: Fri Jan 04, 2008 10:18 pm    Post subject: Re: sitemap ?

just wait guys dcz will realease soon GYM site maps for phpBB3 Wink

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Fri Jan 04, 2008 11:16 pm    Post subject: Re: sitemap ?

are your info verified Laughing
Yes i know, he wrote that in many topics but i try to help him whit this maybe good mods.
I need it because in my google acount its all ok only sitemap is needed.

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

sitemap ?Posted: Sat Jan 05, 2008 1:09 am    Post subject: Re: sitemap ?

TomaS wrote:
are your info verified Laughing
Yes i know, he wrote that in many topics but i try to help him whit this maybe good mods.
I need it because in my google acount its all ok only sitemap is needed.

i am sure dcz will realease it soon Rolling Eyes
i need it too but i dont prefear use any seo mods to any author becouse i know dcz will do the best and which will be best too to our seo mods
so i dont prefear install any sitemap mod now Wink till dcz finish it anywhere Very Happy

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
zanzoon



Joined: 31 Dec 2007
Posts: 6

sitemap ?Posted: Sat Jan 05, 2008 8:49 pm    Post subject: Re: sitemap ?

I need one for the simple seo urls... Smile
thanks!
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Sun Jan 06, 2008 12:18 am    Post subject: Re: sitemap ?

everybody need some site map just hold on Cool

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

sitemap ?Posted: Sun Jan 06, 2008 12:38 am    Post subject: Re: sitemap ?

TomaS wrote:
everybody need some site map just hold on Cool

Very Happy

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

sitemap ?Posted: Sun Feb 10, 2008 8:43 am    Post subject: Re: sitemap ?

Please.

i am waiting new version: Google Sitemaps and RSS/Atom feed mod (compatible phpBB 3 SEO Premod)
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Mon Feb 11, 2008 9:24 am    Post subject: Re: sitemap ?

RRS you can find on phpbb.com

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

sitemap ?Posted: Mon Feb 11, 2008 11:57 am    Post subject: Re: sitemap ?

TomaS wrote:
RRS you can find on phpbb.com


compatible phpBB 3 SEO Premod Smile
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

sitemap ?Posted: Mon Feb 11, 2008 3:19 pm    Post subject: Re: sitemap ?

yes it is simple bb3 mod use there search button

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
Page 1 of 1

Navigation Similar Topics

Jump to: