Quote:
Originally Posted by Morrus
I have buttons around the place saying "Review this!". I would like them not to appear if the user has already reviewed it.
Example:
http://www.enworld.org/forum/productforums.php
As you can see every item has a button at present.
|
Gotcha.
You could use that query though it will add more load as it's coming up on every view to those pages.
To minimize, run it on logged in users only (simple check that there is a userid set). Then use $history with your templates to decide if the button shows or not. I can help if you get stuck in any of that.