Ajax Rating is a plugin for Movable Type that enables visitors to rate your entries or your blog.
Try it now by rating this blog:
The "Pro" version of Ajax Rating lets you rate comments, trackbacks, categories, authors, tags, and just about anything else. Added features include threshold viewing for comments based on rating, listing "hot" items, and comment reporting. More details on the Pro version below.
Ajax Rating is easy to setup and use. After downloading the plugin and installing the files, a few simple changes to your templates will enable you to adding Ajax Star Raters to your entries. For example, just add <MTAjaxStarRater type="entry"> to after the <MTEntryBody> tag and you are done - instant Ajax Star Ratings.
Download Now
(Ajax Rating for Personal Use)
Downloads: 6177
Ajax Rating Pro has a lot more features:
- Thumbs up /down (or plus/minus) rating modes
- Display listings of top rated items
- Rate comments and other objects
- Hide comments below a certain rating threshold
- Enable visitors to choose their own threshold
- Include a button for reporting spam or inappropriate comments
- Display "hot lists" based on recent voting activity
The "hot lists" feature mentioned above is one of the most powerful features of Ajax Rating. It can be used to enable Digg-like functionality, in which your home page can be set to display only the items that are "popular now". Used this way, the ratings become a filter for the content you feature on the home page. If you have a site or blog network with new entries be added frequently, this feature is especially useful. In a typical blog-format home page, entries get pushed lower down the page every time a new one is posted, so even popular entries can get pushed off the home page quickly on a busy site. Ajax Ratings gives you an alternative to this, displaying the hottest entries first, as determined by visitor rankings. This is automatic, and you can define the "hot" time frame (1 day, 3 days, 2 weeks, etc.). Ajax Rating hot lists can really change the dynamics of a site, and may inspire ideas for new ratings-driven sites.
Comment Viewing Threshold
Sites like Slashdot, Scoop-powered sites, and Digg have a similar feature, which hides comments if they are below a certain rating or score threshold. Referred to as a comment viewing threshold or a "collaborative filtering tool", the idea is to display top-rated comments prominently, while hiding or collapsing lower rated comments. With the Ajax Rating plugin, it is possible to do this with Movable Type comments. The plugin is very flexible in how you want to set this, but a common approach might be to enable readers to vote each comment "up" or "down" (plus or minus, thumbs up, thumbs down, etc.). A vote up would equal +1 point and a vote down would equal -1 point. You then set a default viewing threshold. For example, you might choose -10 as the default, meaning that comments with a total score of less than -10 will appear collapsed (or partially or completely hidden, you choose). Collapsed comments can be displayed with a single click. You can also include a form that enables readers to set their own threshold level. Again, this is very customizable, you decide how you want things to work on your site. Take a look at this test entry, which demonstrates both a Star Rater (for the entry) and Plus/Minus comment threshold viewing (for the comments). Set your own threshold using the form at the bottom of the comments and see how the display changes. Similar to the hot list described, above comment viewing thresholds are another way to transform the display of your content based on user ratings.
Rate Anything
Another advanced feature is the ability to rate anything at all. In addition to rating MT objects like entries, comments, categories, authors, and blogs, you can also use Ajax Ratings to rate other things. For example, if you want to create a rater for a movie or book, you can do that. (Example: <$MTAjaxStarRater type="movie" id="23" max_points="5$> -- just remember what movie you assigned the ID 23 to....)
One Vote per IP Address
To prevent people from voting multiple times on the same item, only one vote is accepted per IP address per item.
Template Tags
Template tags for Ajax Rating are available for both static and dynamic (php) publishing.
The following template tags are available in Ajax Rating (free version):
- <MTAjaxStarRater> - This tag will output a star rater like the one shown above. To rate entries, it must be used in an Entry context (ie. between <MTEntries> and </MTEntries> tags or in the Individual Archive Template. A good spot is just after the <MTEntryBody> tag. The following arguments are supported:
- type - Recommend (but not required) when rating entries and required when rating a blog. (Example: <MTAjaxStarRater type="entry"> or <MTAjaxStarRater type="blog"). With Ajax Rating Pro, you can also specify the following types: comment, category, author, tag, trackback, or anything else (see "rate anything" above).
- max_points - Not required for entries and comments, but required for other types. This argument specifies the number of stars that will be displayed. (Example: <MTAjaxStarRater type="blog" max_points="5"> will create a rater with 5 stars)
- id - For advanced use, the id argument enables you specify a specific object ID number that you want to rate. If you use the tag in the correct context, you don't need to include the 'id' argument. But if you want to place a rater outside of the relevant context, or if you want to rate a non-MT object (see "rate anything" above), then you must specify the id of the object. Normally, you don't want to use this, so forget I mentioned it. ;)
- <MTAjaxRatingTotalScore> - This will display the total score for the item being rated (adding up the values of all of the ratings made).
- <MTAjaxRatingAverageScore> - This will display the average score for the item being rated.
- <MTAjaxRatingVoteCount> - This will display the number of votes or ratings that have been submitted for this item.
- <MTAjaxRatingEntryMax> - This will display the maximum number of points (stars) for rating entries, as specified in the plugin settings for that blog.
With Ajax Rating Pro, the following tags are also available (in addition to those described above):
- <MTAjaxRatingList> - A general purpose container tag for displaying listings of "top rated" items in the MT database. The following arguments are available:
- type - Required. Allowed values are: entry, comment, trackback, category, blog, author, tag. Tip: do not pluralize these types.
- sort_by - Determines which metric is use to rank the results. Allowed value are: average, votes, total. The default is sorting by total score.
- sort_order - The sort_order defaults to 'descend' (highest rating first), but you could also specify 'ascend' to show the worst rated items first.
- blogs - To display a list of items from all blogs on the system, specify blogs="all". Otherwise, leave this out and the list will be restricted to the current blog.
- show_n - Use this argument to specify the number of items you want to list (the default is 10). (Example: <MTAjaxRatingList type="entry" show_n="15">)
- hot - Set 'hot' equal to 1 to generate a list of recently "hot" items (this is the powerful feature discussed above). When the 'hot' argument is set to 0 or omitted, the listing will be based on "all time" ratings data. Adding hot="1" will based the listing on recent voting activity only.
- <MTAjaxRatingEntries> - Same as <MTAjaxRatingList type="entry">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingComments> - Same as <MTAjaxRatingList type="comment">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingPings> - Same as <MTAjaxRatingList type="trackback">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingCategories> - Same as <MTAjaxRatingList type="category">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingBlogs> - Same as <MTAjaxRatingList type="blog">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingAuthors> - Same as <MTAjaxRatingList type="author">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxRatingTags> - Same as <MTAjaxRatingList type="tag">. Same arguments as MTAjaxRatingList, but the 'type' argument is not required.
- <MTAjaxThumbRater> - Instead of a star rater, this tag will display a thumbs up/down (or plus/minus, etc.) rater. With this type of rater, there are images for voting an item "up" or "down". A vote "up" is equal to 1 point, a vote "down" is equal -1 point. The following arguments are available:
- type - Recommend (but not required when used in an entry or comment context). (Example: <MTAjaxThumbRater type="comment">). The same types can be used as described for <MTAjaxStarRater> above.
- id - Same (advanced) usage as described for <MTAjaxStarRater> above.
- report_icon - This optional argument will display a third button, a "report" button, when used with comment raters. Visitors to your site can click this button to report the comment (for abuse, spam, profanity, etc.). When a comment is reported, an email is sent to the author of that entry, along with a link to edit the comment in question.
- <MTAjaxRaterOnclickJS> - In addition to the convenient star and thumb raters, you can create your own rater. This tag makes it easier. To enable a rating button (or text link), you need to specify a javascript onclick event. This tag fills in the details. For example suppose you wanted to create a single voting text link for each entry - you could do so as follows: <a href="#" onclick="<$MTAjaxRaterOnclickJS type="entry" points="1"$>">I like it!</a>). Arguments include:
- type - Recommended (but not required when used in an entry or comment context).
- id - Same (advanced) usage as described for <MTAjaxStarRater> above.
- <MTAjaxRatingCommentMax> - This will display the maximum number of points for rating comments, as specified in the plugin settings for that blog.
- <MTAjaxRatingDefaultThreshold> - This will display the default threshold for viewing comments, as specified in the plugin settings for that blog.
- <MTIfAjaxRatingBelowThreshold> - This is conditional tag whose contents will be displayed if the comment is below the default threshold, as specified in the settings. Note that this tag does not apply to user-specified thresholds (more on those later).
- <MTAjaxRatingRefreshHot> - WARNING: You should not use this tag if you have a busy site with high-volume voting activity. This a special tag, it displays no ouput. It simply triggers the process of calculating the list of "hot" items. Note that "hot" list are not tabulated when the listing tags are rebuilt. For performance reasons, this process happens separately, usually via an MT scheduled task that runs automatically (approx) once every hour. If, for some reason, you want to manually refresh to the "hot" list, you can place the <MTAjaxRatingRefreshHot> tag into an index template and rebuild it (be sure to uncheck the "rebuild this template with indexes" box!). Again, this should be used carefully on busy sites, and usually not at all. The "hot" list can also be refreshed via an included cron script (more on this later).
The settings for Ajax Ratings looks like this:

