1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Icewind Staff 1.2

Create custom staff tabs for the navigation bar and/or members tab

  1. Lawrence

    Lawrence Well-Known Member

    Lawrence submitted a new resource:

    Icewind Staff - Create custom staff tabs for the navigation bar and/or members tab

    Read more about this resource...
  2. CaptainMorgan

    CaptainMorgan Active Member

    @Lawrence - is this the intended "roster" app that you were developing?

  3. Lawrence

    Lawrence Well-Known Member

    This is a replacement for XenStaff that I released when XenForo 1.0 was not even considered stable (IIRC). XenStaff is over 4 years old, I didn't expect anyone to be still using it, but I had a few recent inquiries about it, enough so, that I decided to re-write it. I started off using some parts of my roster add-on to speed up the development of Staff, but gave up on that when I found I was re-writing most of that code, and therefore not saving any time.
  4. rainmotorsports

    rainmotorsports Well-Known Member

    I still am, heavily modified though. First couple of modifications where light. Changed the query for alphabetizing the users. Added the ability to order the user groups (did this 2 ways, manual versus order by styling priority). Those where the 2 biggest requests originally for your addon. Then came changes as per the request of the particular site. More now... One of these days I will write one from scratch.

    Looking through the screen shots this seems to be a whole different animal. Very comprehensive and powerful.
  5. Lawrence

    Lawrence Well-Known Member

    Cool, for how you modified it, :)

    I thought of adding alphabetizing users for Staff but didn't think it was worth while enough as most sites wouldn't have that many staff members (the intention of the add-on), maybe a page or two. The roster add-on will have it as it's intention is totally different.
  6. Allan

    Allan Well-Known Member

    Suggestion: Add phrase for "home", "middle" and "end" (for translation)


  7. Lawrence

    Lawrence Well-Known Member

    I have this changed for my Rosters add-on and will make the change to this add-on. I'll release an updated version when I finish with a new routing class for the Rosters add-on and apply it to the Staff add-on.
    Allan likes this.
  8. chickenputty

    chickenputty Member

    This is brilliant. The only feature that I wish was included was the ability to show all groups on one page, so no pagination.
    Lawrence likes this.
  9. Lawrence

    Lawrence Well-Known Member

    Thanks. :)

    Are you referring to show all members of a group on one page, or the list of groups? If it is all members I can add a per page option and you can set it to a value equal or greater to the number of members you have for any of the groups. There is no pagination for the list of groups.

    The next release will happen after I release my roster add-on.
    Enguerran A likes this.
  10. chickenputty

    chickenputty Member

    Um, I'm looking for the ability to display all groups with members on the same page. Similar to how XenStaff displayed all groups and members on a single page.
  11. Enguerran A

    Enguerran A Well-Known Member

    Can you tell more about this addon? I also wait the one page display, the way you did with XenStaff =D
  12. Lawrence

    Lawrence Well-Known Member

    Got it, :) I'll see about adding that back in for the next release. IIRC the biggest complaint about XenStaff was that it displayed all groups and members on one page, and that is why I never considered adding it as an option to Staff.

    Are you referring to the roster add-on? In a nutshell, the roster add-on has leaders and an invitation system. Rosters can also be set to allow members to join without an invitation or to leave one. If a leader leaves his own roster, then the second leader is automatically promoted to leader. If there is no second, the roster is closed to new members as a precaution (if a leader leaves, probably means he is ticked and if he set a secret roster to be public, and opens it up to be joined freely, and then leaves, that would not be good).
    chickenputty likes this.
  13. GAP

    GAP Member

    Discovered a small bug...when "Child Tab?" is set, pagination does not work... it gives an error when I try to click on the second page.
    Lawrence likes this.
  14. Lawrence

    Lawrence Well-Known Member

    Confirmed, and fixed for next release. Thanks for reporting it.

    That happened when Use Full Friendly URLs was unchecked in XenForo SEO options, and your tab is set to be a child tab of the members tab. Before release, I tested Staff with this setting checked and un-checked, when set to be a stand-alone tab, and of course it worked. I just over-looked the Child Tab setting when testing that option, :oops:

    Here is the fix, now, if you do not mind editing a file:
    In file: Icewind/Staff/Listener/Proxy/ControllerMember.php
    Find (including the semi-colon at the end):
    $plink XenForo_Link::buildPublicLink($tab['route'] . '/list'$tab['links'][$group_id]);
    and replace with:
    $group_link XenForo_Link::buildIntegerAndTitleUrlComponent($group_id$group_name);
    $plink $tab['route'] . '/' $group_link '/list';
    As a note, if you apply the above fix, the file health check will fail, but you can ignore that.
    GAP likes this.
  15. GAP

    GAP Member

    Damn Lawrence...that was a flash-fast reply. I barely hit the submit button :)

    Btw, thanks for this cool plugin.
  16. GAP

    GAP Member

    I think I found another issue... a group is still displayed even after it has been deleted. It doesn't show up in the admin panel, but it does show on the front end. The group I deleted had zero users in it. I'm not sure if that has something to do with it.
  17. Lawrence

    Lawrence Well-Known Member

    When you delete a user group, you will need to re-save the Tab the group was a part of, as it doesn't know until the save that the user group no longer exists. I'll look at extending the user group to handle this in the future.
  18. GAP

    GAP Member

    Thanks! That worked.
    Lawrence likes this.
  19. sycoinc

    sycoinc Member

    would love this to work for 1.3.4 great work eitherway!
  20. Nentify

    Nentify Member

    It doesn't seem to show any users, I've selected the groups I'd like to show but no one appears.
    I'd also love it if it were able to have different ordering variables, e.g the groups Display Priority, and also as someone mentioned above, an option to have multiple groups display on one page.

Share This Page