Subject: ecWeb how to default to real names
@MSGID: <
566DE564.380.dove-syncprog@timeport.synchro.net>
@REPLY: <
56568A0A.13523.syncprog@bbs.electronicchicken.com>
@TZ: 412c
Re: ecWeb how to default to real names
By: Xucaen to echicken on Wed Nov 25 2015 17:35:43
I think that you can probably get what you're looking for by switching the >positions of lines 157 and 158 in web/root/ecwebv3/lib/client.js. Those two >lines should be making two <option> tags, from which you would choose your >alias or real name. Making the 'real name' option come first should make it >the default.
I finally got around to making the change. I swapped lines 157 and 158, and also swapped lines 183 and 184.
I'll make sure that my new web UI respects the sub-level setting for whether or
not real names should be used.
Well, I thought about it, and I checked the value of sub. It looks like, in my case at least, that the sub argument always has "fido-" as part of the name for fidonet areas. So I wrapped the alias lines with if(sub.indexOf("fido") < 0) and that seems to exclude the alias from all the Fidonet areas. Now my fido areas are always going to use the real name, while dove net and local areas can use either one.
I know this is a temporary solution for at best, so I would not recommend that else implement it. A better solution would be, as eChicken stated, to check the actual "use real names" flag.
Thank you for pointing me in the right direction! :)
---
þ Synchronet þ The Time Portal - timeport.synchro.net:2112 - Celebrating the past from the futu