URL (change)

how to change the url can have photos, videos ...

by numbers and not have dates after the names of the photos:

 

http://mysite.com/m/photos/view/aero-2012-09-16 #

by

http://mysite.com/m/photos/view/aero-01 #

Quote · 16 Sep 2012

to keep only the file name + numbers at the end of the date of the online files

Quote · 16 Sep 2012

hmm! not very sure what you want.

Take a look at this function

inc/utils.inc.php at line 679

uriGenerate function

so much to do....
Quote · 16 Sep 2012

okay, I'll take a look, what I wish is to have no date after the filename but just numbers or another, how during sending multiple photos of the same name all other devients it

 

 

 

http://mysite.com/m/photos/view/AERNO-2012-09-16-23

http://mysite.com/m/photos/view/AERNO-2012-09-16-20

http://mysite.com/m/photos/view/AERNO-2012-09-16-10

....

 

-------

I wish not to see what is the date after the name but just 10,01,20 ....

Quote · 17 Sep 2012

Hello 

If you want to use only numbers without dates you need to take a look at inc/utils.inc.php file -> uriGenerate function, as Prashank25 already mentioned. You need to find and comment out or remove the following lines in the function.

$s .= '-' . date('Y-m-d');

if (uriCheckUniq($s, $sTable, $sField)) return $s;

In this case URI generator won't use date to get unique URI.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 17 Sep 2012

thank you prashank and AntonLV

Quote · 17 Sep 2012

 Hello

thank you prashank and AntonLV

 You are welcome. :)

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 17 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.