This is the same for every user so the initial page build can be cached..
Once the document is ready ajax request checks if the user has liked the current topic and then displays like or unlike button..
Upon clicking the button ajax request is sent to save the updated topic likes..
The easiest way to install this plugin is to go to Add New in the Plugins section of your blog admin and search for..
Extract the contents of the zip file into your wp-content plugins directory.
Activate the plugin through 'Plugins WordPress...
The easiest way to do this is to pass in attributes when calling bbp topic like button ..
You can pass in attributes to set custom user id or topic id, set before or after html, customise the button text or add custom classes to the button..
It's also possible to implement the filter get bbp topic like button to make any final changes to the rendered html...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more