The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Hide Admin Online Status & Hide Rank Title

View previous topic View next topic Go down

In progress Hide Admin Online Status & Hide Rank Title

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

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

Is that possible?

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 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

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

Post by Skia Drum on 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
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 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

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

Post by Skia Drum on 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
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 on August 26th 2016, 4:32 pm

Do you have Javascripts enabled?


Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

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

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

@Ace 1 wrote:Do you have Javascripts enabled?


yes. you can check my forum Sad

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 on 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.


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


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2446
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

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

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

@SLGRay that was for the rank thing.

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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