The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Hide Admin Online Status & Hide Rank Title

    Skia Drum
    Skia Drum
    Forumember


    Posts : 52
    Reputation : 1
    Language : English

    In progress Hide Admin Online Status & Hide Rank Title

    Post by Skia Drum August 26th 2016, 1:36 pm

    Hide Admin Online Status & Hide Rank Title (The logo should be seen only)

    Is that possible?
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Ace 1 August 26th 2016, 3:52 pm

    @Skia Drum

    Administration Panel >> Modules >> HTML & JavaScript >> Javascript codes management >> Create new javascript

    Title: Adminstrator titles
    Placement: In the topics

    Code:
    Code:
    $(function() {
     Â var admins = ['/u1', '/u2']

      for ( var i = 0; i < admins.length; i++ ) {
        $('.user:has("[href=\'' + admins[i] + '\']")').find('.user-basic-info')
          .contents(':not(img)').remove();
      }
    });

    Code:
    u1
    and
    Code:
    u2
    are the links to your Administrators' accounts.


    As for the online thing, does your forum show users active in the last XX hours?

    (XX could be any number)
    Skia Drum
    Skia Drum
    Forumember


    Posts : 52
    Reputation : 1
    Language : English

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Skia Drum August 26th 2016, 4:00 pm

    Ace 1 wrote:@Skia Drum

    Administration Panel >> Modules >> HTML & JavaScript >> Javascript codes management >> Create new javascript

    Title: Adminstrator titles
    Placement: In the topics

    Code:
    Code:
    $(function() {
     Â var admins = ['/u1', '/u2']

      for ( var i = 0; i < admins.length; i++ ) {
        $('.user:has("[href=\'' + admins[i] + '\']")').find('.user-basic-info')
          .contents(':not(img)').remove();
      }
    });

    Code:
    u1
    and
    Code:
    u2
    are the links to your Administrators' accounts.


    As for the online thing, does your forum show users active in the last XX hours?

    (XX could be any number)


    what will I replace in "u1" "u2"? is it the username of the admin account?

    and yes, my forum show users active in the last XX hours Smile
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Ace 1 August 26th 2016, 4:05 pm

    http://pokemongoph.forumtl/u1
    http://pokemongoph.forumtl/u2

    Those are the accounts that would be treated as administrator accounts.
    Skia Drum
    Skia Drum
    Forumember


    Posts : 52
    Reputation : 1
    Language : English

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Skia Drum August 26th 2016, 4:27 pm

    Ace 1 wrote:http://pokemongoph.forumtl/u1
    http://pokemongoph.forumtl/u2

    Those are the accounts that would be treated as administrator accounts.

    thanks for the explanation. But it seems the "admin" text is still there Shrug
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Ace 1 August 26th 2016, 4:32 pm

    Do you have Javascripts enabled?

    Skia Drum
    Skia Drum
    Forumember


    Posts : 52
    Reputation : 1
    Language : English

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Skia Drum August 26th 2016, 4:44 pm

    Ace 1 wrote:Do you have Javascripts enabled?


    yes. you can check my forum Sad
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by SLGray August 26th 2016, 9:13 pm

    If you do not want to appear in the who's online section, you can set it in your profile.

    Profile > Preferences
    Hide my online status:

    To all members: before adding codes, modifying templates, etc., just take sometime and look through your profile and administration panel.  Many times there are options/features for what you want.



    Hide Admin Online Status & Hide Rank Title Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    In progress Re: Hide Admin Online Status & Hide Rank Title

    Post by Ace 1 August 26th 2016, 9:16 pm

    @SLGRay that was for the rank thing.

      Current date/time is November 11th 2024, 5:54 pm