Page 3 of 4
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:01 pm
by admin
Yes, let's say you have hosted galleries for sponsor id = 15 only
if ('<!--SPONSOR_ID-->' == '15') {
create a link of type 1 (for hosted galleries)
} else {
create a link of type 2 (for external galleries)
}
it's vary basic here of course, I wanted to show the main idea. yes, you'll need to add things like <? and so on
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:02 pm
by mactron
I need to keep "gallery" for redirection purpose.. If I import embed videos on the site are videos redirected from "gallery" to domain.com/galery/title-of-movies/- i need to change this part
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:03 pm
by admin
Yes
Take a look at example
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:06 pm
by mactron
This code I need to put in template right?
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:14 pm
by admin
This _kind_ of code - yes.
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:16 pm
by mactron
Parse error: syntax error, unexpected '<' in /home/admin/domains/drn.com/htdocs/scj/tube/index.php(0) : eval()'d code on line 133
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:24 pm
by mactron
Ahh too much complicated..
In this case script will show "videos" on content list and not "gallery" and I will lost skiming
I was sure that i can keep gallery for redirection and skimming.. Once visitor made a click on "gallery" is redirected to "videos"
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:33 pm
by admin
No, I guess you've just copied the code and yes, it won't work this way.
There are 2 options
1. free - read PHP basics, it's really simple
2. you can create a custom task and we'll setup links for you
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:34 pm
by mactron
option 2 is better for me.. where i can open the ticket-task ?
Re: Hosted Videos
Posted: Thu Oct 03, 2013 4:48 pm
by admin
PM me plz