Forums

GD Star Rating
Cannot get function to save or show vote result (1 post)

  1. virtuapete
    Member
    Posted 5 months ago #

    I am trying to integrate GD Star into an Under Construction page that stays live while admins that are logged in can see the real site live. This is managed by a plug in called Custom Coming Soon Pages (free version). I have created a pretty elaborate page and removed most of the WordPress functionality from it and replaced that with custom WP code to make the functionality I need so when I work on the real site behind it the front page won't be affected as well. I started it with a blank html file basically.

    I know GD Star work perfectly fine in the real WordPress installation. But not on my coming soon page. I added in the head the JS include and both CSS includes. What I noticed is the gdsr_cnst_* variables are not loaded in the head like they are supposed to be. Also the stars show correctly, hover correctly and the wait shows up, but then goes back to the unselected stars, nearly instantly. I noticed that the vote doesn't get saved either. So I am thinking its an AJAX/JSON issue? I know from the variables not loading that code/class.php (or parts of it) isn't being loaded.

    Anyone know what parts I am missing that need to be called/loaded so this works correctly knowing that right now all I have loaded now are just the 1 JS file gdsr.js and the 2 CSS files?

    http://wordpress.org/extend/plugins/gd-star-rating/

Reply

You must log in to post.

About this Plugin

About this Topic