MyBB Central

Full Version: Help with making this seo friendly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PHP Code:
<?php
// Index Site Topics (c) xSaimex and Darkm0tiv3s
// v0.1
// MyBB Version

$host ''// e.g localhost
$user ''// e.g root
$pass ''// e.g 123
$db   ''// e.g forum

mysql_connect("$host""$user""$pass") or die(mysql_error());
mysql_select_db("$db") or die(mysql_error());

$result mysql_query("SELECT tid,fid,subject FROM mybb_threads")
or die(
mysql_error());  

while(
$row mysql_fetch_array($result)){

echo 
"<title>TopicMap</title>";
echo 
"<a href=\"showthread.php?t=$row[tid]\"><b>$row[subject]</b></a>";
echo 
"<br>";
}
?>

I get thread not found since I have Google SEO installed by Andreas Klauer so I am confused what to switch Sad
It's a lot more code than that. Best option is to include the global.php of mybb and use their functions. I am not 100% familiar with the code changes of Google SEO so best option would be to ask the author.
ok thanks for fast reply Smile and i will try including global and see if it will work