Display Filtered Logs on Front End?
-
First of all, this plug-in is amazing. Was using CubePoints up until this morning when I lost patience with the lack of documentation and got fed up. Your codex is thorough and so helpful that I (someone who doesn’t know much php at all) was able to hook points into another plugin I’m using… and I got SO excited ??
My question is: now that I’ve figured out how to have points added once a day per post for “Check-ins”, I’m trying to figure out the best way to display them on the front end of the site… I’ve figured out the basic log call:
<?php // The Query $query = new myCRED_Query_Log('ref=check_ins'); // Show results $query->display(); ?>
Which returns something like:
UserDatePointsEntry
AdminJuly 14, 2013 10:41 am2Checked in at Pomodori!
AdminJuly 14, 2013 10:38 am22 Points for checking in to Testing!
UserDatePointsEntryWhat I’d really like to return is something more like:
(small avatar) Admin Checked in at Pomodori! (13 mins ago)Is this possible? It seems like it might be from your codex, I’m just in over my head a bit.
Thanks again for your awesome work, really!
- The topic ‘Display Filtered Logs on Front End?’ is closed to new replies.