What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Resolved Fast help please guys


I bought today the add-on i uploaded the content and i installed the add-on.
the [XML] Options Tabs where the hell we must add this?

However i got bigg error,please check below


Staff member
For Options Tab, you need have this addon http://www.xen-factory.com/index.php?resources/options-tabs.72/

For your issue
Can you replace content of file XFA/Slider/Install/Install.php by

* XenForo Slider - Xen Factory (c) 2015
* All Rights Reserved.
* Created by Fr�d�ric Baudouin aka. Fred
* This file is subject to the terms and conditions defined in the Licence
* Agreement available at http://xen-factory.com/pages/license-agreement/.

class XFA_Slider_Install_Install extends XFA_Slider_Install_Abstract
    public static function run()
        $db = XenForo_Application::getDb();


         * Create
            // xfa_slider
            $db->query("CREATE TABLE IF NOT EXISTS `xfa_slider` (
                  `slider_id` int(11) NOT NULL AUTO_INCREMENT,
                  `title` varchar(250) NOT NULL,
                  PRIMARY KEY (`slider_id`)

            // xfa_slider_content_template
            $db->query("CREATE TABLE IF NOT EXISTS `xfa_slider_content_template` (
                    `content_template_id` int(11) NOT NULL AUTO_INCREMENT,
                    `content_template_name` varchar(250) NOT NULL,
                    `template_name` varbinary(50) NOT NULL,
                    `addon_id` varbinary(25) NOT NULL,
                    PRIMARY KEY (`content_template_id`)

            // xfa_slider_display
            $db->query("CREATE TABLE IF NOT EXISTS `xfa_slider_display` (
                    `display_id` int(11) NOT NULL AUTO_INCREMENT,
                    `content_template_id` int(10) NOT NULL,
                    `position` varbinary(50) NOT NULL,
                    `slider_id` int(10) NOT NULL,
                    `enable_settings` TINYINT(1) NOT NULL DEFAULT '0',
                    `settings` TEXT NOT NULL,
                    PRIMARY KEY (`display_id`)

         * Alter
            // xf_attachment_data
            $db->query("ALTER TABLE xf_attachment_data ADD `xfa_slider_caption` varchar(100) NOT NULL DEFAULT ''");
            $db->query("ALTER TABLE xf_attachment_data ADD `xfa_slider_caption_url` varchar(250) NOT NULL DEFAULT ''");
            $db->query("ALTER TABLE xf_attachment_data ADD `xfa_slider_display_order` int(10) NOT NULL DEFAULT 0");

         * Insert Data
            $db->query("INSERT INTO `xfa_slider_content_template` (`content_template_id`, `content_template_name`, `template_name`, `addon_id`) VALUES
               (1, 'All', 'all', ''),
               (2, 'Account Wrapper', 'account_wrapper', 'XenForo'),
               (3, 'Forum List', 'forum_list', 'XenForo'),
               (4, 'Forum View', 'forum_view', 'XenForo'),
               (5, 'Thread View', 'thread_view', 'XenForo'),
               (6, 'Help Wrapper', 'help_wrapper', 'XenForo'),
               (7, 'Thread Reply', 'thread_reply', 'XenForo'),
               (8, 'Post Edit', 'post_edit', 'XenForo')


         * Content Types

And tell me what error you have, if you haven't error, check in your db if you have following tables
  • xfa_slider
  • xfa_slider_content_template
  • xfa_slider_display
Last edited:


I have again the same error,i changed the above code and the same error.

I saw the db and i don't have the above tables


Unfortunately i can't provide login access sorry.
You don't need access to my site,i was using the add-on version 1.3.0 and was working perfect.i bought yesterday the last version and i have regret.

The only reason i bought the last version was for the feature "Randomly"


Staff member
I have try fresh install and i havent issue
I have edit my previous post with file to edit
Can you restart please you should have error now


I did fresh install and now seems to work.
Now am trying to show the slider on the homepage forum-list but unlucky so far
Check below my settings and let me know if i did something wrong