Nickname selector for anonymous users
cesareaugusto - September 24, 2009 - 23:41
| Project: | PJIRC |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I would have a feature request for the PJIRC module. A sort of "log-in page" with a custom nick-name selector for guest users. Like the "PHP based Login Page Version 5" available in the official download page of PJIRC (http://www.pjirc.com/downloads.php?p=0&c=3)
I would like my guest users without any account in my website to be able to chose their personal one-time nick-name before joining the channel Instead of having a standard "guest" nick name at first then change it with the comman "change your nick".
Would it be possible?

#1
I think is a good idea. And should be possible to do.
Do you think we should provide this "nick pre-select" page only for anonymous users? or to registered users too?
I think it could bevaluable for both, and plan to add it as a configurable option:
- Option to enable this "prelogin" page, or to act as the module acts now
- Option to enable this only for anonymous or both anonymous and registered
#2
Well... according to the way I' thought it for my personal website, the "nick pre-selector" - as you call it - would be usefull to anonymous users only. Though now that you proposed this second idea, I think in general it would be good to have an option whether to make it available to registered users too or not. It should be possible for admins to choose whether registered users are "obliged" to use their personal Drupal nick name for IRC or be able to select a different one with the "nick pre-selector".
#3
What about the status of the nickname selector? Is there any progress? I would be glad to help testing!
#4
I have begun with it tonight. I expect to finish it in weekend.
I'll post a patch when it's ready.
#5
Would it be possible to merge it with the development snapshot instead of releasing a patch in here? I'm not "that" tech savvy to apply patches - actually I haven't any clue how a patch may be applied - nor I think many in here are. Though I would be glad to help in testing.
#6
This has been implemented and commited.
Please download latest -dev tarball or CVS snapshot and test it.
#7
I downloaded and tested it. It works great now :D Thank you very much!
I would like to give some feedback to improove it. It would be fantastic to have few more options as well.
1. A "configure login page" place where it would possible to customize the login page like any other Drupal page. E.g. in my website we put some disclaimers and credits about the channel maintainers and risks of the channel the user's going to join. It would be great to be able to edit the login page.
2. An option to choose where to open the applet, whether in a Drupal standard page or in a new applet-only browser page.
3. The possibility to customize the page path. E.g. www.mysite.it/chat instead of the present www.mysite.it/pjirc (I know, I could use a Drupal alias to the /pjirc page... though... :) )
Again thank you very much for your good work!
#8
Thanks for your suggestions :)
I have to mention that is possible to customize the login for by implementing a template for it or by making a module that use hook_form_alter() to modify the form, just because it is implemented using Drupal Forms API.
Adding a configurable text will lead to fight with i18n and I don't want to do it now, so I'm not going to add anything like a big configurable text in the login form for now.
However, I'll probably add a line to explain the user what the form is for or give some one-line/short indications.
#9
Oh, I forgot to say that please make any other suggestions not related to this specific one in new other issues.
#10
How would that be possible? How could I implement such a template? I'm not a "big" programmer myself though I may learn :)
#11
Automatically closed -- issue fixed for 2 weeks with no activity.