Welcome to Geeklog, Anonymous Sunday, November 08 2026 @ 09:24 am EST

Downloads

Enhancement patch for easier user language selection POP

Category: Add-ons arrow Hacks
Version: 1.3.11sr2 Size: 3.96 KB Date: 2005-11-19 09:04
Submitter: zap Web: - Rating: 0.00 Popularity: 969 Tags: -
GeekLog lacks a language selection feature for anonymous users. This patch adds a new value 'language' for $_CONF['menu_elements'] which displays a drop-down combobox with a list of available languages, which is available only for non-registered users (registered users can change the language in their settings).
Also this patch adds a language selection drop-down combobox during user account registration, which makes simpler the initial account setup (especially for non-computer geeks). This combobox is not displayed if $_CONF['allow_user_language'] = 0, or you can remove it from users/registrationform.thtml, if you don't want it (don't see why you wouldn't, though, if you allow custom user languages).

This patch also fixes a small bug in printable.thtml which sometimes causes a wrong encoding to be used in printer-friendly version of an article.