Hello,
In another thread the NNTP hack was mentioned and now I'm wondering if vBSEO and the NNTP hack do work together because we are using this hack also.
Thank you.
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 and NNTP hack within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello, In another thread the NNTP hack was mentioned and now I'm wondering if vBSEO and the NNTP hack do ...
Hello,
In another thread the NNTP hack was mentioned and now I'm wondering if vBSEO and the NNTP hack do work together because we are using this hack also.
Thank you.
█ Webhostingtalk.nl :: For all your Dutch and European hosting quotes
█ The best and only hosting forum you need in Europe
█ You can ask your quotes and questions in English!
if you mean simple working, then yes they do,
what it won't do is however put the rewritten code in the sent message to newsgroup. that will be of showthread?XX std.
but otherwise no probs. have it on my site. (one prob though can be with usernames(depends on how you rewrite them in settings from vbseocp.) cos there might be a username conflict if you don't put userid.)
No, they don't. At least, not with vbseo 2.2.2 and the version of the nntp hack written for vbulletin 3.5.1Originally Posted by acers
I re-imported the vbseo xml file, and now vbseo seems to be working again.Originally Posted by scruby
Hopefully this didn't break the nntp hack! I can live without usenet messages having their url's rewritten
In functions_nntp.php the signature code now looks like this to get the proper URL's
Make sure to either put in {$nntp_settings['threadurl']} for the url or change domain.net to your domain. I just put in my domain cause it was easier.PHP Code:if ($nntp_settings['nofooter'] == 0)
{
define('MY_DIR', dirname(__FILE__));
include_once (MY_DIR . '/includes/functions_vbseo.php');
vbseo_startup();
$getthreads = $db->query("
SELECT *
FROM " . TABLE_PREFIX . "thread
WHERE threadid = $newthread[threadid]
");
$threadrow = $db->fetch_array($getthreads);
$memberurl = vbseo_member_url_row($newthread['userid'], $newthread['username']);
$threadurl = vbseo_thread_url_row($threadrow);
$signature .= "\n------------------------------------------------------------------------\n";
$signature .= "{$newthread['username']}'s Profile: http://domain.net/{$memberurl}\n";
$signature .= "View this thread: http://domain.net/{$threadurl}\n";
}
Oh, and if you allow guests make sure to do the same thing to that if statement as well.