Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
Does Reputation plugin create MyCred hooks
Avatar
Steve Arnold
Member
sp_UserOfflineSmall Offline
May 20, 2017 - 7:30 am
sp_QuotePost Quote

Hi there, 

I've purchased your mycred plugin which works great. 

Could you please tell me if I were to also purchase your reputation plugin whether it creates hooks where I can reward mycred points for giving/receiving reputation?

Many thanks

Steve

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 20, 2017 - 10:54 am
sp_QuotePost Quote

sadly, a bit disappointed in myself since I wrote the reputation plugin, but currently it lacks any direct hooks to notify others when reputation is given/received... 

there are some hooks that can be used, but doubt they would work for mycred since you would have to hook in and then check a variable to see if it was a reputation action or not... 

I have actually never used mycred (and Andy wrote our plugin) so could be wrong, but assuming you specify a hook and then award a mycred value... is that correct?  or can you use the hook, check a variable and decide if to award?

still, I will open a ticket as we should have direct hooks too...maybe I can even try to get it updated this weekend...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 20, 2017 - 3:38 pm
sp_QuotePost Quote

It should do what you want now, I think.. just pushed out an update that fires a hook when reputation is given...  includes user sending, user receiving, amount and receiving users new total...

Avatar
Steve Arnold
Member
sp_UserOfflineSmall Offline
May 20, 2017 - 9:04 pm
sp_QuotePost Quote

Oh wow, thanks so much for the awesome quick turnaround! 

I'll download and test it out later today!

Thanks again 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 21, 2017 - 10:27 am
sp_QuotePost Quote

please let us know how it works for you...

Avatar
Steve Arnold
Member
sp_UserOfflineSmall Offline
May 21, 2017 - 8:38 pm
sp_QuotePost Quote

Ok, downloaded and installed rep system 🙂

I think there might still be a step required to get this fully working with the MyCred plugin.

I'm guessing you've created these hooks from the Rep system end, but they're not currently showing up in the "hooks" section in the MyCred options (where I can then assign MyCred points to each of the hooks you've created).

Here's a screenshot of the bit I mean:

https://snag.gy/YWu48a.jpg

Might just be I'm doing something wrong, but your input is appreciated either way. 

Cheers

Steve

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 21, 2017 - 8:44 pm
sp_QuotePost Quote

well, that is what I asked in first post... I have never used the wp mycred plugin...  we of course cant modify it...  or did you mean the simple press mycred?  Andy will be back next week and perhaps he will know...  if I can tomorrow, I will try to look at them more...  I was under impression from your first post you just needed a hook in reputation (which should have been there anyways)...

Avatar
Steve Arnold
Member
sp_UserOfflineSmall Offline
May 21, 2017 - 9:05 pm
sp_QuotePost Quote

Your "thanks" plugin and the main simplepress plugin each add a section into the MyCred configuration options (in my screnshot above). I'm not sure how that's achieved, but would assume this is down to your SP mycred plugin and doesn't require the actual mycred plugin to be changed.

In my original question, I didn't know if or how it could be done (to give mycred points when rep is added) but it now sounds like the SP mycred plugin would need to do the same thing for the hooks in the Rep system. 

Thanks again

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 22, 2017 - 9:08 am
sp_QuotePost Quote

as mentioned Andy wrote the mycred stuff, so perhaps I am missing a step... I will try to look into tonight after work, but I am moving into new house today too, so may not get to it until tomorrow... but will let you know...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 23, 2017 - 8:57 am
sp_QuotePost Quote

took a look last night and see what needs to be done now in the sp mycred plugin... will try to get it updated this week...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17364
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625