The blog settings for Ajax rating Pro looks like this:

Ajax Rating Pro also has a setting that is set only at the system level (Go to System Overview > Plugins). The system setting looks like this:

One of the notable settings is the "Rebuild After a Vote" option. High traffic site with high-volume voting should be careful with this setting. Generally speaking rebuilds can consume a lot of processor cycles, and a significant rebuilding after votes could slow things down, depending on several factors. The best performance option is "No Rebuilds" -- if you choose this option, the page will get update with the reader's vote immediately, but if this refresh the page, their vote won't be reflected (because the page has not yet been rebuilt). In this mode, ratings and votes counts get recorded into the database, but are not reflected on your pages until those pages are rebuilt (such as after a comment is posted to the entry, or manually rebuilt). If you have a site with high volume voting, chances are that you also have high-volume commenting -- if this is true, use the "No Rebuilds" option here and your entries will still be rebuilt every time a comment is posted. The second option here is "Rebuild Entry Only" -- this will only rebuild the Individual Archive template(s) for that entry (or if the vote is for a category, it will only rebuild the relevant category archive page) -- performance-wise, this option is not too bad. The third option is "Rebuild Entry, Archives, Indexes" -- this is the same level of rebuilding that happens when a comment is posted. It is the worst option performance-wise, as many pages may be rebuilt (the individual archive page(s), each of the category pages for the entries categories, any date-based archives enabled, and every index template in your blog. Be careful with this one on high-traffic blogs. The final option is "Build Indexes Only", which will only rebuild your index templates. This option might be suitable if you are only using the "Rate This Blog" widget (more on this later) on your main index. Note that if you are using PHP Dynamic publishing, there is no issue with rebuilds, you can set this to "No Rebuilds" and ratings will always be reflected correctly each time the page is loaded.
Requirements
MT 3.2+
(Note: If you are running 3.3+, installation will be much easier, as the database tables will be automatically created for you. If you are running 3.2, you will need to create the tables manually - or via a utility like phpMyAdmin)
Installation Instructions
- Expand the zip file.
- Upload the contents of the 'plugins' directory to the 'plugins' directory of your MT install (usually /cgi-bin/mt/plugins)
- Upload the contents of the 'php' directory to the 'php' directory of your MT install (usually /cgi-bin/mt/php)
- Upload the contents of the 'mt-static' directory to the static directory created when you installed MT (usually called 'mt-static')
- Change the permissions on the mt-vote.cgi and mt-report.cgi (Pro only) files found within /plugins/AjaxRating/ to 755 (CHMOD 755)
- Login to Movable Type (or if already logged, click "Main Menu")
- If your are running MT 3.3+, you should now be redirected to an Upgrade screen that will install the tables for Ajax Rating. If you are running MT 3.2, then you need to create the tables manually, using the ajaxrating.sql file to create these tables.
- After the tables have been created, browse to the settings (Settings->Plugins) for the blog you want. Choose the settings that you want and then save.
- Return to the settings and click the "Click here to install the Ajax Rating templates for this blog" link. This will install the javascript and styles index templates and rebuild them automatically. (Note: if you change you settings in future, remember to manually rebuild this index templates afterwards)
- For every template for which you plan to place raters, add the following between the <head> and </head> tags:
- Now you can place raters to meet your needs. Most people may want to add something like the following below the <MTEntryBody> tag:
- Add the included Ajax Rating widget to your sidebar. This will display a "Rate this Blog" section that will enable people to rate your blog. (Optional)
- Test it out and tell people they can start submitting votes!
<script type="text/javascript" src="<MTStaticWebPath>prototype.lite.js"></script>
<script type="text/javascript" src="<MTStaticWebPath>moo.ajax.js"></script>
<script type="text/javascript" src="<MTBlogURL>ajaxrating.js"></script>
<link rel="stylesheet" href="<$MTBlogURL$>ajaxrating.css" type="text/css" />
<$MTAjaxStarRater type="entry"$>
Rating: <strong><span id="ajaxrating_entry_<$MTEntryID$>_avg"><$MTAjaxRatingAverageScore type="entry"$></span></strong>/<$MTAjaxRatingEntryMax$> (<span id="ajaxrating_entry_<$MTEntryID$>_cnt"><$MTAjaxRatingVoteCount type="entry"$></span> votes cast)
For more advanced usage, I am going to post a separate article soon, covering topics such as custom raters, comment threshold setup, customizing the star and plus/minus buttons, and more.
Get Ajax Rating
Ajax Rating is free for personal use, but you must include a link on your home page to http://mt-hacks.com/ajaxrating.html, such as:
Ratings on this site are powered by the <a href="http://mt-hacks.com/ajaxrating.html">Ajax Rating</a> plugin for Movable Type.
Download Now
(Ajax Rating for Personal Use)
Downloads: 6177
A lot of effort went into this plugin, donations are much appreciated. Suggested donation is $10:
If you wish to use Ajax Rating for commercial use, a commercial license must be purchased for $25:
Get Ajax Rating Pro
A regular license for Ajax Rating Pro enable you to use Ajax Rating Pro on up to 10 blogs on a single MT installation. The cost is $249:
If you want to use Ajax Rating Pro on more than 10 blogs on a single MT installation, you can purchase a "Blog Network License". The blog network license is for unlimited blogs on the same install, and includes up to 2 hours of implementation consulting and a custom multi-blog installation script. The multi-blog installation script can be customized to meet your needs (subject to the 2 hours of consulting time) and includes setup of settings and installation of templates for each blog. The blog network license is $499.
Rater Images and CSS Styles
I did not design the default star graphic used with this plugin, and I did not craft the CSS styles that make it look and work so slick. Much credit for both of these elements goes to Ryan Masuga of Masuga Design. Ryan's Unobtrusive AJAX Star Rating Bar has been downloaded more than 12,000 times! Thank you Ryan.
The plus / minus images, on the other hand, I did design .... and it shows. Graphic design is not my forte. As mentioned above, you can swap out your own images for both types of raters (more on that soon). If anyone out there want to design some better button images, please do! Thumbs up and thumbs down images would be cool, and maybe a better plus/minus set as well. If you design some buttons you want to share, let me know I will post them here or include them with Ajax Rating (giving you credit of course).
Future Features
In the future Ajax Rating Pro will be enhanced even further. If you purchase a license for Ajax Rating Pro, you can help steer the development of new features. I see a lot of potential for this plugin with very active blog sites, and blog networks in particular -- and new features will likely be in this area. Here are a few ideas that may be worth adding if customers are interested:
- more sophisticated "hot" list algorithms - making this more sophisticated and customizable, so you can fine tune everything to make sure that the popularity filter is promoting those items that help build community and create buzz
- score summary for authors and commenters - look at which authors have the highest and lowesst rated entries (maybe offer prizes or compensation based on ratings), also look at summarized raters for each commenter, possibly triggering automatic or manual review when commenters have continually poor ratings (troll meter)
- displaying rating and vote information on the MT admin screens
- notification thresholds that will flag comments below thresholds, or even rules that automatically unpublish them pending review.
As always, comments, feedback, suggestions are welcome. Please reply to this entry.


Comments (94)
Hi Mark,
Awesome plugin - I was actually one of the people to contact wizbang for the code.
Do you have a pricing schedule for the "pro" version for say, one blog? I'd love the pro functionality, but I don't have the "pro" funds. Thanks.
Posted by roderick
|
February 3, 2007 2:19 PM
Posted on February 3, 2007 14:19
Hello Mark!
It worked fine with the 30px stars, but with the smaller (16px) it didnt.. and I changed the plugin settings to 16..
Posted by Grace | February 3, 2007 5:16 PM
Posted on February 3, 2007 17:16
Mark --
Forget my last comment :roll:
Posted by Grace | February 3, 2007 5:25 PM
Posted on February 3, 2007 17:25
Hi Grace,
I guess you have figured it out already, but I will soon be posting some details on how to switch star icons and sizes. To switch to the provided 16x16 starrating.gif stars, rename it to starrating.gif and change the the Star Width setting to 16. Then rebuild the styles and javascript templates, then rebuild your pages. To use your own graphic, create an image that has 3 stars, one on top of the other like the ones below. If your image is 16 pixels, it should be 3 times as high (48px):
30 x 90 pixels:
16 x 48 pixels: 
Then name it starrating.gif and upload to the mt-static/plugins/AjaxRating/images/ directory. Then enter the width of your star image into the settings, then rebuild javascript, styles, and all pages.
Posted by Mark Carey
|
February 3, 2007 7:17 PM
Posted on February 3, 2007 19:17
It should be noted that:
cannot be used to show entries in an index without a precedeing MTEntries tag. This may not produce the desired results, as:
Produces a page of repeated entries when there are only three entries that have ratings.
MTAjaxRatingEntries will work without the MTEntries tag and will produce a listing of just the three rated entries.
Posted by Kevin Aylward | February 4, 2007 2:45 PM
Posted on February 4, 2007 14:45
It should be noted that:
MTAjaxRatingList type="entry"
cannot be used to show entries in an index without a precedeing MTEntries tag. This may not produce the desired results, as:
MTEntries lastn="15"
MTAjaxRatingList type="entry" sort_by="average"
Produces a page of repeated entries when there are only three entries that have ratings.
MTAjaxRatingEntries will work without the MTEntries tag and will produce a listing of just the three rated entries.
Posted by Kevin Aylward | February 4, 2007 2:49 PM
Posted on February 4, 2007 14:49
the vote did not add to the database ...
the database is empty :-(
Posted by m-sh | February 5, 2007 3:46 PM
Posted on February 5, 2007 15:46
Note, my two previous comments were in error.
m-sh, what is the site address you're testing on?
Posted by Kevin Aylward | February 5, 2007 9:36 PM
Posted on February 5, 2007 21:36
database created ...
but it is empty
Posted by m-sh | February 6, 2007 5:44 AM
Posted on February 6, 2007 05:44
I have problems installing this plugin. It hangs up or runs and runs and runs while trying to upgrade. When I try to use the SQL used fpr 3.2 there is a 1094 timestamp error.
So, wich database version is needed? I am running 4.0.24.
Posted by Sven | March 18, 2007 11:50 AM
Posted on March 18, 2007 11:50
Sven, what version of MT are you using?
That version of mySQL should be fine.
Posted by Mark Carey
|
March 19, 2007 8:56 PM
Posted on March 19, 2007 20:56
Hi,
Does this work with MT4 yet ?
I'm getting this error when I try and install the ratings templates from the blog|plugin configuration.
"Unknown action ajaxrating_install_templates"
Posted by anu | June 13, 2007 9:59 AM
Posted on June 13, 2007 09:59
I can't get this to work on my blog. I did all the install steps word for word. I can get the rater to show up on the entry page and the hover and click all work. The problem is when you go away from the page and come back the rating is back at zero. I have it set to "Rebuild Entry Only" on the setting page.
Also when I try to use a custom starrating image it's giving me problems. I can get the width right but the height always seems to be 30. My custom image is 11x33 which should be the right dimensions. What am I doing wrong? Help!
Posted by Lee W. | June 19, 2007 11:06 AM
Posted on June 19, 2007 11:06
anu,
None of the MT Hacks plugins have been tested with MT4 yet. As MT4 is in beta, I will wait until the final release (or close to it), before testing and updating plugins. MT4 is very new and much has changed, and will continue to change. Generally speaking if you are using any "mission-critical" plugins, I wouldn't recommend upgrading to MT4 until it comes out of beta.
Posted by Mark Carey
|
June 19, 2007 12:52 PM
Posted on June 19, 2007 12:52
Lee, can you provide a link to your blog with a rater with your custom image?
Posted by Mark Carey
|
June 19, 2007 12:55 PM
Posted on June 19, 2007 12:55
It's not actually live for anyone to see. I'm developing on a private server.
One thing I just read on your advanced features page is this - "Save your settings and then rebuild the Ajax Rating javascript and styles index templates." How do you rebuild those files?
Posted by Lee W.
|
June 19, 2007 1:30 PM
Posted on June 19, 2007 13:30
Hi Lee,
Good point, that is probably what you need to do to fix this issue. Go to templates and few the list of Index templates. You should see templates for Ajax Rating Javascript and Styles. Open each template and choose "save and rebuild".
Posted by Mark Carey
|
June 19, 2007 1:50 PM
Posted on June 19, 2007 13:50
Thanks for clearing that up. Now my custom star images are displaying correctly.
However, the ratings are still not being recorded. When I revisit the entry post it still says "Rating: 0/5 (0 votes cast)". Is it not updating the database somehow?
Posted by Lee W. | June 19, 2007 2:05 PM
Posted on June 19, 2007 14:05
Lee, I know that you said you chose the "rebuild entry only" option, but just as a test, can you rebuild all your individual archives (or re-save the entry in question) via the MT admin interface and then check the rater in question -- does the vote show after that?
Posted by Mark Carey
|
June 19, 2007 3:28 PM
Posted on June 19, 2007 15:28
Yeah I've tried practically eveything I can think of. I've tried every option under "Rebuild After a Vote". I've tried editing and rebuilding all three of my test entries. It's just acting really weird. When you click o vote it updates the star image and the "Rating: 2/5 (1 votes cast)" line as well but it just doesn't save any votes. Is there a database I need to install or anyhting like that?
Posted by Lee W. | June 19, 2007 3:42 PM
Posted on June 19, 2007 15:42
I didn't do this step in the installation because I didn't know how to. Can you tell me if that's the problem and if so how can I do it.
5. Change the permissions on the mt-vote.cgi...
Posted by Lee W. | June 19, 2007 3:48 PM
Posted on June 19, 2007 15:48
Yep that permissions thing was the problem. I have it working now. Thanks for your help.
Posted by Lee W. | June 19, 2007 4:33 PM
Posted on June 19, 2007 16:33
I can't get this plugin to work on Safari or Firefox. ANy help?
Posted by Sean F.
|
June 26, 2007 12:11 PM
Posted on June 26, 2007 12:11
Sean F,
You will have to be more specific - what happens when you try?
The plugin definitely works on FireFox, though I don't have Safari to test...
Posted by Mark Carey
|
June 27, 2007 12:48 PM
Posted on June 27, 2007 12:48
It's actually on an internal server so you can't view it.
I'm guessing it might be because the plugin is nested within a div in our template. Perhaps taking it out and reformating the mt template with no div's would work.
Basically, the problem is the star icons do not display in the correct locatin in Firfox and Safari. They are pushed from their intended location of beneath the article to a right side-bar on the site.
Posted by Sean F
|
June 27, 2007 2:28 PM
Posted on June 27, 2007 14:28
This looks like something I'd want to use on a project I'm working on.
One question though... would there be a way to take the average rating of entries in a category and possibly place them in a separate entry?
That might be a lot to ask, but it would be really useful.
Posted by Dave | July 2, 2007 6:07 PM
Posted on July 2, 2007 18:07
Dave, I am not sure if I fully understand what you are asking, but I am pretty sure the answer is no -- at least for the current version of the plugin.
Currently the plugin can display average ratings for a single object (entry, comment, category, etc), but not for a group of objects. I like your idea though, it would be nice to average entry ratings by category. Not just by category, but also by author (so you can tell which author has the highest rated entries, on average).
The part I don't understand is what you mean by "and possibly place them in a separate entry".
Posted by Mark Carey
|
July 2, 2007 7:26 PM
Posted on July 2, 2007 19:26
Based on the above comment, does this mean you can't create a list of rated items in the category archive context?
Bummer, because that is exactly what I was trying to do.
Posted by Brian Fling | July 26, 2007 6:01 PM
Posted on July 26, 2007 18:01
Brian, no, it does not mean that at all. You can certainly create a list of rated items in a category archive context. That said, I am not sure exactly what you want to list (what type of "item").
What I was saying is that rating averages are calculated "per-item" only. Meaning, that you can display the average rating on any single entry, comment, category, etc. But the plugin does not aggregate votes across groups of items -- meaning that it does not do "show the average rating for *all* entries in this blog or in this category". As you can see, this doesn't relate at all to creating lists of rated items.
Posted by Mark Carey | July 26, 2007 11:29 PM
Posted on July 26, 2007 23:29
Hi Mark,
How can I have a fresh re-install? I have been renaming the plugin directory, it forces it to upgrade, but doesn't start from scratch.
Posted by ali | August 11, 2007 3:14 PM
Posted on August 11, 2007 15:14
Hey, I tried installing this plugin.. but I have two issues.
1. this appears when I try installing the templates:
You tried to set inexistent column orig_name to value Ajax Rating Javascript on MT::Template at /home/23753/domains/MYSITE.com/html/plugins/AjaxRating/lib/AjaxRating.pm line 299
2. I added the code to my templates and it only shows the numbers.. I don't see any stars :s
Posted by Carlo
|
August 15, 2007 8:15 PM
Posted on August 15, 2007 20:15
ali, simply remove all the plugin files and directory, then load MT, then upload the plugin again. Its not clear to me why you want to do a "fresh re-install" -- what is your goal in doing so?
Carlo, what version of MT are you using? Based on the first error, it sounds like you might be running MT4. Note that the current version of Ajax rating does not fully support MT4. A new version will be released very soon with MT4 support.
Posted by Mark Carey
|
August 16, 2007 9:09 AM
Posted on August 16, 2007 09:09
Mark, is it possible(or buildable...) to attach multiple ratings widgets to a single object(in my case, entries)? You can ref my just-posted Pronet message for a bit more detail.
Posted by Su
|
August 20, 2007 1:00 PM
Posted on August 20, 2007 13:00
Su, I replied on ProNet. Here is the response, for others who may be interested:
Strictly speaking, you can only have one rating per object. However, AjaxRating is very flexible in that you can also rate "non-objects". By this, I mean that you can create raters to rate things that are not MT objects: movies, books, etc. The example cited above is an example of this: the download counters on MT Hacks. A single click on the download links adds a vote, much like you describe. But that vote is not attributed to the entry itself, but to a user-defined object type (such as "fastsearchdownloads" or "ajaxratingdownloads", etc.) and object id (you define this two, just make sure it is unique for the defined object type. So essentially on MT Hacks you will see that there are two raters for most entries, one for the entry (5 star rater) and one for the download.
I would suggest approaching this my defining an "object type" of "entry2" (or better yet, something that makes more sense for your purposes) and use the entry_id as the object id for the rater. This way, you effectively can create multiple raters per entry.
Also see the "Rating Non-MT Objects" section of this article.
Posted by Mark Carey
|
August 20, 2007 3:57 PM
Posted on August 20, 2007 15:57
Do you know when we can expect the AjaxRating be available to support MT4? Will this include the Pro version?
Thanks!
Posted by Kevin | September 4, 2007 10:13 AM
Posted on September 4, 2007 10:13
Ouch. Version 1.1 of AjaxRating Basic on MT4 installs fine, but when I get to step 8 where I have to let AjaxRating install the templates, the script fails, indicating that:
(!) Unknown action install_blog_templates
and displays two "Close" buttons. Doing a quick grep on AjaxBasic indicates that there's no such function as install_blog_templates. Could you double-check that you didn't accidentally omit a vital file from the archive or something?
Posted by wolf
|
September 6, 2007 3:55 PM
Posted on September 6, 2007 15:55
Thanks for pointing this out, wolf. I forgot to add the "requirement" -- the Template Installer plugin is now required for installing Ajax Rating on MT4. Template Installer handles the installation of the templates. I will fix this ASAP.
Posted by Mark Carey
|
September 6, 2007 4:10 PM
Posted on September 6, 2007 16:10
I got the impression that AjaxRating for MT4 would install the database tables automatically, but I couldn't get AjaxRating to work until I had queried "ajaxrating.sql" on my MySQL database manually. Is this a bug, or did I misread the documentation?
Posted by wolf
|
September 7, 2007 1:36 AM
Posted on September 7, 2007 01:36
wolf, the tables should be installed automatically.
Is your MT4 install a "fresh" one, or did you upgrade from a 3.3x version of MT? If it is an upgraded install, did you have Ajax rating installed before upgrading to MT4?
Any other details about your install would help (version of MT, perl, mysql, etc.)
Posted by Mark Carey
|
September 7, 2007 9:37 AM
Posted on September 7, 2007 09:37
wolf, thanks for the report. It was a bug. It sounds like you are okay now since you have installed the tables, but I have just released a new version that should install the tables automatically.
Posted by Mark Carey
|
September 7, 2007 11:33 AM
Posted on September 7, 2007 11:33
Mark, it looks like you figured something out on your own, but just for good measure, it was a fresh install. However, since I didn't originally have the Template Installer installed, some errors might have occurred because of that. Let me know if you still need details on tool versions.
Posted by wolf
|
September 7, 2007 12:24 PM
Posted on September 7, 2007 12:24
hi. my problem is same that Lee W.
but i am sure that plugin installed successfully.
I did all the install steps word for word. I can get the rater to show up on the entry page and the hover and click all work. The problem is when you go away from the page and come back the rating is back at zero. I have it set to "Rebuild Entry Only" on the setting page. and i have test other options.
i have rebuild all templates manually but my problem is same!!
my mt-vote.cgi permission is 755 and i had reinstalled plugin but i have same problem yet!!
sorry for my bad english language.
my site address and post Permalink :
http://ppcadvert.net/2007/10/test.php
Posted by amir
|
October 6, 2007 12:02 PM
Posted on October 6, 2007 12:02
attention : my mt version is 4.01 .
thanks
Posted by amir
|
October 6, 2007 12:07 PM
Posted on October 6, 2007 12:07
amir, can you confirm that the tables for Ajax Rating have been created in your database? With MT4, there have been some cases where the tables are not getting created automatically. If this is the problem, you can manually create the tables using the SQL code included in the download file.
I am working on a workaround to this issue, and will release that once it is ready.
Posted by Mark Carey
|
October 8, 2007 10:52 AM
Posted on October 8, 2007 10:52
hi Mark Carey .thank you of your answer and best plugins.
my problem was solved with manualley create the tables.
thank you
Best Regards
Posted by amir
|
October 8, 2007 1:41 PM
Posted on October 8, 2007 13:41
I've also got an MT4.01 system(fresh) where templates didn't get installed. This is done during the upgrade process, right? Should the progress window show an item for it? If so, mine didn't at all; just went straight to the confirmation of installation. I'm adding the tables manually, but let me know if there's any information that might help.
Posted by Su
|
October 9, 2007 5:31 AM
Posted on October 9, 2007 05:31
That's with 1.11, by the way, since you said the bug was resolved.
Posted by Su
|
October 9, 2007 5:35 AM
Posted on October 9, 2007 05:35
Su, as you can from the Installation instructions above, the template are not installed automatically during the upgrade process (hint: see step 9). ;)
One of the reasons that the templates are not installed during the upgrade process is that the plugin would have to do so for every blog on the system, which would be overkill for sites with many blogs, but who only want to use the plugin on one or two of them.
Posted by Mark Carey
|
October 9, 2007 2:04 PM
Posted on October 9, 2007 14:04
Is it possible to set up Ajax rating so that ONLY the blog administrator can post a rating - similar to what individuals are permitted to do when they rate a book on Amazon.com?
Thanks.
Posted by SomeGuy | October 11, 2007 2:51 AM
Posted on October 11, 2007 02:51
I just got report from someone that she's seeing the "You've already voted" pop if anyone's voted on that item previously, and unfortunately confirmed it. (This isn't a shared IP situation, and I created entries that only the two of us would have voted on in alternation, etc.) Can you think of anything obvious that might create this situation? I'm not using a custom rater in this case, so everything should be coming straight out of the plugin.
Posted by Su
|
October 16, 2007 1:05 PM
Posted on October 16, 2007 13:05
Su, the first thing would check is to go into the vote table and see what IP address is being recorded for the "first vote" on a object. Does it match the actual public IP of the person who made the vote?
The plugin uses the standard MT $app->remote_ip function to do both the IP checking and for recording the IP for a vote. The only way that "already voted" message would appear for two different client IP is if MT's remote IP function is seeing the same IP address. My hunch is that traffic is going through a proxy server or similar, such that all votes appear to be coming from the same IP. Another thing to check is the see what IP is reported when each of you post a comment, do your real IPs appear?
Posted by Mark Carey
|
October 16, 2007 1:54 PM
Posted on October 16, 2007 13:54
I've already got someone on this(Annoyingly, I don't have all the access to the server/db/etc. that I'd like.) After a bit more back and forth, I remembered a similar problem on a project a long time ago involving comment IPs. And yup, it was a proxy server nobody told me about. Will report back.
Posted by Su
|
October 16, 2007 2:00 PM
Posted on October 16, 2007 14:00
It was their proxy server. Seems this stuff should've been getting handled by something in there, and it just wasn't taking effect.
Posted by Su
|
October 16, 2007 5:36 PM
Posted on October 16, 2007 17:36
With a no error install of Ajax Rating 1.11 on an MT4.01 static blog, configured to "rebuild entry only", what might prevent a persistent vote count? No tally shows even after full site rebuild. Any direction would be appreciated.
Posted by jEFF | October 21, 2007 1:42 PM
Posted on October 21, 2007 13:42
jEFF, the first thing to check is to make sure that the Ajax Rating tables have been created automatically. There should be two tables that begin with mt_ajaxrating_. If not, then you should be able to create them manually with the file included in the download zip.
There seems to be a bug in 4.01 that affects at least some users, in which tables are not created automatically when a plugin is installed. I will soon be releasing a version that works around this bug.
Posted by Mark Carey
|
October 22, 2007 9:32 AM
Posted on October 22, 2007 09:32
Mr. Carey.
I can view the ajaxrating.sql file and can access the MT mySQL db with SQLyog tool, but haven't a clue how to manually create the tables.
Please point me toward a simple tutorial, or an alternative tool. SQLyog is a great backup/restore app, but otherwise over my head.
TIA
Posted by jEFF | October 22, 2007 2:07 PM
Posted on October 22, 2007 14:07
Mr. Carey,
OK, discovered how to execute the query provide with the ratings plugin and yes the tables were previously missing. With a template update and site publish, the vote count finally increments plus prevents repeat votes.
Thanks again for your attention.
jEFF
Posted by jEFF
|
October 22, 2007 2:45 PM
Posted on October 22, 2007 14:45
I am attempting to install this plug-in on MT Enterprise 1.5 running on Windows IIS and MS SQL Server 2005.
The installation ran fine, and I have verified that the SQL database was extended with the two new tables. The plug-in also appears enabled within the MT tool under the Main settings section.
However, when I try to edit the plug-in settings for any particular Blog, the plug-in does not appear available available. I also tried creating a new Blog, but the plug-in was also not listed.
Does anyone have any experience using this plug-in on MT Enterprise 1.5 on MS SQL Server? Any other ideas on what I could try?
Thanks
-jcc
Posted by jcc
|
October 23, 2007 12:05 PM
Posted on October 23, 2007 12:05
jcc, can you confirm what exact version of the plugin you have installed? Is it the regular plugin or the Pro version? This sounds like a bug that should have been fixed recently. If it is not fixed in the version in the download file, I will get that fixed.
Posted by Mark Carey
|
October 23, 2007 1:03 PM
Posted on October 23, 2007 13:03
Mark, thanks for the quick response.
I am using version 1.11 of the Regular plug-in.
My customer is interested in the Pro version, but I just wanted to verify that it works on our setup before we purchased.
Thanks!
-jcc
Posted by jcc
|
October 23, 2007 4:43 PM
Posted on October 23, 2007 16:43
jcc, sorry for the delayed reply on this. I have uploaded a new version that should address this issue. You can download it from the same "download now" links above. The new version is v1.15.
Please let me know if this fixes it for you.
A note for others who may have had problems with votes not registering after installing on MT4.01, the new version should address that issue as well.
Posted by Mark Carey
|
October 25, 2007 3:10 PM
Posted on October 25, 2007 15:10
I just installed this tonight and I'm getting an error in the Ajax Rating Javascript:
One or more errors were found in this template.
* at line 32 is unrecognized.
* at line 59 is unrecognized.
So far can't get it to work since that part wont let me save and publish the template
Posted by KimonoStereo
|
October 26, 2007 3:55 AM
Posted on October 26, 2007 03:55
KimonoStereo,
Thanks for you report. This was my error, I include the "Pro" version of that template in the download file (new one uploaded yesterday). I have just uploaded a new version (v1.16), which has the correct template. Down from the download links above, but important: you will need to reinstall the Ajax Rating templates after you install the new version.
Posted by Anonymous | October 26, 2007 12:36 PM
Posted on October 26, 2007 12:36
Okay I installed the 1.16 and while it seems to work, when I reload the page, the votes don't seem to be sticking.
I did a complete reinstall and rebuilt the site but still can't seem to get this to work.
Do I need to reinstall the mysql tables again?
Posted by KimonoStereo
|
October 26, 2007 8:30 PM
Posted on October 26, 2007 20:30
Okay, I figured it out! The permissions for the CGI were wrong! DOH!
Posted by KimonoStereo
|
October 28, 2007 3:10 AM
Posted on October 28, 2007 03:10
I'm using MT 3.35 and MySQL 4.1.7.
I followed the instruction but I can't find the setting at step 7.
The two data tables are created in the database automatically and I can see the ajax rating plugin is there when I click "system menu" at the top horizontal menu and click "plug in" at the left vertical menu bar. but there's no link for setting there. yes, i know it. but when I choose a blog from the DDL and click setting from the left menu and click plugin tab, ajax rating plugin is not shown.
Did I failed installation? Please let me know possible problems. I have no idea from where the MT retrieves plugins shown in the list here. mt_plugindata table is empty.
Posted by M | October 30, 2007 3:52 PM
Posted on October 30, 2007 15:52
M, what version of Ajax Rating are you using? When you go to System Overview > Plugins, what version number is shown for Ajax Rating?
Note that there was a bug that was preventing the plugin from appearing under blog plugin settings, but that should be fixed in the most recent version, v1.16.
Posted by Mark Carey
|
October 31, 2007 9:34 AM
Posted on October 31, 2007 09:34
Mark,
Thank you for your reply. It was v1.11. I downloaded v1.16 and it worked.
Posted by M | October 31, 2007 8:50 PM
Posted on October 31, 2007 20:50
Hi there,
I'm tryin' to use Ajax Rating with mootools (1.11) framework installed and I have some incompatibility issues with Internet ExploDer 6.
Have you ever found other conflict between the prototype.lite.js and mootool framework? How can I embed the prototype code in my installed mootools?
Posted by notpill
|
November 16, 2007 10:20 AM
Posted on November 16, 2007 10:20
Hi,
I've uploaded and installed ajax rating successfully on my web site. but when I add any rating code, it doesn't record anything in database.
My mt version is 3.3, but this plugin doesn't create database automatically. though I created it manually with the sql code inside zip file.
all permissions are correct, but no data recorded in database and other settings seem to be ok.
It's driving me crazy.
would you please help me. my web site address is http://majid.hajali.ir
Posted by Majid | December 7, 2007 5:36 AM
Posted on December 7, 2007 05:36
I like the plugin, Great Work, but my StarRating (5 stars) doesn't show up. ViewSource shows that the parsed HTML code is there. This happened with CommentSubscribe before, but the recent version update fixed that problem. Not sure what's going on. I use dynamic publishing, MT4.1+. Thanks.
Posted by anon
|
January 29, 2008 1:54 PM
Posted on January 29, 2008 13:54
We're in the midst of installing Pligg for a Digg-type site. Anticipated traffic is fairly high, based on the existing MT blog it will be connected with: maybe 10K-15K visits/day. Do you have any comments on how using AjaxRating and a new blog instance in the same MT installation might work, performance-wise, compared to a completely separate application like Pligg? Is this a viable alternative?
Posted by tbronson | February 19, 2008 7:14 PM
Posted on February 19, 2008 19:14
Dude, I have to tell you first that your plugins on the surface seem great. But I have to admit that they are a BITCH for a new moveabletype user to execute on. Frankly, I haven't been able to successfully implement ONE of these plugins. They continually overwrite my templates, and I end up having to uninstall every one of them. I'll admit that my own ignorance of the nuances of template management may be tainting my experience, but still ... a good installer is worth the effort if you want you work to be accessible to more than just the "technorati" -- which I once belonged to, but obviously, no longer do.
Maybe I'm not as tech saavy as I thought. But bottom line is that if you want broader adoption (and I would pay for some of these) you have to GUMP (as in Forrest Gump) your directions and install. Take a step back and ask if the average Moveable Type user could successfully install any of these plugins? Blogs are simply content management and publication tools for the masses. I gotta tell you, the masses heads would spin here.
I'm not filled with enough hubris to say that maybe I missed something. I could be just dumb. But help me out here. I'm sure I just don't know the ins-and-outs of Moveable Type ... but neither does most of the population. Any advice?
Matt
Posted by Matt
|
March 17, 2008 9:45 PM
Posted on March 17, 2008 21:45
Hey Mark - wonderful plug-in. Trying to install on a new MT4 install for a new project I'm working on. The tables were generated properly, but I'm having issues building the templates in the settings area. I'm pretty sure this is related to the fact that my server requires me to specify my path specifically in each CGI file (I can't use the standard "use lib" MT code - I have to use C:\Domains\....\mt\"). I've tried tweaking the paths in CMS.pm, with no avail. I'm now getting a lengthy error message that goes something like "failed loading package TemplateInstaller::App::CMS for routine TemplateInstaller::App::CMS::install_blog_templates: Bad name after yaml' at [Deleted for posting]\plugins\TemplateInstaller\lib/TemplateInstaller/App/CMS.pm line 15. Compilation failed in require at (eval 39) line 1. at C:\domains\beyondmasculinity.com\wwwroot\cgi-bin\mt\lib/MT.pm line 2121 MT::handler_to_coderef('MT::App::CMS=HASH(0x1a4dc80)'," and that continues on for many more lines! Any simple solutions? Thanks very much!
Posted by thoppe
|
April 2, 2008 4:05 AM
Posted on April 2, 2008 04:05
Hi Mark,
i know you are currently on vacation, but i'm facing a big problem,
i'm currently working on a big intranets project, and bought the ajax rating pro version,
i'm currently working on a MT4.1 with enterprise pack, and use a mootools frame work for certain effects, ( i try de install it, but it did'nt solve my problem)
installation is ok, database table have been installed, same for the ajax_rating.css and js, i've put the template tags as follow:
">
for people who click on the title of an article vote on the current article (the way the clients want it)
then i want the list of the three most recently voted article to appear in a sid bar, as follow:
">
by
the issue is simple in fact but i gave you the more information i can ( in a non so perfect english :) )
NO VOTE REMAINS!!!! it actually count it in ajax, but while i'm refreshing the pages , it comes back to 0
hope you'll find some times to answer my request,
you have my info via linked in (i contact you recently), feel free to contact me if you think of something that might be helpful,
merci d'avance,
KL
Posted by KL
|
April 10, 2008 11:08 AM
Posted on April 10, 2008 11:08
just a precision, seems like you're plugin doesn't work with mootools framework wich is a real problem for me, is there any way to fix this?
Posted by KL
|
April 11, 2008 6:54 PM
Posted on April 11, 2008 18:54
KL,
Out of the box, the javascript component is based on prototype lite and moo.fx. That said, it should be possible to customize the js file to work with mootools or any other framework.
Posted by Mark Carey
|
April 12, 2008 9:05 AM
Posted on April 12, 2008 09:05
database table is empty. the ajax doesn't seem to work. fyi, i'm also using jquery. is it possible it conflicts with prototype?
Posted by Rizky | April 23, 2008 3:39 PM
Posted on April 23, 2008 15:39
Hi Mark,
First of all, I would like to applaud you for your work. It is amazing how easy it is to install and to use it.
I have a bit of problem though. I installed MT 4.1 under an addon domain, it is not the main domain I signed up with my web host (hostgator). Lets say the main domain name is main.com. I installed Ajax Rating Plugin basic under one of the addon domains (say addon01.com) and it is working fine.
Now I made another blog using the same MT 4.1 with a new domain name(say addon02.com). The new domain name is also an addon domain under the same main domain (main.com).
So it is like this.
main.com (MT3.33 installed)
|
|
---addon01.com (MT4.1 installed and Ajax Rating Basic)
|
|
-- addon02.com (newly made using MT4.1 installed under addon01.com)
addon01.com is fine. Ajax Rating works great. But Ajax Rating doesn't work in addon02.com. I can rate. But The rating goes back to nothing once I leave the site and come back to the site.
What can I do? Does Ajax Rating have to be installed in the main domain?
Posted by hiro
|
April 30, 2008 10:16 PM
Posted on April 30, 2008 22:16
I am looking forward to using the PRO version on a handful of sites, as I keep coming up with more ideas for it. But for now, I am still working on getting my test site (MT3.3) to work.
CURRENT PROBLEM: No auto-rebuild is occurring. I have tried "rebuild entry" and "rebuild index, category, entry" in the settings. And have rebuilt the AjaxRating js template and my entries such as:
http://www.jokesbykids.com/ahchoo-28332.php
BACKGROUND: The site is published to a different URL than the MT install, so I created the modified mt-vote.cgi you recommended for Majid (can't find that comment stream today, but it helped me yesterday). I also needed to copy the /cgi-bin/mt/plugins/AjaxRating/lib/ to /cgi-bin/mt/extlib. Not sure why .. but that did allow me to write to the database (which was my first problem.)
Here are more sample pages:
http://www.jokesbykids.com/liar_grass-28329.php
http://www.jokesbykids.com/beep-29091.php
Thanks!
Posted by Bfeldman
|
June 18, 2008 12:55 PM
Posted on June 18, 2008 12:55
Hi Mark ... thank you for your great plugin
there is just one thing i want to say , can you do something so that after voting the stars become non-functional ?
because it's somehow bothering that after a voting you can again click on the stars and choose a new score though it will not be really saved.
Posted by ebliser
|
July 11, 2008 4:12 PM
Posted on July 11, 2008 16:12
Hi Mark,
Can I install this plug-in with Oracle at the back end?
Posted by Deepak | October 20, 2008 4:07 AM
Posted on October 20, 2008 04:07
Hi Mark,
Not sure if you're still around on this thread given the spam, but just in case... is there an easy way to display the ratings without the Ajax ability? I'm thinking I might like to be able to show the stars in the widgets or category pages, but without letting people make a rating themselves before they've read the whole thing.
Thanks
Pete.
Posted by Pete
|
October 28, 2008 12:50 AM
Posted on October 28, 2008 00:50
Not sure if you're still around on this thread given the spam, but just in case... is there an easy way to display the ratings without the Ajax ability? I'm thinking I might like to be able to show the stars in the widgets or category pages, but without letting people make a rating themselves before they've read the whole thing.
個別指導塾
Posted by 個別指導塾 | February 28, 2009 3:53 AM
Posted on February 28, 2009 03:53
Hi there - I bought this script today, installed it, and have been troubleshooting. Here's a screen capture of the javascript errors I'm dealing with - can you assist please? http://www.johnhartstudios.com/bc/ajaxrating_prob.jpg
Posted by Steph | June 3, 2009 10:43 PM
Posted on June 3, 2009 22:43
Please disregard - we got it functioning. Thanks for a great script.
Posted by Steph | June 4, 2009 2:14 PM
Posted on June 4, 2009 14:14
Hi Mark -
I'm working on trying to get this to work with our coder at Baristanet.com, and have been unable to do so successfully - more specifically, it won't rebuild or "keep" the votes once they're made on comments. It seems to have created the tables properly in MySQL on the backend, and everything in MT4 feels good, and there are no errors, but no matter what the votes seem to be saying on-screen, it never rebuilds the individual archive, or any of the options that the plugin makes available.
You can see it here: http://www.baristanet.com/jenn_test/ - please let me know if you have any ideas or if we could pick your brain via email. We're really psyched to try and implement this plugin if at all possible - tom (at) baristanet (dot) com.
Best,
Tom
Posted byTom
|
June 7, 2009 5:19 PM
Posted on June 7, 2009 17:19
great script! thanks
Posted by Alex | June 20, 2009 12:02 PM
Posted on June 20, 2009 12:02
Hi i am Ajax rating plugin in one of my movable cms project.The prototype js and jquery creating problem due to inclusion on same page.So i havechanged the ajax call of rating plugin to jquery ajax call.But now its giving me error and not republishing my entry.Entry rating get saved.But it shows after republish entry manualy.Please solve my problem.I am doing like this.
$.ajax({
type: "POST",
url: "/cgi-bin/mt/plugins/AjaxRating/mt-vote.cgi",
data: 'obj_type='+type+'&r='+r+'&obj_id='+id+'&blog_id='+b+'&a='+a,
success: function(responseData) {
updateRating(responseData);
}
});
}
and the output is:-
Can't call method "language" without a package or object reference
Posted by vijay singh | July 1, 2009 2:28 AM
Posted on July 1, 2009 02:28
good
Posted by شات صوتي | January 19, 2010 6:07 PM
Posted on January 19, 2010 18:07
about "One Vote per IP Address"
If we don't wanna use "One Vote per IP Address", can we custmize your plugin?
And may I teach me how to custmize, if possible...
sorry, but my english.
Posted by tokyo_fs | April 8, 2010 4:10 AM
Posted on April 8, 2010 04:10
My client is using a Pro version 1.15 (yes, it is licensed!). I've just applied a tweak to make it work with LimeLight's CDN.
Votes are are received with $app->remote_ip from the CDN (i.e. a limited number IP addresses from the CDN). We can get the clien's IP address, however, from the http://en.wikipedia.org/wiki/X-Forwarded-For header.
The tweak is to lib/AjaxRating/AddVote.cgi in sub vote:
(1) Get an interpreted remote_ip
my $remote_ip = $app->remote_ip;
my $fwd_chain = $app->get_header('X-Forwarded-For');
$remote_ip = $1 if $fwd_chain =~ /^(\d+\.\d+\.\d+\.\d+)/;
(2) Use $remote_ip instead of $app->remote_ip in the load and new $vote objects (i.e. 2 places)
Posted by Rob Staveley | May 6, 2010 11:19 PM
Posted on May 6, 2010 23:19
goood that was helpful for people like me who are about to take the plunge into getting fit and healthy!
Posted by سعودي كول | April 2, 2011 12:07 AM
Posted on April 2, 2011 00:07
goood that was helpful for people like me who are about to take the plunge into getting fit and healthy!
Posted by سعودي كول | May 5, 2011 9:19 AM
Posted on May 5, 2011 09:19