jsims281
Forum Replies Created
-
This helped me, thanks!
Just a thought: you might want to put a notice on the front page of the plugin until this is resolved, as it took me quite a while to find out what had broken my ACF.
I wrote a couple of queries to do this manually in the end:
$field_id = $wpdb->get_var( " SELECT ID FROM wp_cimy_uef_fields WHERE NAME = '$field_name' " ); $update_status = $wpdb->update( 'wp_cimy_uef_data', //table name array( 'value' => $wpdb->escape($field_value)//value to update ), array( 'field_id' => $field_id, //where clause 'user_id' => $user_id ) );This should let you update a cimy field using the field name and the user id.
I’m looking at the documentation and all I can see is that set_cimyFieldValue returns false if the value is already set.
Is there a way to update a cimyFieldValue that has already been set?
USAGE:
$result = set_cimyFieldValue($user_id, $field_name, $field_value);
RETURNED VALUE:
An array is returned with all user ids where the change has been successful; empty array in case of error or the value is already in the DB.I’m not sure what caused this but if I created the database tables manually and then installed the plugin it seems to work fine.
I’m having the same issue, version 3.3.1. No extra options under the users menu. Any ideas?
Forum: Plugins
In reply to: [Socialize] 1 button not showing in feedI’m getting this issue with the latest version (2.0.6), but I see other sites where it is working.
Is there a known fix for this?
I use this code to move my uploaded files into the uploads folder before cf7 gets chance to delete them. I also add a random string to the start of the filename so that there is almost no risk of duplicated file names.
function update_event(){ $random = date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000)).rand(0,10000); $eventImgClean = "/".$random.str_replace("/home/website/public_html/wp-content/uploads/wpcf7_uploads/","",$cf7->uploaded_files['event-image']); $eventImg = $cf7->uploaded_files['event-image']; if (strlen($eventImg)<1) { $eventImg = FALSE; } else { //make sure the image is below 1Mbyte if (filesize($eventImg) < 1048576){ copy($eventImg, "wp-content/uploads/".$eventImgClean); $evImg = "/wp-content/uploads/".$eventImgClean; $filesize1_ok = TRUE; } else { $filesize1_ok = FALSE; } } //do extra stuff here } add_action('wpcf7_before_send_mail', 'update_event');Forum: Fixing WordPress
In reply to: How to Remove the “Powered by WordPress” Footer LinkYour code got removed, could you show us again using pastebin – or say what theme you are using?
Forum: Plugins
In reply to: I install wordpress…Now help meIt depends what you want to do.
What sort of thing do you want to have on your sites?
Forum: Everything else WordPress
In reply to: Why do posts get closed so often?I’ll probably be using a different (newer) version of WP, for a start.
This is true, and would be fair enough, if we are treating it as a personal one-on-one with the OP.
my solution may not be applicable to their original problem.
I’m thinking of this as much for the benefit of other users as for the original posters. It seems to cut down on the potential that these forums have for being an absolute goldmine of WP related knowledge.
The hundreds/thousands of people who find the thread (which has been killed but still appears at the top of Google) will likely have a newer version too. In any case – as you said – even an example of the process you went through to fix it will often help.
Forum: Everything else WordPress
In reply to: Why do posts get closed so often?I’ve found some old, unsolved, topics useful because they’ve already tried something that I was thinking of doing. Cuts down on wasted time.
My point exactly. How much better would it be if you could post back telling people how you ended up doing it, then it would cut down on wasted time even more, as people would have direct access to the solution.
I guess it boils down to having too many threads to moderate?
Forum: Everything else WordPress
In reply to: Why do posts get closed so often?I appreciate all your points.
A lot of questions will still be relevant between versions of WordPress (I mean, it doesn’t get completely re-written on every release) and an answer of
“This isn’t much of a problem any more in 3.x, now you just have to do this:”
is still helpful to the average user who finds the thread by typing a question into Google! 🙂
I don’t see why you would deliberately stop people from answering old questions. I had guessed it was automated, I was just wondering if there was a real reason for the hard-line closure of threads other than the possibility that it could be regarding old versions.
A closed question with no answers is slightly worse than useless anyway, so I think it would be better if they did get deleted in that case?
I’m not even sure if you’re serious or not! If you are a professional blogger you should care what “send trackback” means, and you should be aware of basic SEO.
That aside, wordpress is a free system that you can use to create a website. You then put a theme on top of WordPress so that the site looks a certain way.
Many, many fantastic sites are based on WordPress.
It sounds like somebody has built you a lousy theme. This isn’t the fault of WordPress, I think you should take this up with the people that built your site for you. If you asked a garage to build you a customized Ford and when they were done, the customizations were horrible, then you wouldn’t blame Ford would you?
If the person who built the website has no idea what most of is for, then I’m afraid that person is either not a very good developer or he is just avoiding having to talk to you.
Forum: Everything else WordPress
In reply to: Why do posts get closed so often?Yep, but it is still relevant. I have now found the answer somewhere else, and would post it on that thread (as it is ranking highly on Google if you type in the relevant question).
As it is, it is useless. I don’t see any benefit of locking down threads in this way…
Forum: Fixing WordPress
In reply to: Duplicate Subcategory Slug problemI have the same problem:
You can’t even have “shoes/red” and “boots/red”.
One logical way to do it in my mind would be to create a unique slug of “shoes/red” and “boots/red” (and forget about subcategories) but the / will get stripped out.
Does anyone know of a way of achieving this?