bsieders
Forum Replies Created
-
Update: I tried the same on another theme and now get a more specific javascript error:
“Uncaught TypeError: Cannot read property ‘data’ of undefined
at Object.error (ajax-core.min.js?ver=1.5.5:1)
at Object.request_error (jquery-baldrick.min.js?ver=1.5.5:1)
at c (jquery-baldrick.min.js?ver=1.5.5:1)
at Object.error (jquery-baldrick.min.js?ver=1.5.5:1)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as rejectWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)”Appears caldera cannot correctly validate entries with ‘https://’ in it?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] shortcode in functions.phpDone. Happy coding
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] shortcode in functions.phpAwesome that worked! ??
I will donate something on your wordpress plugin page in return for spreading the coding love.
Regards from Rotterdam,
Balthazar
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] shortcode in functions.phpHi Tobias!
Similar but different problem:
I’ve added a function that sends an email to all subscribers when a new post has been published but it does not parse the tablepress shortcodes when I try to use the following:
add_action('publish_post', 'notify_subscribers_new_post'); function notify_subscribers_new_post() { //email code... $emailcontent = do_shortcode(apply_filters('the_content', $post->post_content, false)); }
I’m guessing do_shortcode is being called before the plugin knows what to do with it? Anyway around this?
Forum: Hacks
In reply to: Change filename/naming convention of file on uploadHi Kaffolder,
I was looking for the same thing and found the solution here:
https://wordpress.stackexchange.com/questions/82193/rename-image-uploads-with-width-in-filename
Cheers
Forum: Plugins
In reply to: Loading wp_editor through wordpress ajax not workingHi guys,
Sorry to bump this question but I am also looking for the exact same solution. I tried loading the wp_editor via ajax and just get a half arsed textarea instead.
Anybody else know if there is a way?
Balthazar
Thanks,
I downloaded the latest development version and added
FEE_Core::add_filters(); to the front of my callback and I see the fee classes are being applied correctly.It still doesnt hover the edit button though so I called jQuery(‘.fee-field’).each(FrontEndEditor.make_editable); after the content has loaded but that doesn’t seem to do it either.. am I close?!
Awesome support by the way, two thumbs up :p
Thanks for your quick response ??
I have tried the approach you suggested but the_title remains uneditable with FEE :p
Here is my new php code:
add_action("wp_ajax_addpost", "addpost_callback"); add_action("wp_ajax_nopriv_addpost", "addpost_callback"); function addpost_callback(){ query_posts(array('posts_per_page'=>1)); if (have_posts()) : while (have_posts()) : the_post(); the_title(); endwhile;endif; }
And jQuery (i’m testing this on xampp):
jQuery.ajax({ type: "POST", url:"https://localhost/public_html/wp-admin/admin-ajax.php", data: {action: 'addpost'}, success: function(msg){ alert(msg); } });
Am I missing something else?
Cheers!
Forum: Plugins
In reply to: How to set categories of post through custom fields?Hi Michael,
thanks for your response. I need to use categories because the posts are actually descriptions of products which have to be organized in an easy to edit system by the clients. I’ve used both those plugins in the past but unfortunately they do not apply in this case.
I’m sure what i’m asking is not impossible since wordpress updates the categories every time you change them when editing a post.
Any other takers?
Cheers
Anyone? There has to be a way to do this ;/
Forum: Fixing WordPress
In reply to: Display archive data in a sortable table formatHi Mr Live
The demo you posted no longer works..do you have another site we could look at? I am interested in doing the exact same thing but with little luck so far.
Thanks, Balthazar
Forum: Plugins
In reply to: sort posts by custom field IN BACKENDyes please!! Seborgarsen do you have it?
Been looking all over for something like this.Thanks, Balthazar
Forum: Plugins
In reply to: [Plugin: Buddypress Events Calendar] The plugin does not have a valid headerI got the same error. Just installed Buddypress 1.12, could that be the cause?
Hi jamesk525..
Not going to ignore anything at the moment, thanks a lot for your post!
I am able to upload images no problem in wordpress so I think that rules out possibility numero uno.
If I check my inbox of the email account i set up i clearly see the image but that might be because i “explicitly download them.” I will try using an email account on another server and see if thats the cause.
If any other bright ideas pop3 into your head, let me know!
cheers Balti
Nooooo…I managed to set the folder to 777 through a super fast technical support team but i still get “could not write to temp file: ””!
has anybody else out there had a similar problem or know any possible cause??
Desperate balti