Hello,
My apologies if this is something too basic to be asking. I'm developing a set of plug-ins that allow the user to rank a message. I have three plug-ins that create three buttons for 3 different ranks. That part works great and the rank is stored in an SQL table with the user_id and the message uid.
The problem I'm having is with another plug-in to show the rank for a message already rated by the user so they can see what they did. I've tried various hooks to get the uid so I can use it for the SQL query but the solution evades me.
If you can provide example code and instructions that would be greatly appreciated. I need the result to be displayed when a message is viewed.
I suspect it's probably a combination of code for both the javascript and php files in the plug-in directory. Thanks in advance for your assistance!
Regards,
Phil in Vancouver