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.

Results 1 to 5 of 5

vBSEO and NNTP hack

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 ...

  1. #1
    Member
    Real Name
    Domenico
    Join Date
    Sep 2005
    Posts
    34

    vBSEO and NNTP hack

    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!

  2. #2
    Senior Member acers's Avatar
    Real Name
    Ajay
    Join Date
    Jul 2005
    Location
    India
    Posts
    508

    Re: vBSEO and NNTP hack

    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.)

  3. #3
    Junior Member
    Join Date
    Nov 2005
    Posts
    15

    Re: vBSEO and NNTP hack

    Quote Originally Posted by acers
    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.1

  4. #4
    Junior Member
    Join Date
    Nov 2005
    Posts
    15

    Re: vBSEO and NNTP hack

    Quote Originally Posted by scruby
    No, they don't. At least, not with vbseo 2.2.2 and the version of the nntp hack written for vbulletin 3.5.1
    I re-imported the vbseo xml file, and now vbseo seems to be working again.
    Hopefully this didn't break the nntp hack! I can live without usenet messages having their url's rewritten

  5. #5
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    586
    In functions_nntp.php the signature code now looks like this to get the proper URL's

    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";
            } 
    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.

    Oh, and if you allow guests make sure to do the same thing to that if statement as well.

Similar Threads

  1. Exposing vbSEO rewriting engine=better compatibility with other hacks
    By SEO Report in forum vBSEO Features Archive
    Replies: 7
    Last Post: 10-05-2008, 02:54 PM
  2. NNTP Usenet Hack und vbSeo?
    By Anakin in forum Deutsch
    Replies: 6
    Last Post: 11-23-2005, 11:20 AM