vbseo_thread_url_row_spec() should return full URL according to the format defined in vbseocp (including forum_title).
What is an example URL you got?
vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.
This is a discussion on vBSEO Functions for Extensibility within the General Discussion forums, part of the vBSEO SEO Plugin category; vbseo_thread_url_row_spec() should return full URL according to the format defined in vbseocp (including forum_title). What is an example URL you ...
vbseo_thread_url_row_spec() should return full URL according to the format defined in vbseocp (including forum_title).
What is an example URL you got?
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
What is the full code you have?
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
PHP Code:$conex = mysql_connect("localhost","user","pass");
$bd = mysql_select_db("dbname");
$sql = "SELECT * FROM vb_thread order by dateline desc LIMIT 10 ";
$consulta = mysql_query($sql);
while ($fila = mysql_fetch_array($consulta)) {
$sql = "select * from vb_post WHERE threadid = $fila[threadid] order by dateline desc ";
$resu = mysql_query($sql);
$fila2 = mysql_fetch_array($resu);
$fecha = @date('j-n-Y', $fila['dateline'] - $hourdiff);
echo "<a href=\"http://www.emudesc.net/foros/showthread.php?p=$fila2[postid]&mode=linear#post$fila2[parentid]\" target=\"_blank\">".mod($fila[title])."</a><br>";
}
I mean the code you have now, with all changes related to vBSEO URLs.
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
PHP Code:$conex = mysql_connect("localhost","user","pass");
$bd = mysql_select_db("dbname");
$sql = "SELECT * FROM vb_thread order by dateline desc LIMIT 10 ";
$consulta = mysql_query($sql);
while ($fila = mysql_fetch_array($consulta)) {
echo "<a href=\"http://www.emudesc.net/foros/".vbseo_thread_url_row_spec($fila,VBSEO_URL_THREAD_LASTPOST)."\" target=\"_blank\">".mod($fila[title])."</a><br>";
}
What about include 'functions_vbseo.php';?![]()
Please also insert vbseo_startup() function call.
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
PHP Code:include_once '/var/www/vhosts/emudesc.net/httpdocs/foros/includes/functions_vbseo.php';
vbseo_startup();
It works, thank you OlegPHP Code:$conex = mysql_connect("localhost","user","pass");
$bd = mysql_select_db("dbname");
$sql = "SELECT * FROM vb_thread order by dateline desc LIMIT 15 ";
$consulta = mysql_query($sql);
while ($fila = mysql_fetch_array($consulta)) {
echo "<a href=\"http://www.emudesc.net/foros/".vbseo_thread_url_row_spec($fila,VBSEO_URL_THREAD_LASTPOST)."\" target=\"_blank\">".mod($fila[title])."</a><br>";
}
![]()
Great!![]()
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
[ EDITED - Will be submitted via support ticket ]
Last edited by KW802; 01-31-2007 at 02:41 PM.
Hello,
it should not strip forumids parameter from URL. Can you provide an example link to check this?
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
Please open a support ticket for easier tracking. Thanks.
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation
I'm trying to use make_crawlable, but I am getting an error:
Warning: Cannot modify header information - headers already sent by (/home/.../z/includes/external_auth/vbulletin36.php:696) in /z/includes/zoints.php on line 341
Can make_crawlable be called after header()?
Can make_crawlable be called multiple times?
If not, will I see a big performance hit if I use ob_start('make_crawlable')?
You can use make_crawlable after the header() calls, but in your case the output has started before calling make_crawling (like echo "XX"![]()
Oleg Ignatiuk / Crawlability Inc.
Sneek Preview Video of the new Control Panel
vBSEO 3.5 RC2 (Final)- Released for your Evaluation