• 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 Comment Link

    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 Comment Link

    • Issue Tools
      • View Changes
    1. issueid=754 August 6, 2009 8:34 AM
      jawatkin jawatkin is offline
      Junior Member
      New Comment Link
      New Comment link tries to create a new article...

      Just noticed that when there's a new comment to an article, it creates a link that says "View Unread" comment or something to that effect.

      If the article URL is:
      http://www.yourhost.com/wiki/Lets_help_each_other_out

      the "View Unread comment" link sends you to:
      http://www.yourhost.com/wiki/Lets_he...t&goto=newpost

      which is redirected to:
      http://www.yourhost.com/wiki/Lets_he...d_goto_newpost

      (which is technically a new wiki article)
    Issue Details
    Issue Number 754
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Wiki Pages
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.5.0
    Fixed Version 2.5.1
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 6, 2009 9:31 AM
      pegasus pegasus is offline
      VaultWiki Team
      In AdminCP -> Languages & Phrases -> Search in Phrases -> ces_newtalk, find and delete:
      Code:
      &
      In vault/special_class_postbit.php, find:
      PHP Code:
      $this->build_contentSub(construct_phrase($vbphrase['ces_newtalk'], $this->thread['url'])); 
      Replace with:
      PHP Code:
      $this->build_contentSub(construct_phrase($vbphrase['ces_newtalk'], $this->thread['url'] . $this->registry->session->vars['vw_sessionurl'])); 
      In vault/tabs/special_tab_discussion.php, find:
      PHP Code:
      $firstunread = $threadinfo['url'] . '&goto=newpost'; 
      Replace with:
      PHP Code:
      $firstunread = $threadinfo['url'] . $vbulletin->session->vars['vw_sessionurl'] . 'goto=newpost'; 
      Reply Reply  
    2. August 9, 2009 2:58 PM
      jawatkin jawatkin is offline
      Junior Member
      This does something, but not what we want... Now it directs me to a new article called:

      http://www.yourhost.com/wiki/Lets_he...utgoto=newpost

      (IIRC)--I should've written it down....
      Reply Reply  
    3. August 9, 2009 4:24 PM
      pegasus pegasus is offline
      VaultWiki Team
      Updated the second replace (note the vw_sessionurl_q was changed).
      Reply Reply  
    4. August 9, 2009 6:01 PM
      jawatkin jawatkin is offline
      Junior Member
      Works like a charm!!!
      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 1:04 PM.
    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.