• 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

maldboy

Member
Joined
Nov 16, 2015
Messages
105
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
Untitled.png
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,802
Hi
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

PHP:
<?php
/*************************************************************************
* 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();

        XenForo_Db::beginTransaction($db);

        /**
         * 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')
            ");
        

        XenForo_Db::commit($db);

        die();
        /**
         * Content Types
         */
        XFA_Slider_Install_ContentType_ContentType::install();
    }
}
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:

maldboy

Member
Joined
Nov 16, 2015
Messages
105
Hi.
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
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,802
can you send me admin access and ftp access by PM please
 

maldboy

Member
Joined
Nov 16, 2015
Messages
105
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"
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,802
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
 
  • Like
Reactions: twisted_melon

maldboy

Member
Joined
Nov 16, 2015
Messages
105
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
1.PNG
 

maldboy

Member
Joined
Nov 16, 2015
Messages
105
Nah i have tried many ways and i can't make it work.The slider doesn't want to show on my site :)
 

maldboy

Member
Joined
Nov 16, 2015
Messages
105
Hello guys,i wanted to let you know that i have found the solution.Now all good.
Thanks for your help.

Regards
 
  • Like
Reactions: Fredxd