magic-fields-team / magic-fields-2 Goto Github PK
View Code? Open in Web Editor NEWMagic Fields 2.X
Home Page: http://magicfields.org
License: GNU General Public License v2.0
Magic Fields 2.X
Home Page: http://magicfields.org
License: GNU General Public License v2.0
Hey,
We can sort group duplicates in the UI. I love this function. It is very important from a usability point of view. Equally important - ALMOST equally important - is sortable field duplicates.
I would very much like to see this in the future. As it is now, I must create workarounds using groups for just one field or I must put more work on my client (cut/delete the content of one field, move it to another etc).
Cheers,
Eivind
Is this a bug?
Whatever I do, I can't make the Wordpress Core function is_object_in_term return a true for the post types I create with Magic Fields.
I haven't tried with post types created without Magic Fields 2.
Eivind
When I make textfield, multibox etc... and write some text in disappears when I publish the post/page
I am using WordPress in a subdirectory like described here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
When I go to create a custom field, the plugin is redirecting the successful save request to example.com/wp-admin/ instead of example.com/subdirectory/wp-admin/
I think there is an issue that could be fixed here with the URL generation.
siteurl is: http://example.com/subdirectory
home is: http://example.com
On my server the root folder contains just index.php at /
WordPress is installed in /subdirectory/
Magic Fields reports a warning in some cases in mf_front_end.php on line 558 stating an Invalid argument in foreach().
I believe this happens in cases where we have the field type as 'image' which does not have 'options' set. Thus, $params is passed as 'false' to the function.
Adding a check like the following before the foreach() on line 558 solves the issue.
if(!is_array($params)) return '';
Please look into resolving this issue in a future build.
Cheers,
Eivind
Latest build from earlier today doesn't create custom post types or groups. I am able to enter the information but when I submit the form nothing has happened.
Please remove post validation for drafts. Validate the post only when a user click "publish" or "submit for review" button
Hey guys,
Have you changed how you store the write panels in the database? They all disappeared when I updated the filebase with your latest files.
Cheers,
Eivind
Just reporting that the most recent version does not show currently registered custom taxonomies. I have several post types and taxonomies, post types are recognized just fine but no custom taxonomies found.
Found the post type creation bug as well. Will try the fix previously just added.
Warning: unserialize() expects exactly 1 parameter, 2 given in /home/sigarett/domains/sigarett.com/public_html/bacardi/wp-content/plugins/Magic-Fields/admin/mf_admin.php on line 109
Warning: unlink() [function.unlink]: No such file or directory in /home/sigarett/domains/sigarett.com/public_html/bacardi/wp-content/plugins/Magic-Fields/admin/mf_posttype.php on line 778
Warning: Cannot modify header information - headers already sent by (output started at /home/sigarett/domains/sigarett.com/public_html/bacardi/wp-content/plugins/Magic-Fields/admin/mf_admin.php:109) in /home/sigarett/domains/sigarett.com/public_html/bacardi/wp-includes/pluggable.php on line 934
Hi!
I just tried changing the name of a custom taxonomy and when I did, I lost all its categories. I reverted to its old name, and the categories reappeared. You need to insert code that ensures that the categories are migrated to the new taxonomy name.
Cheers!
Eivind
Only the first instance of a duplicate group is saving.
The data is saved for multiple instances, but only the first instance is shown in the edit post screen.
Hi,
An export function that includes all post types and taxonomies would be great (instead of having to export each one individually).
And if the import function is intelligent enough to let me as a user check checkboxes for which ones I want to import, it will be pretty amazing.
Cheers,
Eivind
While creating a new field for a group, working in localhost, if clicking on "This group haven't any custom field yet, create one here" i reach a not found page.
Hi, I don't know if it's a bug or lack of functionality. In MF 1 it could be possible to create a page and add custom fields to this. In this way I cant set this as homepage. Now I can't do this. How to?
When using the the file field its not obvious if the field already has a value when editing the page.
There is a box for a thumbnail (like the 'image' field) but is empty regardless of whether the field has a value set.
Perhaps display the file path or a WP Media style icon in the box to show if the field has a value.
I am looking to assign Magic Fields fields to certain Pages. The variables that need to be edited depend on the page template being used. Right now the solution is to have a separate field group per page template and then just leave all of the other field groups blank, but this is getting crowded and not so elegant. Any suggestions?
Any chance you guys could allow for a dropdown or dropdown multiselect to display custom post type and/or custom taxonomy selections? That would be very useful for building pages where the editor can select a category or post type for the loop on that page. Ideas? or is there a better way to do this?
I have some problems when using markdown editor. You can check this snapshot.
http://prntscr.com/2hqzi
It would be really handy to return the local image path like /home/foo/wp-content/mf-files/blah.jpg so we can do other things with the image.
I needed to do it twice today, one example would be using filesize() to display the image size.
I hope you'll think to introduce the alt parameter as a default for images.
It will be nice to have a default text field joined with the image field. Is it possible?
Hi guys,
I think you removed too many settings.
I really liked these
These are great if I intend to use Magic Fields as a CMS system. Oftentimes, users of our systems will create posts instead of the correct item under the relevant write panel/custom post type and then they will wonder why things aren't working.
Since it is strictly speaking not possible to use MF2 to as a full CMS system now that you have removed pages from it, the "hide pages" feature isn't that important. But the reintroduction of pages would change that of course!
Another big no no is removing the feature where we can assign a post to a write panel. You are now creating an ecosystem in which it becomes impossible to install Magic Fields on a site which has been running for a while. I recon it is very important to have some sort of way to migrate normal posts to custom post types.
As it is, I want to install MF2 on one page, but I can't since I can't connect the posts which are there to the custom post types.
This is HUGE. huuuuuuuge
alright, :-)
Eivind
I opened the "Add New Link" page in the admin dashboard by accident and found a bug in MF:
Notice: Trying to get property of non-object in /Users/cmwelsh/code/dev/myprojectname/project/html/wordpress/wp-content/plugins/Magic-Fields-2/admin/mf_post.php on line 23
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14]
SELECT mfpm.meta_id, mfpm.field_name, mfpm.field_count, mfpm.group_count, pm.meta_value FROM wp_mf_post_meta as mfpm LEFT JOIN wp_postmeta as pm ON ( mfpm.meta_id = pm.meta_id ) WHERE mfpm.post_id =
I will look into this later and post my findings.
sorry my error
I was wondering would it be possible to add nested groups feature. Magic fields 2 has all the features except that nested groups. Or its already available there? Am i missing something.
This is what i'm trying to implement.
Main group: Movies
Group has some sub groups like Information,imdb information and other groups. Each of these sub groups has some fields.
Now is it possible to duplicate the main movies group?
When choosing visual for a multiline textbox, the box appears to the right of the visual and html buttons and subsequently partly falls outside the box it is in. On a 2 column admin screen layout the box will partially overlap the right column. Seems a simple question of adding a clear:both; css style to the box
WP 3.2.1 with no other plugins activated
Hi guys,
I thought this issue was solved, but I must have just messed with the files. It's not solved.
With the old filebase I see one set of custom post types and with the new, I see another. I checked the database for inconsistencies and realized that you have changed the way you serialize the post type info in the _posttypes table's argument field.
See this image: http://files.sigarett.com/mf2/mf2_debug_1.png
The produkt_1 table entry is created with the new filebase, all the other ones are created with the old filebase.
We can rewrite the arguments field to upgrade our old custom post types to correspond with the new filebase, but I wonder if you changed anything else as well?
And are you planning to change more of these things? If you do, obviously previous filebases stop working entirely. And in that case, I would REALLY appreciate if you informed those of us who are betatesting. We are building a large webpage with experimental technology so it is a bit of a precarious process. :-) eek
Eivind
Here is an excellent snippet from Yoast:
http://yoast.com/custom-post-type-snippets/
I used this in my functions.php to show information from the post in the admin area.
You can see a sample here http://cl.ly/3S0U432p0o3h2j2j0M0l
This seems like something rather simple you could implement or give an option for? Thanks!
Who changed "submit" to Enviar? :-)
Eivind
Hi,
I'm working really intensely with MF2 these days and besides enjoying the new functions a lot I'm starting to realize there is a general flaw in the codebase.
This flaw means that for many settings, whenever I change them they don't apply to the posts and taxonomies that have already been created. The settings are only active for future posts and taxonomies.
This is a serious issue which means difficulty restructuring a website which has already got a substantial database (it must probably be manually updated with custom SQL calls or PHPMyadmin work).
I'm sure this is not a huge challenge for you and it is IMO an essential update to make this version release ready.
Thanks,
Eivind
Después que crear una taxonomía me sale este error:
Notice: Undefined index: show_in_menu in /Users/davidvaldez/Sites/wordpress/wp-content/plugins/Magic-Fields/mf_register.php on line 62
Estoy en esta revisión: 30629ac
I'm trying to insert an image into a multiline field using the Add an Image button in the visual editor, but the 'Insert into Post' button is not available. I'm using WP 3.2.1 with the latest MF2 dev version and no other plugins active.
ps. very nice work so far
When I use "get_group", my datepicker fields are returned as just "am". They are stored in the database correctly, so something must be happening when they are fetched.
A quick fix would be appreciated!
It would be nice to be able to move already created fields between groups so that you dont have to create the field again just to use it in another group
Just check this demo.
http://www.onextrapixel.com/examples/jquery-cookie/
You can see this question there.
"Are you above 21 yrs old?"
If you click "No" radio button you can see another two forms fields appears below that question.
Could you please add this feature in our magic fields plugin?
Revisions doesn't showing magic field's custom fields. Please fix it. Thanks
Hey guys,
I don't know if this is the right place for a user request.
What I would like is for every Write Panel to come with the option to specify a custom icon image, giving me the opportunity to replace the pin with say a music or a cd icon. That would help the UI immeasurably.
This would be a great feature I think.
Cheers,
Eivind
Hey guys,
It seems that you have removed the feature from Magic Fields in which I can create write panels of the page type. I can't find a way to do it anywhere in MF2. It's all centered around custom post types.
That's a great setback in one area of the product and I would really hate to see it go. In many ways, it would thwart the CMS capabilities of the product.
Would love to hear your thoughts on this.
Eivind
Hi again,
There is no unselected state for the related field. So even though no related field is set, it will appear as if the first one is.
I consider this a bug. It would be great if the backend interface gave us the option of setting the text for the dropdown's unselected state ourselves.
Thanks!
Eivind
Hey guys,
When I enable URL rewrite on my posts the permalinks throw 404s. When I disable it, they start working again.
I'm not sure if I'm doing something wrong or if there is a bug. I figured I'd report it anyway.
Cheers,
Eivind
Icelandic letter not working. For example if I write Þetta it appears as Hu00e9r
Hi,
This bug is similar to the one I just posted. When we change a variable name, the database should be updated in a way that preserves the values that already exist for that name. The way it is now, the variables that used to exist for that field just disappear.
So the database will need to be updated upon changing the name of a field's variable. If not, it will not only erase a lot of hard work, it will also clutter the database with redundant content.
Cheers,
Eivind
It would be useful for the Media Image custom field to store the attachment ID.
I created some custom fields under my default post. But No datas getting stored when I click publish button. I mean all the fields getting blank again.
My problem, which was reported here ( #26 ) and was officially closed has returned. I downloaded the latest beta version, installed it alongside WPML Multilingual CMS 2.3.4, and WPML String Translation 1.2.6. Initially it seemed to work, posts were been saved, but now they do not. Maybe I configured something wrong but for the life of me cannto get MF2 to work properly now. Any help would be much appreciated..
Ta
I have a custom post type that I'm using to create a quick custom list.
public function init() {
register_post_type($this->postType,
array(
'labels' => array(
'name' => __('Historic Championships'),
'singular_name' => __( 'Historic Championships' )
),
'public' => false,
'show_ui' => true,
'has_archive' => false,
'supports' => array('title', 'page-attributes'),
)
);
}
I can't seem to add and edit Magic Fields on this post type unless I change public to true. Is this a bug, or intentional? I would appreciate some clarification on this behavior. Thanks. :)
Request option to customize thumbnail image of "Image" and "Image media" fields. I.e zoom-crop option. Now is set w=150&h=120&zc=1. For example, I want to set it to w=100&zc=0
Hi, when using WPML the related field type shows all languages.
I have found a solution for this by adding the argument 'suppress_filters=0' to get_posts in related_type_field.php, in the function display_field:
$options = get_posts( sprintf("post_type=%s&numberposts=-1&order=%s&orderby=%s&suppress_filters=0",$type,$order,$field_order) );
Is this something you can incorporate?
cuando tratas de editar un post type que no esta en el sistema en la funcion edit_post_type hace un redirect, pero algo esta mal, me sale el mensaje
"Warning: Cannot modify header information - headers already sent by (output started at /Users/sites/mf2/wp-admin/menu-header.php:89) in /Users/sites/mf2/wp-includes/pluggable.php on line 897"
recuerdo que la probe cuando la puse, y estaba funcionado buen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.