sakibmoon
Forum Replies Created
-
Forum: Plugins
In reply to: [NextGEN Public Uploader] What does $_FILES['MF__F_0_0']['error'] mean?Thanks for the information. I have also seen the similarity between addgallery.php and class.npu.uploader.php
But still it’s weird. Why would someone write something like that?
Anyway, if you guys think of updating your plugin any time, I have a simple suggestion. You are using this to show error.
self::show_error( __( 'No gallery selected.', 'nextgen-public-uploader' ) );
The definition of show_error is this
public static function show_error( $msg ) { if ( is_user_logged_in() && apply_filters( 'uploader_ngg_admin_show_error', true ) ) { nggGallery::show_error( $msg ); } }
The show_error($msg) function echo the $msg directly, which shouldn’t be done in a shortcode. Instead you should return that message. I had to face weird problem because of that.
Anyway, despite these little quirks, It’s really a good plugin. Thanks for the plugin.
Forum: Plugins
In reply to: [NextGEN Public Uploader] What does $_FILES['MF__F_0_0']['error'] mean?I am not sure, but I guess that portion of code needs to be run without any condition. I think you can omit that condition as it will always return true.
Forum: Networking WordPress
In reply to: theme 404.php and category.php redirect to homepageOff-topic:
I was reading your site’s “about me” page and I must say wow.
I am surprised to hear that you are not wordpress support staff. Your dedication surprise me. They should make you their #1 support stuff(no offense to others), considering the amount of support you have provided.Forum: Networking WordPress
In reply to: theme 404.php and category.php redirect to homepageNo. not subfolders. and NOBLOGREDIRECT is not defined in wp-config
Forum: Networking WordPress
In reply to: theme 404.php and category.php redirect to homepageAnother update is the site use wpmudev
Forum: Networking WordPress
In reply to: theme 404.php and category.php redirect to homepageYes. that theme is active on the site.
No. not all 404 urls redirect to the front page. I am giving you a general ideahttps://www.example.com/category/category-name —- redirects to front page
https://www.example.com/category/xxxxx —- redirects to front page
https://www.example.com/xxxxx —- redirects to front page
https://www.example.com/xxxx/xxxx —- goes to 404 pageI am using the main site. No subdomain or subfolder
I am not sure about .htaccess. I guess .htaccess is not created. I don’t see one anywhere.