Garrett Hyder
Forum Replies Created
-
Forum: Plugins
In reply to: [BP xProfile WordPress User Sync] Double Data?Hi @james,
Sorry to bother you was hoping you could clarify how you worked this issue out in the database I believe I’m experiencing something similar.
Thank youThanks @donmik,
I’m sorry I was pulled off to deal with other parts of the project, I’ve been able to come back and make the customizations successfully.
I’ve just opened a ticket with the theme developer to merge my customizations into the theme moving forward so all their clients will support your plugin by default.
Appreciate your help in tracking this down.
Cheers
Reference to Theme Developer Support Ticket (Awaiting Approval): http://vibethemes.com/forums/forum/wordpress-html-css/wordpress-themes/wplms/53229-update-buddypress-templates-to-support-buddypress-xprofile-custom-fields-typeForum: Plugins
In reply to: [Firelight Lightbox] getting error in jquery.fancybox fileHi @ravanh, thanks for following up.
I’m not sure if it’s the same for @earthjibber here, but I found that my theme framework (JointsWP) was replacing the default WordPress jQuery with v2.1.0. Dropping this to standard WP jQuery resolved my issue, hope it’s something similar for @earthjibber.
All the best,
CheersForum: Plugins
In reply to: [Firelight Lightbox] getting error in jquery.fancybox fileI’m also getting this error. Any help appreciated.
Forum: Plugins
In reply to: [Admin Bar User Switching] Please make it scrollableFYI – Here’s my workaround in the meantime.
// Fix for Admin Bar User Switching to make Scrollable function user_switch_admin_bar_fix() { echo '<style type="text/css"> #wp-admin-bar-abus_switch_to_user .ab-sub-wrapper { max-height: 1000px; overflow: scroll; } </style>'; } add_action('admin_head', 'user_switch_admin_bar_fix');Hope someone finds it useful.
CheersForum: Plugins
In reply to: [User Taxonomy & Directory] Users count column is emptyThanks Umesh, greatly appreciated.
Thanks @donmik,
You’re correct it seems to be a theme issue (using Vibe WPLMS), is there any troubleshooting steps I can go through to isolate the issue so I can properly report it to the theme developers?
Greatly appreciated,
CheersForum: Plugins
In reply to: [Export User Data] Filter Export By GroupThank you, greatly appreciated
Forum: Plugins
In reply to: [Export User Data] Filter Export By GroupYes, I’m speaking about Buddypress Groups. I found this plugin doing a search on buddypress groups export and found the functionality to include the groups in the csv export but think it would be immensely useful if I could export by group as I’ve found no other solution to export a csv by Buddypress group other than writing custom PHP.
Appreciated,
CheersForum: Plugins
In reply to: [Contact Form 7] Select with Prices renders zero'd outHuzzah, finally this took me a bit to realize but the answer was fairly simple, all I needed to do was escape the $’s in the string before preg_replace was executed.
Fixed Function:
/* * Customize Contact Form 7 Select Placeholder */ function travino_wpcf7_form_elements($html) { $html = str_replace('$','\$',$html); function travino_replace_include_blank($name, $text, &$html) { $matches = false; preg_match('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $html, $matches); if ($matches) { $select = str_replace('<option value="">---</option>', '<option value="">' . $text . '</option>', $matches[0]); $html = preg_replace('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $select, $html); } } travino_replace_include_blank('property', 'What type of property would you like to receive information on?', $html); travino_replace_include_blank('timeframe', 'Are you considering a purchase within:', $html); travino_replace_include_blank('heard', 'How did you first hear about Travino?', $html); travino_replace_include_blank('price', 'What price range are you considering?', $html); return str_replace('\$','$',$html); } add_filter('wpcf7_form_elements', 'travino_wpcf7_form_elements');Forum: Plugins
In reply to: [Contact Form 7] Select with Prices renders zero'd outIf I remove the $ dollar sign from the numbers they come through unscathed, but would love an assist to get the function working properly so the $ dollars make it through the function.
Thanks for the help.Forum: Plugins
In reply to: [Contact Form 7] Select with Prices renders zero'd outTurns out this is being caused by my custom filter, anyone know how I can correct this. I think it has to do with the preg_replace or str_replace functions:
/* * Customize Contact Form 7 Select Placeholder */ function travino_wpcf7_form_elements($html) { function travino_replace_include_blank($name, $text, &$html) { $matches = false; preg_match('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $html, $matches); if ($matches) { $select = str_replace('<option value="">---</option>', '<option value="">' . $text . '</option>', $matches[0]); $html = preg_replace('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $select, $html); } } travino_replace_include_blank('property', 'What type of property would you like to receive information on?', $html); travino_replace_include_blank('timeframe', 'Are you considering a purchase within:', $html); travino_replace_include_blank('heard', 'How did you first hear about Travino?', $html); travino_replace_include_blank('price', 'What price range are you considering?', $html); return $html; } add_filter('wpcf7_form_elements', 'travino_wpcf7_form_elements');Forum: Plugins
In reply to: [Contact Form 7] [select] doesn't render if include_blank attribute providedScratch that, moving the include_blank prior to the list of contents resolves the issue rendering the shortcode:
Fixed: [select timeframe include_blank “1-3 months” “4-6 months” “7-9 months” “10-12 months”]