• 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
    • Lots of Issues!

    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: Lots of Issues!

    • Issue Tools
      • View Changes
    1. issueid=2914 January 1, 2013 11:59 PM
      silence silence is offline
      Junior Member
      Lots of Issues!
      Fun fun thinking about fun!

      Yeah I'm in a bad mood lol, but reporting issues makes me feel better :3

      Alright, so I am running everything on a sub-domain, with ajax tabs enabled.

      So here is one of my wiki pages:


      Normal, then I go to the discussion page:


      No editor there! That's an issue since on this site you don't have ajax discussion enabled.

      Third, even though there is content on my wiki, when I go to the edit page, it shows a blank page:


      How can we go about fixing these issues since my wiki is useless at the moment
      ACTUALLY
      this is only happening with one of my articles!!! None of the other ones! So this is pretty friggin weird. Here is the article location:
      https://wiki.xenogamers.org/Jailbreak+Rules

      Running PHP 5.4.8 on Nginx 1.2.6!
      EDIT:
      also my CSS svg file doesn't wanna work on sub-domains. I don't know if that's related but I would love to get that fixed lol
      Thanks!
    Issue Details
    Issue Number 2914
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Editing / Posting Articles
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.19
    Fixed Version 3.0.20
    Milestone (none)
    Software DependencyvBulletin 4.x w/ ckEditor
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. January 2, 2013 12:35 PM
      pegasus pegasus is offline
      VaultWiki Team
      For the editor not loading for Quick Reply, this may be due to a cross-domain issue I am seeing with your CSS (CSS is dynamically loaded for AJAX tabs). This would have to be ruled out by solving the issue as far as Quick Reply goes. The error is as follows:
      "downloadable font: download failed (font-family: "Comfortaa" style:normal weight:normal stretch:normal src index:0): bad URI or cross-site access not allowed found"
      Since the file exists, you may have to adjust your site's cross-domain rules, probably in your site's crossdomain.xml, in order to allow ttf files from other subdomains. However, I'm unfamiliar with the rules for ttf files, so there may be something else you need to do. You can also turn off AJAX tabs and the CSS won't be loaded via an XML call, which will avoid the issue with your crossdomain.xml rules.

      As for the Edit tab on Jailbreak Rules, you will have to give the user "vaultwiki" enough permissions to edit this page so I can log in and see what's going on.
      Reply Reply  
    2. January 2, 2013 5:03 PM
      silence silence is offline
      Junior Member
      Alright the user vaultwiki can edit wiki articles now. I'll get back to you on the cross-domain ttf.
      Reply Reply  
    3. January 2, 2013 6:41 PM
      silence silence is offline
      Junior Member
      Here is a fix for that ttf issue:
      Code:
      server {
          ...
          # Fix @font-face cross-domain restriction in Firefox
      	location ~* \.(eot|ttf|woff)$ {
      	    add_header Access-Control-Allow-Origin *;
      	}
          ...
      }
      source: https://snipt.net/fevangelou/fix-firefox-font-face-cross-domain-restriction-in-nginx/
      Weird it required a php-fpm restart... That fixed the font issue!

      The quick reply editor is still not showing up though :S
      Reply Reply  
    4. January 2, 2013 7:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      You have a mod DBTech Editor Tabs, which is causing Javascript errors on the wiki's Edit tab. I don't know if this is causing the blank editor issue, but I would recommend disabling that mod and seeing if it helps.
      Reply Reply  
    5. January 2, 2013 8:16 PM
      silence silence is offline
      Junior Member
      Quote Originally Posted by pegasus
      You have a mod DBTech Editor Tabs, which is causing Javascript errors on the wiki's Edit tab. I don't know if this is causing the blank editor issue, but I would recommend disabling that mod and seeing if it helps.
      would that be causing this issue:

      Code:
      ReferenceError: CKEDITOR is not defined
      [url]https://min.xenogamers.org/vault/reset.js?v=3019/eval/seq/3[/url]
      Line 4
      EDIT:

      Disabled the DBTech Editor Tabs, and it didn't fix it.
      Reply Reply  
    6. January 3, 2013 6:36 AM
      silence silence is offline
      Junior Member
      I had a thought about the issue with Jailbreak Rules.
      Maybe the setting for length of posts is conflicting with it? Since it's the only one that's extremely long?
      Reply Reply  
    7. January 3, 2013 12:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      The "CKEDITOR is not defined" message is probably causing the issue with Quick Reply. The user "vaultwiki" doesn't have permission to comment on the article in question, so I can't currently see what else might be going on with the page. If you can turn on commenting for my user, I can try to look into this further.

      As for the Edit tab blanking, please list any mods you have that might have some effect on editor functionality. It looks like something is erasing the value contained in $newpost['message']
      Reply Reply  
    8. January 3, 2013 7:28 PM
      silence silence is offline
      Junior Member
      I gave the user "vaultwiki" the right permissions. Sorry about that!
      Reply Reply  
    9. January 4, 2013 3:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      For the Quick Reply, does this help? In includes/functions_editor.php, find:
      Code:
      	// Don't send the editor clientscript on ajax returns of the editor -- it won't do anything..
      	if (!$_POST['ajax'])
      Replace with:
      Code:
      	// Don't send the editor clientscript on ajax returns of the editor -- it won't do anything..
      	//if (!$_POST['ajax'])
      If it does, we'll need to identify the vBulletin version where the code was added, and update our plugins accordingly.
      Reply Reply  
    10. January 4, 2013 3:28 PM
      silence silence is offline
      Junior Member
      The error is gone but the editor still isn't showing up.
      Reply Reply  
    11. January 5, 2013 2:37 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/plugins/toolbar.php, add the following before the closing copyright block in the file:
      Code:
      function vault_editor_output_html(&$ckeditor, &$html, $id, $js_config, $js)
      {
      	if ($js_config != 'null' AND $js_config != 'false')
      	{
      		$js .= "vB_Editor['$id'] = new vB_Text_Editor('" . $id . "', " . $js_config . ");";
      	}
      	else
      	{
      		$js .= "vB_Editor['$id'] = new vB_Text_Editor('" . $id . "');";
      	}
      
      	$html .= "<script type=\"text/javascript\">";
      	$html .= "//<![CDATA[\n";
      	$html .= $js;
      	$html .= "\n//]]>";
      	$html .= "</script>\n";
      
      	$html = vB_Ckeditor::getJsIncludes() . $html;
      }
      Then in AdminCP > Plugins & Products > Plugin Manager, add a new plugin.

      Product: VaultWiki
      Hookname: editor_output_html
      Title: Editor - Fix for AJAX Tabs
      Execute Order: 5
      Code:
      if ($_POST['ajax'])
      {
      	require_once(DIR . '/vault/functions/bbcode.php');
      
      	if (THIS_SCRIPT == 'showwiki')
      	{
      		require_once(DIR . '/vault/plugins/toolbar.php');
      		$vw_config = $this->configSettings($config, $events);
      		$vw_js = $this->returnGlobalEvents();
      
      		if (!empty($vw_config))
      		{
      			$vw_js_config = $this->jsEncode($vw_config);
      		}
      
      		special_editor_output_html($this, $out, $id, $vw_js_config, $vw_js);
      	}
      }
      This should fix the problem with Quick Reply not showing the toolbar, when the comments tab was loaded using the AJAX tab.
      Reply Reply  
    12. January 5, 2013 5:42 PM
      silence silence is offline
      Junior Member
      That php file is not in vault/plugins o.o
      Reply Reply  
    13. January 6, 2013 9:32 PM
      pegasus pegasus is offline
      VaultWiki Team
      My apologies, it's called vault/plugins/toolbar.php. I always look for editor.php too and can never find it. It was renamed as toolbar.php some versions ago.
      Reply Reply  
    14. January 6, 2013 10:11 PM
      silence silence is offline
      Junior Member
      That isn't working, but I uncommented the line you told me to comment in functions_editor.php
      Do I have to leave that commented?
      Reply Reply  
    15. January 6, 2013 11:21 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, as far as I can tell, you do need to leave that other line commented for now. I am still working on a solution for those particular lines.

      Also, I have modified the code for the plugin I had you create in my earlier post. The updated code should cover more situations.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 5:20 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.