• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] create Armenian SEF characters in phpvibe

Started by editamedia,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

editamediaTopic starter

Hallo,
I Have a little problem.

When I add an video with Armenian language title, i get an url like: http://hisustv.com/video/1293/-3-1-/
But i whant this: http://hisustv.com/video/Արթուր-Սիմոնյան-3-քարոզ-1-վիդեոի-մեջ

I've tried delete the function: "$url = preg_replace("/[^a-z0-9]+/","-",strtolower($url));" in location bin/functions.php but when i do this after that i get a blank screen by login/logout.

Is there any other solution for this problem?

sincerely,
Karen
  •  

PHPVibe A.

Hi Karen, you probably broke some syntax and didn't realise.

Replace:
// remove all chars
$url = preg_replace("/[^a-z0-9]+/","-",strtolower($url));
//remove doubled -
$url = str_replace(array('-----','----','---','--'),'-', $url);

with:
$url = str_replace(array('--',' '),'-', $url);


Also, what editor do you use? Some add code on their own or format things.
I use Notepad++ , is free and very good.

editamediaTopic starter

It is done! and it works! Thank you very much. I have review phpvibe on hotscripts.
  •  

PHPVibe A.

Quote from: editamedia on
It is done! and it works! Thank you very much. I have review phpvibe on hotscripts.

My pleasure, and that you very much for the review!

 

Similar topics (7)

The PHPVibe Archive is now public

Started by Marius P.


Replies: 0
Views: 13329

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 32351

How to use the PHPVibe user system (internally or externally)

Started by PHPVibe A.


Replies: 0
Views: 6460

New PHPVIBE 5 (Beta testing DISCUSSION)

Started by yafe3


Replies: 31
Views: 7799

The problem of text chatting PHPVibe 5.0.

Started by Nayn


Replies: 4
Views: 1825

New PHPVibe v5 Issues and Discussions

Started by DeadFish


Replies: 1
Views: 3276

Better Idea for PHPVibe v5 Channels page

Started by DeadFish


Replies: 2
Views: 1852