It's not fixed for the copied and pasted urls from forumdisplay list (thread titles) and showpost urls.(54) FIX: Missing /forum/ section in copy/pasted URLs.
This is a discussion on Still missing /forum/ url in copy/paste urls within the Bug Reporting forums, part of the vBSEO SEO Plugin category; (54) FIX: Missing /forum/ section in copy/pasted URLs. It's not fixed for the copied and pasted urls from forumdisplay list ...
It's not fixed for the copied and pasted urls from forumdisplay list (thread titles) and showpost urls.(54) FIX: Missing /forum/ section in copy/pasted URLs.
How do we reproduce it?
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Select and copy a thread title from forumdisplay list and paste it to the editor (quickreply) then click preview button or send the post.
Last edited by NeutralizeR; 11-23-2007 at 11:05 AM.
Thank you, that will be resolved in the next vBSEO build.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Ok, here you go
in functions_vbseo_hook.php file
FIND:
REPLKACE WITH:PHP Code:$_POST['message'] = preg_replace('#(href=")(../)+#', '$1', $_POST['message']);
PHP Code:$vbseo_ref = $_SERVER['HTTP_REFERER'];
$pre_repl = '';
if ($vbseo_ref && strstr(strtolower($vbseo_ref), VBSEO_HTTP_HOST))
{
$pre_repl = preg_replace('#/[^/]*$#', '/', $vbseo_ref);
}
$_POST['message'] = preg_replace('#(href=")(../)+#', '$1'.$pre_repl.'$2', $_POST['message']);
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thank you![]()
I've just found another one.
Copy and paste a thread's url to quickreply and submit the message.
Select and copy the -linked thread title- from the new submitted message and paste it again to quickreply. Click send or preview button.
This time forum-name is missing, not the /forum/ section.
Still missing /forum/ url in copy/paste urls
test 2
this forum doesn't have this bug. i guess it's because of the rewrite rules differences with mine.
Works correctly for me. How can we reproduce the issue?
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Use this thread to test:
Asla Bitmeyen Konu - Sayfa 151 - MsXLabs
Username: Tester
Password: asd123
Copy and paste a thread's url to quickreply and submit the message.
Select and copy the -linked thread title- from the new submitted message and paste it again to quickreply. Click send or preview button.
This time forum-name is missing, not the /forum/ section.
Please try this code instead of the mentioned above:
PHP Code:$vbseo_ref = $_SERVER['HTTP_REFERER'];
$pre_repl = '';
if ($vbseo_ref && strstr(strtolower($vbseo_ref), VBSEO_HTTP_HOST))
{
$pre_repl = preg_replace('#/[^/]*$#', '/', $vbseo_ref);
}
if($pre_repl != $vbseo_cutbburl.'/')
{
$_POST['message'] = preg_replace($rs='#((?:href="|\[url="))'.
'('.preg_quote($vbseo_cutbburl).'/)?([^:"]*?")#i', '$1'.$pre_repl.'$3', $_POST['message']);
}
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Missing "/forum/" section in the copied and pasted smilies from the posts.
> I selected this smiley from the post #7 and pressed CTRL + C
> I pasted this smiley by pressing CTRL + V
It's working here as vbulletin installed to the root folder.
But at my forums:
http://www.msxlabs.org/forum/images/smilies/biggrin.gif
http://www.msxlabs.org/images/smilies/biggrin.gif