nirzol
Forum Replies Created
-
Forum: Plugins
In reply to: [bbp style pack] Avatar before usernameOh yeah . I missed it.
Thanks.Forum: Networking WordPress
In reply to: Domain MappingOk thanks. So now each site in multisite is like a single site for domain mapping.
Thanks I will make the changes in my database.Forum: Networking WordPress
In reply to: Domain MappingOh sorry I will try to clarify my problem. And thanks for move my topic in the good forum. English is not my first language.
Before wordpress 4.5, I used domain mapping plugin for my multisite . It did the job great.
Since 4.5 I see this feature in wordpress directly.My main site is : mysite.fr
Others site like that : mysite.fr/site1 , mysite.fr/site2…. etc
With the plugin when I mapped domain :
mynewurl1.fr to –> mysite.fr/site1
mynewurl2.fr to –> mysite.fr/site2
And mysite.fr/site1 still working.Now with wordpress according to the codex (link in my previous post) say that I have to change the site URL of each site in my multisite.
I do that. It works . I disable domain mapping plugin to.
But all my link mysite.fr/site1 in contents posts widget etc… don’t work anymore.So my question is : Do I have to change in my Database all url mysite.fr/site1 to mynewurl1.fr ? And if yes, are there some tables or fields I must not modify ?
if no, what the best way ?Sorry again for bad english . And thanks for your help.
- This reply was modified 9 years, 4 months ago by nirzol.
Thanks Michael . i will look further into that 🙂
And if I can find a solution will post here !
Forum: Plugins
In reply to: [User Role Editor] URE_ENABLE_SIMPLE_ADMIN_FOR_MULTISITE not workNice thanks ! 🙂
Forum: Plugins
In reply to: [User Role Editor] URE_ENABLE_SIMPLE_ADMIN_FOR_MULTISITE not workWow ! Ok works like a charm 🙂
Thanks Vladimir ! Maybe a note on FAQ will be great 🙂
Oh So sad to hear . It seemed to be a great feature.
Maybe if you have time you can tell me how to do that.
Else I will do it without 🙂Thanks !
Hi !
News about that ?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Problem when updating to 2.0.5I’ve got same error.
Any solution to solve it please ?
Thx for reply.
I think my english is not good. I try to explain an other way sorry1. I smush all my images
2. my folder uploads get some problems and I lost all
3. I take a save of my images befor I smush them
4. All my images is there but when I try to smush my images it say me that is already, but in this backup , the images is not smushHope is better like sorry,
Forum: Plugins
In reply to: [Breadcrumbs Everywhere] Problem with breadcrumbs titleThx for reply Betsyk.
Yes plugin not work on specific page as you said.
Yes I assign page in settings > buddypress > pages.Thx for information I saw it. So I have to wait 1.7. ?
Hope we ll be easy to desactivate template pack and activate new system with 1.7 ^^
Thx a lot Betsyk
it’s normal agelonwl 🙂
But is better to do like that : (I hope , I use the good function)
Filter people who have NO ROLE in the site.
add this line : if ( !current_user_can( ‘edit_posts’ ) and !current_user_can(‘subscriber’)){</strong> //add old user to default site id=1. Don't forget to change $blogid !! if ( is_user_logged_in() ) { if ( !current_user_can( 'edit_posts' ) and !current_user_can('subscriber')){ get_currentuserinfo(); $blogid = 1; $role = 'subscriber'; add_user_to_blog($blog_id, $current_user->ID, $role); } }thx for help Marcus
For people with the same probleme like me . This is what I do :
2 functions, one to put user in my default site and an other for the new user.//add new user to default site id=1. Don't forget to change $blogid !! function efg_add_user_to_blog($user_id) { global $wpdb; $blogid = 1; $role = 'subscriber'; add_user_to_blog($blog_id, $user_id, $role); } add_action( 'user_register', 'efg_add_user_to_blog'); //add old user to default site id=1. Don't forget to change $blogid !! if ( is_user_logged_in() ) { get_currentuserinfo(); $blogid = 1; $role = 'subscriber'; add_user_to_blog($blog_id, $current_user->ID, $role); }thx
Maybe if in my function.php I add :
http://codex.ww.wp.xz.cn/Plugin_API/Action_Reference/user_register
with
http://codex.ww.wp.xz.cn/WPMU_Functions/add_user_to_blogit ‘s the good solution?? or they are an other better one ? plz
hum by default user is added to the network not to the default site. So he haven’t got a default role ….
Some help ? thx a lot