• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • New Post/Thread Subscription with Wrong URL

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: New Post/Thread Subscription with Wrong URL

    • Issue Tools
      • View Changes
    1. issueid=1577 May 18, 2010 1:22 AM
      Mokonzi Mokonzi is offline
      Senior Member
      New Post/Thread Subscription with Wrong URL
      New Post/Thread Subscription with Wrong URL

      When getting a New Post/Thread Subscription the URL is wrong, for example, my Mods custom namespace has this in the notification:

      This thread is located at http://www.thexuniverse.com/http://w...erse.com//Mods
      It's doubling the domain URL atm.
    Issue Details
    Issue Number 1577
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Subscriptions
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.3
    Fixed Version 3.0.0
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 18, 2010 1:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Are these instant notifications (emails sent as soon as the post is made), or were they sent by scheduled task (daily or weekly subscription)? The code for each of these are very different, so knowing which could narrow down the search.
      Reply Reply  
    2. May 18, 2010 3:19 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Instant notifications.
      Reply Reply  
    3. May 18, 2010 11:18 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed for the next build. In vault/plugins/notify.php, find:
      Code:
      		if ($vault->fetch_namespaceid($threadinfo) < TEMPLATE_SPACE)
      Replace with:
      Code:
      		if ($vault->fetch_namespaceid($threadinfo['forumid']) < TEMPLATE_SPACE)
      Reply Reply  
    4. May 19, 2010 2:59 AM
      Mokonzi Mokonzi is offline
      Senior Member
      I'm still getting this double URL now, but no reference to the mod:

      http://www.thexuniverse.com/http://w...universe.com//
      Reply Reply  
    5. May 19, 2010 9:34 AM
      pegasus pegasus is offline
      VaultWiki Team
      Also in AdminCP > Plugins & Products > Plugin Manager > edit the VaultWiki plugin for location newpost_notification_start. Find:
      Code:
      $GLOBALS['vault']->fetch_namespaceid($threadinfo)
      Replace with:
      Code:
      $GLOBALS['vault']->fetch_namespaceid($threadinfo['forumid'])
      Reply Reply  
    6. May 19, 2010 4:52 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Still getting this issue, do the plugins get cached for a while?
      Reply Reply  
    7. May 19, 2010 4:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      No, but I think vBulletin sends all subscription notifications to the mail queue, so they aren't sent right away. Not until the cron job runs. I have had several successful tests once I noticed this.
      Reply Reply  
    8. May 20, 2010 2:16 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Ok, will test this again tonight.
      Reply Reply  
    9. This petition for a change to Confirmed was accepted
      September 3, 2010 3:55 AM
      Mokonzi Mokonzi is offline
      Senior Member
      I'm still getting this issue with notifications. It can't be caching that's causing it still, can it?
       
    10. September 10, 2010 6:04 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Just to bump this before it gets missed... still an issue for me.
      Reply Reply  
    11. September 10, 2010 11:59 AM
      pegasus pegasus is offline
      VaultWiki Team
      It seems that vBulletin applies replacement variables on the notification before the plugin is executed. In vault/plugins/notify.php, find:
      Code:
                  $evalemail["$key"] = str_replace('$vboptions[bburl]/$threadlink', $threadinfo['url'], $emailstring);
      Replace with:
      Code:
                  $evalemail["$key"] = str_replace('" . $GLOBALS[\'vbulletin\']->options[\'bburl\'] . "/$threadlink', $threadinfo['url'], $emailstring);
      Reply Reply  
    12. September 11, 2010 1:36 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Will let you know if I have any other problems.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:25 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.