LDDConsulting
Forum Replies Created
-
Forum: Plugins
In reply to: [LDD Business Directory] Doesn't seem tor work with WP 3.5Apologies for the delayed reply!
Importing listings is something we will be working on in future versions of the plugin. For the moment it is not something that is supported. Previous versions of our plugin included this as being a feature but this was a typo. However, as stated, it is something that is being worked on.
Sorry for any inconvenience.
Forum: Plugins
In reply to: [LDD Business Directory] I get not business entriesApologies for the late reply.
This issue should be addressed in the present version of the plugin. Please let us know if you continue to encounter this error.
Forum: Plugins
In reply to: [LDD Business Directory] remove US address enforcement please!Apologies for the late reply.
This issue will be addressed in an upcoming version of the plugin.
Apologies for the late reply.
In response to your first query: this issue seems to be a conflict with permalinks. When it’s set to default this issue arises. Try changing your permalink settings to “Post name” and this should fix it.
As to the second query: it could very well be a theme issue. We’ve not encountered the problem in development.
Forum: Everything else WordPress
In reply to: Plugin development move to another wordpress.org accountNo one has had this issue before?
The file in question is located in wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php and I commented out lines 2556 to 2574 (anything with the wp_admin_bar). This is the code I commented out, in case your line numbers don’t match:
$wp_admin_bar->add_group( array( 'id' => 'tribe-events-group', 'parent' => 'tribe-events' ) ); $wp_admin_bar->add_group( array( 'id' => 'tribe-events-add-ons-group', 'parent' => 'tribe-events' ) ); $wp_admin_bar->add_group( array( 'id' => 'tribe-events-settings-group', 'parent' => 'tribe-events' ) ); $wp_admin_bar->add_group( array( 'id' => 'tribe-events-import-group', 'parent' => 'tribe-events-add-ons-group' ) );I’m sure I’m missing some sweet admin bar functionality, but otherwise the site is working fine again (though my events calendar pro is still not working).
So I’ve figured out the problem with the normal events calendar. On line 2556 – 2574 of the file lib/the-events-calendar.class.php there’s a series of $wp_admin_bar->add_group calls. I’m not sure why that’s throwing such an error (this site is running wp 3.2.1 for fear of some custom plugin compatibility, but when I upgraded the-events-calendar to 2.0.7 it listed it as having 100% compatibility with wp 3.2.1). Not sure if it’s helpful, but the final answer to this question (http://wordpress.org/support/topic/fatal-error-after-updating-1) seemed to be on track. So I’ve commented out that code and now the javascript works on the backend and I’m not getting a fatal error anymore, but if I activate events calendar pro I still have the same troubles as before (inability to access “add event” or “events” tab and whenever I do try to access them the front-end goes down for a time, even if I deactivate the Pro plugin).
Any thoughts on a fix?
Thanks,
Thomas
It’s the same thing as the custom theme: I’m getting the fatal error when I access any of the front-end pages, the javascript in the backend is not working (i.e. quick edit fields, image uploads, etc.), I can access neither the Add Event nor Events tab in the backend, and after attempting to access those tabs the front-end goes down for a time.
Okay, got that figured out, silly network admin stuff, and still have the problems when I switch to twentyeleven theme.
Hey Jonah,
This is getting strange, so I was going to try to revert to the 2011 theme and I notice now that I can’t install a new theme from the backend, or even see all of the themes that are in the wp-content folder. Also, since updating The Events Calendar standard, I notice a lot of the javascript in the backend is not functioning (quick edit, edit post status, upload image, etc.). I just started working on this site, so I did not write the theme or set it up, it’s part of a multi-site if that helps. Any ideas as to what’s causing this?
Thanks,
Thomas
I’m also now getting a fatal error on the site:
Fatal error: Call to undefined method WP_Admin_Bar::add_group() in /home/calvaryr/public_html/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 2556
And then I still have trouble accessing the site front-end after I attempt to access either of those tabs in the backend.
Hey Jonah,
I have updated both plugins to 2.0.7 and I’m still getting hung up when I attempt to access the “Events” or “Add Event” tabs. This only occurs when I have the Pro plugin activated, the plain events calendar works fine. Anything else to try?
Thanks,
Thomas
Forum: Fixing WordPress
In reply to: AJAX TroublesAnyone have any ideas here?
Forum: Fixing WordPress
In reply to: Form submission problemsOkay, now i’m trying to do it with ajax, here is the jquery stuff I have on my template page
<script type="text/javascript"> jQuery(document).ready(function(){ var userid = jQuery('#checkuser_id').val(); var exp = jQuery('#userxp').val(); jQuery("#yourprofile").submit(function() { var data = { action: 'my_save_userxp', userxp: exp, checkuser_id: userid }; jQuery.post("<?php echo admin_url('admin-ajax.php'); ?>", data, function(response){ alert('Got this from the server: ' + response) }); }); }); </script>here is the form I am submitting:
<form id="yourprofile" action="" method="post"> <p> <input type="text" name="checkuser_id" id="checkuser_id" value="<?php global $current_user; get_currentuserinfo(); echo $current_user->ID; ?>" /> </p> <div style="clear: both;"> <h4>Total Experience</h4> <?php if ( get_the_author_meta( 'experience' ) ) { ?> <input name="userxp" id="userxp" value="<?php the_author_meta( 'experience' ); ?>" type="text" readonly> <?php } // End check for experience ?> </div> (Note: You can only submit scores once per day, once you submit the menu will be disabled until tomorrow) <input name="updatexp" id="updatexp" class="btnb" type="submit" value="Update Experience"> </form>and here is what i added to functions.php
add_action('wp_ajax_my_save_userxp', 'my_save_userxp_callback'); function my_save_userxp_callback() { $user_id = $_POST['checkuser_id']; $userxp = $_POST['userxp']; global $wpdb; update_user_meta( $user_id, 'experience', $userxp ); }Now when I submit it’s just reloading the page and not saving the userxp stuff. Please, please, if anyone can help with this it would be incredibly useful. Thanks