McTwist
Forum Replies Created
-
Forum: Plugins
In reply to: [Import and export users and customers] Importing user avatars ALMOST workedGood to hear about the upcoming improvement. You probably should have just led with that. There’s nothing wrong with saying, “I don’t know,” or “We’re still working on that.”
Forum: Plugins
In reply to: [Import and export users and customers] Importing user avatars ALMOST workedNo, I’m not using the media library. I’ve copied over the entire wp-content/uploads/avatars folder.
I mentioned the export process because I wanted to find this “bp_avatar” field you mentioned. I know the images themselves don’t get exported ??
Forum: Plugins
In reply to: [Import and export users and customers] Importing user avatars ALMOST workedThanks. I’ve been looking through the database, and I haven’t seen anything new in the post table after adding a few new profile pics.
What about when I’m exporting users? How do I make sure the CSV file has the fields that I will need for the avatars? I’ve tried exporting users, and I haven’t seen a “bp_avatar” field in the CSV file.
I did notice, however, that if a user has a Gravitar pic, the correct picture is assigned after the import.
Forum: Plugins
In reply to: [Calculated Fields Form] Copying a Calculated Field's valueI need to know how to capture the equation’s output. I know the number is dynamic, but it still exists. You can select it when using the form, but the way the script is built, the number is placed over the input box instead of setting the value of the <input> within the dfield div.
<div class=”dfield”>
<input id=”fieldname1_1″ name=”fieldname1_1″ readonly=”” class=”codepeoplecalculatedfield field small valid” type=”text” value=”” dep=”” notdep=””><span class=”uh”></span>
</div>I would like to set the input form element’s value to the equation’s result via jQuery or Javascript.
Forum: Plugins
In reply to: [Calculated Fields Form] Copying a Calculated Field's valueThanks for the fast response!
No such luck. This is what I’m seeing:
<input id=”fieldname1_1″ name=”fieldname1_1″ readonly=”” class=”codepeoplecalculatedfield field small” type=”text” value=”” dep=”” notdep=””>
I can access this with jQuery without having to apply a class to the surrounding field div. It’s the value=”” that I’m talking about. It’s empty because the value is not actually being placed in there. The script below the calculated field – this:
fbuilderjQuery.fbuilder.calculator.addEquation(“fieldname1_1”, “prec( (fieldname3_1+fieldname4_1+fieldname5_1) ,2)”, {“suffix”:””,”prefix”:”$”,”groupingsymbol”:””,”decimalsymbol”:”.”}, [], “_1”);
does the math but does not apply it to the input’s value.