Get your Users Poking with BP Poke Plugin
Bp Poke plugin allows your users to poke each others just like facebook. If you are a fan of poking ( I am not, I never really understood the purpose of it, may be I am too naive to understand), here we have the poking plugin available for you today. Anu (@anusharma), our very own emerging rock star created this plugin on the demands of our premium members. Today, We are happy to release it as a free plugin for everyone.
Features:-
You already know π poke & poke back, that's it.
Screenshots:-
Glad you asked. Here is the poke button on user profile:- Poking a User:- Trying to Poke again without getting a poke back:- Poke Notification List:-
Download & Installation:-
https://buddydev.com/plugins/bp-poke/
Please do provide your feedback in the comments and don't forget to show your appreciation or Β let Anu know if she missed something. I have been mentoring her on WordPress/BuddyPress based development and It is a matter of great joy for me to see her finally picking up the things. Going good girl π
LOL Brajesh! I think that poking is just a way for a user to nudge you to get your attention without actually sending a message or saying anything. It can get annoying when one pokes you everyday. To me it is like a shy persons way of trying to get your attention. Either way I am sure others that like poking will love this plugin. Great job Anu and Brajesh!
Thank you Ben π
looks good – but would like to see this less hidden away under settings – should be on your profile page so you can see all your pokes easily or better under single activity tab, am going to add button to activity wall as well so it is easy to poke a user
Hi Greg,
Just updating here that Anu moved it under activity tab after your message.
@sbrajesh,
just to let you know that the snippets for the poke count shows as 1 even if you are a new member without any poke.
Naijaping
hi Abbey,
Where do you see that count.
Can you please post a screenshot?
I used the snippets posted here: https://buddydev.com/snippets/tag/bp-hacks/
to show the poke count in my sidebar
@sbrajesh, I used the snippets posted here: https://buddydev.com/snippets/tag/bp-hacks/
to show the poke count in my sidebar
Hi Abbey,
I have updated that code. Please use the updated code now. That will work.
Found a bug, when you have the Poke plugin enabled and disable Activity Streams from Settings | Buddypress | Components | uncheck Activity Streams. It breaks the site. I get and error on line 20 on bp-poke-screens.php.
Running WP 3.6.1 and BuddyPress 1.8.1
I was not able to access the the admin page, I had to comment out line 20, then I was able to get to the admin page and deactivate the poke plugin.
Hi!
Really cool plugin!
Can anyone tell me how I can get this function to work in a widget. I would like for users to able to see who they poked and who poked back in a widget. Also I would like for users to get linked to the profile by clicking on the users(image) in the poke widget.
Kind regards,
Ishanna
Hide the button if user is not logged in.
I would also like to rename the word "poke"… it would be great to have this option…
Cheers!
Hi Mihail,
My apologies for the issue. Please upgrade to 1.0.3. We have fixed the issue with the button. To change the text from poke to anything else, please translate the languages file included with the plugin.
Hope that helps.
I have the same question, and your answer was kind of confusing. "Translate the language file"?
would merely like the button to say "Tap" instead of "poke", can you please help?
Hi Jay,
Here is an example translated file, Please put it in your plugin/bp-poke/languages/ directory and It will change all poke to tap.
https://www.dropbox.com/s/ah5187skw9gqc17/en_US.mo?dl=0
Also, Here is the po file that I translated, you can change it and generate any text.
https://www.dropbox.com/s/i0makmcqobzlrak/bp-poke-tap.po?dl=0
Hope that helps.
How can users remove pokes if they don't want to poke back?
Hi,
Currently, there is no way to do that. I did not add it in the current version.
Do you want to allow clearing individual pokes, or all pokes together for the user? Please do let me know and I will add it π
Is it possible to have a link to profile on the "poke'r" username so that the poked can see that profile?
Also, It would be nice if the plugin could display the member avatar…
Nevertheless, great plugin!
Thanks!
Hi Gotard,
Thank you for the comment.
1. I have already added linking to the username in version 1.0.2. Displaying avatar is a good Idea. Please do let me know your views about the first question above and while upgrading, I will add avatar display too.
Thank you
Brajesh
I was think that it could be a great idea to clear individual pokes (by the user itself).
On the other hand, it may be good also sending a message to the "poker" telling him or her that the "poked" one didn't like the poke… (Just a suggestion…)
I also think that displaying avatar is a good Idea. At the very least, the "poked" can see the "poker" avatar…
Great plugin, have a few question I'm hoping you can please help me with:
1. I've switched the word poke to something else, but can't seem to figure out how to change to url to the poke tab(www.xxxx.com/members/me/activity/pokes). How can I switch it to for ex. (www.xxxx.com/members/me/activity/bug)
2. Under the poke tab, is where all the members who have poked me are listed, but the member itself isn't hyperlinked.(me bugged you. Bug Back). How can I hyperlink "me".
3. When a member pokes me, I don't see the notification, how can I get notify whenever someone pokes me?
Hi Ricky,
Thank you for the comment.
1. I have updated the plugin. Please upgrade to version 1.0.2 and put
[sourcecode language="php"]
define('BP_POKE_SLUG', 'my_slug');
[/sourcecode]
In bp-custom.php and it will take the new slug.
2. Fixed now. It will link to the user now.
3. It is in the notifications menu of BuddyPress. Do you have it enabled on your site?
Thank you
Brajesh
Just two more things:
notifications message on menu are not being translated
This string "poked you" on bp-poke-screens.php is not being translated too
<?php printf( __( '%s poked you', 'bp-poke' ), bp_core_get_userlink( $poke['poked_by'] ) );?>
Thank you Brajesh for the reply,
1. worked beautifully. Thank you. However, I notice that when I click on http://mysite.com/members/admin/activity/punch/, it displays a list of activities, not the list of pokes.
+1
Another great plugin, your site become one of my main source related to buddypress
I have question maybe not related directly with this plugin,
What function used in this plugin that could prevent access from other members, because I want to prevent access tab content from another plugin..even I hide navigation, member could still access it through direct url
Hi Sai,
Thank you for the comment.
I am sorry but I don't understand your issue. If you are trying to hide some tab content, are you hiding the navigation using css?
Why not check for access based on current component and then redirect back?
Thanks for direction, using bp core componen slug I could modify to prevent access tab content
You are most welcome Sai π
it would be great to extend this module with the following:
– set limit on number of pokes. If limit is reached then goto paid membership
– set restriction on user roles, or user memberships
I know there are many membership plugins, not sure how to tackle this problem. Well, you could consider programming an extensive role / membership based API for BP. So that restrictions and memberships are centrally managed.
bug ? when a user is deleted, i can still poke that user. However the username is blank though.
Hi Wannabe,
It may be a bug. Haven't tested yet. Need this weekend to test and will update you.
What is the procedure the setup buddypress poke plugin on my website
Hi Xyz
Simply activate the plugin and you are done.
PS: Hope Xyz is not your real name π
Not being able to get any notifications too. Sad story π
Hi Markus,
Thank you.
I tested with BuddyPress 2.8.2 and I can confirm the issue. I will be pushing an update by early tomorrow and reply back here.
Thank you
Great!! thank you π