Advertisement:

Author Topic: cyrillic alfhebet error  (Read 2107 times)

dalasco

  • Newbie
  • *
  • Posts: 9
cyrillic alfhebet error
« on: April 04, 2011, 09:16:30 pm »
Hi
I have oclass on bulgarian language.When i want to put some ad pictures with discription and title on cyrillic alfhebet,a have an mistake.

 the some fiels are shorts


When i write description and title with english alphabet -its working.Why?

code monkey

  • Full Member
  • ***
  • Posts: 204
Re: cyrillic alfhebet error
« Reply #1 on: April 04, 2011, 10:49:22 pm »
This is fixed in the next version.

The error was caused when we added validation, we didn't know foreign characters weren't covered by [a-zA-Z] matching.

osclass/oc-includes/osclass/ItemActions.php

Find all occurances of:
Code: [Select]
/([a-z][^a-z]*)
Replace with:
Code: [Select]
/([\p{L}][^\p{L}]*)
Save, upload, try now.

dalasco

  • Newbie
  • *
  • Posts: 9
Re: cyrillic alfhebet error
« Reply #2 on: April 05, 2011, 12:22:11 am »
Super this is the greas classifieds -its working!!!
:)Tank you

dalasco

  • Newbie
  • *
  • Posts: 9
Re: cyrillic alfhebet error
« Reply #3 on: April 05, 2011, 12:29:50 am »
How long stay a ads/post/ -where we setup a time for it

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: cyrillic alfhebet error
« Reply #4 on: April 05, 2011, 11:35:30 am »
By default they will stay 30 days, you can change that option in the categories management option under your admin panel.

dalasco

  • Newbie
  • *
  • Posts: 9
Re: cyrillic alfhebet error
« Reply #5 on: April 05, 2011, 02:58:44 pm »
thanks
the best script !

how to use light box effects for images?