krumch
Forum Replies Created
-
Forum: Plugins
In reply to: [KC S2M+MC] I got an error message on activation@jan Dembowski: Thanks that you protect me from myself, I am totally agree with your words.
@dc-rocker: Can not repeat the bug on a clean install, so you should have conflict with other plugins or themes, please check. The ‘Debug “unexpected output” During Plugin Activation’ plugin also may help you. If the problem is my plugin, please contact me again for assistance.
Where you place the Adsense code?
OK, so can use the usual [s2If] conditions, or the PHP variant – depends where the ad stay.
Sorry to be too curious, but this is my disability… Or advantage, by Darvin.
Why a plugin which show advertisement (which you get commission for) must be hidden (and you loose commission)?
Why it must be hidden by s2M exactly?
Why not to deactivate (and delete?) it, instead to hide?
They stay in
$wpdb->prefix."usermeta"
table, wheremeta_key
is$wpdb->prefix."s2member_custom_fields"
.I had build similar thing before. It was a custom code over WP, as both s2M and Clickfunnels plugins can not be used in this case.
All the problems here can be fixed, but all they need custom coding, can not do out of the box.
Hah, nice joke! 10x! I tough you mistyped… ??
And no offence at all, this is just a slang. ??
My fault, there was a bug in my code.
SORRY! My fault. Was too sleepy to read all the message. Really sorry. I must do more RTFM ??
Here is the code:
$my_reps = $wpdb->get_col("select user_id from ".$wpdb->prefix."usermeta where meta_key='".$wpdb->prefix."s2member_custom_fields' && meta_value like '%\"mtype\";s:4:\"reps\"%'");
And hope my mind is clear enough today ??
RTFM at “Dashboard -> s2M admin -> General Options -> Registration/Profile Fields & Options -> Add New Field -> Allow Profile Edits” ??
So how you manage to run it by cron? ?? Read descriptions at “Dashboard -> s2Members -> API/ Notifications” pages, thy lead to a KB articles with examples and more explanations. Just read, think, and you will do.
Here is it ??
Looks like you hook it to wp-cron, instead to the need notification. So do more RTFM.
But I would do it different way: will save a ccap with same payment, and then just will count the need ccaps in wp_usermeta table.
You can use “Dashboard -> s2Members -> API/ Notifications” to run your code.