@aphrodite, I am glad you like it. If I understand what you are asking, shouldn’t that be handle by another plugin instead of being a feature of a login widget?
well yes and no.
Because the subscription plugin works even if you are already network registered. But anyone can so subscribe, which is not good in case of sites requiring validation (if there is private section, forums, etc).
The subsciption validation (not registration huh) should definitly be in this one 🙂
The widget only detects if a subblog registration function exists. It is not adding functionality nor is it being used in the registration or subscription process; it checks if the function exists, and if it does exist, print out the registration url. This widget doesn’t give a user access to a page that he/she should no have access to; it only logs them in.
I know 🙂
But for any category protected to “subscribers only” they will show up.
Reason to have a validation option kind of “subsciption request validation” 🙂
There was a widget doing that but not updated since years…
http://wordpress.org/extend/plugins/add-users-sidebar-widget/
I wanted to add that i had a bad experience with a similar plugin (now outdated) : if regisrations are not moderated bu the subsiets admins, there is a very big spam registration problem. Some sites have had thousands of spam registrations, and that is why i requested a “pending registrations” option, that would propulse this plugin onto the ultimate MS registration solution.
Still does not understand how the core does not integrates that !!!!
Hello Joshua Parker,
Your plugin is is amazing!
I figured out how to tweek somethings in the widget. Forexample, i changed the one of the links to a “Upload Your Photo”, which directs the user to a upload photo page.
Now i wanted to add another link but i get a error and the plugin is disabled. Is it possible to add a brand new link?
@aimkbe, what link are you trying to add and how are you trying to add it?
i wanted to add a link that directs users to a page where it shows all their posts they uploaded.
i am trying to add it in the plugins editor
<div class=”avatar_container” style=”float:left;”>” title=”<?php _e(‘Go to homepage’,’wpms-network-sidebar-login’); ?>”><?php echo get_avatar($user_ID,’48’,get_option(‘avatar_default’)); ?></div>
/upload-your-thread/” title=”<?php _e(‘Post Your Threads’,’wpms-network-sidebar-login’); ?>”><?php _e(‘Upload Your Threads’,’wpms-network-sidebar-login’); ?>
<?php if(current_user_can(‘publish_posts’)) { ?>
/upload-your-thread/” title=”<?php _e(‘Upload’,’wpms-network-sidebar-login’); ?>”><?php _e(‘Upload’,’wpms-network-sidebar-login’); ?>
<?php } ?>
/my-favs/” title=”<?php _e(‘My Favs’,’wpms-network-sidebar-login’); ?>”><?php _e(‘My Favs’,’wpms-network-sidebar-login’); ?>
<?php _e(‘Welcome back’,’wpms-network-sidebar-login’); ?> <?php echo $user_identity; ?>, <?php _e(‘use the links above to get started or you can’,’wpms-network-sidebar-login’); ?> “><?php _e(‘Log out »’,’wpms-network-sidebar-login’); ?>.
For the “Upload Your Photo” link, i just simply replaced the address and the text, same for the “My Fav” link.
In between “Upload Your threads” and “My Fav” link, i wanted to ad a linnk that directs users to a page where it shows all their posts they uploaded.
For example, “http://international.quackitup.com/author/aimkbe/”
aimkbe is the users name
Hello Joshua!
Thanks for your help, i figured out what my problem was, the code i needed to add was
<a href="http://international.quackitup.com/author/$user = wp_get_current_user();">"><?php _e('My Uploads','wpms-network-sidebar-login'); ?></a>
BUT, i am running into another problem, the link is showing up when i am signed in as an admin, but when i log in as a different user that is nt an admin, but and author, that link does not show up on the widget. Help please!
<a href="http://international.quackitup.com/author/$user = wp_get_current_user();">"><?php _e('My Uploads','wpms-network-sidebar-login'); ?></a>
[Please post code or markup snippets between backticks or use the code button.]
You have to make sure that you are adding your code outside of the is_super_admin() condition in order for it to show up for other roles.