1. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.
  2. In order to post messages and view attached files in this forum, you must be a licensed XenForo customer.
    If you can't post, enter your forum username in the Associated Forum Users form in your customer area.

XenStaff

Discussion in 'Add-on Releases [Archive]' started by Lawrence, Oct 6, 2010.

  1. Lawrence XenMod

    XenStaff will display a list of members belonging to selected groups, with a few additional options that provide flexibility as to how you want this addon to work. Members must belong to one of the selected groups (either primary, or secondary) to be displayed.

    Supported: Yes.
    Compatibility: XenForo Beta Release 1 and up!
    Release Version: 1.1.2

    To install:

    Download and unzip to your drive.

    Upload the XenStaff directory (including all sub directories and files contained within it) to:
    yourXF/library/

    After uploading, to verify, you should have: yourXF/library/XenStaff/

    Log in to your Admin panel:

    Admin -> Add-ons -> Install Addon. Click the Install from Upload file button, and browse to the location you unzipped this Addon in, and click the addon_XenStaff xml file. Once you selected the file, click the Install Add-on button.

    Template Edits: None.

    Options:

    Admin -> Options -> Staff Groups Display Options

    Display Staff Groups: Turns it on/off. Default on

    Staff Tab Name: You can name the new Tab whatever you feel appropriate (ie: Sponsors, or Our Staff)

    Page Title: to set the title of the page, and the html title.

    Page Description: A small description you can provide that shows under the title, and fills the meta description tag.

    Display Which Groups: Check which groups you want to display as staff on the staff page. Registered and Unregistered groups are not shown as an option. Each Group you create will show here. Defaults to Administrative and Moderating group if none selected.

    Display Staff Page to All Users: Defaulted checked. If unchecked, only members belonging to a group selected above will be able to access the Staff listing page. This option will allow Admins, for example, to use this Addon as a way to display members of a private forum to other members who can access the private forum.

    Sidebar Online Heading: (for the Staff page sidebar only): Set to match the Tab name you entered, or to whatever heading you would like (ie: Sponsors Online Now, or All our Staff Online Now)

    Notice to Display: you can add in a notice that displays above your staff groups listings. For example, you may be looking for more contributors, or sponsors, and provide information on how to become one.

    Display notice? Turns the displaying of the notice on or off, saving you from retyping the notice at a later date.

    Version 1.1.2: minor update to respect Full Friendly URL's

    File Download & Screen Shots:

    Attached Files:

  2. Mythotical Well-Known Member

    Very nice, will probably use it with some of my own tweaks to it. :D
  3. BlackJacket Active Member

    Nice, thanks!
  4. RastaLulz Active Member

    Very nice release Lawrence! Installing it on my forums right now. :cool:

    EDIT:
    Here is a screenshot for those who are eager to see it:
    XenStaff.PNG
    Jethro likes this.
  5. Vicros Active Member

    Thank you very much.
  6. jonsidneyb Well-Known Member

  7. Robert Active Member

    You guys rock!
  8. Vicros Active Member

    Works perfect as well.
  9. Wired Active Member

    Nice mod. Wouldn't mind seeing an expansion of this that covers a staff Bio page or something.
    Jo. and fattony69 like this.
  10. Dean XenMod

    Wow you code fast! :eek:



    ;)
  11. Mythotical Well-Known Member

    That was what I was just thinking.
  12. Robert Active Member

    Great mod, install was quick and clean, we need someone to make a simple mod like the "like" button but have it say "Installed" ;) For this site.
  13. Alluidh German Translator

    I like it :D
  14. CFodder Well-Known Member

    Bloody hell, people put stuff up like this and I get distracted from what I should be doing with XF, getting the style/site all setup :p.

    Great little mod thanks Lawrence, will definitely have a crack at this.

    Actually, can justify the play around, need to check out how to install mods ;)
  15. Trip Active Member

    Very nice Lawrence, thank you.
  16. Shanj Well-Known Member

    I'm assuming this is a Page disp0lay,
    The screenshot shows one selected usergroup.

    If multiple usergroups are selected do they display in sections, with a header for each?
    Or do they list all together, A-Z?

    How many can list on one page?

    Thank you. Great mod.
  17. DiscoRevilo Member

    Hi Lawrence,
    I like your add-on however have a suggestion in Addtab.php
    find:
    Code:
    'href' => 'XenStaff',
    and replace it with

    Code:
    'href' => XenForo_Link::buildPublicLink('XenStaff'),
    this will allow the link to follow the settings if SEO URL's are fully enforced or if you still require index.php? as a prefix

    Hope this helps,
    Regards,
    Ollie
    Lawrence likes this.
  18. VincentU Well-Known Member

    Nice :D

    First modification installed!
  19. Lawrence XenMod

    Thanks for the catch, :) The AddTab listener was the first Listener I attempted to make. My goal at the time was to create a working one. Once I got it working, though I was pretty excited. As this Addon was my first for XenForo, I know there are areas of code that can be better optimized.
    DiscoRevilo likes this.
  20. DiscoRevilo Member

    More than welcome, I used your code to help me learn about the catches, just thought I'd put forward my observation - that way we can both learn from it :)

Share This Page