WordPress.org

Ready to get started?Download WordPress

Forums

WPMS Sidebar Login Widget
THIS IS IT !!!!! (13 posts)

  1. Aphrodite
    Member
    Posted 2 years ago #

    At least someone did it !

    Benedictions, sanctifications and liters of what you want !

    2 years I am waiting for it !

    Bravo and merci !

    Now.... (diabloic lough ^^) some enhancement : moderate subsite subscribtion so that site admins can validate them as absolut privacy does :)

    testing, testing and testing.....

    http://wordpress.org/extend/plugins/wpms-sidebar-login-widget/

  2. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    @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?

  3. Aphrodite
    Member
    Posted 2 years ago #

    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 :)

  4. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Aphrodite
    Member
    Posted 2 years ago #

    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/

  6. Aphrodite
    Member
    Posted 2 years ago #

    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 !!!!

  7. aimkbe
    Member
    Posted 2 years ago #

    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?

  8. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    @aimkbe, what link are you trying to add and how are you trying to add it?

  9. aimkbe
    Member
    Posted 2 years ago #

    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

  10. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    Using $user_identity should work, so http://international.quackitup.com/author/$user_identity will be replaced by http://international.quackitup.com/author/aimkbe when aimkbe is logged in.

  11. aimkbe
    Member
    Posted 2 years ago #

    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!

  12. aimkbe
    Member
    Posted 2 years ago #

    <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.]

  13. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic