Code:
echo '<h2>'._(PLIGG_Visual_TopUsers_Statistics).'</h2>';
Is anyone else having the same problem or is it just something i've done in upgrading from version 8 to version 9?

![]() |
| | Thread Tools | Display Modes |
| |||
|
The topusers_center.tpl doesn't seem to want to parse the language variables. Instead of printing the variable value to the browser, it prints the variable name. So this line: Code: echo '<h2>'._(PLIGG_Visual_TopUsers_Statistics).'</h2>'; Is anyone else having the same problem or is it just something i've done in upgrading from version 8 to version 9? |
| |||
|
did you chmod 777 libs/options.php?
|
| |||
|
Should mention that I've got pligg 9 running locally on windows machine so no need for permissions. (right?)
|
| |||
|
A thought . . . there are no definitions for PLIGG_Visual_TopUsers_Statistics and PLIGG_Visual_TopUsers_TH_Karma which are found in topusers_center.tpl. I added these and it now works. However I can't change these in the admin panel. So, what are we changing when we change language vars from inside the admin panel. And how is this different from the libs/options.php file. Are these definitions supposed to be somewhere else too? Just trying to learn! Thanks |
| |||
|
the words in libs/options have not been converted to smarty yet and that is why they are not in the lang.conf file. When you edit from your site you are editing the lang.conf file
|
| |||
|
OK. That makes sense now. But why then, if the language variables for topusers are in the lang.conf file (which they are) do they not appear unless you create php defines in the libs/options file? Thanks for educating a newbie! |
| |||
|
Are you sure that when you upgraded that you are using the newest files? I say that because the Pligg 9 top users page doesn't reference options.php at all. It reads the text from the lang.conf file and works perfectly fine for me. I haven't heard anyone else having this problem with beta 9.
|
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dual language pligg? click a flag to change language maybe? | mmotp | Questions and Comments | 17 | 02-15-2010 09:05 PM |
| PliggMo by nadia - Fully support UTF8 language (Thai) ♥ไทยจ้า♥ | Techkr | Questions and Comments | 6 | 06-20-2009 11:25 AM |
| Edit language in admin panel = language disappears | revolver | Questions and Comments | 4 | 03-21-2007 11:26 PM |
| Language variables reverted to defaults ! | revolver | Questions and Comments | 3 | 11-10-2006 04:56 PM |