Look at that...what good people we have here!
This is a discussion on Subdreamer and VBSEO within the General Discussion forums, part of the vBSEO SEO Plugin category; Look at that...what good people we have here!...
Look at that...what good people we have here!
I just wanna know at the end of the day.
Are they a good match?
Troy
Looks good and working fine! Great work. Thanks
Latest posts works for me on 3.6.4
Any ideas on how we can rewrite all the other ugly url's?
I had posted the version for 'Random post' to suit the VBSEO URL Here:
SEO for VB-VBSEO Forums for latest post and Random Posts - Subdreamer.org
The modification is similar, just small code changes:
1. find:
ADD ABOVE:PHP Code:if($vb36)
{
$res = ($getthreads = $DB->query('SELECT title, threadid, lastposter, lastpostid, lastpost, forumid
2. find:PHP Code:global $forumcache;
$forumcache = array();
$getforums = $DB->query("SELECT * FROM ".$tableprefix."forum");
while($_f = $DB->fetch_array($getforums))
{
$forumcache[$_f['forumid']] = $_f;
}
include_once($GLOBALS['rootpath'].$usersystem['folderpath'].'includes/functions_vbseo.php');
vbseo_startup();
REPLACE WITH:PHP Code:echo '
<tr> ' . p8_PrintAvatar($printavatar, -1, $thread['lastposter'], $settings) . '
<a href="' . $sdurl . $forumpath . 'showthread.php?';
if($vb36)
{
echo 'p=' . $thread['lastpostid'] . '#post' . $thread['lastpostid'] . '">' . $thread['title'] . '</a>';
}
else
{
echo 'threadid=' . $thread['threadid'] . '&goto=lastpost">' . $thread['title'] . '</a>';
}
PHP Code:echo '
<tr> ' . p8_PrintAvatar($printavatar, -1, $thread['lastposter'], $settings) . '
<a href="' . $sdurl . $forumpath .vbseo_thread_url_row_spec( $thread, VBSEO_URL_THREAD_NEWPOST ) .'">' . $thread['title'] . '</a>';
Last edited by Oleg Ignatiuk; 03-12-2009 at 07:20 AM.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thank you, Oleg, it's works, but with small fix. I have added this code:
Full code for last replace:PHP Code:'">' . $thread['title'] .
PHP Code:echo '
<tr> ' . p8_PrintAvatar($printavatar, -1, $thread['lastposter'], $settings) . '
<a href="' . $sdurl . $forumpath .vbseo_thread_url_row_spec( $thread, VBSEO_URL_THREAD_NEWPOST ) . '">' . $thread['title'] . '</a>';
Great! Updated the code above.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!