jhoffmcd
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic Widgets] Search Page Condition Does NothingQurl, once I started checking what was being evaluated for true on my search.php page I realized I’m sending multiples search parameters in my from my search bar:
?s=image&post_type=page&cat=149
While the page is a search result page, using the cat parameter also evaluates as true for a category page too, so I just included that category and its children in the logic of for that widget, and it works!
Good thing to know. Good plugin!
Forum: Plugins
In reply to: [Dynamic Widgets] Search Page Condition Does NothingOld method being just use the condition in the code on the search.php template page?
Forum: Plugins
In reply to: [Gravity Forms Mass Import] Over 200 Characters for an EntryAh saw other post about then varchar > text switch in the db
Forum: Plugins
In reply to: [Gravity Forms Directory] Not Compatible with WP3.6 – No Directory TabThanks! Worked great! Hopefully we get an update for this plugin soon.
Forum: Plugins
In reply to: [The Events Calendar] Activation Causes Child Pages 404 ErrorBarry,
We installed another events plugin and got similar issues. While this is not happening to any of our other sites on the same server we think this is a server issue, not your plugin. Thank’s for taking the time to check in with us. Great plugin!
Forum: Plugins
In reply to: [The Events Calendar] Activation Causes Child Pages 404 ErrorHi Barry, thanks for the response. Here are the tests I ran on the site:
Deactivated all plugins
Switch theme to TwentyTwelve
Start activating pluginsWith only The Events Calendar active on the site, we are still getting the 404 errors on the site. So then I tried to debug… with debug mode on I had no errors… so I’m at a lose on how to debug this, which I am pretty sure is an issue with permalinks for some reason.
We are running WordPress 3.6.1 on a Windows machine with IIS 7 and the rewrite module enabled. Our web.config file shows the same rewrite rules as the rest of the sites we operate and they have not had this issue with child pages, although we aren’t using The Events Calendar plugin on those sites.
I should note that this was in the gravity-forms-addons.php file at line 266. I wrapped almost everything in a condition that checks for a post object.
I added this as a fix, and it seems to work…
global $post; // Had to nest this in order to avoid conflicts with other plugins if($post != null) { $post->permalink = $permalink; $url = add_query_arg(array()); $sentPostID = is_object($sentPost) ? $sentPost->ID : $sentPost; // $post->ID === $sentPostID is so that add_query_arg match doesn't apply to prev/next posts; just current preg_match('/('.sanitize_title(apply_filters('kws_gf_directory_endpoint', 'entry')).'\/([0-9]+)(?:\/|-)([0-9]+)\/?)/ism',$url, $matches); if(isset($post->ID) && $post->ID === $sentPostID && !empty($matches)) { return trailingslashit($permalink).$matches[0]; } elseif(isset($post->ID) && $post->ID === $sentPostID && (isset($_REQUEST['leadid']) && isset($_REQUEST['form'])) || !empty($matches)) { if($matches) { $leadid = $matches[2]; $form = $matches[1]; } else { $leadid = $_REQUEST['leadid']; $form = $_REQUEST['form']; } return add_query_arg(array('leadid' =>$leadid, 'form'=>$form), trailingslashit($permalink)); } return $permalink; }Hopefully this doesn’t hamper the use of the directory…
I am having the exact same issue with a different events plugin: Event Espresso
I found the same thing, if I comment out that line then the error goes away, although right now I have no idea how this would affect my directories. I believe the function that this is in is canonical_directories… If I can trace that down and see what function that serves then maybe I can figure out a work around. I’ll let you know.
Yes thank you! Love the plugin!
Forum: Plugins
In reply to: [Gravity Forms Directory] Link a Field to Another Forms Directory Single PageI haven’t tried yet, but the only thing I can think of for this is to rebuild the directory output by getting the data I need from both my “Department” and “People” and then manually build out the directory list by hand. There are functions available in the plugins main file that you can use in a page template.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Is this the right Plugin for me?Just fyi guys, most of the (MarketPress)fields are in a serialized array. :/
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Is this the right Plugin for me?Hi JamesICT,
I think in the end we just re-uploaded the products CSV files. It’s a new shop and the product doesn’t change that much, so the client just needed to get the initial values in.
That being said, I hope MarketPress updates its features, it’s seriously lacking when compared to other WP carts. WPMU Dev has many great plugins and themes, unfortunately, this one didnt have the extensibility that we needed. We are probably moving to something like WooCommerce in the future.
I didn’t get a chance to check out sparkwebs suggestion, but I would install this plugin and take a look at what he said.
Hi Nick!
Sure, although for now we are just using a text field. But as for the example:
1. We have a field on our lead form called “Annual Revenue”, which is a Currency field type in Salesforce (and used to calculate other values in our specific configuration.)
2. We tested with this field, but could not get it to send the values from the form that we wanted. I’m guessing the reason is that the data sent from the lead from may need to be thrown into a currency regex so it can match the expected format from Salesforce.
3. Yes, I hadn’t thought about that, some sort of masked input would work as long as I knew what Saleforce was expecting as a data type.
Thank you for responding. We’ve been able to implement your plugin successfully, just noticed this one thing while doing set up.
Forum: Plugins
In reply to: [Gravity Forms Directory] Adding Custom Classes and Stylingmyhero,
I found that the classes and styles I set only seemed to affect the directory view, not the detail pages. For the detail pages I had to create a custom page to call the leads (detail info) that I wanted, then change a bit of the plugin code to output more friendly markup. It’s not a preferrable work around, and its still tough to get what I want out of it, but its workable.
Hopefully we see some markup and styling improvements in future releases. I would check the plugins php files to see the kinds of functions that are available. I believe I used get_leads().