Hosted Videos
Re: Hosted Videos
Do you see that you create links in your templates ?
Don't forget to run script update
Re: Hosted Videos
So you have to change it the way you'd like it to be.
And add a rewrite for you pattern.
And add a rewrite for you pattern.
Don't forget to run script update
Re: Hosted Videos
Could you write rewrite please? I can pay..
Re: Hosted Videos
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^videos/(.*)/(.*)/index.html$ /cgi/out.php?link=images/%{QUERY_STRING}&url=content&content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/index.html$ /tube/?content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/$ /tube/?content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/([0-9]{1,2}).html$ /scj/tube/?content_id=$2&item_id=$3 [L]
#slug galleries
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^videos/([^/]+)/index.html$ /cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L]
RewriteRule ^videos/([^/]+)/index.html$ /tube/?slug=$1 [L]
RewriteRule ^videos/([^/]+)/$ /tube/?slug=$1 [L]
RewriteRule ^videos/([^/]+)/([0-9]{1,2}).html$ /tube/?slug=$1&item_id=$2 [L]
Is this correct?
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^videos/(.*)/(.*)/index.html$ /cgi/out.php?link=images/%{QUERY_STRING}&url=content&content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/index.html$ /tube/?content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/$ /tube/?content_id=$2 [L]
RewriteRule ^videos/(.*)/(.*)/([0-9]{1,2}).html$ /scj/tube/?content_id=$2&item_id=$3 [L]
#slug galleries
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^videos/([^/]+)/index.html$ /cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L]
RewriteRule ^videos/([^/]+)/index.html$ /tube/?slug=$1 [L]
RewriteRule ^videos/([^/]+)/$ /tube/?slug=$1 [L]
RewriteRule ^videos/([^/]+)/([0-9]{1,2}).html$ /tube/?slug=$1&item_id=$2 [L]
Is this correct?
Re: Hosted Videos
OK.... problem with htaccess resolved..
Now I have to change path (from "gallery" to "videos" ) for hosted videos in template? Could you tell me where I can to that please?
Thanks!
Now I have to change path (from "gallery" to "videos" ) for hosted videos in template? Could you tell me where I can to that please?
Thanks!
Re: Hosted Videos
Yes, do you see where in template you generate links ?
Don't forget to run script update
Re: Hosted Videos
Yes here.. /scj/admin/?operation=rotation&sub=rot_tube&subsub=rot_cms&
but I need to change only for hosted videos not for outgoing links..
but I need to change only for hosted videos not for outgoing links..







