Jonah Brown
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts To-Do List] Plugin styling effects other stuffI caught onto that after I posted here. I apologise.
Forum: Fixing WordPress
In reply to: Update Notice but not plugin updatesOk I had to manual look at each plugin to find the ones to be updated. And now I see there are 3 updates.
screenshot 1: https://www.screencast.com/t/4Xb0E1oue4
screenshot 2: https://www.screencast.com/t/BjuVXw32This is the only Wp I am managing that has this issue. I am using w3 total cache.
Jonah
Forum: Fixing WordPress
In reply to: Update Notice but not plugin updatesHere is screenshot 1:
https://screencast.com/t/IdE0F9tE4P
Here is screenshot 2
https://screencast.com/t/dnGuCUuo
Like I said it is strange it occurring on this website.
Forum: Plugins
In reply to: [Expire Users] user Meta FieldsI would like to get your user registration code to run when Gravity form does a user registration
function user_register( $user_id ) { if ( isset( $_POST['expire_users'] ) && 'auto' == $_POST['expire_users'] ) { $expire_settings = $this->admin->settings->get_default_expire_settings(); $expire_data = array( 'expire_user_date_type' => $expire_settings['expire_user_date_type'], 'expire_user_date_in_num' => $expire_settings['expire_user_date_in_num'], 'expire_user_date_in_block' => $expire_settings['expire_user_date_in_block'], 'expire_user_date_on_timestamp' => $expire_settings['expire_timestamp'], 'expire_user_role' => $expire_settings['expire_user_role'], 'expire_user_reset_password' => $expire_settings['expire_user_reset_password'], 'expire_user_email' => $expire_settings['expire_user_email'], 'expire_user_email_admin' => $expire_settings['expire_user_email_admin'] ); $user = new Expire_User( $user_id ); $user->set_expire_data( $expire_data ); $user->save_user(); } }
This is the hook for gravity forms
add_action("gform_user_registered", "add_custom_user_meta", 10, 4); function add_custom_user_meta($user_id, $config, $entry, $user_pass) { update_user_meta($user_id, '_expire_user_date', $entry[1]); }
Thanks
Forum: Fixing WordPress
In reply to: Display User MetaDo you know how I can split this?
I home educate my children or someone else’s (registered or enrolled),I run a business that benefits home education families and I would like to list it in the Member Directory and Service Guide
the entry in the user meta is
[who_i_am] => Array ( [0] => I home educate my children or someone else’s (registered or enrolled),I run a business that benefits home education families and I would like to list it in the Member Directory and Service Guide )
tried this but it is not working
$i_am = explode(",", $who_i_am); ?> <li><?php echo $i_am; ?></li> <?php
Forum: Fixing WordPress
In reply to: Display User MetaOh thanks,
I found out about the unserialize part. Been plugging away at it this morning.
$children = unserialize($our_children[0]);
Didn’t know about the part in the code you wrote where I can array the unserialize string.
So I messed with code till I came up with this:
foreach ( $children as $child ) { echo '<tr><td>'. $child[Name].'</td><td>'. $child[Age] .'</td><td colspan="3">'. $child[Sex] .'</td></tr>'; }
But thanks for your tidbits.
Forum: Themes and Templates
In reply to: Child Theme enqueue scripts not workingActually in that case I was taking control of that file of the parent theme :). I did solve this last night. thanks for the help.
It had to do with how I was naming the enqueue, I guess I wasn’t unique enough.
Forum: Themes and Templates
In reply to: Child Theme enqueue scripts not workingThere are non: https://honeycombdesignstudio.com/little-bee/
You can check there.