Jan Koester
Forum Replies Created
-
Forum: Plugins
In reply to: [RecipePress Reloaded] White sitePlease post which version of wordpress, recipepress reloaded and PHP you are using.
To investigate further please set
define('WP_DEBUG', true);in wp-config.php and post the error message you get.Forum: Plugins
In reply to: [RecipePress Reloaded] 0.6.0 Beta only recipe picture is shownAs you can see from the error prompt the proble is caused by
– the paid-downloads plugin
– the lightcafe theme
but not by recipepress reloaded.
Please deactivate the paid-donwloads plugin and change the theme to mmake sure there is no error message related to recipepress reloaded.Forum: Plugins
In reply to: [RecipePress Reloaded] 0.6.0 beta doesn't work, unexpected parse errorThe fix seems to be easy. Could you please try to replace lines 51-68 in php/helper/admin_menu_helper.php by the following:
function f_comment( $entry ){ return $entry[0] == T_COMMENT; } function rpr_admin_template_list() { $dirname = WP_PLUGIN_DIR . '/recipepress-reloaded/templates/'; $templates = array(); if ($handle = opendir( $dirname )) { while (false !== ($file = readdir($handle))) { if( $file !='.' && $file !='..' && $file != '.svn' ) { // Param parsing inspired by http://stackoverflow.com/questions/11504541/get-comments-in-a-php-file // put in an extra function? $params=array(); $filename = $dirname . $file . '/recipe.php'; $docComments = array_filter( token_get_all( file_get_contents( $filename ) ), /*function($entry) { return $entry[0] == T_COMMENT; }*/ "f_comment" );This should fix the problem. Thanks for testing this for me, as I can’t test the plugin against all available PHP versions.
Regards Jan
Forum: Plugins
In reply to: [RecipePress Reloaded] 0.6.0 beta doesn't work, unexpected parse errorPHP 5.2.x is not supported any more since January 2011, so you might consider to update. Which OS are you using?
The bug you mentioned is affecting PHP <= 5.2. I’ll have to think about if and how I’m going to fix this.
Forum: Plugins
In reply to: [RecipePress Reloaded] 0.6.0 beta doesn't work, unexpected parse errorAll right. The file mentioned in your error contains a function not supported by PHP v4. As PHP 4 is end-of-life since 2008 I will not fix this issue. Please update to PHP 5.
BTW: PHP 4.1.8 is REALLY OLD and has to be considered insecure!
Forum: Plugins
In reply to: [RecipePress Reloaded] 0.6.0 beta doesn't work, unexpected parse errorPlease post the PHP version you are using. This sees to be a version specific problem.
Regards Jan
Forum: Plugins
In reply to: [RecipePress Reloaded] Print issueVersion 0.6 does offer a very simple print function. However I recommend using one the wordpress print plugins.
Forum: Plugins
In reply to: [RecipePress Reloaded] Is there an "excerpt" for a recipe?That looks good. However I won’t find time to eveluate the code until the weekend.
Forum: Plugins
In reply to: [RecipePress Reloaded] localization, italianPlease send your file by mail to admin@cbjck.de
I will then update it for you and send it back so you can complete your translation.Forum: Plugins
In reply to: [RecipePress Reloaded] localization, italianHi Simone,
it would be great if you could update your localization using the current development state: http://downloads.wordpress.org/plugin/recipepress-reloaded.zip
I will try to release version 0.6 within the next weeks and would like to include the Italian localization as well.
Regards
JanForum: Plugins
In reply to: [RecipePress Reloaded] Is there an "excerpt" for a recipe?This should be possible even without adding an extra field. We could save the text from the description field to post_content as well. However I won’t have time to do this soon.
In the next weeks I will try to release version 0.6 of the plugin. I can include this new feature in version 0.7.
If you like I can give you some alpha code for testing. You can also try to do this yourself and I will happily include your code. Look at php/class/rpr_core.php and edit the function
recipes_save().Forum: Plugins
In reply to: [RecipePress Reloaded] Is there an "excerpt" for a recipe?The plugin is actually creating excerpts for recipes at least if you call them by
get_the_excerpt(). I’m not sure how the excerpt field in the post list is generated. I will try to loook into this on thze weekend.Forum: Plugins
In reply to: [RecipePress Reloaded] localization, italianHi Simone,
that’s great news an I’ll be very happy to include your translation into the next release. However in the next version some new features will be introuced and also require translation. As soon as I’ve finished a beta version I will contact you, so you can update your translations.
Regards
JanForum: Plugins
In reply to: [RecipePress Reloaded] Can other site users post recipes?I’m not sure what you mean.
Creating recipes from the dashboard requires the role ‘can edit posts’, so anybody who can write normal blog posts, can also craete recipes. At least that’s how ist should be …There is currently no possibility to create recipes from the frontend. I wont have the time to develop this feature but will be happy to include it, if anybody else is developing such a functionality.
Forum: Plugins
In reply to: [RecipePress Reloaded] A number of things not workingNow this error is easy to fix and indeed related to your PHP version. You can fix it manually by editing two files:
in templates//metabox_ingredients.php change line 4 to:
$ingredient_link = RPReloaded::get_option('recipe_ingredient_links');
and in tempalates/metabox_instructions.php change line 3 to
$images = RPReloaded::get_option('recipe_instruction_image');This error seems to be specific to earlier version of PHP. Please understand that I can only test the plugin against one version of PHP.
This fix will also be included in the upcoming release 0.6.0 of recipepress-reloaded.