hey webbber what's up...
i think you are confused thinking i have some new rating system lol. i'll send you the URL to the one i used and explain how i made it not need a page refresh.
http://forums.cutenewsru.com/news-ratings-t260.html
The only thing I do different than just post it on my {full-story} with it's tag is that I make a separate template for the {rating-form} alone.. A template called something like 'ratingform' that literally only has this in the full-story template:
- Code: Select all
{rating-form}
Then I create an iframe where I want to put the rating-form and I make a little php file called something like iframe-ratingform.php and in the code I put something like this:
- Code: Select all
<?php include("admin/head.php"); ?>
<?php
$template = "ratingform";
include("admin/show_news.php");
?>
How do you make the iframe know which rating-form to load? Make the iframe src URL={link=home/post} or my new favorite method
http://www.yoursite.com/iframe-ratingform.php?{title-in-url}.html and it will know to pull up the {rating-form} for your article!
One problem that arises.. you've loaded your full-story twice! The views count goes up +2 cause of this. I asked FI-DD how to fix it. The answer is at
http://forums.cutenewsru.com/weird-%7Bv ... .html#9254
I hope this helps! Any troubles, just ask.