Google Community Chat
 
SEO PhpBB Mod

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.


(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Search Engine Optimization Forum
   
Author Message
lionstarr
Senior Googler
Senior Googler


Joined: 28 Dec 2005

888.00 GC$

Items

PostPosted: Fri Dec 30, 2005 5:17 am    Post subject: SEO PhpBB Mod Reply with quote
Hello,
today i found this!
in the internet. It's a ( german ) Seo mod for phpBB.
What do you think about it ?
D you mean it's good?
Post your feedback,
greetings,
lionstarr
_________________
Why do it easy, if it's possible to do it complicated!
www.lionstarr.de
Back to top
View user's profile Send private message Visit poster's website
jordydme
Noogle
Noogle


Joined: 08 Aug 2005

355.30 GC$

Items

PostPosted: Fri Feb 10, 2006 6:19 am    Post subject: Reply with quote
Couldn't read a word of it then i realized i don't know German Smile
Back to top
View user's profile Send private message
kevgibbo
Platinum Member
Platinum Member


Joined: 08 Feb 2006
Location: Brisbane, Australia
9222.60 GC$

Items

PostPosted: Fri Feb 10, 2006 6:29 am    Post subject: Reply with quote
I found this archiving php code to be very useful for helping to get all of a client's forum pages indexed by Google.

You'll need to create an archive.php page which is linked to ideally from the header or footer section of the forum and use this code:

Code:
<html>
<head>
<title>You phpBB Title</title>
</head>

<body>
<?php
// phpBB archiver generated config file
// Do not change anything in this file!

$dbhost = 'localhost';
$dbname = 'your_db_name';
$dbuser = 'your_db_username';
$dbpasswd = 'your_db_password';
$website = "http://www.yourwebsite.com/";

//============================================================================
// DO NOT TOUCH ANYTHING BEYOND THIS POINT UNLESS YOU KNOW WHAT YOU'RE DOING
//============================================================================

$connection = mysql_connect($dbhost, $dbuser, $dbpasswd) or die(mysql_error());
$db = mysql_select_db($dbname, $connection);

if (isset($_GET["id"]))
{
        //=====================================================
        // Get Topic Titles and Link to original ViewForum.php
        //=====================================================
        $q1 = "SELECT * FROM phpbb_topics WHERE forum_id = '" . $_GET["id"] . "'";
        $r1 = mysql_query($q1) or die(mysql_error());

        if(mysql_num_rows($r1) > '0')
        {
                while($a1 = mysql_fetch_array($r1))
                {
                        echo "<a href='" . $website . "about.html$a1[topic_id]'>" . $a1["topic_title"] . "</a><br>\n";
                }
        }
}
else
{
        //===========================================
        // Get Forum Names and their Descriptions!!
        //===========================================
        $q1 = "SELECT * FROM phpbb_forums";
        $r1 = mysql_query($q1) or die(mysql_error());

        if(mysql_num_rows($r1) > '0')
        {
                while($a1 = mysql_fetch_array($r1))
                {
                        echo "<a href='archive.php?id=$a1[forum_id]'>" . $a1["forum_name"] . "</a><br>" . $a1["forum_desc"] . "<br><br>\n";
                }
        }
}
?>
</body>
</html>

_________________
SEO Services UK | Google AdWords Management from a qualified professional
Back to top
View user's profile Send private message Visit poster's website
jordydme
Noogle
Noogle


Joined: 08 Aug 2005

355.30 GC$

Items

PostPosted: Fri Feb 10, 2006 6:46 am    Post subject: Reply with quote
so i would copy this code and create an archive.php file. I drop it nto the PHBbb main directory and then create a link to it in the header or footer? Can you be a little more specific?
Back to top
View user's profile Send private message
kevgibbo
Platinum Member
Platinum Member


Joined: 08 Feb 2006
Location: Brisbane, Australia
9222.60 GC$

Items

PostPosted: Fri Feb 10, 2006 8:22 am    Post subject: Reply with quote
jordydme wrote:
so i would copy this code and create an archive.php file. I drop it nto the PHBbb main directory and then create a link to it in the header or footer? Can you be a little more specific?


Yes, that is all you'll need to do. Plus you need to edit your forum database login details.
_________________
SEO Services UK | Google AdWords Management from a qualified professional
Back to top
View user's profile Send private message Visit poster's website
Sponsored Links
Posted: 4 Dec 2008 2:32 am    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Search Engine Optimization Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.