Is there a way to add a poke button to the user profile with the same functionality to Facebook's poke button? If user A clicks on the poke button of user B, then user B should get a notification similar to "You have 1 connection request" when someone tries to request a connection to user B, e.g. "2 user(s) have poked you". If user B clicks on that link ("2 user(s) have poked you"), then user B should be able to see who has clicked on their poke button.
I tried this:
Components > Community Builder > Field Management > New Field
Type: Fields Delimiter
Tab: Profile
Name: cb_poke
Title: Poke Button
In Edit Window add:
<FORM><INPUT TYPE="BUTTON" VALUE="Back" ONCLICK="function_poke()"></FORM>
Required?: No
Show on Profile?: Yes, on 1 line
Display field title in Profile?: No
Published: Yes
My problem: I have to write the function_poke().
My question:
1. How do I get the user name of the person who clicked on user B's poke button?
2. How do I realize the notification feature for user B?