Forum Replies Created
-
Cheers!
Hi @markkavin,
Thanks! Much appreciated!
Hi Robin, yes that’s correct. The previous system worked fine but was not really encouraging forum participation so it will be replaced.
The daily-limit is handled by a simple flag in the usermeta table, all good.
I’m really just asking if there exists a combo version of bbp_new_topic and bbp_new_reply for me to hook onto, or if I should simply hook onto both of those, separately.
eg.
add_action( 'bbp_new_topic' , 'my_reward_function' ); add_action( 'bbp_new_reply' , 'my_reward_function' ); function my_reward_function() { // check daily-limit flag, bail if set to today's date // update the user's reward info // set daily-limit flag to today's date }
Just a little follow up question … I’m looking at modifying my “reward” system, ignoring the number of replies and simply rewarding based on forum engagement. So a reward is triggered when a user creates a new topic or posts a reply ( capped at one reward per day, to avoid spam reward-mining )
What should I do?
1. Create two reward functions, hook one to bbp_new_topic and hook the other to bbp_new_reply ?
2. Create one reward function and hook it to some kind of combo “bbp_all_user_engagement” thing, if that exists?
3. Something different?Cheers!
Thanks Robin, tested, works perfectly, your help is very much appreciated.
Thanks, I emailed you.
Anonymous is unchecked.
Yes there is a WordPress page called “forums”
(The page title is “Personal Ads & Forum” but when clicked the URL is mydomain/forums)
Twenty Sixteen theme.
Wondering:
In the example above, the sub-forum opens as …
mydomain/forums/forum/discussion
…and not as …
mydomain/forums/discussion
Is that normal?
Or possibly I have messed up the “parent” settings which is allowing the spammer pingback issue?Just wondering.
Thanks Robin,
To be honest, when I started the forum 5 years ago I kinda blundered my way through the setup and simply got it working. So I am not 100% sure of my exact steps.
But it all seems to point at Method 1 being used. All those items under Method 1 are true for my site.
– I have a page mydomain/forums, this shows the list of three sub-forums (Discussion, Personals, Chat)
– Each sub-forum when clicked, opens with a URL, for example, …
mydomain/forums/forum/discussion
I hope that info is helpful.
Thanks.
Hu Robin,
I think you posted a link? It’s not showing for me
Hi Robin
Emailed a link to you, my site is mildly NSFW.
Ok thanks very much Robin!