Cyrolancer
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Links are not changed to mapped domainHello,
I totally forgot a custom plugin activated on the broken site. I am using WPML in that blog and it seems WPML is incompatible with the domain mapping settings that I use.
I opened a ticket on WPML site. Hope they answer soon.
Thanks,
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Links are not changed to mapped domainThere are no custom links. I add pages and these pages build up the menu automatically. I choose some of the pages as sub-page (using Page Attributes box). Also I produce a menu using Menus feature. All the items in the menu are pages.
Also, I am having the same problem with the category and post links.
Forum: Networking WordPress
In reply to: Creating a network-wide 404 pageHello again,
I think I have found a solution. I will explain step by step.
1. I have created wp-content/mu-plugins/custom-functions.php
2. I have added the following:
function check404() { if(is_404()) header('Location: /404.php'); } add_filter('404_template', check404);
inside custom-functions.php file.
3. I have created 404.php in the site root.
That is so easy. Sorry for my “post pollution” in the forum.
Forum: Networking WordPress
In reply to: Redirect to dashboard when using LDAP?? ??
I searched for an upgrade method but I couldn’t find any good documentation for it. It is true that, there are several docs for upgrading from WPMU 2 to WPMU 3 and I tried several of them. I don’t recognize the links right now, but I can say that they don’t work (at least for my case). So, I needed to do something and I have done it. Crazy or not, it works ??
Also, you are right at some point. The plugin doesn’t work as expected. I commented the line 88 in wpmu_ldap.functions.php and it just works.
Thank you all for your help and support Ipstenu ??
Forum: Networking WordPress
In reply to: Redirect to dashboard when using LDAPSorry for my late reply.
Probably, when I roll back, I will loose some data (and also some users).
The scripts I have written uses cURL and I think, there is no difference between manually uploading WXR files and using my script. Because cURL simulates the mouse click operations (cURL has a lot than this, of course :)). I haven’t used any database tricks or something similar that can cause unwanted situations. Just used cURL.
If there is something to do, I want to try it. I can also write some scripts to make things go faster. I have backups of course, older backups, but it will be a lot of pain to work on these backups. These backups hold approximately 2100 blogs in DB and severe modification to the base code. I really don’t know, if I need to roll back.
Forum: Networking WordPress
In reply to: Redirect to dashboard when using LDAPThank you for your reply Ipstenu. For the network, I am using
Akismet
My Custom CSS
Wordpress Importerand W3 Total Cache activated on Blog 1.
I have added WPMULDAP to mu-plugins directory.
I was using WordPress MU 2 (I don’t remember the exact version, but I can look for it if needed) and I wanted to upgrade to latest version. Automatic update somehow doesn’t work (maybe a server issue). Then, I have written a script to export all blogs to WXR from WPMU2. I have written another script that creates blogs and the users in WPMU3 and then imports all previously exported WXR files to the relevant blogs. Finally, the script moves the blogs.dir directory. Also, usermeta table is updated for all users to allow LDAP login (ldap_login = true).
This is all I have done up to now. Before installing My Custom CSS plugin, I still face this blog 1 issue.
Forum: Networking WordPress
In reply to: Redirect to dashboard when using LDAPIt seems when a new member logs in, his primary blog is set to blog id 1, which is the main blog of the multisite. He becomes the subscriber of the blog (blog_id = 1). His blog is also created and he is the administrator of his blog.
Is there any way to change the behavior of the new user not to subscribe to the first blog?
Thanks ??