• 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 4.x Series
    • Bug
    • Can't create new articles in vBulletin CMS

    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: Can't create new articles in vBulletin CMS

    • Issue Tools
      • View Changes
    1. issueid=3002 April 6, 2013 9:39 AM
      InsaneJ InsaneJ is offline
      New Member
      Can't create new articles in vBulletin CMS

      When trying to create a new article on any section of vBulletin's CMS I get the following error:
      Code:
      Fatal error: Call to undefined method vw_Parser_Handle_Table_Model_vB3::apply_wysiwyg_class() in /var/www/<domain>/htdocs/vault/core/model/parser/handle/table/vw.php on line 164
      I have updated from: vaultwiki_4-0-0_Alpha_2 to: vaultwiki_4-0-0_Alpha_4_patch_04-04-2013
      Both versions give the same error.

      This has made it impossible for me to add new content to my site.
    Issue Details
    Issue Number 3002
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Forum Posts / Non-Wiki Content
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 2
    Fixed Version 4.0.0 Alpha 5
    Milestone VaultWiki 4 Alpha X
    Software DependencyvBulletin 4.x w/ ckEditor
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 6, 2013 10:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/parser/handle/table/vb3.php, find:
      Code:
      function th_class()
      Add this before it:
      Code:
      	function __construct()
      	{
      		if (VAULT_40X_COMPAT)
      		{
      			$this->wysiwyg_classes['table'] = 'wysiwyg_dashes';
      			$this->wysiwyg_classes['tr'] = 'wysiwyg_dashes_tr';
      			$this->wysiwyg_classes['td'] = 'wysiwyg_dashes_td';
      			$this->wysiwyg_classes['th'] = 'wysiwyg_dashes_td';
      			$this->wysiwyg_classes['caption'] = 'wysiwyg_dashes_td';
      		}
      	}
      In vault/core/model/parser/handle/table/vw.php, find:
      Code:
      function th_class() {}
      Add this before it:
      Code:
      	protected $wysiwyg_classes = array();
      
      	function apply_wysiwyg_class($attributes, $tag)
      	{
      		if (isset($this->wysiwyg_classes["$tag"]))
      		{
      			$attributes .= " class=\"" . $this->wysiwyg_classes["$tag"] . "\"";
      		}
      
      		return $attributes;
      	}
      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 10:13 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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.