1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

Prevent Guests From Viewing Members Online Now List

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

  1. borbole

    borbole Well-Known Member

    This mod will allow you to prevent guests from viewing members online now list. They will get the no permission error screen whenever they will click the viewing members online now list link.

    Installation. First unzip the mod package and ftp the library folder inside to the root of your forum folder. Then go to your Acp->Add-ons->Install New Add-on->Install from uploaded file: Click the Browse button, locate the addon_onlineBan.xml file inside the mod package and ht the Install Add On button.

    To configure the mod go to Options in your Acp->Options->View Members Online Now List Guests Restriction and there you can enable/disable the mod.

    For more, please have a look at the attached screenshots below.

    Thank you for reading this thread :)

    A new version that includes other groups as well from viewing the Online List has been released at my forum:

    http://www.forumservices.eu/xenserv...roups-from-viewing-members-online-now-list.9/
     

    Attached Files:

    Ray, Michael, Perspektif and 2 others like this.
  2. Michael

    Michael Active Member

    Thanks for this, could you add permissions for X groups other than guests to view the online list too? :)
     
  3. mp4doggie

    mp4doggie Member

    sorry can't get this mod to work, but still a great idea
     
  4. Ray

    Ray Active Member

    Can you add an option to prevent both, members and guests from viewing the who's online now list?
    Thanks
     
  5. James

    James Well-Known Member

    Couldn't you just wrap the templates in a usergroup/userid conditional?
    Code:
    <xen:if is="!{$user.user_id} == '0'"}{
        members_online_now
    </xen:if>
     
    Morgain likes this.
  6. borbole

    borbole Well-Known Member

    It is handier with a mod in my opinion.

    A new version that includes other groups as well from viewing the Online List has been released at my forum:

    http://www.forumservices.eu/xenserv...roups-from-viewing-members-online-now-list.9/
     
    Ray likes this.
  7. TooSixy

    TooSixy New Member

    This mod doesn't work for me. In fact, it messes up my Home ACP page.
    It would help to make the Options page clearer, as the description seems to conflict with the option checked.

    [​IMG]
     
  8. Morgain

    Morgain Well-Known Member

    I did it with a conditional like James says.
    I also added a courtesy message on memberview with the conditional, explaining to the visitor why they can't access - I think that's important as error messages are a big demotivator rejection. Maybe this mod could do that?

    I also give a link to the Contact page to register - my board has no automatic registration.
    You can see it working on my board if you click *ALL MEMBERS on the navbar.
    I wanted it to instantly open the message and the contact form on that page, but that takes php because of captcha being another template; so beyond me.
     

Share This Page