WordPress.org

Ready to get started?Download WordPress

Forums

Simple Intranet Directory
[resolved] Get specific profiles thru snippet code? (4 posts)

  1. medvardsen
    Member
    Posted 6 months ago #

    Hi
    I think your plugin looks promising. However I can't find out how to show specific user profiles i.e. show only this(1) department or a specific user profile. I have seen the group filter feature and also the exclude feature...Any suggestions?

    :)

    Thank you for a nice plugin!

    http://wordpress.org/plugins/simple-intranet-directory/

  2. Chris Charlwood
    Member
    Plugin Author

    Posted 5 months ago #

    Hi there - thanks for your comments. If you go to the Simple Intranet menu in your Dashboard, you can see the shortcodes you will need there. We don't currently allow specific user profiles to show in a shortcode, since you can just link directly to their detailed profile/bio (Biography menu in Dashboard). Did you want to be able to target a specific user in the employees shortcode? I could look into adding that if so...

    You can show specific roles/groups using the "group" shortcode parameter below....

    Shortcodes

    - To add a searchable employee directory to a page or post, insert the [employees] shortcode. Limit to 25 employees per page using the limit parameter, display the search bar above the listing with title and department search options, exclude "board" and "executive" custom groups (use slugs) from search pull-down, set avatar pixel width to 100 and display only Subscriber roles as follows: [employees limit="25" search="yes" title="yes" department="yes" search_exclude="board,executive" avatar="100" group="subscriber"].

  3. medvardsen
    Member
    Posted 5 months ago #

    Did you want to be able to target a specific user in the employees shortcode? I could look into adding that if so...

    -That would maybe be a flexible feature. But I will manage with a good department filter;

    More in depth on departments: Lets say we are 25 employees in 5 different departments. My need is to show just number 3 or/and number 5 as an example. Is it possible to use an include deparment(s) parameter?

    I see I can use exclude parameter but it would make sense to use inclusion (I think easier to administer)

    The parameters should work even if search field or department is not active in the snippet:
    Example:[employees search="no" title="yes" department="no" search_include="board,executive" avatar="100" group="subscriber"].

    My wishes is based on a need of being able to manage what's visible on the page. Not so much the website visitor based search.

  4. Chris Charlwood
    Member
    Plugin Author

    Posted 5 months ago #

    You can actually target a user group which is a WordPress role, using the group parameter. With our paid Simple Intranet version, you can create unique Groups or roles and assign users to them - which could be departments. Then assign these groups in this shortcode. You could use another Role Manager plugin too to set up new roles and this should work also. Or buy our paid plugin at http://www.simpleintranet.org and get online forms, a calendar, boardroom booking system, chat and many other features. :)

Reply

You must log in to post.

About this Plugin

About this Topic