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
I noticed right now that the BEING WATCHED FREE PORN VIDEOS updates in a confusing way... If you click the "refresh" button of this part itself it shows other clips then refreshing the index page lol ...
Ben
Offline
Offline
Offline
Yeah, the cache for being watched videos is shorter than the cache for latest videos
For being watched videos it is 900 seconds:
if (!$watched = $this->cache->get($sql, 900))
For latest videos it is 3600 seconds:
if (!$videos = $this->cache->get($sql, 3600))
You may change that by editing /modules/frontpage/frontpage.php
just do a search for the code snippets i quoted above.
Last edited by Coscast (2011-05-28 20:29:03)
Offline
Offline
Well I changed it - both are 900 now... Cleared the cache in the acp and my browser cache... Then hard refreshed but still the same different result.
Offline
Ok. What happens if you refresh a second time ?
First refresh: Refresh
Second Refresh: Nothing happens.
This is for being watched videos.
Same for you?
IF you want to have them both refreshed at the same time: Just adjust the times. Example: BOTH @ 900 Seconds.
But this is not an error or something. Cache works well.
Last edited by Coscast (2011-05-28 21:32:15)
Offline
Well i set both to @ 900 Seconds - refreshing the index page shows other BEING WATCHED FREE PORN VIDEOS then using it´s one refresh. It´s just funny if you play with this several times lol .
Offline
Yeah, but you have to know that this time is relative to the time you have watched that video.
And additionally: YOU are not alone watching teh videos on your site. So just think about someone on your site that watches videos too ....
So, that is no bug. Your Site is doing well.
Offline
If you have RC2 and you updated correctly. It should show the same videos. Do you have the following lines:
SELECT video_id, title, slug, rating, rated_by, duration, thumb, thumbs,
total_views, ext, add_time
FROM #__video
WHERE status = 1
ORDER BY view_time DESC
LIMIT 8
in both modules/frontpage/frontpage.php and templates/your-template/extend/ajax/watched.plugin.php?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Yupp i have RC2.
In templates/your-template/extend/ajax/watched.plugin.php i have
$db->query('SELECT video_id, title, slug, rating, rated_by, duration, thumb, thumbs,
total_views, add_time
FROM #__video
ORDER BY view_date DESC
LIMIT 8');
I changed this now and it´s fine
Many Thanks Adrian
Last edited by MS_DA (2011-05-29 13:00:41)
Offline
Pages: 1