Alvaro
Forum Replies Created
-
i am working on a project where i need to build a website like bloggers.com
While creating the project i have faced few issue which I have posted,
in the project i need to to following things.
1. create a default page which will be added to all the blog created by user (multisite)
2. i need to disable the admin of all blog created in my network,we can say i need to change the default admin to author or any other role but not admin.So I have posted this issue on the forum.
hope this is not illegal.
the link of the project is
http://www.clientsprojects.info/microsite/Forum: Networking WordPress
In reply to: how to disable admin of all multisitehello David
I have installed wordpress 3.0.1 ,can you please guide me in which file i a have to add those 4 line of code as there is no mu-plugins folder<?php
function ds_new_user_meta($blog_id, $user_id) {
add_user_to_blog($blog_id, $user_id, ‘author’ );
}
add_action( ‘wpmu_new_blog’, ‘ds_new_user_meta’, 10, 2 );
?>i want all the default user have author role and they dont have any admin
hello
I have installed wordpress 3.0.1 ,can you please guide me in which file i a have to add those 4 line of code as there is no mu-plugins folder<?php
function ds_new_user_meta($blog_id, $user_id) {
add_user_to_blog($blog_id, $user_id, ‘author’ );
}
add_action( ‘wpmu_new_blog’, ‘ds_new_user_meta’, 10, 2 );
?>i want all the default user have author role and they dont have any admin
Forum: Networking WordPress
In reply to: how to disable admin of all multisiteyes you are correct,
i want my user to have a blog like blogger.com but in their blog they can create page and post and select theme and nothing else.
Everything else will be done by super admin like plugin available to them, etcForum: Networking WordPress
In reply to: need user to register only for site not as userthanks Andrea_r
your reply has helped me a lotForum: Networking WordPress
In reply to: need user to register only for site not as userthank you andrea, I have got the option but i want only to register for site and not for user.In that option i am not been able to do so.the option which are given are
Registration is disabled.
User accounts may be registered.
Logged in users may register new sites.
Both sites and user accounts can be registered.I need to have an option where user can register for a site and not for a username
Forum: Themes and Templates
In reply to: Adding an extra editor in page optionthank you BODA82
i have tried the method but not successful.have requested him for a guidance meantime i have used this plugin and its working fine for me so far multiedit-plugin
http://blog.page.ly/multiedit-plugin/thanks once again for showing me the post
Forum: Plugins
In reply to: Adding tinyMCE Editor for custom field when editing post pageCan you please explain a bit where to add those line.
Forum: Hacks
In reply to: making an edited post for moderationThanks kkarpieszuk,
As i am new in coding wordpress so will try to do the coding and will update you with the result,Forum: Fixing WordPress
In reply to: What's the best way to move from dev server to live?That is great,I will use it in my next project and update the result,Thanks adiant
Forum: Fixing WordPress
In reply to: What's the best way to move from dev server to live?You are welcome,
gallery_shortcode is a great way to do the work but it will create problem when a page is linked with gallery code,thats my knowledge tells me.
even page links are saved in database and if we change all the test server link with gallery short code then it will create problem.Forum: Fixing WordPress
In reply to: What's the best way to move from dev server to live?I use the following method to move from test server to live
I export the database using phpmyadmin and save the database in a wordpad or notepad.
Then I search for the test server url and replace it with the live server url
this can be done with replace feature of wordpad
and then I upload the database in the live serverin wp-config file i change the host name,username and password..
thats it.If i use permalink then once the site is live in live server i log in to the admin panel and go to permalink and copy the code for htaccess file and paste them in the htaccess file in the live server.
Till now i did not had a single issue by following this process in my uploading of around 5 website.Hope this helps you