292431
dawilby
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/18 19:54

  • dawilby

  • Module Developer

  • Posts: 31

  • Since: 2002/1/3 0


Hi hsalazar,

This has to do with the title lenght. I mean, if a title is to long, the last bit will be replaced by '...' thus cutting off the closing [/english] tag.

The main title tags probably don't use the class in module.textsanitizer.php otherwise they would translated as the rest...




292432
YourHelp
Re: Can't upload custom avatar?
  • 2003/7/18 9:56

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


also if you have any internet security such as norton make sure its off when doing uploads this does interfier with uploading from time to time. HUGHG knows how to fix this problem with norton he helped me so im sure if you want help with this he could help if you ask him



292433
Robbz
Re: Can't upload custom avatar?
  • 2003/7/18 3:37

  • Robbz

  • Just popping in

  • Posts: 1

  • Since: 2003/7/18


I have the same problem so does that mean i'm suppose to chmod the tmp folder 777? I'm a bit confused...



292434
Catzwolf
Re: gzip compression
  • 2003/7/18 2:46

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


As I said, I would personally have this on.

If you have problems with other modules as IBF forum for example (shows a page full of strange looking characters), then turn gzip compression off in the other module (not xoops).



292435
YourHelp
Re: gzip compression
  • 2003/7/18 2:37

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


THANKS CATZ .. ok so should i have this on or off ?



292436
Catzwolf
Re: gzip compression
  • 2003/7/18 2:24

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Gzip compression is similiar to a zip file, what it does is compresses a file on server side and just before it hits your browser it gets de-compressed.

Good point about it is that files appear quicker in your browser, but the bad sides are you cannot have more than one script (Xoops and IBF module) using it and it puts an extra (slight) load on your server.

But personally, I think the good points outway the bad.



292437
Achey
Re: gzip compression
  • 2003/7/18 2:22

  • Achey

  • Just popping in

  • Posts: 2

  • Since: 2003/5/19


Have you seen this site before?



292438
YourHelp
gzip compression
  • 2003/7/18 2:00

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


WHAT IS:

Quote:
Use gzip compression?


and what does it do?




292439
lykoszine
Re: How Do I Put Stories of a Specific News Topic in a Single Block?
  • 2003/7/17 19:09

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


There is a block with this specific functionality in my Blocks Module, available from lykoszine.sourceforge.net




292440
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/7/17 18:36

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Hi, all:

Two things. The first one is that after putting the correct code, I still had the message about some problem in the file. So I went and found this line:

return preg_replace(array("/>/i", "/</i", "/"/i", "/'/i"), array(">", "<", "\"", "'"), $text);

I pondered a bit, and then changed it to:

return preg_replace(array("/>/i", "/</i", "/\"/i", "/'/i"), array(">", "<", "\"", "'"), $text);

(notice the extra backslash)

... and I got rid of the error message and indeed the story part of the module worked allright.

The second thing is I tried the additional hacks for the story titles. And here are two issues. The first one is that even though the field in the database is 255 characters long, the form fills much faster, so I need to change the maximum number in the form creator (haven't done it yet).

The second issue is that even with short titles, the display has problems...

For instance. In the title field I write:

[spanish]Ejemplo de noticia[/spanish] [english]Sample news item[/english]

Then I go to my site and use the selector to choose Spanish. The idea is I should get:

Ejemplo de noticia

but instead I get:

Ejemplo de noticia [engli...

When I change to English, I should get:

Sample news item

but instead I get:

[engli...

I don't know if adding the backslash in the function &undoHtmlSpecialChars is affecting my results. What do you think?



LATE NIGHT EDITION: Here's another riddle: how to extend this hack to the main menu tags so that they also change with the language switch...







Login

Who's Online

170 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

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

Latest GitHub Commits