1
svaha
Multilingo
  • 2003/10/11 8:44

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Hi,
I updated to XOOPS 2.0.5 and found it to be more stable then 2.0.3.
Because I have a multilingual site I had to hack some files. All works wel except :
1) the subtopics in 'recent news' and 'recent articles'. I changed topics_title in the database to varchar : 255 and also changed the function modTopic() in modules/news/ admin/index.php as described inhttps://xoops.org/modules/newbb/viewtopic.php?forum=14&post_id=43677&topic_id=10734

2)The AgendaX blank page index problem has disappeared? but still no picture above the minical

You can see what I mean on my homepagehttp://www.rainbowshaman.com

Aloha

2
tjnemez
Re: Multilingo
  • 2003/10/11 12:33

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


check the url of image under agendax admin - change minical image, is likely a typo.

3
lewisteo
Re: Multilingo
  • 2003/10/11 16:56

  • lewisteo

  • Just popping in

  • Posts: 13

  • Since: 2003/9/26


yep mine also, what i did is remove the line to call the image and resolve it without image display...

4
svaha
Re: Multilingo
  • 2003/10/11 21:28

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Thnx both of you, I had a closer look at this problem and found out that I only had to give the name of the script file (without URL...) So I filled in : display_image_more.php (that's in modules/agendax/script) I edited this file. Though I upload to the URLhttp://www.rainbowshaman.com/WWW/Afbeeldingen I did not get a picture, so I changed it to : echo 'http://www.rainbowshaman.com/Afbeeldingen/'.$random_d.'.JPG" width="100"';
(One remark, this is case-sensitive, so when you have *.jpg (jpg is lower case) files and you fill in JPG (Upper case) you won't see a picture.
When you take a look at my site, you can see me saying cheers to you.

Now I've only this problem with the sub-topics, anyone?

Happy Xoopsing

5
mCity
Re: Multilingo
  • 2003/10/13 15:09

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31



6
svaha
Re: Multilingo
  • 2003/10/13 23:22

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Thnx for the quick answer mCity.
Yes I've done this, I changed the sanitizer file to :

function makeTboxData4Show($text, $smiley=0)
{
$text = $this->htmlSpecialChars($text);
$text =& $this->xoopsCodeDecode($text, 0);//Added by Chad HHTS Multilingual Titles
return $text;
}

function makeTboxData4Edit($text)
{
return $this->htmlSpecialChars($text);
}

function makeTboxData4Preview($text, $smiley=0)
{
$text = $this->stripSlashesGPC($text);
$text = $this->htmlSpecialChars($text);
$text =& $this->xoopsCodeDecode($text, 0);//Added by Chad HHTS Multilingual Titles
return $text;
}

I also changed the database : xoops_topics to varchar:255

I made no changes to Imenu (a little further on in this post) because I can't find Imenu ?

Aloha

7
mCity
Re: Multilingo
  • 2003/10/14 6:31

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


The problem is that the title is longer than 25 defined in Block Administration. I added a solved way HERE

Hope it helps you.

mCity

8
svaha
Re: Multilingo
  • 2003/10/14 8:59

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Thnx
Today I will work to get this solution on my site. I will change code from [nederlands]/[english] to [nl][ee]if that's not enough I will change the title length in the blocks administration.

Aloha

9
svaha
Re: Multilingo
  • 2003/10/14 10:51

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


YiiiiiiiHaaaaaaaa...done it.
Thnx a lot mCity.
Now I can get on with the content of my site.
(Maybe another photoalbum and a faster host)
I'm very glad

Aloha

10
mCity
Re: Multilingo
  • 2003/10/14 14:52

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Congraturation! But I found a new way (correct way) to solve the tuncation. Read THIS

mCity

Login

Who's Online

269 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 269


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