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 August 26th 2016, 1:36 pm

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 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)
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 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
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 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.
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 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
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 August 26th 2016, 4:32 pm

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 August 26th 2016, 4:44 pm

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

Male Posts : 51531
Reputation : 3519
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 August 26th 2016, 9:16 pm

@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