Hi Loc ..
What about to make define('L_WELCOME', '') to a part of config.lib.php3..
If define('L_WELCOME', 'NULL') in config.lib.php3 then use the generic text in chat.loc else overwrite with text in config.lib.php3.
Why: There may be admins there do not like the generic text and have to use there owns. So I think it may be better to have only one file to edit ..
Regards,
Kenneth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's the reason why in the 0.15.0 release default 'L_WELCOME' strings are defined into localized files and may be bypassed by other sentences define in 'welcome.lib.php3'.
Regards,
Loc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Loc ..
Thanks for your answer.
Yes - Thats correct .. But today we have two or more files to edit to custom our chat .. It will be very nice to keep all the stuff to edit in one file..
Regards,
Kenneth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is three file (except the config one) you may customize:
- the one with smilies,
- the one with swearings,
- the one with the welcome message.
Merge all these files in one may be a good idea to make the customization easier but since the first two ones may become very large files, I'm afraid calling such a file more than necessary is not so good for your server...
Regards,
Loc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Loc ..
What about to make define('L_WELCOME', '') to a part of config.lib.php3..
If define('L_WELCOME', 'NULL') in config.lib.php3 then use the generic text in chat.loc else overwrite with text in config.lib.php3.
Why: There may be admins there do not like the generic text and have to use there owns. So I think it may be better to have only one file to edit ..
Regards,
Kenneth
Hi Kenneth!
That's the reason why in the 0.15.0 release default 'L_WELCOME' strings are defined into localized files and may be bypassed by other sentences define in 'welcome.lib.php3'.
Regards,
Loc
Hi Loc ..
Thanks for your answer.
Yes - Thats correct .. But today we have two or more files to edit to custom our chat .. It will be very nice to keep all the stuff to edit in one file..
Regards,
Kenneth
There is three file (except the config one) you may customize:
- the one with smilies,
- the one with swearings,
- the one with the welcome message.
Merge all these files in one may be a good idea to make the customization easier but since the first two ones may become very large files, I'm afraid calling such a file more than necessary is not so good for your server...
Regards,
Loc