ELAN42///
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Setting Featured Image hangs on savingI “resolved”: the problem is/was related to the plugin “wp e-commerce” ‘s product image current beta version.
I had to downgrade to stable version and now it’s working again.
Hope they fix this soon.
Forum: Fixing WordPress
In reply to: Setting Featured Image hangs on savingI have this problem too, I tryed to downgrade to 3.4.1 and the problem was not solved (or I was too stupid and I didn’t trash the browser cache before trying again).
I also tryed WP 3.5 beta and it did not resolve the problem.
Forum: Fixing WordPress
In reply to: Disable 3.3 New Feature Tool Tipsthis solution don’t works for me …
can you be more specific ?Also, is there some wp-config, or functions.php, where I can put this code for a specific website other than editing WP code ?
In the future, I suggest for the developers to add a global option like:
define(‘WP_USE_POINTERS’, ‘OFF’);I found a solution !!! This seems a bug to me, the menu pages are registered with their names, not with the slug. So this is the solution:
add_role('customer', 'Customer', array( 'NextGEN Gallery overview' => true, 'NextGEN Upload images' => true, 'NextGEN Manage gallery' => true, 'NextGEN Edit album' => true, 'NextGEN Manage tags' => true, 'NextGEN Change options' => true, 'NextGEN Change style' => true ));
It’s still not clear how to give the “manage_others” role. Actually this user can’t edit other’s galleries.
Can some developer answer please ?
Looking at NextGen Gallery code (admin.php file) I found this name in the add_menu calls, but they don’t work:
add_role('customer', 'Customer', array( 'nggallery' => true, 'nggallery-add-gallery' => true, 'nggallery-manage-gallery' => true, 'nggallery-manage-album' => true, 'nggallery-tags' => true, 'nggallery-options' => true, 'nggallery-style' => true, 'nggallery-roles' => true, 'nggallery-about' => true, 'nggallery-setup' => true ));
Thank you for the great fix.
Forum: Plugins
In reply to: [Plugin: WordPress SEO by Yoast] XML Sitemap missingIt’s ok Joost, just look at my fix it allowed me to use your plugin in a apache directory with > 50 websites installed.
Ok, so the answer to give to the first poster was this:
define('WP_MEMORY_LIMIT', '128M');
And now it’s a resolved topic.
Yes but my point is different, as a webmaster but also hosting provider, I don’t want a CMS to have in it’s code a function that, ON REQUEST, asks for 256 M of RAM.
I don’t care about how much themes and plugins my customers have activated, their websites have to FAIL to open and gives error if they go over my memory_limit in php.ini.
This is why a memory_limit exists.So I’m asking you and WP developers to find a more flexible way to fix things, that could be a new option in wp-config like:
define(‘WP_MEMORY_LIMIT’, X);Where X is the maximum memory limit that WordPress will ask for a user that activate 2305982 plugins without caring about my server.
p.s. this line 109 in admin.php can be the cause of MANY of my server crashes in this last months.
But why we are talking about ../wp-admin/admin.php ?
That memory allocation is not inside bad plugins / themes …
… or am I wrong ?I had the same problem, and even if I HAVE access to my apache+php configuration, I REFUSE to give to a php process 256 M of memory limit.
Neither I want to change admin.php file because it will be overwritten every time I upgrade WordPress.
Don’t you guys think 256 it’s too much ?
Please go back to 128 in next versions, a php CMS should work with 32M of memory.
Forum: Plugins
In reply to: [bSuite] bSuite disappeared from plugin repository ?Where do I download the last version of Scriblio ?
Are you updating without changing the version number ?I see: Last Updated: 2012-4-26
But it’s: Version 3 Beta 2Like the one I have already installed and is not working.
In the end, I created a function myself copying from nggShowRandomRecent to get random image from ngg gallery.
My target was to have a random image title for the blog / website.
function NggRandom($galleryId = 0) { // get now the recent or random images $picturelist = nggdb::get_random_images(1, $galleryId); $out = '<a href="'.get_bloginfo('url').'" title="'.get_bloginfo('name').'"><img src="'.$picturelist[0]->imageURL.'" title="'.get_bloginfo('name').'" alt="'.get_bloginfo('name').'" /></a>'; return $out; }
Of course the template tag is:
<?php echo NggRandom (ID); ?>The behaviour is odd… if I use:
echo nggShowRandomRecent('random', 1, '', 1);
It works but shows a “default-templated” picture, I need to customize it.
If I use:
echo nggShowRandomRecent('random', 1, 'mytemplate', 1);
It don’t works (tryed to copy from singlepic.php): the $image array is NULL.
Forum: Plugins
In reply to: [bSuite] bSuite disappeared from plugin repository ?Oh really?
This is what I was needing here:
https://www.hhvenice.com/cat-holidays-en/But when I try to activate the plugin I still get the errors, did you update it ?