Support » Plugin: Simple Intranet Directory » Get specific profiles thru snippet code?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris Charlwood

    (@charlwood)

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

    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.

    Plugin Author Chris Charlwood

    (@charlwood)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get specific profiles thru snippet code?’ is closed to new replies.