Wodrpress Plugin Magic Fields

Magic Fields: The Magic Wordpress Plugin

Magic Fields 1.3 was released

Magic Fields 1.3 is out, and come with a good number of new features and less bugs.

I’m going to speak a little about the new features.

New Features:

New type of Custom field called “Related Type”.

In Magic Fields 1.3 exists a new custom field type called “Related Type” with this type of field we can make relation between write panels. For example if we are working in our portfolio and we has a write panel called “clients” and a write panel called “services” we can now related some client with many posts “services”, this new field open a new field of ideas and possibilities.

Adding multimedia buttons to the multiline custom field.

Now is more easy add images and files in the multiline custom field, was added more buttons for doing this more easily.

Adding a new engine for make the validations.

this is the most exciting new feature of this release, was rewrote the “engine” for make validations in the custom fields, now Magic Fields use this jquery library for make the validations, with this in the next version will be add a new rules of validations for the custom fields!

Finish the support for the i18n.

Soon we will explain how translate Magic Fields to your language.

Removing obsolete Code.

One of the things to we personally enjoy is make Magic Fields more lighter, We continue removing and refactoring the code for make the footprint of Magic Fields more smaller. In this release was removed a repeated libraries of jquery.js and ui.jquery.js.

This project is made it in our free time and not has any company behind his development for that we are very grateful with the people to encourage us making donations for continue the development.

Thanks to:

  • Jens Wedin
  • Jan Ramroth
  • Eivind  Skjellum
  • Albert Ariza

And also we want say thanks to all the people to are helping us doing another kind of donations, like making patches for Magic Fields, reporting bugs and helping us giving support for others users and in general all who gave us any kind of feed back for this plugin.

And just for finish, you can found the documentation of Magic Fields here:
for now only in spanish, if you has a little free time help us translating the documentation from spanish to your language.

[UPDATE] Was reported a critical bug when is created a new page in a write panel,  we are going to release a new  tag with this fixed (version 1.3.1)  thanks for the report!
2_256x256
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • BarraPunto
  • LinkedIn
  • Meneame
  • Reddit
  • Slashdot
  • Tumblr
  • Well, first I want to thank you guys for continually improving this great plugin. This is a great release. Many many thanks for making this available :)

  • Hi, I gave tried magic fields for the first time yesterday on 1.2 and it’s very impressive, however today I tried 1.3 and there appears to be a bug with wordpress 2.8.6.
    Upon creating a write panel for a page either single or multiple any data entered into that panel is not saved, this is only with the pages though as the post section works fine.

    All the best

    Rob

  • Hi Rob.

    Yes you are right in the 1.3 version exists a little bug related with the write panels for pages.

    We are going to fix this asap and create a new tag soon.

    Thanks for your report.

  • Hi Rob.

    this bug was fixed, in a few moments we are going to publish a new tag.

    David.

  • wooo! cheers gnuget!

  • guys, i am so excited about this project. you really have breathed new life into the best wordpress plugin ever. thanks so much for the hard work!

  • hi guys!
    thanks for excelent plugin.
    unfortunately it doesn’t work properly with plugins for multilingual content like QTRANSLATE (http://www.qianqin.de/qtranslate/) or WPML (http://wpml.org/) to mention two in my opinion best multilingual plugins.

  • hey guys, great news, espacially the related fields.
    one question, when i hide the standard post panel, i can no longer reach the “categories” section because it’s part of the post box in the navigation. any idea how to solve this? cheers and thanx!

  • It would be great of the Related field worked with Next Gen Galleries – I’ve always wanted that feature!

  • have some problems with the date field. after selecting a date once, i don’t know how to delete it again. any idea?
    and i miss german date format which is like 24.12.2010 (day.month.year) i can do it by myself with php but it would be nice to just select it in the future.

  • Guys, first of all, Congrats on this great project!

    I would like to suggest two simple additions:
    1) When managing fields in the Group View, it would be nice to have a column showing the Order number and a couple arrows to raise or lower the fields order at ease;
    2) Still related to the item above, it would be great to be able to drag and drop fields to order them, or simply to move them to another group.

    Take care and keep up the fantastic job!

  • I noticed that when I upload images they go to the media library (item count changes) but I can’t browse the media by using post/page insert media button.

    Is there a solution?

  • Man, this is the best plugin evar. It’s exactly what I’ve been hunting for for a long time! Well done and thanks!

  • i wanted to add magicfields to several blogs, also using the event calendar plugin. unfortunetely it seems to be not working together. on the manage article page it says: “Parameter 1 to ec3_filter_posts_where() expected to be a reference …”

  • Hi MIlemann, Caroline and janr

    before of all, sorry for this delay in the reply of this thread, this month has a bunch of days to we spent with our families :) so in particular december is not a very productive month for magic fields.

    when we are working with Magic fields we are try to use the best practices in the development, trying to avoid any conflict with any other plugin.

    unfortunately we can’t anticipate any possible conflict between plugins and in another hand if the issue is from magic fields we can fix it but sometimes the problem come from another plugin and is a very hard task work on Magic fields and in the same time make patches for another plugins for work properly with Magic Fields.

    We will do the possible for provide some tips for fix any problem related with magic fields and any other plugin but we need to you isolate the most possible the bug and provide any error to you see.

    I hope to you be able to provide us more info about what things doesn’t work with magic fields.

    Al.

    Thanks for your feedback we will take in account your suggestions

    Miek,

    Thanks :)

    janr

    Can you open a thread in the magic fields group support? i think there you will find a better help.

    http://groups.google.com/group/magic-fields

  • I can’t seem to get this plugin to work with WordPress MU 2.8.6. I try to create a write panel, but when it forwards me to the next page, the write panel is empty. If I go back to the main plugin page, there are no custom write panels. Here’s a video showing the bug. I know it’s New Years Eve, but is there anyone who has seen this bug and fixed it?

    http://screenr.com/xFS

  • hey!
    nice plugin… but is it possible to create links with your magicfield plugin?
    i’ve always got this errormessage, when i try to create a weblink and click on it (type: textbox) :

    http://www.google.de

    hers’s my code:

    <a href="http://”>Webseite

    what’s wrong?

    happy new year,
    duff

  • Hi guys, just curious whats the situation with Magic Fields and the current wordpress MU?

    Happy New Year!

  • hi rob

    I did tests in WPMU with Magic Fields installed as a wordpress mu plugin and all seems to work fine.

    Well tried to test magic fields with wordpress mu as much as i can, i’m not be a wordpress mu power user but i fix some issues.

    if someone found a specific bug and is able to replicate it, feel free to open a thread in the support group and i will work in fix it.

  • heya
    i have a feature request:
    if possible, could you create an option to have a layer of security for files uploaded through magic fields.

    this could probably be as easy as having a checkbox next to the upload button, which if ticked sends the file to a separate folder. then users could add a level of security to that folder.

    what do you think?

    thanks!

  • Hello,
    thank you for this awesome plugin!
    But i have error message on my backend -.-
    “Warning: Cannot modify header information – headers already sent by (output started at XXXX\wp-content\plugins\magic-fields\RCCWP_WritePostPage.php:2) in XXXXX\wordpress\wp-includes\classes.php on line 1586″

    I can’t delete or publish posts. Whats wrong? Please help!

    Greetz and thanks!
    Hendrik

  • Hi Guys i’m having some strange issues with with magic fields and wp 2.9.1

  • for image/audio/video uploads would it be possible to call the wp-gallery function for storing images instead of using the separate uploader?

    The reason I ask, is doing it this way, if a user wants to use the same image in many places, they have to upload multiple copies of it. Where if we used the wp-gallery function, then the user would have an interface they are used to using, and could select images or files already uploaded to their server.

    This also would really help those of us using wordpress mu, as the users upload directory is sorted out really nice, and allows me to separate the directories onto separate servers without issues.

  • tried installing 1.3 onto my wordpress-mu 2.8.5 site just now.

    I keep getting error:
    Magic Fields is not ready yet. must create the following folders (and must chmod 777):
    wp-content/plugins/magic-fields/blogs.dir/5/files_mf/phpthumbcache/
    wp-content/plugins/magic-fields/blogs.dir/5/files_mf/

    I can say without any doubt that I have set the blogs.dir to -R 777
    drwxrwxrwx 2 httpd httpd 4096 Jan 11 16:42 phpthumbcache
    drwxrwxrwx 3 httpd httpd 4096 Jan 11 16:42 files_mf

    No matter what I tried I could not get magic-fields to create those folders, so I did it manually and then did the chmod to 777 on both directories.

    I think something is wrong here, but not sure what to try next.

  • I figured out the problem but am unsure of what file to edit in order to fix the issue.

    The problem is that magicfields is creating the upload directory in the absolute wrong place.

    example:
    /wp-content/plugins/magic-fields/blogs.dir/5/files_mf/phpthumbcache/

    It should be:
    /wp-content/blogs.dir/5/files_mf/phpthumbcache/

    I hope that makes sense. There is no way you would ever want to store the data in the plugins directory for magicfields when wordpress already creates the storage directories in the ‘right’ place when using wordpress-mu.

    I will manually create those folders for now, so that I can further test magicfields with wordpress-mu, but I do NOT want to keep the uploads directory there.

    hope it helps someone

  • well I created the directories as specified, and the error went away. However the plugin does nothing. When I go in to create a new panel, it does not give me a type of input box, nor does it save the panel.

    Honestly as it is, magicfields does not seem to work at all for me in wpmu.
    (I am willing to send you login info if you want to see the issues)

  • Hi shawn,

    For use magic fields in wordpress MU you need install magic fields as a wordpress mu plugin more info here

    http://groups.google.com/group/magic-fields/browse_thread/thread/3c4371a78d661e05/aaf286105da18d54?lnk=gst&q=wordpress+mu#aaf286105da18d54

    David.

  • Is there a fix for the multiline text box line breaks being removed when using this custom field? I have the option selected to hide the multiline formatting buttons and just want a basic text box but the text doesn’t format correctly…it just keeps running into my right sidebar widgets.

  • What is the proper usage for the Related Type. When attempting to display the content of that field using . It is returning a numeric value. What would be the proper way to display the associated text value? Thanks for your help and Magic Fields Rocks!!

  • Hi cyberdelik the custom field Related type, could you do that is related to the current post, something like this http://gist.github.com/276844

  • @trey try using this:

    $meta_values = get_post_custom($post->ID);
    $post_content = apply_filters('the_content', $meta_values['insert_custom_field_name_here'][0]);

    That should add line breaks to the multiline output.

  • Brandon,

    Can you give a little more explanation on where that snippet should be entered…I’m assuming it goes near line 404 in get-custom.php…please help…thanks!

    Trey

  • @trey – you would put that inside the loop before you want to display the text in the multiline textbox. I didn’t mention this before, but in order to output the formatted content, you’d need to append the following to my previous code snippit:

    echo $post_content;
  • Brandon,

    I implemented the code as you suggested but it still does not format correctly(it does display, so at least I know the code works)…same issue…problem with my theme?

    Trey

  • @trey – I’ll be happy to look at it if you’d like. Drop me a line over at http://www.think-press.com with some details and I’ll check it out.

  • Hi there,

    I’ve installed MagicFields in my WordPress and I’m giving it a go. Created what I think to be a group and called it book. Under book there are several fields. With this configuration I created a new post book. On my theme I added inside a loop this code:

    $elementos = get_group (“book”);
    foreach($elementos as $elemento){
    echo pr($elemento);
    print_r($elemento);
    }

    Unfortunately it gives me a php error:
    Warning: Invalid argument supplied for foreach() in …/wp-content/themes/default/single.php on line 34

    I can call all fields independently and use other methods that don’t give me error. This one seems to have a problem.

    Any ideas?
    Regards

  • Hi there,

    I’ve just realized that the group must be several fields created inside a specific group (+ Create a Group button). I thought get_group would just provide me all fields grouped.

    regards

  • whats coming up for magicfields?

  • has anyone gotten magic fields to work on wordpress mu 2.9.1.1 (to be specific) along side buddypress?

  • Well i test Magic Fields with wordpress mu 2.9 but i don’t sure if works fine with buddy press.

    If you are going to check if all works fine, you need consider to Magic Fields must be installed as a WPMU plugin. More info here:

    http://groups.google.com/group/magic-fields/browse_thread/thread/3c4371a78d661e05/e68e6a578bb75d7d?lnk=gst&q=wpmu#e68e6a578bb75d7d

    David.

  • So pleased to discover Flutter isn’t dead. You guys are doing a great job with it.

    Feature requests:

    - Default values. Let designer/developer assign default values for fields. eg a date field might have today’s date; an image field might have a default image

    - New field type Page or Post id. i.e. Ability to link to another page or post and embed it. e.g. you might setup a page that is a short disclaimer to go on the end of each post.

  • How do i use related field type?

    I used and it throws out the post or page ID number.

    How can I make that a link or simply display the related post content?

  • oops code it not allowed here –
    I used echo get(‘field_name’)

    How to diplay link to or content from related post/page?

  • I keep getting an Warning: Invalid argument supplied for foreach() what am I doing wrong

    this is my code
    $songs = getFieldOrder(’source_images’);
    foreach($songs as $song){
    // Get the first parameter is the name of the field, the second is the index of the group when this
    // Field is not duplicated placed in a group 1, the third parameter is the index of the field
    echo “”;
    }
    ?>

    and this is the website.
    Berman.tylerstefanich.com

  • @jason – There are tons of built in WordPress functions that you can use with a page/post id. For example, you could link to a related post or page by using the following syntax:

    <?php echo get_permalink( get( 'field_name' ) );?>
  • @tyler – Since foreach only works on arrays, you should test if $songs is actually an array with items in it. Try this:

    <?php
    $songs = getFieldOrder(’source_images’);
    if ( is_array( $songs ) ) :
    foreach( $songs as $song ) :
    /*
     * Get the first parameter is the name of the field, the second is the index of the group when this
     *Field is not duplicated placed in a group 1, the third parameter is the index of the field
     */
    echo "<pre>".var_dump( $song )."</pre>";
    endforeach;
    endif;
    ?>
  • Hello,
    If i click on “Manage Posts” of a specific write panel i have the option to select “all” posts or “published” posts on top of the page. However if i click on these wordpress sends me to the usual posts overview not the write panel specific one. I added a screenshot to clearify which buttons im talking about. Anyone knows a solution for this?

    img23.imageshack.us/img23/5544/abcid.jpg

    Thanks,

    volderette

  • I am a new user and a little confused…

    - What I WANT to do is add a second textbox to all of my Pages called “Intro”. The editor will type most of the page content in the main textbox, and type the intro text into a second textbox.

    - With Magic Fields, I was able to create a “Write Panel” with a multiline textbox which I labeled “Intro”. When I did this, a new section appeared in the left column of the admin panel called “Intro”.

    - I clicked on the new “Intro” section, and what I see is exactly what I want… two textfields (one for most of page content + second one for intro text). This is what I want!

    - But then I went to edit one of my existing pages, and I do not see the second textbox. I want the second textbox to show up on all my pages – NOT be a separate option in the left menu.

    I’m obviously doing something wrong – can someone please help me understand what I need to do to have the second textbox appear when I edit my pages?

    Thank you very much for you help!

  • Nice to see a fork of Flutter, who doesn’t seems to be working with WP 2.9 and it’s been a long time since last udpate.
    I’m getting this error when trying to select a post using Related Type

    Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\xxx\wp-settings.php on line 646

    Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\xxx\wp-settings.php on line 661

    Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\xxx\wp-settings.php on line 668

    Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\xxx\wp-settings.php on line 675

    Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\xxx\wp-settings.php on line 711

    Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\xxx\wp-settings.php on line 18

    What could be causing this issue?

  • Hi, I am having some serious problems with the image uploader. No matter what I do, none of the images are resized or cropped by the system – they appear in posts at full size. The plugin seems to be ignoring the Magic Fields width and height settings as well as the zoom-crop option “zc=c”. Also, every time I upload an image, it says “Successful Upload” in the admin panel, but instead of an image preview, it shows a bunch of red error text:

    http://lissone3d.com/bpg/phpthumb.png

    I have even tried a fresh wordpress 2.9 install, but it didn’t work. Does anyone know how I can fix this problem? I’d really appreciate any help.

    Thanks,
    Sergio.

You can follow any responses to this entry through the RSS 2.0 feed.

Trackbacks / Pingbacks