• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

How to make admin invisible

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
8 posts • Page 1 of 1

Postby Hobbiest » Mon Jan 24, 2011 7:37 pm

It's always good to monitor a chat room. People behave well or go in Private chat mode when admin is present. How is it possible to make admin invisible?

This feature may serve good as some even chat with admin which is not entertained by many admins in a chat room.

I tried '' as admin but didn't work.
Hobbiest
Member
 
Posts: 15
Joined: Wed Jan 19, 2011 1:12 am
Top

Postby OldWolf » Wed Jan 26, 2011 7:35 am

I think it would be easier to just use another nick, and authenticate if you need admin powers?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Hobbiest » Tue Feb 01, 2011 4:06 am

The problem being, once the nick name is autheticated with admin powers, users could easily find out in the user table. Secondly, when somone gets banned he or she knows that it was done by admin with another nick. This is why invisible admin is a good feature to monitor. I usally watch chat with some nick name even then the users suspect that it is the wolf in sheep skin. lol. Just a joke:) I don't mind booting out abusers with admin name. But to watch them, I prefer it in a stealth mode. Could you kindly help how to do it. I tried " " for admin name and it didn't work.


Thanks !
Last edited by Hobbiest on Tue Feb 01, 2011 4:08 am, edited 1 time in total.
Hobbiest
Member
 
Posts: 15
Joined: Wed Jan 19, 2011 1:12 am
Top

Postby OldWolf » Tue Feb 01, 2011 10:20 am

I guess what I'm suggesting is that you could be in there on any nick name. When something happens, log in on your admin name and do whatever needs to be done. You could even use dual-browsers to be able to login in from the second name without revealing who you are on your first name.

To answer the request, no such feature exists, for the reasons I just stated. You would need to code a command.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Hobbiest » Wed Feb 02, 2011 12:02 am

The problem is that I created a popup on user names that they could kick any abusive user with an exception of some names that have admin powers. So when someone finds out that he or she can not kick somebody, that is a give away that it is admin with a nick name. Can you please guide me how to be present as invisible. Thanks for your great work.
Last edited by Hobbiest on Wed Feb 02, 2011 12:08 am, edited 1 time in total.
Hobbiest
Member
 
Posts: 15
Joined: Wed Jan 19, 2011 1:12 am
Top

Postby Hobbiest » Thu Feb 03, 2011 5:26 pm

Here's yet another reason for admin to be invisible. Some users are using admin authorized nicks to send inappropriate messages to the users even telling them not to use chat ! Some of these users were banned by blocking their IPs for previous abuses.

I filtered the nick name admin with ***** but I can't identify or autheticate as admin with password. I also, used " " and ' ' as nick for admin but it didn't work as invisible. The way in which I operate is by using unfiltered pfcglobalconfig.class.php to ban users and then put back the admin filtered pfcglobalconfig.class.php This is not very user friendly work.

I can't also do this if I am at work as there is no ftp. Please help.
Hobbiest
Member
 
Posts: 15
Joined: Wed Jan 19, 2011 1:12 am
Top

Postby OldWolf » Thu Feb 03, 2011 6:38 pm

Alright, well if you set on doing it, you're going to have to do some digging. I would suggest finding where the program is displaying the nick list, and adding an if statement inside the loop. Have it triggered by a meta-data value, so that you can then write a command to set that value true/false if your admin, allowing you to activate the invisibility and deactivate as needed.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Hobbiest » Fri Feb 04, 2011 2:52 am

One method I tried is to blank admin out.

I entered this :
Code: Select all
pfcClient.prototype.buildNickItem_modify_nick_style = function(admin, span) {
  span.style.color = this.getUserMeta(admin, 'white');
}
 
pfcClient.prototype.buildNickItem_create_image = function(admin, span) {
      var className = (! is_ie) ? 'class' : 'className';
      var myicon = this.getUserMeta(admin, 'myicon');
      var img = document.createElement('img');
      if (myicon)
        img.setAttribute('src', myicon);
      else
        img.setAttribute('src', this.res.getFileUrl('images/clear.gif'));
      img.style.marginRight = '5px';
      img.setAttribute(className, 'pfc_nickbutton');
      return img;
}

in customize.js.php with a hope that admin is colored as white merging with the background and with a transparent image. The chat doesn't load. Where did I go wrong. Please help.
Last edited by Hobbiest on Fri Feb 04, 2011 2:57 am, edited 1 time in total.
Hobbiest
Member
 
Posts: 15
Joined: Wed Jan 19, 2011 1:12 am
Top


Topic locked
8 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub