rsm08
Forum Replies Created
-
IMPORTANT!!!
I made a stupid mistake. The conflicting plugin was “Error Reporting” and not “Log deprecated Notices”.
Sorry!
Forum: Plugins
In reply to: [Log Deprecated Notices] Conflict with Codestyling Localization pluginOOOOPS!!
I’m very sorry. Please delete this thread. The conflicting plugin was “Error Reporting” and not this one.
Forum: Plugins
In reply to: [Codestyling Localization] Codeslyling no longer works after last update.I get the same behaviour – console errors about methods not found in js object, etc. I have version 1.99.30.
I found out that the error is due to my site disabling the local jquery and jquery-ui files and loading them from Google’s CDN instead. This plugin seems to block externally loaded js libraries for some reason.
Forum: Plugins
In reply to: SimpleModal Login: Registration form is not working with BuddyPressBuddypress makes the simplemodal plugin registration fail, because Buddypress takes over the default WP registration page by enforcing a redirect from all requests to the original regitration page
/wp-login.php?action=register
to Buddypress’/register
.The Buddypress registration form is very different from WP’s. It has different field names and BP requires you to pick a password, unlike standard WP (and simplemodal). So the form submission from simplemodal fails.
You can fix this by disabling Buddypress’ redirect. This can be done by inserting this code into your
bp-custom.php
file:
https://pastebucket.com/1415If you don’t know what bp-custom.php is, it is a file where you can put any customizations to buddypress. Read more here:
https://codex.buddypress.org/extending-buddypress/bp-custom-php/Turns out this was not a NextGEN error, but a general error that have been common for WordPress installations running on IIS7.
The error is caused by insufficient permissions on the temp dir that PHP uses, and so will occur for all applications running PHP on that server, not only WordPress.
The solution can be found here:
https://www.howyoudo.info/index.php/how-to-fix-windows-server-upload-file-inherit-permissions-error/Forum: Fixing WordPress
In reply to: rewrite rules problem. Cannot add URI starting with "members"bump
Forum: Fixing WordPress
In reply to: rewrite rules problem. Cannot add URI starting with "members"Hi Paul
I know that I can change the default slugs in the config file, but as my pages that uses “members” should logically be placed under BP, I’d like to use that slug for both BP and my own pages. My pages are i.e. a custom registration page and som members club stuff.
So if BP doesn’t use WP’s rewrite array, could you instead direct me to the place in the BP code where the URI’s starting with “members” are intercepted?
I’m sure I can hook in somewhere and make the neccesary modifications.
For further notice, I think it should be a goal to sometime in the future make BP use WP’s rewrite system, so that conflicts like this will not occur.
Thanks ??
Forum: Plugins
In reply to: How to display fatal PHP errorsThat only shows server errors and not PHP errors.
I’m looking for a way to stop WordPress from preventing the PHP errors to appear on screen as they would normally do..
Anyone?
Forum: Fixing WordPress
In reply to: Forum based on custom post typesbbPress just lacks basic functionality and needs a lot of work before it should be presented to anyone else but tech nerds who have the experience to figure out how to use it.
I tried simplepress but found, that it was anything but simple. I heard about many users having bad experiences with i too.
Problem is that free forums are usually made by “nerds” who are typically good at coding but rarely have an understanding for UI design. Being a tech nerd you are very skilled using a computer, and therefore you’ll tend to like forums that can do everything and has tonnes of functions – like i.e. phpBB. My users need an extremely simple and intuitive forum however.
So the ideal design for me would be the forum that Justin Tadlock is making, based on custom post types and therefore taking advantage of WP’s built in UI, image upload, etc.
I hope that if there are anyone out there with the same need, we can team up and have a better shot at getting it done.
Forum: Fixing WordPress
In reply to: Change file upload folders on WordPress 3.0 multi-siteSorry for posting before trying out the code .. it needed a little change for it to work:
add_filter('upload_dir', 'ml_media_upload_dir'); /** * Changes the upload directory to what we would like, instead of what WordPress likes. * * */ function ml_media_upload_dir($upload) { global $user_ID; if ((int)$user_ID > 0) { $upload['subdir'] = "/" . $user_ID; $upload['path'] .= $upload['subdir']; $upload['url'] .= $upload['subdir']; } return $upload; }
Forum: Fixing WordPress
In reply to: Media Library – How does it know which user uploaded which image?!bump
Forum: Fixing WordPress
In reply to: Change file upload folders on WordPress 3.0 multi-siteI digged and digged for hours and finally I found out how to take ultimate control over upload folders.
Whenever WP is about to save an upload, it runs the wp_upload_dir() function stored in wp-includes/functions.php. This function provides a filter for changing whatever you like – including the upload directory.
I used this to make individual per user upload folders:
add_filter('upload_dir', 'ml_media_upload_dir'); /** * Changes the upload directory to what we would like, instead of what WordPress likes. * * */ function ml_media_upload_dir($upload) { global $user_ID; if ((int)$user_ID > 0) { $upload['subdir'] = "/" . $user_ID; } return $upload; }
Hope it can help someone!
Forum: Fixing WordPress
In reply to: Media Library – How does it know which user uploaded which image?!bump