Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-03-26 14:14:13

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Remove ID Video

Is it possible, to somehow remove from url --> ID VIDEO

example:

From: http://www.pornoking.si/1816/passionate-friends-1/ to http://www.pornoking.si/passionate-friends-1/ ?

Offline

#2 2013-03-26 19:47:55

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Remove ID Video

Hmmm...it could be done with the SLUG, which will need to be unique.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-03-26 21:04:17

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Remove ID Video

Id number, can not be delete or changed via admin-edit video... How do you suggest, to "remove it" ?

Offline

#4 2013-03-27 06:56:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Remove ID Video

You have to edit the code. I'm thinking for 1.2 to move the entire video urls (including recent, to /video/recent/, /video/popular/ and for videos have it /video/slug-here/ for category, /video/category/slug-here/ and so on and have a redirect). You need to edit modules/video/components/view.php and use the SLUG to get the video from the database and also edit all the templates and remove the video_id.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2013-12-22 03:08:20

bugfix
Member
Registered: 2013-11-14
Posts: 15

Re: Remove ID Video

This should be included in the next release for ASP its a great way of showing off how pro the script is compared to the rest..... the ID just brings back 1999 wink

Offline

#6 2013-12-22 17:11:39

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: Remove ID Video

bugfix wrote:

This should be included in the next release for ASP its a great way of showing off how pro the script is compared to the rest..... the ID just brings back 1999 wink

But when you have two videos with the same title you will have problem


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#7 2013-12-23 14:25:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Remove ID Video

You can have /slug-1/, /slug-2/ and so on. If i do this then categories need to be /category/slug/ or something. Also all sites work like this, its the default method. Maybe it will be changed, but i cannot give you a exact date now.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2013-12-24 01:19:04

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Remove ID Video

In my opinion ID should remain. Look at youtube, vimeo, they have only ID and they are fine of course.
In this crazy time of Google games slug can be even treated as "exact match", who knows.....
But if I can suggest: ID should be different than video file name. That's most important of all.
ID should be some unique key to identify video only. I'm sure Symtab agree this and maybe change it in the future.
Personaly I still have only slug on one of my sites (no ID) and this doesn't give any advantage, only more trouble, even if I have enough code to avoid duplicated slugs and titles. So oposite to resuest here I'm rather going to switch to some unique key only in the future.

Last edited by Nuevolab (2013-12-24 01:21:08)

Offline

Board footer

Powered by FluxBB