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 2012-11-11 20:29:15

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

What is the video url code?

Hello, i need to know what is the code in the script for the video url.

I remember in AVS it was {$baseurl}/video/{$video.VID}/{$video.title} 

What is in ASPro?

Offline

#2 2012-11-11 21:09:05

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

Re: What is the video url code?

BASE_URL.'/'.$video['video_id'].'/'.$video['slug'] OR BASE_URL.'/'.$this->video['video_id'].'/'.$this->video['slug'].'/'


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

Offline

#3 2012-11-11 21:23:58

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: What is the video url code?

So, no brackets? {}

Also, i need to put in header to do something only whe video watch page is loaded. With AVS i remember it was {if isset($video.VID)}<link rel="image_src" href="the thumb" />{/if} . How would it be with ASPro?

Offline

#4 2012-11-12 12:43:44

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

Re: What is the video url code?

<?php if (isset($this->video['video_id'])): ?>
<link rel="image_src" href="<?php echo THUMB_URL,'/',path($this->video['video_id']),'/',$this->video['thumb'],'.jpg'; ?>" />
<?php endif; ?>

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

Offline

#5 2012-11-13 17:23:16

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: What is the video url code?

symtab wrote:

BASE_URL.'/'.$video['video_id'].'/'.$video['slug'] OR BASE_URL.'/'.$this->video['video_id'].'/'.$this->video['slug'].'/'

This doesn't work. The facebook comments plugin does not take it.
I just need the video url so facebook comments can use the url for each video...

Offline

#6 2012-11-14 11:26:45

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

Re: What is the video url code?

Which did you use? When you view the source of the page, do you see the url?


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

Offline

Board footer

Powered by FluxBB