Actually it's a psychic-documentation issue, not a bug. It's available in 3.3.17, which hasn't been released yet, and I wrote it into the manual yesterday so that I wouldn't forget it.
To impliment it in 3.3.15 you can open classes/settings.php and replace
function sponsorduration() { return $this->feeduration; }
with
function sponsorduration() { return $this->feeduration; }
function visitorlanguage() { global $languagegroup; return $languagegroup; }
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Global Variable default
Member
Usergroup: Customer
Joined: May 19, 2005
Total Topics: 18
Total Comments: 42
the global variable {VISITORLANGUAGE} does not seem to be working.
how can I get it to work or in other words, how can I get a value which tells me what language is displayed?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Actually it's a psychic-documentation issue, not a bug. It's available in 3.3.17, which hasn't been released yet, and I wrote it into the manual yesterday so that I wouldn't forget it.
To impliment it in 3.3.15 you can open classes/settings.php and replace with