2851
ghia
Re: utf-8 and portuguese
  • 2009/4/24 14:28

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The encoding is a big problem for legacy sites in European languages (eg French, German, ...), which uses a lot of accented characters (128 - 255 in ascii). At the time being users with such sites are adviced to leave their site and database in the original encoding. Conversion is not straight forward, because the many ISO variants used. And on top of that, the database tables are often also cluttered by windows character sets.

For the language files, there is a need to have two encodings for the same language. The conversion (from ansi to utf without bom) can easily be done with eg Notepad++. This is needed for all language definitions and templates.
There is no need to rename the language directories itself as Trabis suggests, but the archives should contain two extra directories in the root: iso and utf, which will then contain the normal directory tree with all the language files.
A partial example for the mrbs module and french could be:
|_modules
| |_mrbs
|   |_index.php
|   |_xoops_version.php
|   |_lang.fr
|   |_admin
|   |_language
|     |_french
|       |_main.php
|
|
_iso
| |_modules
|   |_mrbs
|     |_lang.fr
|     |_language
|       |_french
|         |_main.php
|_utf
  
|_modules
    
|_mrbs
      
|_lang.fr
      
|_language
        
|_french
          
|_main.php
The module itself contains by preference default the utf language files. When the other encoding is needed, a simple copy or upload can easily be used to overwrite all relevant files.



2852
ghia
Re: Site Hacked... Plan of attack to get running again.
  • 2009/4/24 14:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The XOOPS file check utility can verify that all XOOPS files are correct. It can not detect if excess files (not in use by XOOPS) exists.

Moving xoops_lib and xoops_data is not possible on all server configurations. If that is the case, your installed XOOPS will not run. And if there is a second problem, then it is impossible to start fault determination.

For the SQL, I think it is better to clear the tables and rely only on the data from the backup. Mixing of the new and old data is not a good idea, because module id numbers may vary and they are woven through other tables.




2853
ghia
Re: .htaccess contents in htdocs
  • 2009/4/24 13:56

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


When this happens, that means in general that the server as a whole is compromised and that several shared sites will be affected.
A .htaccess file will not prevent that.
This can be due to problems in the site software or that the server credentials (like admin panels or FTP login paswords) have been aquired for server or site wide access trough some malware.



2854
ghia
Re: Old Versions Not Displaying
  • 2009/4/24 13:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have probably to edit mainfile.php in order to make the paths again right, by adding the subdirectory.



2855
ghia
Re: extCal minical image size
  • 2009/4/24 7:37

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The image is a flash player with the correct dimensions (160 x 125). The image in the player may depend on the Flash code in /modules/extcal/include/SlideShow.swf



2856
ghia
Re: Multi commentary
  • 2009/4/24 7:26

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Are you asking to have long comments threads splitted up in pages?
This is a long time feature request, not yet implemented.
Best option is to use a module like mycomments or conjecture (which uses CBB forum threads to post comments).



2857
ghia
Re: stopping hackers
  • 2009/4/24 7:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I'm afraid it is a XOOPS problem.
As also a Joomla site is affected, the problem is not specific XOOPS, but that the hacker is targetting php files.



2858
ghia
Re: Help needed upgrading 2.2.X script to work in 2.3.3
  • 2009/4/24 7:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


This is only the case for XOOPS 2.3.3?



2859
ghia
Re: template / start page
  • 2009/4/24 7:14

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have to edit theme.html. If you open it in the browser, you see how it makes the layout.
Inside you find tables with rows (tags: <tr> ... </tr>). One row contains the content variable and another a new table with the center blocks. Exchange the two rows of place.



2860
ghia
Re: debaser 0.93
  • 2009/4/24 7:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think it is the 'last' version, with the genre patch integrated.




TopTop
« 1 ... 283 284 285 (286) 287 288 289 ... 461 »



Login

Who's Online

175 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits