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.

Hide Admin Online Status & Hide Rank Title

3 posters

Go down

In progress Hide Admin Online Status & Hide Rank Title

Post by Skia Drum Fri 26 Aug 2016 - 13:36

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

Is that possible?
Skia Drum
Skia Drum
Forumember

Posts : 52
Reputation : 1
Language : English

http://pokemongoph.forumtl.com/

Back to top Go down

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

Post by Ace 1 Fri 26 Aug 2016 - 15:52

@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)
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

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

Post by Skia Drum Fri 26 Aug 2016 - 16:00

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
Skia Drum
Skia Drum
Forumember

Posts : 52
Reputation : 1
Language : English

http://pokemongoph.forumtl.com/

Back to top Go down

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

Post by Ace 1 Fri 26 Aug 2016 - 16:05

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

Those are the accounts that would be treated as administrator accounts.
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

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

Post by Skia Drum Fri 26 Aug 2016 - 16:27

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
Skia Drum
Skia Drum
Forumember

Posts : 52
Reputation : 1
Language : English

http://pokemongoph.forumtl.com/

Back to top Go down

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

Post by Ace 1 Fri 26 Aug 2016 - 16:32

Do you have Javascripts enabled?

Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

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

Post by Skia Drum Fri 26 Aug 2016 - 16:44

Ace 1 wrote:Do you have Javascripts enabled?


yes. you can check my forum Sad
Skia Drum
Skia Drum
Forumember

Posts : 52
Reputation : 1
Language : English

http://pokemongoph.forumtl.com/

Back to top Go down

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

Post by SLGray Fri 26 Aug 2016 - 21:13

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by Ace 1 Fri 26 Aug 2016 - 21:16

@SLGRay that was for the rank thing.
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum