• 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
    • the wiki code doesn't automaticaly link anymore

    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: the wiki code doesn't automaticaly link anymore

    • Issue Tools
      • View Changes
    1. issueid=2288 April 29, 2011 5:43 PM
      yoodac yoodac is offline
      Junior Member
      the wiki code doesn't automaticaly link anymore

      I don't know why but when I clik on a red link (not written yet) and I wrote something and save, the automaticaly link does't works
      I need to go to the admincp and use Clean Article Post Cache. After that it works...
      any idea?

      thanks!
    Issue Details
    Issue Number 2288
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Editing / Posting Articles
    Status Fixed
    Priority 8 - Major Features / Enhancements
    Affected Version 3.0.11
    Fixed Version 3.0.12
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 29, 2011 7:17 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yeah, if the post is cached an autolink won't be created if the article is created later, because there is no record of that post trying to link to it, as there was no link. The link will only update if a BB-Code created the link, but even then the only difference will be the color. If this did not occur, tell me about the article that was created. Did you use any BB-Codes in it or no?
      Reply Reply  
    2. April 29, 2011 8:10 PM
      yoodac yoodac is offline
      Junior Member
      Quote Originally Posted by pegasus View Post
      Yeah, if the post is cached an autolink won't be created if the article is created later, because there is no record of that post trying to link to it, as there was no link. The link will only update if a BB-Code created the link, but even then the only difference will be the color. If this did not occur, tell me about the article that was created. Did you use any BB-Codes in it or no?
      For example, I have the post index I created manually.

      As you can see, I have few red links in it. When I click on one of them, I can write and save but after that when I go back to the post index, the link is still red even though the post exists.
      Do you know what I mean?
      2 days ago it worked perfectly and I don't know why it's no longer working.

      Thank you for your help!
      Reply Reply  
    3. April 30, 2011 12:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      Was it working fine before for titles with spaces or accents?
      Have you installed any new modifications?
      Have you changed Settings > Options > VaultWiki: Server Settings > Replace Spaces in URLs?
      Have you updated VaultWiki > Wiki URL Manager > Edit URL Replacements?

      If you changed either of the last two, then the internal encoding of wiki pages was probably changed since the post was cached, so articles created with the new encoding won't match and the red links won't update. The only way to fix this behavior would be to clear the cache as you have done. However, you wouldn't continue to have problems since clearing the cache unless you made more changes after you cleared it. Does the problem still persist, or does it seem to have gone away?
      Reply Reply  
    4. April 30, 2011 1:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Also, if Settings > Options > VaultWiki: Server Settings > Enable Link Caching is disabled, then the wiki doesn't store information about red links, so they can't be updated later through automation. If you changed this setting, that might be your problem.
      Reply Reply  
    5. April 30, 2011 2:48 PM
      yoodac yoodac is offline
      Junior Member
      Was it working fine before for titles with spaces or accents? Yes
      Have you installed any new modifications? no
      Have you changed Settings > Options > VaultWiki: Server Settings > Replace Spaces in URLs? no
      Have you updated VaultWiki > Wiki URL Manager > Edit URL Replacements? no

      If you changed either of the last two, then the internal encoding of wiki pages was probably changed since the post was cached, so articles created with the new encoding won't match and the red links won't update. The only way to fix this behavior would be to clear the cache as you have done. However, you wouldn't continue to have problems since clearing the cache unless you made more changes after you cleared it. Does the problem still persist, or does it seem to have gone away?
      Reply Reply  
    6. April 30, 2011 2:57 PM
      yoodac yoodac is offline
      Junior Member
      Quote Originally Posted by pegasus View Post
      Also, if Settings > Options > VaultWiki: Server Settings > Enable Link Caching is disabled, then the wiki doesn't store information about red links, so they can't be updated later through automation. If you changed this setting, that might be your problem.
      I didn't modify this option.
      Reply Reply  
    7. May 1, 2011 11:59 AM
      yoodac yoodac is offline
      Junior Member
      I forgot to tell you, I changed some settings in order to improve the forum speed :
      All threads use now the caching, css style as well I don't know if this is the origin of the problem...
      Reply Reply  
    8. May 1, 2011 1:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please specify which settings exactly you modified. I don't think I'm familiar with the thread caching one.
      Reply Reply  
    9. May 1, 2011 3:06 PM
      yoodac yoodac is offline
      Junior Member
      Quote Originally Posted by pegasus View Post
      Please specify which settings exactly you modified. I don't think I'm familiar with the thread caching one.
      Enable Post Cache & Cut Loading Time

      The upside to enabling this option is that vBulletin will cache each post for a set amount of days, of which you can define in the Admin CP. Enabling this option will allow up to a 200% speed increase when displaying threads & posts. The downside, for those with limited disk space, is that enabling this option will take almost double the disk space compared to that of normal post made without this option enabled. If you have the disk space available, it is suggested you enable this option. The extra disk space used is valid for aiding in the optimization of your community and cutting down on the server load. How does this cut down on the load? Simply put, the less the server has to search for when pulling the data from the MySQL database, the less the load.

      To enable this option, while in the Admin CP, follow the below. We suggest setting this option to increments of 30, 60 or 90:

      vBulletin Options > Server Settings and Optimization Options > Cached Posts Lifespan

      Source : http://www.vbulletin.com/forum/showt...s!-vBulletin-4!
      Reply Reply  
    10. May 1, 2011 6:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, if the Cached Post Lifespan was set to 0 before, when you weren't having problems, but now that you changed it to a higher number you are having problems, this is why:

      VaultWiki didn't need to update the links before because the post always updated the link on every page load. Now, the link is saved with a cached version of the post and needs to be updated. While VaultWiki is programmed to do this, something is preventing this from occurring.

      The only thing I can think of is that another modification is interfering with the process by setting the pagetext field to null when VaultWiki tries to read it, is destroying the $vault object, or preventing it from initializing.

      Please post or PM a list of your currently installed modifications.
      Reply Reply  
    11. May 1, 2011 7:01 PM
      yoodac yoodac is offline
      Junior Member
      Thanks and it works when I desable the Cached Post Lifespan.

      Please post or PM a list of your currently installed modifications.
      Ok I ll send you
      Reply Reply  
    12. May 2, 2011 1:33 PM
      pegasus pegasus is offline
      VaultWiki Team
      It would appear that a required field was missing from an UPDATE query whenever an article is created. In vault/functions/data.php, find:
      Code:
      		$post2['threadtitle'] = $post2['title'];
      Add after:
      Code:
      		$vault->fetch_instance('field');
      		$post2['namespace'] = $vault->field->fetch_namespaceid($post2['forumid']);
      This won't fix current links, but it should make sure new links are updated in the future.
      Reply Reply  
    13. May 2, 2011 3:07 PM
      yoodac yoodac is offline
      Junior Member
      It works!! Thanks
      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 11:29 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.