i realize that boost support comment
how to make it support voteAPI or fivestar
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | boost-577180.patch | 3.35 KB | mikeytown2 |
| #12 | boost-577180.1.patch | 3.97 KB | mikeytown2 |
| #5 | boost-577180.patch | 3.4 KB | mikeytown2 |
i realize that boost support comment
how to make it support voteAPI or fivestar
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | boost-577180.patch | 3.35 KB | mikeytown2 |
| #12 | boost-577180.1.patch | 3.97 KB | mikeytown2 |
| #5 | boost-577180.patch | 3.4 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedhttp://api.lullabot.com/api/search/6/votingapi
http://api.lullabot.com/api/search/6/fivestar
Are there any other modules out there that have a hook?
http://drupal.org/project/modules?filters=drupal_core%3A87%20tid%3A60&so...
Comment #2
mikeytown2 commentedComment #3
dbeall commentedI don't know how to find out about hooks and what modules use them, the project pages do not specify..I am such a noob.
I use event, weblinks, forum, Edit(guestbook) they are submitted by anonymous and authenticated users.
Edit again, poll.. this list could go on and on.
Comment #4
mikeytown2 commentedHooks are somewhat hidden; found them in the api.txt doc
http://api.lullabot.com/votingapi_add_votes
hook_votingapi_insert()
http://api.lullabot.com/votingapi_delete_votes
hook_votingapi_delete()
Also found this code in the abandoned cachestatic module; which was a fork of boost.
Comment #5
mikeytown2 commentedComment #6
dbeall commentedI may be missing something..
My test pages http://www.davebeall.com/node-gallery
Galleries have 5star voting on photos
added patch
uninstall boost, re-install boost with patches, run cron, preemptive cache primed as normal.
goto: photo page, enter vote, takes vote,
navigate away from page, clear browser cache,
go back to page where i voted,
vote not recorded.
advise as how to test...
Comment #7
dbeall commentedadd note: anonymous vote, login, clear cache with admin menu, log out, shows vote
Scratch that, not keeping vote..
Comment #8
mikeytown2 commentedLooks like I need to install this module on my test setup; was hoping the cache static author knew what he was doing. Marking this needs works since it seems to not work as one would hope.
Comment #9
dbeall commentedyou want in my site?
Comment #10
mikeytown2 commentedna, I'll bug you if I do need it though.
Comment #11
mikeytown2 commentedyeah, reason it didn't work was I forgot to change the function name... dumb. Anyway test this out.
Comment #12
mikeytown2 commentedadded to the boost_has_site_changed() function as well
Comment #13
dbeall commentedworks like a champ ! takes anonymous vote, clears cached page, rebuilds page. revisit page, vote is there.
I am using the rules cron trigger
for the record used the .1 patch
Comment #14
dbeall commentedHere is the boss on the job
http://www.davebeall.com/node-gallery/building-shop-lake/footerboss006jpg
Comment #15
mikeytown2 commentedcommitted