WordPress.org

Ready to get started?Download WordPress

Forums

New plugin - Userextra (28 posts)

  1. squish
    Member
    Posted 8 years ago #

    Hia.

    I would like to (also) announce Userextra, which is a plug-in which extends user profiles to include arbitrary admin-defined attributes, and provides for category access controls with user-level granularity.

    So what does this mean? Well two things:

    1. You can define new bits for a user profile, including text fields, text boxes, drop-downs and checkboxes. You might use this to add an Address, Telephone number, Hobbies, Notes, etc. fields to users. For each field you add you can also say whether or not the data can be modified by the user.

    2. Two new fields are added to the user profile to allow you to allow/deny access to categories. So normally you'd tell Userextra that a certain category is restricted, and then modify the user to grant access.

    This is all based on Usermeta which I also just announced which provides the underlying API and therefore lets you print out this stuff in your theme.

    Hope this is of some use. See link for screenshots, etc.

    James

  2. manstraw
    Member
    Posted 8 years ago #

    restricted, as in, for posting to? yeah, you must mean that.

    ok, we ALL want that, don't we?

  3. roraz
    Member
    Posted 8 years ago #

    say if I created an extra user bit called 'Favourite Films' (both name and description) for each user to fill in

    using the usermeta plugin how do I call up that favourite film info for that user on their author page/template?

    I read the usermeta page but I got abit confused with how to make tags for templates that would collect the info from new fields that you would craete for users...

  4. squish
    Member
    Posted 8 years ago #

    Here is an example, with the field "address". It will work in the Loop for a post:

    <pre>Address:
    <?php
    $usermeta = new Usermeta();
    echo $usermeta->get(get_the_author_ID(), "address", true);
    ?>
    </pre>

  5. Tomkun
    Member
    Posted 8 years ago #

    I have installed this plugin and it seems to work fine within wp-admin, but I cannot get anything to show up on the author.php page. Can you give some more detailed instructions to go about this?

  6. DHildebrandt
    Member
    Posted 8 years ago #

    I am trying to get the userextra plugin to work. I have installed the usermeta and created the tables. I am after hte access controls. So far, I am unable to determine how to go about setting the fields. I have a blog called "Margaret's Blog" wiht the slug name of mblog. I want it to be restricted so that it is not accessable unless the visitor is logged in--hence a private blog.

    Yet, no matter what permeations I try, the blog is visable.

    Any idea what I am doing wrong?

    Also what is the "Uanaimous Permint" and the "All Permit" mean? I do not see them in the documentation.

  7. lontanodagliocchi
    Member
    Posted 8 years ago #

    Disaster! i cannot see 'usermeta' and 'userextra' plugins in my plugins panel! Why ?

  8. DHildebrandt
    Member
    Posted 8 years ago #

    lontanogagliocchi, I had that problem yesterday after I downloaded them from the website and moved them into the wp-content/plugins directory. I too could not figure out why they where not being recognized when I went into the admin functions.

    What I found was that I did not download the files correctly. When I looked inside the php files usermeta and userextra I found html code that began with a blank line followed with the opening document descriptor tag. So I went back to the website to download userextra and usemeta again. THIS time I scrolled to the bottom of the screen and found the link to download them to my computer.

    So, check your files and make sure they are indeed correct. A php file will have the <?php on the first line.

  9. Irenef
    Member
    Posted 8 years ago #

    Plugin is working well, but I don’t know how to obtain an ordered list of authors by new fields.
    Here is my authors list http://www.diariodegestion.com.ar/index.php/autores

    Someone can help me? Thank you.

  10. Can
    Member
    Posted 8 years ago #

    Can the date of a registered user's last visit be added here? Some of you here might be irritated by my constant bugging about this feature, but I'm getting desperate already. Not any of the plugins available out there have the capability to track the date of a registered member's last visit.

  11. juanfer2k
    Member
    Posted 8 years ago #

    Puedo entonces hacer que ciertos Usuarios escriban en una categoría especifica=?

    with this, can i make users post only on an especific cat?

  12. Kafkaesqui

    Posted 8 years ago #

    Juanfer2k, it sounds like you're in search of this plugin:

    http://redalt.com/wiki/Limit+Categories

  13. iddapidda
    Member
    Posted 8 years ago #

    I would also really like to see a user's last visit ...

  14. peiqinglong
    Member
    Posted 8 years ago #

    I got the userextra and usermeta plugins to install and work fine. The only issue I'm having, same as some people, is that I can't get it to show up in my custom author.php page. What am I doing wrong? Thanks!

  15. emeff
    Member
    Posted 8 years ago #

    @DHildebrandt,

    for a private block I recommend Angsumans Authenticated WordPress Plugin where your blog is anly accessible after login.

  16. AndGeo
    Member
    Posted 8 years ago #

    The best I have been able to do to get the userextra information to appear on a author.php is to create a loop that always only happens once. Such as this:
    <?php
    $i = 1;
    while ($i != 2) {
    $i++;
    $usermeta = new Usermeta();
    echo $usermeta->get(get_the_author_ID(), "age", true);
    }
    ?>

    This seems to work, but only when the user has written a post before. If the user hasn't posted before, the userextra info will be blank. Any ideas why this is happening, and what I could do to get it so it always appears for every user?
    Also, does anyone have any idea of how to get the userextra info to appear on the comments? It seems to just give the info for the person who wrote the post, not the commenter.
    Clearly this plugin was designed for the single purpose of being used in posts, but its features would be more useful in other areas as well.
    Any help would be appreciated, thanks.

  17. _ck_
    Member
    Posted 7 years ago #

    Here's a bug fix for UserExtra 0.3 for WP 2
    where you get line 662 errors
    Basically this happens because the filter_posts function returns an empty array after it receives a null arrray (and should return a null arrary)

    1. open userextra.php
    2. go to line 657 which is "function filter_posts($posts) {"
    3. add this line right after (new line 663)
    if(!is_array($posts)) {return;}

    then when there is a 404 ie. bad category, no search results, etc. it returns the null arrary right back to the loop

  18. ekrocker
    Member
    Posted 7 years ago #

    Is there anyway I can have a subpage automatically created by the user extra fields???

  19. talgalili
    Member
    Posted 7 years ago #

    This looks great !

    can this data be exported (to say, csv or txt file ?)

    And on that note, Is there any way (plugin ?!) of adding more tracking to users behavior on the web site (like knowing their reading path - the time spent on each post - and so on ) ?!

    10x,
    Tal.

  20. lilboytoy
    Member
    Posted 7 years ago #

    Any way to use it outside the Loop?

    edit:
    Got it:
    <?php

    $author_id = $curauth->ID;

    $usermeta = new Usermeta();
    echo $usermeta->get($author_id, "age", true);
    ?>

    Okay, now how do I get it to echo fields that are option lists? It shows "myvalue" when I try to do that.

  21. lilboytoy
    Member
    Posted 7 years ago #

    Ok somehow it started working again.

  22. jayant
    Member
    Posted 7 years ago #

    Cannot download this plugin. The SVN for the plugin has no files. Could someone please provide the same?

  23. KevinMcCall
    Member
    Posted 7 years ago #

    I also can't see the files for download. Anyone have a link where I can get them?

  24. Takedanger
    Member
    Posted 7 years ago #

    Consider this another request for a download link.

  25. makuz
    Member
    Posted 7 years ago #

    i am also trying to download the plugins. they are not available at the following links at the moment.

    http://dev.wp-plugins.org/wiki/Usermeta
    http://dev.wp-plugins.org/wiki/Userextra
    http://log.squish.net/2006/02/05/userextra-goes-wp20/

    http://svn.wp-plugins.org/ doesn't have them either.

    could someone provide a working link, please?

  26. devilmaycry
    Member
    Posted 7 years ago #

    Shame I can't download... this plugin sounds as if it has alot of potential.

  27. makuz
    Member
    Posted 7 years ago #

    the download links have appeared on http://dev.wp-plugins.org. thanks, whoever did it.

  28. juneallison
    Member
    Posted 7 years ago #

    I had a question about searching user information. Let says I create a directory of sorts that makes most of the user information viewable on the website. Is there a way to search the information fields. For instance if two of the fields are "name" and "location" how hard would it be to create an advanced search that allowed you to type in search terms for each of those fields?

    I guess I'm looking for something like the "Search Custom Fields" plugin, except I need something that only searches the users and allows you to search more than one field.

    Any suggestions or ideas would be great.

Topic Closed

This topic has been closed to new replies.

About this Topic