• Resolved mattgivertz

    (@mattgivertz)


    Hi

    I’ve been having some issues with posts and to troubleshoot i removed the plugin which seemed to resolve the issue but to verify this plugin is the problem I re-installed and made sure to activate at the site level. The message says the plugin is activated but it doesn’t show as active and it’s not in the dashboard.

    I went to myphpadmin to check the table we created OK as we had an issue with this previously and it is there but no records have been added.

    I’ve remarked out the create table and indexes sections from activation php file and still not working so the only lines left are
    add_option(‘postratings_image’, ‘stars’ );
    add_option(‘postratings_max’, ‘5’ );
    add_option(‘postratings_template_vote’, ‘%RATINGS_IMAGES_VOTE% (%RATINGS_USERS% ‘.__(‘votes’, ‘wp-postratings’).__(‘,’, ‘wp-postratings’).’ ‘.__(‘average’, ‘wp-postratings’).’: %RATINGS_AVERAGE% ‘.__(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%)<br />%RATINGS_TEXT%’ );
    add_option(‘postratings_template_text’, ‘%RATINGS_IMAGES% (%RATINGS_USERS% ‘.__(‘votes’, ‘wp-postratings’).__(‘,’, ‘wp-postratings’).’ ‘.__(‘average’, ‘wp-postratings’).’: %RATINGS_AVERAGE% ‘.__(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%’.__(‘,’, ‘wp-postratings’).’ ‘.__(‘rated’, ‘wp-postratings’).’)’ );
    add_option(‘postratings_template_none’, ‘%RATINGS_IMAGES_VOTE% (‘.__(‘No Ratings Yet’, ‘wp-postratings’).’)<br />%RATINGS_TEXT%’ );
    // Database Upgrade For WP-PostRatings 1.02
    add_option(‘postratings_logging_method’, ‘3’ );
    add_option(‘postratings_allowtorate’, ‘2’ );
    // Database Uprade For WP-PostRatings 1.04
    // maybe_add_column($wpdb->ratings, ‘rating_userid’, “ALTER TABLE $wpdb->ratings ADD rating_userid INT( 10 ) NOT NULL DEFAULT ‘0’;”);
    // Database Uprade For WP-PostRatings 1.05
    add_option(‘postratings_ratingstext’, array(__(‘1 Star’, ‘wp-postratings’), __(‘2 Stars’, ‘wp-postratings’), __(‘3 Stars’, ‘wp-postratings’), __(‘4 Stars’, ‘wp-postratings’), __(‘5 Stars’, ‘wp-postratings’)) );
    add_option(‘postratings_template_highestrated’, ‘

    • %POST_TITLE% %RATINGS_IMAGES% (%RATINGS_AVERAGE% ‘.__(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%)
    • ‘ );
      // Database Upgrade For WP-PostRatings 1.11
      add_option(‘postratings_ajax_style’, array(‘loading’ => 1, ‘fading’ => 1) );
      // Database Upgrade For WP-PostRatings 1.20
      add_option(‘postratings_ratingsvalue’, array(1,2,3,4,5) );
      add_option(‘postratings_customrating’, 0 );
      add_option(‘postratings_template_permission’, ‘%RATINGS_IMAGES% (%RATINGS_USERS% ‘.__(‘votes’, ‘wp-postratings’).__(‘,’, ‘wp-postratings’).’ ‘.__(‘average’, ‘wp-postratings’).’: %RATINGS_AVERAGE% ‘.__(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%)<br />‘.__(‘You need to be a registered member to rate this.’, ‘wp-postratings’).’‘ );
      // Database Upgrade For WP-PostRatings 1.30
      add_option(‘postratings_template_mostrated’, ‘

    • %POST_TITLE% – %RATINGS_USERS% ‘.__(‘votes’, ‘wp-postratings’).’
    • ‘ );

      There are no entries in the database.

      Please can you let me have the sql to create these entries as I suspect this maybe the issue and I can then run manually on myphp

      Thanks
      Matt

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan

    (@gamerz)

    The table is created when you activate it per site? But there are no entries when you rate? What entries are you referring to?

    Thread Starter mattgivertz

    (@mattgivertz)

    Sorry for the delay in getting back to you

    So the plugins has been installed and I’m trying to activate at the site level. The response is plugins activated but it doesn’t appear in the dashboard.

    I thought the options statements would create table entries but maybe not.

    I’ve uninstalled and reinstalled but plugin refuses to activate and appear in the dashboard. I am not activating at the network level as previous issue was because I did.

    Plugin Author Lester Chan

    (@gamerz)

    Is the plugin in the individual site plugin folder? If it fails to activate, it should throw an error though.

    Thread Starter mattgivertz

    (@mattgivertz)

    Yes it is. I’ve checked error logs but the only thing I see is a php notice saying the plugin activated

    Plugin Author Lester Chan

    (@gamerz)

    Weird I am not sure what’s wrong with it. I have no been using MS for years and the MS code was not touched for years. I will probably wait for more data for other people.

    Maybe consider using another plugin?

    Thread Starter mattgivertz

    (@mattgivertz)

    This has been bizzare but managed to get it to install. I have no idea what was going on but I removed it because blog postd were only being displayed to logged in users.

    I had to remove the plugin to resolve the issue and wanted to reinstate it to verify the issue.

    I have got everything working and am wondering if it was a setting somewhere. Anyway I’ve made sure that the shortcode is only on the page I want rated

    Thanks for the help
    Matt

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[NSFW] PLugin won’t activate’ is closed to new replies.