I need to make a “like” button, quite similar to what you would use on Facebook. (Seems odd there is only 1 plugin in existence currently. It is not quite what I need unfortunately)
Workflow would look something like this:
1: Page load > like buttons grab “like” value from entry
2: User clicks like > like button refreshes to new value > new value written to entry (no page refresh)
3: Like button for unique entry cannot be clicked by the same user twice
I’m am using:
- The External Entries plugin (selects and updates)
- jQuery / AJAX (inline posts and functionality)
- PHP when necessary
I’m not very experienced with AJAX (yet), so I’m looking for some advice on how I can dynamically modify EE database tables without traditional php methods. Also I’m trying to decide on the best way to accomplish #3; ip address? Session variables?