derol
Forum Replies Created
-
Forum: Plugins
In reply to: [Contempo Real Estate Custom Posts] Contempo Real Estate Custom Posts CrashedI had the same issue… I put in a ticket at the authors support site, but to temporarily fix:
Go to the theme’s admin/plugins folder… there should be an older backup in there “ct-re-custom-posts.zip”. Mine still had v. 1.0.0 – upload it, and run it with both plugins activated.
It looks a little weird in the admin… shows 2 Feat images… but it stabilized the site for the time being.
Update: Deactivate and delete the other plugin and just run the one from your theme’s admin file.
Forum: Plugins
In reply to: [Optima Express + MarketBoost IDX Plugin] optima_express_search_resultsGot it. Thanks… I emailed you prematurely, before checking back on the forum.
Is it possible to add multiple cities to the search results?
Forum: Plugins
In reply to: [Optima Express + MarketBoost IDX Plugin] Short Code Selector not showing upCommenting out line 23 of iHomefinderTinyMceManager.php got it working
function addButtons() { if (!current_user_can('edit_posts') && !current_user_can('edit_pages')) return; /* if(!iHomefinderPermissions::getInstance()->isGalleryShortCodesEnabled()) return; */ if (get_user_option('rich_editing') == 'true') { add_filter("mce_external_plugins", array($this,"addTinymcePlugins")); add_filter('mce_buttons', array($this,"registerButtons")); add_action('in_admin_footer', array($this,'addTinymceVariables')); }
Forum: Plugins
In reply to: [Optima Express + MarketBoost IDX Plugin] Short Code Selector not showing upNot resolved. Will email support.
Forum: Plugins
In reply to: [Gravity Forms Upload Rules] Plugin not showing in gravity formsMe 3…
Options are missing.
GF version 1.7.6I’m also using the user registration add on
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Custom user taxonomies (cont.)Quick edit: Take out the “echo” line…
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Custom user taxonomies (cont.)Uh, you didn’t change anything, just copied and pasted?
However, for anyone else trying to accomplish this – I’ve figured out the right answer:
// Hook Gravity Forms user registration -> Map taxomomy function map_taxonomy($user_id, $config, $entry, $user_pass) { global $wpdb; // Get terms from taxonomy anniversary $terms = get_terms( 'anniversary', array('hide_empty' => 0)); $termslugs = array(); foreach( $terms as $term ) { $i = $term->slug; $termslugs[$i] = $term->slug; } $cats = $termslugs; // Get all user meta $all_meta_for_user = get_user_meta($user_id); // Loop through meta data and map to categories with same name as user meta key foreach ($all_meta_for_user as $category => $value ) { if (in_array ($category, $cats) ) { // Check if there is a category with the same name as the Custom user meta key // Get term id $term_id = get_user_meta($user_id, $category, true); If (is_numeric($term_id)) { // Check if Custom user meta is an ID echo '<p>'.$user_id.' | '.$category.'='.$term_id.'</p>'; // Add user to taxomomy term $taxonomy = 'anniversary'; $term = get_term( $term_id, $taxonomy ); $termslug = $term->slug; wp_set_object_terms( $user_id, array( $termslug ), $taxonomy, true); } } } } add_action("gform_user_registered", "map_taxonomy", 10, 4);
The only downside, is you have to call your registered taxonomy by name (in this case “anniversary”) I’m sure someone enterprising enough can find a way to make this more dynamic… but it works.
Forum: Plugins
In reply to: [User Taxonomies] Terms not assigned to a user are displayed as tickedI needed this fix too, so just for clarity for anyone else, heres the full code:
<input type=”checkbox” name=”<?php echo $key?>[]” id=”<?php echo “{$key}-{$term->slug}”?>” value=”<?php echo $term->slug?>” <?php checked(true, is_object_in_term($user->ID, $key, $term->term_id))?> />
Forum: Plugins
In reply to: [WooCommerce] Templates NOT ThemesWell, here’s an example of the “fully styled” out of the box WooCommerce default I’m dealing with… it’s pretty fugly: https://www.paddlevision.com/product/liquid-lightsup-kit
Forum: Plugins
In reply to: [Store Locator Plus? for WP] Duplicate Search FieldsEmailed you back, but just to go on public record:
Your customer support has been impeccable. You’ve gone well beyond expected with your help, and I really appreciate that.
Thank you, sir!