Replies
- Tosin on August 26, 2019 at 11:01 pm in reply to: How to limit the number of post a user can publish per day to one #24998
I found this code and was wondering if it can be modified to work with (https://wordpress.org/plugins/accesspress-anonymous-post/)
/** * Limit User to One Submission Per Time Period * http://gravitywiz.com/2012/04/25/limit-user-to-one-submission-per-time-period/ */ // update the "5" to your form ID add_action('gform_pre_render_5', 'gform_limit_submissions'); function gform_limit_submissions($form){ global $wpdb; $limit_message = 'You may only submit this form once every 24 hours.'; $limit_time = 86400; // must be specified in seconds; 86400 seconds is equal to 24 hours /* You do not need to edit below this line */ $current_user = wp_get_current_user(); $last_submission = $wpdb->get_var($wpdb->prepare("SELECT date_created FROM {$wpdb->prefix}rg_lead WHERE created_by = %d and form_id = %d ORDER BY date_created DESC", $current_user->ID, $form['id'])); if(empty($last_submission)) return $form; $time_out = strtotime($last_submission) + $limit_time; $current_time = time(); if($current_time > $time_out) return $form; $is_submit = rgpost("is_submit_{$form['id']}"); if(!$is_submit) { add_filter('gform_get_form_filter', create_function('', "return '<div class=\"limit-message\">$limit_message</div>';") ); } return $form; }
I got this code from https://gravitywiz.com/limit-user-to-one-submission-per-time-period/
- Tosin on July 28, 2019 at 12:24 pm in reply to: [Resolved] Branded login support for logout redirect #24381
Thanks a lot for the feed back your code worked perfectly.
Hello,
How can I add a loading spinning icon to the login button and the register link when both have been clicked upon on the branded login plugin. Users need to know that the login process has been initiated and is currently loading.
Thanks
Yes that is ok, but can you also pitch the idea to the core buddypress developers maybe this feature can be integrated into the future core versions of buddypress.
Thanks
This password confirmation field is currently available in settings > general to change new email or password.
This feature could be helpful in various situations like logging in to buddypress account on a public cafe or laptop and forgetting to logout and another person(evil for unknown reasons) decides to delete your account, the password confirmation can prevent this.
- This reply was modified 5 years, 10 months ago by
Tosin.
- This reply was modified 5 years, 10 months ago by
- Tosin on July 3, 2019 at 11:15 am in reply to: [Resolved] Statistics plugin for buddypress (Buddystats) #23786
Hello,
Just a reminder on additional features that can be added to the plugin. The features can almost be similar to the new woocommerce admin at https://woocommerce.com/posts/woocommerce-admin-a-new-central-dashboard-for-woocommerce/ for buddypress analytics. Ideas and concepts can be borrowed
Also can this be suggested to the buddypress project leaders for a possible integration into the core, currently we now have this available
wordpress — google analytics by monster insights
woocommerce — new woocommerce admin plugin for analytics
buddypress — ?????? no analytics plugin to measure buddypress growth and progressThanks
- Tosin on June 29, 2019 at 3:25 pm in reply to: Conditional Profile Fields for BuddyPress support for Xprofile Member Type Field #23728
Just to clarify things you mean I can achieve support for multiple fields with your member types pro plugin even without using the conditional profile fields plugin.
If that’s the case I will buy your member types pro plugin.
Thanks
- Tosin on June 28, 2019 at 3:20 pm in reply to: Conditional Profile Fields for BuddyPress support for Xprofile Member Type Field #23718
Hello,
I have the following member types created using the member types plugin from buddyboss while using your BuddyPress Xprofile Member Type Field plugin to display the member type field on registration form.
1 Male
2 Female
3 Business
4 Brand
5 OragnizationI want this conditions to work on registration page as follows:
Field of Interest(required)(Member types: Females, Males) [ hide if {Member Type} = Business, Brand, Organization ]
but now the (Field of Interest) profile field is not hiding for the member types Business, Brand, Organization or do I need to purchase the (BuddyPress Member Types Pro) plugin for this to work
Thanks
- Tosin on June 26, 2019 at 1:39 pm in reply to: get notification if someone I follow posts a wordpress blog post. #23689
Hello brajesh I am also interested in this also with email notification
- Tosin on June 17, 2019 at 12:20 pm in reply to: [Resolved] How to disable public and private messages for specific users #23559
OMG your code worked perfectly i’m very grateful. Thank you very very much