mahype
Member
Plugin Author
Posted 8 months ago #
Hello together,
the most is done. You can test the new alpha Version of Default Blog 1.0 if you download it from Github:
https://github.com/Themekraft/default-blog
If you find Bugs or you have annotations, please use the Issue Tracker from Github under:
https://github.com/Themekraft/default-blog/issues
In case of need, you can email me your experiences to:
sven.wagener@rheinschmiede.de
Greetings,
Sven
http://wordpress.org/extend/plugins/default-blog-options/
anupalusoft
Member
Posted 7 months ago #
Working well, but 1 important thing is the pages and posts copied have their author who are in blog from which these copied, Newly created user cannot edit or delete them. Can we set custom authors also ??
mahype
Member
Plugin Author
Posted 7 months ago #
At the moment not, because the user settings where not copied. Later I will add this functionallity.
anupalusoft
Member
Posted 7 months ago #
ok thanks maype this is great pluin. I was juggling in your code though.
Can you tell me how to get new blog user id(on which we inserting) in your-plugin/components/posts/functions.php on line somewhere 382
So that i can update author after insertion of posts. I was trying with these lines of code:
//update Author
$user_id = $wpdb->get_results( "SELECT ID FROM wlo_users WHERE user_email IN (SELECT user_email FROM wlo_signups WHERE domain IN (SELECT domain FROM wlo_blogs WHERE blog_id=".$to_blog_id." ))");
wp_update_post( array('ID' => $post_id,'post_author' => $user_id) );
Getting error:Fatal error: Call to a member function get_results() on a non-object on $user_id
Can you help mahype.
jman88
Member
Posted 7 months ago #
This is so awesome!!!....by the way..I removed the previous version of Default blog, and uploaded the alpha Version of Default Blog 1.0. Where is the settings located?
It used to be under tools, now since I uploaded the alpha version, its no where to be found. Am I supposed to have both plugins installed ?
Sorry I am confused. Could someone guide me in the correct direction?...also, whats the difference between the paid version and free version.
Thank you wordpress community in advanced!!
http://wordpress.org/extend/plugins/default-blog-options/
mahype
Member
Plugin Author
Posted 7 months ago #
Yes. I moved the menu entry to the Network admin. Now you will find it under "Network admin / Sites / Default Blog".
At the moment there is no difference. But in future we will bring a new version with additional functions to copy settings to existing blogs.
mahype
Member
Plugin Author
Posted 7 months ago #
@anupalusoft,
I'm sorry but I am a bit too busy at the moment to give you the code for that. I think only the users have to be added to the blog which are the authors. The user Ids should be the same.