Results 1 to 9 of 9

Thread URL in infractions PM

This is a discussion on Thread URL in infractions PM within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Just to let you know that thread URLs do not rewrite while trying to send an infraction PM to a ...

  1. #1
    Senior Member Snake's Avatar
    Real Name
    Josh
    Join Date
    Oct 2005
    Location
    Cleveland, OH
    Posts
    413
    Liked
    0 times

    Thread URL in infractions PM

    Just to let you know that thread URLs do not rewrite while trying to send an infraction PM to a user. Instead, it gives me this...

    Dear Tana,

    You have received an infraction at Final Fantasy Forums.

    http://www.finalfantasyforums.net/showthread.php?p=35069

    Reason: For posting 2 porn-related pictures. We do not allow any type of porn related material on this site.
    -------
    This is a general warning for posting two photos that indicate sexual intentions. Please refrain from posting anything like this in the near future. Photos of kissing is fine but anything beyond that WILL result in a warning.

    Thank you,
    Lady Aerith- Global Moderator
    -------

    This infraction is worth 3 point(s) and may result in restricted access until it expires. Serious infractions will never expire.

    Sincerely,
    -The Final Fantasy Forums Staff
    Final Fantasy Forums - An Unofficial Community to Final Fantasy
    Metal Gear Forums - Discussion on the popular series of console stealth-based games.

    My Mods: Coming Soon | My Tutorials: Coming Soon

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Josh,

    as you see, the link is correctly rewritten (move mouse over it):

    Code:
    http://www.finalfantasyforums.net/pairing-clubs/the-yaoi-fanclub-2802-post35069.html#post35069
    it is only the anchor text that is unchanged (vBSEO doesn't change URLs in text, only hrefs).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member Snake's Avatar
    Real Name
    Josh
    Join Date
    Oct 2005
    Location
    Cleveland, OH
    Posts
    413
    Liked
    0 times
    Well, is there a way you can do something about that please? I don't know.
    Metal Gear Forums - Discussion on the popular series of console stealth-based games.

    My Mods: Coming Soon | My Tutorials: Coming Soon

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Yes, you can modify infraction.php file for this
    FIND:
    PHP Code:
                    $infraction['post'] = '[post]' $postinfo['postid'] . '[/post]'
    replace with:
    PHP Code:
                    //$infraction['post'] = '[post]' . $postinfo['postid'] . '[/post]';
                    
    $infraction['post'] = '[url]'.$vbulletin->options['bburl'] . "/showthread.php?p=$postinfo[postid]#post$postinfo[postid]".'[/url]'
    FIND:
    PHP Code:
            eval(fetch_email_phrases($emailphrase$userinfo['languageid'])); 
    ADD BELOW:
    PHP Code:
    if(defined('VBSEO_ENABLED'))
    {
    $GLOBALS['VBSEO_REWRITE_TEXTURLS'] = 1;
    $message make_crawlable($message);
    unset(
    $GLOBALS['VBSEO_REWRITE_TEXTURLS']);

    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member Snake's Avatar
    Real Name
    Josh
    Join Date
    Oct 2005
    Location
    Cleveland, OH
    Posts
    413
    Liked
    0 times
    Oleg for the second code, there are two instances and I was wondering which instance do I have to look for? The first or the bottom one?
    Metal Gear Forums - Discussion on the popular series of console stealth-based games.

    My Mods: Coming Soon | My Tutorials: Coming Soon

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    This is the first instance, right before the:
    PHP Code:
            if (empty($message) OR empty($subject)) 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Senior Member Snake's Avatar
    Real Name
    Josh
    Join Date
    Oct 2005
    Location
    Cleveland, OH
    Posts
    413
    Liked
    0 times
    Awesome! Thanks a lot, Oleg. Though this should be available in RC7 already. Just an ideal.
    Metal Gear Forums - Discussion on the popular series of console stealth-based games.

    My Mods: Coming Soon | My Tutorials: Coming Soon

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Yes, that will be supported in RC7
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Senior Member Snake's Avatar
    Real Name
    Josh
    Join Date
    Oct 2005
    Location
    Cleveland, OH
    Posts
    413
    Liked
    0 times
    Thank you! I'm glad to hear that.
    Metal Gear Forums - Discussion on the popular series of console stealth-based games.

    My Mods: Coming Soon | My Tutorials: Coming Soon

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •