hunk
Forum Replies Created
-
Forum: Plugins
In reply to: [Magic Fields 2] field IMAGE , REPEAT ALL IMAGES NOT SEPARATLYyou can paste the code for show the images, you use groups?
Note: check the index for group and field duplicate
Forum: Plugins
In reply to: [Magic Fields] Image/File Upload Problems with WordPress 3.5you user have permissions for edit posts?
MF check permission for edit_posts or edit_published_pages
Forum: Plugins
In reply to: [Magic Fields] Change the date format MFHi, add you format date in the following files
js/custom_fields/datepicker.js line~47-49
RCCWP_CustomFieldPage.php line~143
RCCWP_CreateCustomFieldPage.php line~371Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldsit is strange that the get_order_field function returns having 1 field, but the get function returns no information, you could have a backup of the DB
Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldsyou can write this, what return
<?php
$fotos = get_field(‘fotos_fotos’);
pr($fotos);?>;
Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldsthe get_order_field function return having 1 field, but get return empty, right?
Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldsAnd this post does not have any custom field, correctly?
Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldsthe pr function is for show the content of var
Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fieldswhat return
<?php
$fotos = get_order_field(‘fotos_fotos’);
pr($fotos);
foreach($fotos as $foto){
pr(get(‘fotos_fotos’,1,$foto) ));
}Forum: Plugins
In reply to: [Magic Fields 2] If /else does not work with empty fields<?php
$fotos = get_order_field(‘fotos_fotos’);
if( !empty($fotos)){
foreach($fotos as $foto){
//more code
}
} else {
print ”;
}
?>Forum: Plugins
In reply to: [Magic Fields] WP 3.5 & MF 1.6 – Datepicker Doesn't Workupdate to 1.6.1
Forum: Plugins
In reply to: [Magic Fields 2] how to get a field option from wp_mf_custom_fields table?wow thanks MAgenta Cuda
the github version work fine.
Magic Fields unfortunately can not make use of the option “from URL” that WP never saves the image in the library, Magic Fields uses the attachmentID, there is no way of knowing that image is being used
Forum: Plugins
In reply to: [Magic Fields] WordPress image uploader doesn't workresolved
Forum: Plugins
In reply to: [Magic Fields] Security: markdownPreview.php is a security holethanks, I added verification and filtering of javascript code
https://github.com/hunk/Magic-Fields/commit/7fc92330c7e3bbc2bbfdbf742190a4ef1646b2d8