Wovie: Redux

Wovie: Redux v3.3.3 ReDo

No permission to download

Fremder

Member
Jul 5, 2022
35
10
8
Hello guys, I would like to know if someone could fix the problem with the "story" of the home page, the trailer with the content does not match.
 

kinare

Member
May 8, 2021
66
12
8
Hello guys, I would like to know if someone could fix the problem with the "story" of the home page, the trailer with the content does not match.
yeah go to 'app/theme/view/module/home.trailer.php' and after line no:17 add
Code:
stories.id as s_id,
and on line no:41 edit
Code:
$Story['id'];
to this
Code:
$Story['s_id'];
also I am fixing others bugs too if you find any please tell me too
 

Attachments

  • 20220726_031450.jpg
    20220726_031450.jpg
    145.1 KB · Views: 20
  • 20220726_031548.jpg
    20220726_031548.jpg
    194.3 KB · Views: 20
Last edited:

Fremder

Member
Jul 5, 2022
35
10
8
yeah go to 'app/theme/view/module/home.trailer.php' and after line no:17 add
Code:
stories.id as s_id,
and on line no:41 edit
Code:
$Story['id'];
to this
Code:
$Story['s_id'];
also I am fixing others bugs too if you find any please tell me too
Solucionado thx.
 

Pp4real

Member
May 12, 2020
53
18
8
"watch now" link in story don't have the year in the url, only the id. please help fix it.
eg. /movie/the-gray-man-22
instead of /movie/the-gray-man-2022-22

Watch-Movies-and-TV-Shows-for-Free-.png
 
Last edited:

kinare

Member
May 8, 2021
66
12
8
"watch now" link in story don't have the year in the url, only the id. please help fix it.
eg. /movie/the-gray-man-22
instead of /movie/the-gray-man-2022-22

Watch-Movies-and-TV-Shows-for-Free-.png
you need to edit two files
first open 'app/theme/view/module/home.trailer.php' and replace line no:39 with this
Code:
<a href="<?php echo APP . '/' . $Story['type'] . '/' . $Story['self'] . '-' . $Story['create_year'] . '-' . $Story['id'];?>" class="list-trailer">
and then open 'app/theme/view/modal/story.php' and replace whole code with this
Code:
<?php

$Story = $this->db->from(null,'
    SELECT
    stories.id,
    stories.title,
    stories.subtitle,
    stories.embed,
    stories.content_id,
    posts.id as p_id,
    posts.title as p_title,
    posts.self as p_self,
    posts.type as p_type,
    posts.image,
    posts.create_year
    FROM `stories`
    LEFT JOIN posts ON posts.id = stories.content_id 
    WHERE stories.id = "'.Input::cleaner($_GET['id']).'"')
    ->first();
?>
<div class="modal-content">
    <div class="modal-body p-4">
        <div class="embed-responsive embed-responsive-16by9 rounded">
            <iframe class="embed-responsive-item" src="<?php echo $Story['embed'];?>" allowfullscreen></iframe>
        </div>
        <?php if($Story['content_id']) { ?>
        <div class="mini-post">
            <div class="post-content">
                <div class="cover">
                    <div class="media media-cover" data-src="<?php echo UPLOAD.'/cover/thumb-'.$Story['image'];?>"></div>
                </div>
                <div class="flex-fill">
                    <div class="name">
                        <?php echo $Story['p_title'];?>
                    </div>
                    <div class="category">
                        <?php echo ($Story['p_type'] == 'movie') ? 'Film' : 'Show';?>
                    </div>
                    <a href="<?php echo APP . '/' . $Story['p_type'] . '/' . $Story['p_self'] . '-' . $Story['create_year'] . '-' . $Story['p_id'];?>" class="btn btn-theme"><?php echo __('Watch Now');?></a>
                </div>
            </div>
        </div>
        <?php } ?>
    </div>
</div>
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu