Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Diego Andrés on February 02, 2011, 02:07:52 PM

Title: Simple Pokes
Post by: Diego Andrés on February 02, 2011, 02:07:52 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2921)

(https://smftricks.com/logos/logo.png) (https://smftricks.com/)

(https://img.shields.io/badge/License-MPL%202.0-248049) (https://img.shields.io/badge/Hooks%20Only-Yes-6041a3) (https://img.shields.io/badge/SMF-2.1-3f73a0)

Simple Pokes
Developed by Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)
Original Developer: Berat "grafitus" Dogan (https://www.simplemachines.org/community/index.php?action=profile;u=113776)




Introduction
Simple Pokes provides a functionality that emulates the FB Pokes system.

Features


Changelog (https://github.com/SMFTricks/Simple-Pokes/blob/master/CHANGELOG.md)
GitHub (https://github.com/SMFTricks/Simple-Pokes)
Title: Re: SimplePokes
Post by: chinaren on February 02, 2011, 10:57:53 PM
It installed okay, but where is it?  I can't find any poking.
Title: Re: SimplePokes
Post by: grafitus on February 03, 2011, 06:09:51 AM
I've added a few images about using of the modification.
Title: Re: SimplePokes
Post by: chinaren on February 03, 2011, 06:43:33 AM
Ah, thanks I see the pokes at the top now, but not on people's profiles.  I  have Ultimate Profile mod loaded though, would that affect things?
Title: Re: SimplePokes
Post by: grafitus on February 03, 2011, 10:39:35 AM
Ooo, okay. I guess we need to add Ultimate Profile support. You can add manuel with below. And I'll add to package soon.

./Themes/default/UltimateProfile.template.php
Code (Find) Select
// Can they add this member as a buddy?
Code (Replace) Select
// I'll poke myself... This is rot, right?!
if (!$context['user']['is_owner'])
echo '
<a href="', $scripturl, '?action=poke;u=', $context['id_member'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['poke_confirm'], '\');">[', $txt['poke_button'], ']</a><br />';
// Can they add this member as a buddy?


Edit: Spelling mistake.
Title: Re: SimplePokes
Post by: kaung on February 03, 2011, 06:48:13 PM
Somehow, all the poke times at my site are saying: December 31, 1969, 04:00:00 PM
Is it happening the same to you all, or probably just a conflict with one of my mods?
Thanks.
Title: Re: SimplePokes
Post by: live627 on February 03, 2011, 06:56:27 PM
Sounds like the timestamps aren't being saved or retrieved properly.
Title: Re: SimplePokes
Post by: chinaren on February 03, 2011, 07:21:03 PM

Thanks!  I'll give it a go.

Quote from: grafitus on February 03, 2011, 10:39:35 AM
Ooo, okay. I guess we need to add Ultimate Profile support. You can add manuel with below. And I'll add to package soon.

./Themes/default/UltimateProfile.template.php
Code (Find) Select
         // Can they add this member as a buddy?
Code (Replace) Select
         // I'll poke myself... This is rot, right?!
         if (!$context['user']['is_owner'])
            echo '
                  <a href="', $scripturl, '?action=poke;u=', $context['id_member'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['poke_confirm'], '\');">[', $txt['poke_button'], ']</a><br />';
         // Can they add this member as a buddy?


Edit: Spelling mistake.
Title: Re: SimplePokes
Post by: winloze99 on February 06, 2011, 11:41:30 AM
Quote from: kaung on February 03, 2011, 06:48:13 PM
Somehow, all the poke times at my site are saying: December 31, 1969, 04:00:00 PM
Is it happening the same to you all, or probably just a conflict with one of my mods?
Thanks.

I have the same problem, but my site say 1 januari 1970 kl. 01:00:00
Title: Re: SimplePokes
Post by: Masterd on February 06, 2011, 03:15:36 PM
Nice mod! :D
Title: Re: SimplePokes
Post by: grafitus on February 06, 2011, 05:56:06 PM
Quote from: winloze99 on February 06, 2011, 11:41:30 AM
Quote from: kaung on February 03, 2011, 06:48:13 PM
Somehow, all the poke times at my site are saying: December 31, 1969, 04:00:00 PM
Is it happening the same to you all, or probably just a conflict with one of my mods?
Thanks.

I have the same problem, but my site say 1 januari 1970 kl. 01:00:00
I don't know why. But 'time' column is '0', that is the exact.

I guess mod didn't like you. ^^
Title: Re: SimplePokes
Post by: chinaren on February 06, 2011, 06:35:53 PM

Thanks!  The below worked fine. 


Now, two three more little things if you would:


Is there any way of adding the poke to the avatar area on the side of the posts? 
Is there any way of making it a small graphic poke button?  (Just throwing some random ideas out here)

For the current profile poke, how can I change it to say: Poke this member  ?


Thanks for your hard work!  Appreciated.
;D



Quote from: chinaren on February 03, 2011, 07:21:03 PM

Thanks!  I'll give it a go.

Quote from: grafitus on February 03, 2011, 10:39:35 AM
Ooo, okay. I guess we need to add Ultimate Profile support. You can add manuel with below. And I'll add to package soon.

./Themes/default/UltimateProfile.template.php
Code (Find) Select
         // Can they add this member as a buddy?
Code (Replace) Select
         // I'll poke myself... This is rot, right?!
         if (!$context['user']['is_owner'])
            echo '
                  <a href="', $scripturl, '?action=poke;u=', $context['id_member'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['poke_confirm'], '\');">[', $txt['poke_button'], ']</a><br />';
         // Can they add this member as a buddy?


Edit: Spelling mistake.
Title: Re: SimplePokes
Post by: grafitus on February 07, 2011, 04:44:03 AM
Quote from: chinaren on February 06, 2011, 06:35:53 PMIs there any way of adding the poke to the avatar area on the side of the posts?
Quote from: chinaren on February 06, 2011, 06:35:53 PMIs there any way of making it a small graphic poke button?
./Themes/{default|your_theme}/Display.template.php
Code (Find) Select
// Don't show an icon if they haven't specified a website.
Code (Replace) Select
// I'll poke myself... This is rot, right?!
if ($context['user']['id'] != $message['member']['id'])
echo '
<li><a href="', $scripturl, '?action=poke;u=', $message['member']['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['poke_confirm'], '\');">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/poke.png" alt="' . $txt['poke_button'] . '" />' : $txt['poke_button']), '</a></li>';

// Don't show an icon if they haven't specified a website.

And copy attached poke.png to ./Themes/{default|your_theme}/images. ;) Finally, poke everyone!!! ^^

Quote from: chinaren on February 06, 2011, 06:35:53 PMFor the current profile poke, how can I change it to say: Poke this member  ?
./Themes/defalut/languages/Modification.{your_language}.php
Code (Find) Select
$txt['poke_button'] = 'Poke';
Code (Find) Select
$txt['poke_button'] = 'Poke This Member';
Title: Re: SimplePokes
Post by: grafitus on February 07, 2011, 04:30:47 PM
Solved time issue. And a few more things. So v1.1 have been released!
Title: Re: SimplePokes
Post by: chinaren on February 08, 2011, 07:39:56 AM
Quote from: grafitus on February 07, 2011, 04:30:47 PM
Solved time issue. And a few more things. So v1.1 have been released!


Thanks Grafy!  I'm in HK at the moment, but when I return I'll sort this out.  Can I just install over the top of the old version, or should I unistall first?
Title: Re: SimplePokes
Post by: ukhalik2 on February 08, 2011, 08:57:07 AM
haha.. Really nice mod.. A new little thing to socialize your forum..

Good Work!
Thanks!
Title: Re: SimplePokes
Post by: grafitus on February 08, 2011, 09:05:26 AM
Quote from: chinaren on February 08, 2011, 07:39:56 AMThanks Grafy!  I'm in HK at the moment, but when I return I'll sort this out.  Can I just install over the top of the old version, or should I unistall first?
You should uninstall the old version first. Then install the new version. ;)

Thanks to all of the incoming thanks!
Title: Re: SimplePokes
Post by: Exochat on February 08, 2011, 09:19:31 AM
Would be good if this could be extended in future so that you could actually poke people with items or even images.
So for example :

Person X just poked you with a sharp stick!

and

Person Z just poked you with a policeman's truncheon!

Maybe allow it so each forum owner can invent their own range of items and they just have to add the ending part of it so its set up for "Person X just poked you with" and then the Admin defines the next part, and it is available on the poke screen?

Just a few ideas to extend what is currently a very good but extremely limited feature :)
Title: Re: SimplePokes
Post by: kaung on February 08, 2011, 03:32:07 PM
Quote from: grafitus on February 07, 2011, 04:30:47 PM
Solved time issue. And a few more things. So v1.1 have been released!

Thank you very much!!!
The installation went smooth as usual and enjoying the new features!
The time fix also work great with the relative time (x min or hour ago) mod! :)

Two tiny things.
- Can you make pokers return to the page they're on after poke?
Currently in display.temp (post page) after poke, they're redirected to profile.
- Also not sure if it's because of cache but i'm having "Ghost pokers". Poke said there are pokes but the poke page said none there.

Thanks! :)
Title: Re: SimplePokes
Post by: grafitus on February 10, 2011, 01:05:01 PM
@Exochat, this is just a simple poke mod. If I add this feature,  the simplicity will be eliminated..

@kaung, I'm working on another mod now. I'm going to make 'redirect', when I finished new project.
And sorry, I don't understand what you mean about "Ghost pokers".
Title: Re: SimplePokes
Post by: kaung on February 10, 2011, 03:05:02 PM
Quote from: grafitus on February 10, 2011, 01:05:01 PM

@kaung, I'm working on another mod now. I'm going to make 'redirect', when I finished new project.
And sorry, I don't understand what you mean about "Ghost pokers".

Thanks. No rush though. :)

As for the ghost pokers, I meant the Poke button in menu says Pokes (#) but on the Pokes detail page said "There are no pokes".
This doesn't always happen but at a random reload of a page.
Looks like the Pokes Total kept coming up without anyone pokiing you.
Title: Re: SimplePokes
Post by: grafitus on February 10, 2011, 04:47:02 PM
Quote from: kaung on February 10, 2011, 03:05:02 PM
As for the ghost pokers, I meant the Poke button in menu says Pokes (#) but on the Pokes detail page said "There are no pokes".
This doesn't always happen but at a random reload of a page.
Looks like the Pokes Total kept coming up without anyone pokiing you.
Yep, I understand. :) To solve:

./Sources/Pokes.php
Code (Find) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

Code (Replace) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

$request = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}pokes
WHERE id_member = {int:me}',
array(
'me' => $context['user']['id']
)
);
list ($total_pokes) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);

cache_put_data('total_pokes', $total_pokes, 3600);
Title: Re: SimplePokes
Post by: chinaren on February 10, 2011, 07:40:30 PM
At the risk of making this a huge mod, another idea from one of my board members.  Could they add a comment (why poked) as well? 


:D
Title: Re: SimplePokes
Post by: grafitus on February 11, 2011, 04:16:34 AM
Quote from: grafitus on February 10, 2011, 01:05:01 PM
@Exochat, this is just a simple poke mod. If I add this feature,  the simplicity will be eliminated..
And the why is probably boredom. ^^
Title: Re: SimplePokes
Post by: Sakae on February 11, 2011, 03:48:09 PM
It ain't showing the Pokes on menu!

Also, there isn't any modification on Subs.php... How to add manually?
Title: Re: SimplePokes
Post by: grafitus on February 11, 2011, 05:35:32 PM
This mod works with "Integration Hooks" (Poke button one of them). So it don't need hard file changes.

I have not any idea about this. But you could try to re-install the mod.
Title: Re: SimplePokes
Post by: grynmoors on February 21, 2011, 02:49:29 AM
Quote from: Exochat on February 08, 2011, 09:19:31 AM
Would be good if this could be extended in future so that you could actually poke people with items or even images.
So for example :

Person X just poked you with a sharp stick!

and

Person Z just poked you with a policeman's truncheon!

Maybe allow it so each forum owner can invent their own range of items and they just have to add the ending part of it so its set up for "Person X just poked you with" and then the Admin defines the next part, and it is available on the poke screen?

Just a few ideas to extend what is currently a very good but extremely limited feature :)


OMG that's hilarious. I'd love to see this.
Title: Re: SimplePokes
Post by: DEEPSNUYB on March 03, 2011, 08:18:05 PM
I have this set up and it works fine but when you test it and poke someone, there is no notification Pokes (1) at the menu above so no one really knows they get poked.

Also as a suggestion.  Maybe you can add an admin section to where:

you can fill a field to say what you want at the top menu.  Instead of it saying POKE.  You can fill the field saying PUNCH.  Cause sometimes people need to get punched in the face.

Also have it send out email notifications that you got poked.

And also put a time restraint on how many pokes you can do in succession so someone wont just sit there and poke someone constantly for 5 minutes.
Title: Re: SimplePokes
Post by: DEEPSNUYB on March 05, 2011, 11:33:57 PM
Ok folks. REMOVE THIS MOD. INCOMPATIBLE WITH THE LATEST VERSION OF SMF.
Title: Re: SimplePokes
Post by: grafitus on March 06, 2011, 04:29:40 AM
Are you sure that is incompatible?
Title: Re: SimplePokes
Post by: DEEPSNUYB on March 08, 2011, 02:23:22 AM
Yes.  Did a Package Manager install and manual install on a vanilla board.
Title: Re: SimplePokes
Post by: grafitus on March 09, 2011, 10:49:33 AM
I have tried again a little bit ago. It has just been installed perfectly...
Title: Re: SimplePokes
Post by: Maever on March 09, 2011, 11:42:29 AM
Cool mod, thank you.
Title: Re: SimplePokes
Post by: DEEPSNUYB on March 10, 2011, 01:01:27 AM
Quote from: grafitus on March 09, 2011, 10:49:33 AM
I have tried again a little bit ago. It has just been installed perfectly...

Maybe I need to test it from two different IPs?  I logged in my admin account and POKED a fake account I created.  I then logged in the fake account and saw no notification of a POKE being made but clicked the POKES and saw there was one poke made by the admin
Title: Re: SimplePokes
Post by: swan on March 11, 2011, 11:57:39 AM
I have it and I thimk its a fab little mod but how do I get an image to show next to the poke on menu bar.
Title: Re: SimplePokes
Post by: Bagheera on March 16, 2011, 03:51:25 PM
I have this set up and it works fine but when you test it and poke someone, there is no notification Pokes (1) at the menu above so no one really knows they get poked.
I really like this mood! Can you please look in to it why it doesn't show the notification when you get poked.
Thank you.

I am on SMF 2 RC4  :)
Title: Re: SimplePokes
Post by: grafitus on March 17, 2011, 12:17:34 PM
I solved that. Hope I'll release a version of the mod for that issue.
Title: Re: SimplePokes
Post by: Bagheera on March 17, 2011, 01:32:15 PM
Perfect. Thank you. The guys really like to  poke :D I really appreciate your work. Thanks.
Title: Re: SimplePokes
Post by: Bagheera on March 17, 2011, 03:51:09 PM
I just notice something and I'm not sure if that is intentional or a bug.
Under each user in topic view there is the (hand) poke icon. When you click on the icon you get popup to confirm that you are actually want to poke the user. After you confirm you are redirected to the user profile view instead of back to the topic view.
Like I said I don't know if that's what you intended, but I think it should take you back to the topic. :)
Thanks again.
Title: Re: SimplePokes
Post by: DEEPSNUYB on March 19, 2011, 01:04:44 PM
Quote from: DeepSnuybing on March 05, 2011, 11:33:57 PM
Ok folks. REMOVE THIS MOD. INCOMPATIBLE WITH THE LATEST VERSION OF SMF.

Quote from: grafitus on March 06, 2011, 04:29:40 AM
Are you sure that is incompatible?

Quote from: RenegadesForum on March 16, 2011, 03:51:25 PM
I have this set up and it works fine but when you test it and poke someone, there is no notification Pokes (1) at the menu above so no one really knows they get poked.
I really like this mood! Can you please look in to it why it doesn't show the notification when you get poked.
Thank you.

I am on SMF 2 RC4  :)
Quote from: grafitus on March 17, 2011, 12:17:34 PM
I solved that. Hope I'll release a version of the mod for that issue.

No I'm not but I think you are.
Title: Re: SimplePokes
Post by: Bagheera on March 28, 2011, 11:51:16 AM
Quote from: grafitus on March 17, 2011, 12:17:34 PM
I solved that. Hope I'll release a version of the mod for that issue.

If I understand it right you have the fix for the problem and you are planing to release it, right?
Can you please release it  :'(

Thanks again  :)
Title: Re: SimplePokes
Post by: UndergroundChic on April 06, 2011, 02:17:22 PM
couldn't get the pokes to show up here either.
Title: Re: SimplePokes
Post by: honeywick on April 20, 2011, 01:46:04 PM
everyone loves this mod the one problem I have is that the number shown is not the right numbers of pokes
The pokes go through immediately
like i have pokes ill go and poke back then i will have no pokes but the poke on the menu bar says i still have pokes no matter how many times i refresh
or
it will say 4 pokes i go to it there will be just 2
any fix for this
thx
Title: Re: SimplePokes
Post by: LC on July 22, 2011, 04:22:13 PM
Quote from: grafitus on February 10, 2011, 04:47:02 PM
Quote from: kaung on February 10, 2011, 03:05:02 PM
As for the ghost pokers, I meant the Poke button in menu says Pokes (#) but on the Pokes detail page said "There are no pokes".
This doesn't always happen but at a random reload of a page.
Looks like the Pokes Total kept coming up without anyone pokiing you.
Yep, I understand. :) To solve:

./Sources/Pokes.php
Code (Find) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

Code (Replace) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

$request = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}pokes
WHERE id_member = {int:me}',
array(
'me' => $context['user']['id']
)
);
list ($total_pokes) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);

cache_put_data('total_pokes', $total_pokes, 3600);


I tried this fix, but it did not work. Ghost pokes are still around, plus the actual pokes are sometimes showing up, then not.

I have 2.0 final, custom theme (Back in Black by Crip) site.

Here are my mods:

1.   Bad Behavior mod    1.5.2        
2.   Ultimate Profile    0.9.1     
3.   SimplePokes    1.1     
4.   Aeva ~ Auto-Embed Video & Audio    7.1     

Any suggestions?
Title: Re: SimplePokes
Post by: bedeceived on July 26, 2011, 05:46:05 AM
I would also really love to see the Pokes (1) to show up too.  Is there a way to do this that can be done soon?  I love this feature!

Also, is there a way to notify the member by PM when they get poked?  I would pay if this mod could do that.
Title: Re: SimplePokes
Post by: Biology Forums on April 30, 2012, 10:48:27 PM
Anything like this for 1.x :(
Title: Re: SimplePokes
Post by: magtanos on May 01, 2012, 02:37:41 AM
hi :)

is there a way to hide the pokes menu for guest?
i want to hide it from the upper menu

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs17.postimage.org%2Fndcih99x9%2Fsmf_pokes_in_menu.jpg&hash=480c2181e145c1b8dc10fd2aa9987eea4af4bd90)

um using this mod in smf 2.0.2
Title: Re: SimplePokes
Post by: Biology Forums on May 02, 2012, 08:14:55 PM
No one know how to convert this 1.x? :'(
Title: Re: SimplePokes
Post by: Tien on August 31, 2012, 04:14:00 AM
Strange...it seems to work correctly with SMF 2.0.2 after I installed it. But the only problem is with that no. of poke displaying on the menu bar. Whenever the forum refreshes, it is showing Poke [1] or Poke [3] etc....but when I click to view the detail page....it is showing nobody. Is that suppose to work as a "poke notification"? I am thinking that the no. of poke will auto cleared off after viewing the poke details but somehow it is not working in this way. How can I correct that to make it works better on my forum? Thanks.
Title: Re: SimplePokes
Post by: Tiensg on August 31, 2012, 12:42:00 PM
Quote from: grafitus on February 10, 2011, 04:47:02 PM
Quote from: kaung on February 10, 2011, 03:05:02 PM
As for the ghost pokers, I meant the Poke button in menu says Pokes (#) but on the Pokes detail page said "There are no pokes".
This doesn't always happen but at a random reload of a page.
Looks like the Pokes Total kept coming up without anyone pokiing you.
Yep, I understand. :) To solve:

./Sources/Pokes.php
Code (Find) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

Code (Replace) Select
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}pokes
WHERE id_poke = {int:id_poke}',
array(
'id_poke' => (int) $_REQUEST['remove'],
)
);

$request = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}pokes
WHERE id_member = {int:me}',
array(
'me' => $context['user']['id']
)
);
list ($total_pokes) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);

cache_put_data('total_pokes', $total_pokes, 3600);


I have tried the above but it is still showing Poke [1] or Poke
Title: Re: SimplePokes
Post by: Bigguy on December 06, 2012, 12:55:41 AM
Simple Pokes installs in 2.1 with no errors at all. Nice. :) (Just sayin.)
Title: Re: SimplePokes
Post by: FrizzleFried on December 07, 2012, 11:06:52 AM
I plan on using this mod on my site.  I currently use the ACTIVITY BAR mod here ( http://custom.simplemachines.org/mods/index.php?mod=1929 )...

The question is:   How do make this mod accessible ONLY to those who've reached 100% on the activity bar mod...

EDIT: Also,  this mod really screams for a redirect back to the page you poked from.  It almost kills the whole idea by sending to the profile... and I too would like to know how to restrict the POKES menu item from showing to guests...

Thanks!
Title: Re: SimplePokes
Post by: FrizzleFried on December 12, 2012, 12:17:22 PM
Quote from: magtanos on May 01, 2012, 02:37:41 AM
hi :)

is there a way to hide the pokes menu for guest?
i want to hide it from the upper menu

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs17.postimage.org%2Fndcih99x9%2Fsmf_pokes_in_menu.jpg&hash=480c2181e145c1b8dc10fd2aa9987eea4af4bd90)

um using this mod in smf 2.0.2

Here is the change to hide the POKES menu item from Guests:

On line 38 of Subs-Pokes.php you will find:

'show' => true,

Change it to:

'show' => !$user_info['is_guest'],
Title: Re: SimplePokes
Post by: FrizzleFried on December 15, 2012, 10:26:58 PM
When someone pokes someone from the forum,  this mod REALLY needs to drop back to the place where the person poked from rather than dropping to the profile of the person being poked.  That one change would make this mod 100x better... as it stands most of my users will poke once or twice... realize that they are getting hijacked to the profile of the person being poked...and then just not use the feature any more.

Title: Re: SimplePokes
Post by: Diego Andrés on July 08, 2013, 11:48:44 PM
Just a bump to say that I'm also having a problem with the count of the pokes or how someone called it "ghostpokers"

There is a fix to this?
Title: Re: SimplePokes
Post by: mikkiTX on August 13, 2013, 04:59:49 AM
ghost pokers is what my members call them... looking forward to the fix...


mikki
Title: Re: SimplePokes
Post by: Alpha-tron on June 22, 2014, 07:41:15 PM
Installed version simple poke on version 1.1  on a clean installed SSF ver 2.07 with no other mods installed.

Poking a user once seems to work and  returning the poking a person back results. re poking the person results in an error message that of you already poked that person.
 
Using the option to remove a poke  Leaves the menu blank and the system creates a ghost poke.

deinstalled pokes 1.1 and patched the file to include the ghost patch fix.

The same results happens..

It seems like some variable or flag is not being cleared.

Update.

Installed  Simple poke no version number and  it seems to work.
Added the ghost poke fix and it seem to be working..

Title: Re: SimplePokes
Post by: sakis11111 on November 04, 2016, 01:41:33 PM
Simpe pokes works just fine. The problem is that the button on menu shows 1 or 2 pokes even if I have visit the pokes page or even if I have delete the pokes. Any solution please?

I am at smf 2.0.12

thank you

Title: Re: SimplePokes
Post by: sakis11111 on November 07, 2016, 01:53:11 PM
Anyone?
Title: Re: SimplePokes
Post by: thunderchld on July 11, 2017, 02:25:01 PM
This appears to have worked OK for a while. Then randomly this week, the ghost-pokes started for me as well. I also tried the fix (modification to ./Sources/Poke.php) with no resolution.

I feel like the issue may actually lie on the Subs-Poke page. It looks like the author may have moved on, which is totally fine. Maybe as a group we can find a solution. 
Title: Re: Simple Pokes
Post by: Diego Andrés on July 14, 2019, 11:31:56 PM
2.0 - 14 July 2019
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFTricks%2Fimages%2Fchangelog%2Ftag--plus.png&hash=69bce614dcce8586709629a7ce4a7b9e535aff80) Disable/enable alerts.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFTricks%2Fimages%2Fchangelog%2Ftag--plus.png&hash=69bce614dcce8586709629a7ce4a7b9e535aff80) Receive alerts when someone sends a poke.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFTricks%2Fimages%2Fchangelog%2Ftag--plus.png&hash=69bce614dcce8586709629a7ce4a7b9e535aff80) Compatible with SMF 2.1.x
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFTricks%2Fimages%2Fchangelog%2Ftag--plus.png&hash=69bce614dcce8586709629a7ce4a7b9e535aff80) Initial release.

New version only compatible with SMF 2.1.x

My only plans for this mod in the future are perhaps:
- Permissions
- Add poke action in the display info in posts
However I believe right now it meets the simplicity the mod implies.
Title: Re: Simple Pokes
Post by: Diego Andrés on August 28, 2019, 02:15:41 PM
2.0.8 - 03 January 2022
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Don't attempt to display the poke profile action outside the summary.

2.0.7 - 27 December 2021
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Use the poke icon for the profile area.

2.0.6 - 13 October 2021
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Relocate the pokes button in the user popup.
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Move languages to a folder for easier management in package_info.

2.0.5 - 03 October 2021
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Typos and minor fixes

2.0.4 - 16 July 2021
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed typos on installation file.

2.0.3 - 21 April 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Fixed hooks tags on installation.

2.0.2 - 18 April 2020
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Alerts code updated to SMF RC3.

2.0.1 - 28 August 2019
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Simplify code for alerts, remove background task.
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Let the user disable poke alerts.


Legend
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--plus.png) New feature
(https://smftricks.com/Themes/SMFTricks/images/changelog/bug--minus.png) Bug fix
(https://smftricks.com/Themes/SMFTricks/images/changelog/tag--pencil.png) Improving an old feature
Title: Re: Simple Pokes
Post by: Diego Andrés on February 22, 2022, 11:47:54 PM
2.1 - 22 February 2022

Title: Re: Simple Pokes
Post by: Doug Heffernan on February 23, 2022, 09:05:29 AM
This is a must have mod imo. We use it on 3 forums that I help admin, and it was also added to two newly converted forums recently. Thanks for the update. Great job as always.