WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: slidoox] Slidoox, new version? (6 posts)

  1. dat98cbr
    Member
    Posted 5 years ago #

    Slidoox, great plugin man. Are you releasing a version for newer WP editions?

    http://wordpress.org/extend/plugins/slidoox/

  2. patatomic
    Member
    Posted 5 years ago #

    yes, please please please please update. please?

  3. arkitekt
    Member
    Posted 5 years ago #

    I'm not an expert on fixing this, but I experimented a bit myself and found a solution that worked for me... I think I might be missing something, but it's working! You need to look at the slidedoox.php file, and find the area where it creates the table, and make your own wp_slidoox table in your wordpress database with the same fields... so far I've determined there are 4 fields... id, title, content, position

    id mediumint(9) NOT NULL AUTO_INCREMENT,
    title VARCHAR(100) NOT NULL,
    content text NOT NULL,
    position int(3) NOT NULL,

    id should be set to primary key

    I hope this helps others, the only issue I see right now with it set this way... there is some wordpress dialog covering part of the slidoox manager ... other than that everything appears to work properly.

  4. drewshen
    Member
    Posted 5 years ago #

    i cannot activate the plugin, it says

    Plugin cannot be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected '}' in mysite/wp-content/plugins/slidoox/slidoox.php on line 135

    @arkitekt I verified in the php that my code for generating the table says

    $sql = "CREATE TABLE " . $table_name . " (
    	  id mediumint(9) NOT NULL AUTO_INCREMENT,
    	  title VARCHAR(100) NOT NULL,
    	  content text NOT NULL,
    	  position int(3) NOT NULL,
    	  UNIQUE KEY id (id)

    is this correct? thanks!

  5. sjsperry
    Member
    Posted 5 years ago #

    that's right, it doesn't seem to get called, but you can make the statement in phpmyadmin, etc.

    CREATE TABLE wp_slidoox (
    id mediumint(9) NOT NULL AUTO_INCREMENT,
    title VARCHAR(100) NOT NULL,
    content text NOT NULL,
    position int(3) NOT NULL,
    UNIQUE KEY id (id)
    )

  6. baboongila
    Member
    Posted 5 years ago #

    i've done that but still fatal error.

    check the code on the first line..

    <?
    /*
    Plugin Name: slidoox
    Plugin URI: http://devoox.com/bluvoox/

    add 'php' after '?'

    <?php
    /*
    Plugin Name: slidoox
    Plugin URI: http://devoox.com/bluvoox/

    then it works now..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags