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.
Pages: 1
If the related videos button does not work, its either a bug or there are no related videos. The premium image is not showed on the related videos, but i will change this in the next version.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I'm sorry, but i do not understand what this means: "there are more related videos for sute". Please explain.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I checked. Its a mysql bug (no idea why this happens on your server, it works correctly for other clients and also for me). Edit templates/your-template/extend/ajax/related.plugin.php and replace:
ORDER BY FIELD (v.video_id, '.$ids.')'
with:
ORDER BY FIELD(v.video_id, '.$ids.')'
Basically remove the space after FIELD.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Offline
What exactly happens?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Well i think that in premium related videos they are divided in two columns. You see in normal videos we have the image on top and text at the bottom right? So i added the <?php if ($video['premium'] == '1'): ?><span class="watermark transparent">Premium</span><?php endif; ?> excactly below the code for the HD png image. But in premiun videos the text is next to the image preview and not at the bottom. So if i add the same code the premium line goes in strange positions pushing the text below or more right and things like that
Offline
And you want to have the premium text over the video for related and pornstar videos?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
If possible yes as it is at the video browse page. Further more if you can tell me how at the premium videos, at the related there to have only premium related videos.
For the normal related videos i have done it and it works great
Last edited by ivatigoal (2013-12-07 11:00:18)
Offline
Edit modules/premium/components/view.php and add:
AND v.premium = '1'
after:
AND v.status = 1
If you use sphinx its a little more complicated, you need to edit your sphinx.conf add the following:
v.premium,
after:
v.duration
and also add:
sql_attr_uint = premium
after:
sql_attr_uint = video
Then rebuild the index and restart searchd.
Now edit modules/premium/components/view.php and add:
$sphinx->SetFilter('premium', array(1));
after:
$sphinx->SetFilter('video', array($video_id), true);
Let me know if this works.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1