in inc/utils.inc.php , a function to convert title into uri , i want to stop it and make urls auto increment
urls from this : www.eg44.com/m/videos/view/ساعة-مبتكرة-و-غريبة-جدا-ليست-كأى-ساعه-فى-العالم
to this : www.eg44.com/m/videos/view/1
please some one help me because i tired of searching about it . thanks.
|
I would suggest to change the following line in templates/base/scripts/BxBaseConfig.php file:
var $bAllowUnicodeInPreg = false; // allow unicode in regular expressions
Then all non latin URIs will be date based with incremental number at the end, for example: www.eg44.com/m/videos/view/2013-04-15-1234
Note: only newly added content will be affected
Rules → http://www.boonex.com/terms |
appreciate your help but i do not know where is that line exactly and replace it with what ? |
appreciate your help but i do not know where is that line exactly and replace it with what ?
I believe Alex is referring to the templatesbasescriptsBxBaseConfig.php file around line number 35. You would change the value from 'true' to 'false' as indicated by him.
Always make backups of files before editing them.
Nothing to see here |
i changed it to "false " but Still not working should i delete cashe or what ? |
Yes, always clear the cache after any changes. If you're doing it manually just make sure to leave the .htaccess.
i changed it to "false " but Still not working should i delete cashe or what ?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
i changed it to "false " but Still not working should i delete cashe or what ?
Clearing the cache never hurts. But remember what AlexT said:
Note: only newly added content will be affected
Nothing to see here |
i changed it to "false " but Still not working should i delete cashe or what ?
Clearing the cache never hurts. But remember what AlexT said:
Note: only newly added content will be affected
thanks brothers , still not working with new videos and after deleting cashes 
|
Thank you Zarcon, yes, the file is templates/base/scripts/BxBaseConfig.php Rules → http://www.boonex.com/terms |
Thank you Zarcon, yes, the file is templates/base/scripts/BxBaseConfig.php
yes i did it but still not working as i want :)
|
I didn't say that it will be exactly as you want, this is some compromise to display date based URI.
yes i did it but still not working as i want :)
Rules → http://www.boonex.com/terms |
yes brother i mean it's not working as you said :) sorry for inconvenient .
I didn't say that it will be exactly as you want, this is some compromise to display date based URI.
yes i did it but still not working as i want :)
|
It should work, make sure that the changes were really applied, make sure that you tried new upload! and provide example how it looks like now.
yes brother i mean it's not working as you said :)
Rules → http://www.boonex.com/terms |