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
Only if you edit templates/your-template/frontpage.tpl.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I assumed you were going to hire a programmer to do this for you. You need to move the following code:
<div class="content-box">
<div class="content-box-title"><?php echo (isset($this->featured)) ? __('featured-title') : __('recent-title'); ?></div>
<div class="content">
<?php if ($this->videos):
echo p('adv_square', 'frontpage-recent');
foreach ($this->videos as $video): ?>
<div id="video-<?php echo $video['video_id']; ?>" class="video">
<a href="<?php echo RELATIVE_URL,'/',$video['video_id'],'/',$video['slug']; ?>/" title="<?php echo e($video['title']); ?>">
<img src="<?php echo THUMB_URL,'/',path($video['video_id']),'/',$video['thumb']; ?>.jpg" alt="<?php echo e($video['title']); ?>" id="preview-video-<?php echo $video['video_id'].'-'.$video['thumb'].'-'.$video['thumbs']; ?>" /><br />
<h5><?php echo e(VText::truncate_chars($video['title'], 50)); ?></h5>
<?php if ($video['ext'] == 'mp4'): ?><img src="<?php echo TPL_REL; ?>/images/hd.png" class="watermark" alt="" /><?php endif; ?>
<?php if ($video['premium'] == '1'): ?><span class="watermark transparent">Premium</span><?php endif; ?>
</a>
<span class="duration"><?php echo VDate::duration($video['duration']); ?></span>
<div class="rating_bar"><div style="width:<?php echo round($video['rating']*20); ?>%"></div></div>
<span class="timeline clear"><?php echo VDate::nice($video['add_time']); ?></span>
<span class="views"><?php echo $video['total_views'],' '; if ($video['total_views'] == '1'): echo __('view'); else: echo __('views'); endif; ?></span>
<div class="clear"></div>
</div>
<?php endforeach; ?>
<div class="clear-left"></div>
<div class="pagination"><ul><?php echo p('pagination', $this->pagination, RELATIVE_URL.'/recent/#PAGE#/'); ?></ul></div>
<?php else: ?>
<div class="none"><?php echo __('no-videos'); ?></div>
<?php endif; ?>
<?php echo p('adv', 'frontpage-bottom'); ?>
</div>
</div>
below:
<div id="right" class="width-760">
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Yes.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
on Frontpage i found:
<div class="content-box">
<div class="content-box-title"><?php echo (isset($this->featured)) ? __('featured-title') : __('recent-title'); ?></div>
<div class="content">
<?php if ($this->videos):
echo p('adv_square', 'frontpage-recent');
foreach ($this->videos as $video): ?>
<div id="video-<?php echo $video['video_id']; ?>" class="video">
<a href="<?php echo RELATIVE_URL,'/',$video['video_id'],'/',$video['slug']; ?>/" title="<?php echo e($video['title']); ?>">
<img src="<?php echo THUMB_URL,'/',path($video['video_id']),'/',$video['thumb']; ?>.jpg" alt="<?php echo e($video['title']); ?>" id="preview-video-<?php echo $video['video_id'].'-'.$video['thumb'].'-'.$video['thumbs']; ?>" /><br />
<h5><?php echo e(VText::truncate_chars($video['title'], 50)); ?></h5>
<?php if ($video['ext'] == 'mp4'): ?><img src="<?php echo TPL_REL; ?>/images/hd.png" class="watermark" alt="" /><?php endif; ?>
<?php if ($video['premium'] == '1'): ?><span class="watermark transparent">Premium</span><?php endif; ?>
</a>
<span class="duration"><?php echo VDate::duration($video['duration']); ?></span>
<div class="rating_bar"><div style="width:<?php echo round($video['rating']*20); ?>%"></div></div>
<span class="timeline clear"><?php echo VDate::nice($video['add_time']); ?></span>
<span class="views"><?php echo $video['total_views'],' '; if ($video['total_views'] == '1'): echo __('view'); else: echo __('views'); endif; ?></span>
<div class="clear"></div>
</div>
<?php endforeach; ?>
<div class="clear-left"></div>
<div class="pagination"><ul><?php echo p('pagination', $this->pagination, RELATIVE_URL.'/recent/#PAGE#/'); ?></ul></div>
<?php else: ?>
<div class="none"><?php echo __('no-videos'); ?></div>
<?php endif; ?>
<?php echo p('adv', 'frontpage-bottom'); ?>
</div>
</div>
in:
<div class="content-box">
<div class="content-box-title"><?php echo (isset($this->featured)) ? __('featured-title') : __('recent-title'); ?></div>
....
is the choose between fetured and recent - thats what i can choose in "Module Manager"
whitch code i need to use the featured Videos by hardcoding
i want to use all 3 - featured - watched - last Videos
i need the hardcoding because i want show the featured Videos on other Pages too ;-)
greetings
German-Porn-Tube
http://www.tubeuploadtool.german-porn-tube.net <- 1000´s Videos upload per Day + Rewrite Titel and Description in many Languages
Offline
You need to edit both modules/frontpage/frontpage.php and templates/your-template/frontpage.tpl.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1