Alvaro
Forum Replies Created
-
Forum: Networking WordPress
In reply to: restrict the creation of site to 1 for userThank you Andrea_r
i have installed the plugin and have activated for network.
but my network user are still able to create new sites when they visit mysite under DashboardForum: Networking WordPress
In reply to: adding user via phpme again
my issue has been resolved..for those who are looking to run wordpress function from external php files..they have to write this 3 lines in the beginning of their php filedefine('WP_USE_THEMES', false); require_once (dirname (dirname (__FILE__)) . '/websitefoldername/wp-blog-header.php'); require_once (dirname (dirname (__FILE__)) . '/websitefoldername/wp-includes/registration.php');NOTE
Please change websitefoldername to your site folder name
after this they can run any wordpress function..
I am creating users using this techniqueForum: Networking WordPress
In reply to: adding user via phpi have modified the code a bit
<?php //the include is working fine require_once($_SERVER['DOCUMENT_ROOT'].'/multisite/wp-blog-header.php') ; //taken this variable for testing purpose $user_name="admin1" ; $password="admin1"; $password=md5($password); $email="admin@admin.com"; $user_id = wp_create_user($user_name, $password, $email) ; // check if there was an error if (is_wp_error($user_id)){ if (!isset($errhandler)){ $errhandler= new apperrors() or die ("unable to creat instance of app errors") ; } $errhandler->add($user_id->get_error_message(),"my_wp_class->add_user") or die("unable to add record to errors - $user_id");; } ?>Still getting the same error..it seem wordpress environment is not loading…
Anyone with any solution…Forum: Networking WordPress
In reply to: WPMu disable certain sidebar widgetcan you share your finding?Even I am looking for a similar plugin
Forum: Hacks
In reply to: Add user via PHPhello
i am trying to achieve the same..i have written the code with the help of code in this post but i am getting an error..can anyone help me out figure where I am doing wrong<?php //the include is working fine as i tried to echo from wp-blog-header.php and its working fine require_once('D:\wamp/www/d2mail/wp-blog-header.php') ; //taken this variable for testing purpose $user_name="admin" ; $password="admin"; $password=md5($password); $email="admin@admin.com"; $user_id = wp_create_user($user_name, $password, $email) ; // check if there was an error if (is_wp_error($user_id)){ if (!isset($errhandler)){ $errhandler= new apperrors() or die ("unable to creat instance of app errors") ; } $errhandler->add($user_id->get_error_message(),"my_wp_class->add_user") or die("unable to add record to errors - $user_id");; } ?>Forum: Networking WordPress
In reply to: disable email varification on multisitei need to disable email verification because my user of multisite are coming from another website which is in core php and have the email verification of its own.I have also used recaptcha in my core php file .
Forum: Hacks
In reply to: Add user via PHPhello compdrmt
i am working on doing the same things you have done,can you please give me the code of your registration and login page.Forum: Networking WordPress
In reply to: disable email varification on multisitethank you David Sader you saved my day.
Forum: Networking WordPress
In reply to: Help! Need registration like non-multi-sitethanks jeffpblues
but the plugin is a paid one.
but another kind member (David Sader) has given me an free option.
the link of the plugin is
http://pastebin.com/se5NBVcH
the credit goes to David Sader for the linkForum: Networking WordPress
In reply to: how to create a non editable and non deletable default pageI have thought about that option but the issue is every blog will have different content on the permanent page for example i need to create a donation page which will have different content according to each blog
thanks Andrea
its working like a charm for memultisite means
i want my user to have their website with limit access,they can do following work.
1.create edit and delete pages pages created by them
2.change theme(select different theme cant modify code)
3.change information about their profile
4.create user for their siteForum: Networking WordPress
In reply to: Help! Need registration like non-multi-sitehello
i am also looking for a similar plugin,please let me know the url of the plugin you have foundForum: Networking WordPress
In reply to: how to create a non editable and non deletable default pagehello Ipstenu
thanks for the reply.
i am creating a network,i need to create a page which will be present in all the network blog and the blog administrator will not be able to delete the page.
for example a page of network sponsor.it should be present in all the blog in the network and no one except the super admin can make changes on it.Forum: Networking WordPress
In reply to: how to disable admin of all multisitehello Andrea
thanks a lot it works like a charm…you saved my life
thanks once again