• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Wovie: Redux

Wovie: Redux Wovie Redux - 5.1.11

No permission to download
I create 2 Blocks modules for homepage and I share with you the code

This one displays the first episodes of the series randomly (adjustable)
home.stats.png
home.Firstrandomepisodes.php
PHP:
<div class="app-section">
<div class="app-heading">
<div class="text"><?php echo $HomeModule['name'];?></div>
<style>
.scrolling-force {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
}
</style>
</div>
<div class="row scrolling-force list-scrollable
<?php if($ModuleData['listing'] == 'v2') { echo 'row-cols-1 row-cols-md-4 '; } else { echo ' row-cols-2 row-cols-md-5';}?>
<?php if($ModuleData['responsive'] == 'horizontal') echo 'scrolling-force list-scrollable';?>">
<?php
if(!$ModuleData['sorting']) {
$OrderBy = 'id DESC';
}else{
$OrderBy = $ModuleData['sorting'];
}
$Newests = $this->db->from(null,'
SELECT
posts_episode.name as episode_name,
posts_episode.image as episode_image,
posts_season.name as season_name,
posts.id,
posts.title,
posts.self,
posts.image,
posts.cover,
posts.create_year,
posts.imdb,
posts_episode.status,
posts_episode.created,
posts_episode.featured
FROM `posts_episode`
LEFT JOIN posts ON posts_episode.content_id = posts.id
LEFT JOIN posts_season ON posts_season.id = posts_episode.season_id
WHERE posts.type = "serie" AND posts.status = "1" AND posts_episode.status = "1" AND posts_episode.name = "1" AND posts_season.name = "1"
ORDER BY RAND()
LIMIT 0,'.$HomeModule['data_limit'])
->all();
foreach ($Newests as $Newest) {
?>
<div class="col">
<a href="<?php echo APP.'/show'?>/<?php echo $Newest['self'] . '-' . $Newest['id'] . '/season' . '/' . $Newest['season_name'] . '/episode' . '/' . $Newest['episode_name']; ?>" class="list-movie
<?php if($Newest['featured'] == '1') echo 'list-featured';?>
<?php if($ModuleData['listing'] == 'v2') echo 'list-episode';?>">
<div class="list-media">
<?php if($Newest['episode_image']) { ?>
<div class="media media-episode" data-src="<?php echo $Newest['episode_image'];?>"></div>
<?php } else { ?>
<div class="media media-episode" data-src="<?php echo $Newest['cover'];?>"></div>
<?php } ?>
<?php if($ModuleData['listing'] != 'v2') { ?>
<div class="list-media-attr">
<div class="date"><?php echo shortdate($Newest['created']);?></div>
</div>
<?php } ?>
</div>
<div class="list-caption">
<div class="list-title"><?php echo $Newest['title'];?></div>
<div class="list-category">Saison <?php echo $Newest['season_name'].' '. Episode .' '. $Newest ['episode_name'];?></div>
</div>
<?php if($ModuleData['listing'] == 'v2') { ?>
<div class="list-date"><?php echo shortdate($Newest['created']);?></div>
<?php } ?>
</a>
</div>
<?php } ?>
</div>
</div>

this one displays stats such as the number of films or series or episodes
home.firstepisode.png
home.stats.php

PHP:
    <?php
        $movies = $this->db->from(null,'SELECT count(posts.id) as total FROM `posts` WHERE type = "movie"')->total();
        $series   = $this->db->from(null,'SELECT count(posts.id) as total FROM `posts` WHERE type = "serie"')->total();
        $episodes    = $this->db->from(null,'SELECT count(posts_episode.id) as total FROM `posts_episode`')->total();
        $actors  = $this->db->from(null,'SELECT count(actors.id) as total FROM `actors`')->total();
        $requests = $this->db->from(null,'SELECT count(requests.id) as total FROM `requests`')->total();

        if($requests == 0) {
            $requests = 'A jour';
        }
          ?>
    <div class="row row-cols-4 list-scrollable">
        <div class="col">
            <a href="/movies" class="list-category-box" style="background-color: #55101b" title="<?php echo __('Movies');?>">
                <?php echo __('Movies');?> : <?php echo $movies;?>
            </a>
        </div>
        <div class="col">
            <a href="/shows" class="list-category-box" style="background-color: #244b32" title="<?php echo __('Series');?>">
                <?php echo __('Series');?> : <?php echo $series;?>
            </a>
        </div>
        <div class="col">
            <a href="/shows" class="list-category-box" style="background-color: #655a01" title="<?php echo __('Episodes');?>">
                <?php echo __('Episodes');?> : <?php echo $episodes;?>
            </a>
        </div>
        <div class="col">
            <a href="/actors" class="list-category-box" style="background-color: #3b022e" title="<?php echo __('Actors');?>">
                <?php echo __('Actors');?> : <?php echo $actors;?>
            </a>

            </a>
        </div>
    </div>
how to add this on homepage and in admin panel?
 
What do you mean ? It don’t need fixing


Yes it’s mine there is 12k movies , 10k tv shows and 5.5k anime , plus there are 2 backup apis on there, major updating coming in 2 days 🙂
Hello, I wanted to know if you have an api for content in Spanish like Cuevana3, it is a famous page for content in Spanish.
 
Il a l'air vraiment cool et merci.
Je regardais votre site et j'ai trouvé sur votre page de série que les acteurs ressemblent à ceci et lorsque vous cliquez sur l'image de l'acteur, une page d'acteur vide ou une mauvaise page d'acteur s'affiche.
Capture d'écran_20220731-161225_Chrome.jpg
J'ai également rencontré ce problème lorsque j'ai téléchargé une image personnalisée d'un acteur (car elle n'est pas disponible dans tmdb) et un bogue dans les identifiants d'acteur voici le correctif
ouvrez 'app/theme/view/serie.php' et remplacez le code de la ligne no:147 à la ligne no:149 par ceci
PHP:
<a href="<?php echo APP . '/actor/' . $Actor['self'] . '-' . $Actor['actor_id']; ?>">
   <div class="slide">
                            <div class="media" style="background-image : url(<?php echo $Actor['image'];?>);"></div>
thanks work fine
 
create new file php in app/theme/view/module

and add new block in mysql
ggsdf.png
and activate this block in your website options in admin/settings Page blocks
Thanks it worked, actually I was creating modules before but got stuck in there now I will create more custom modules and also share with you all. Thanks
 
  • Like
Reactions: spiit
Hi guys, I wanted to know if anyone managed to implement the "import" using either TMDB api or MAL(anime) api.
 

Attachments

  • mal.png
    mal.png
    43.8 KB · Views: 49
  • tmdb.png
    tmdb.png
    351.6 KB · Views: 50
Hello, when performing a search by id or search it stays blank pls help.
 

Attachments

  • id.png
    id.png
    30.5 KB · Views: 31
Screenshot (37).png Screenshot (38).png
@kinare please help.. when we click a movie in the home menu it shows the page.. but when we click from the movies menu or view all movies menu, there are some movies that don't show even though at home they show..
 
Screenshot (37).png Screenshot (38).png
@kinare please help.. when we click a movie in the home menu it shows the page.. but when we click from the movies menu or view all movies menu, there are some movies that don't show even though at home they show..
open 'app/theme/view/movies.php' and replace line no:34 and line no:63 to this
Code:
<a href="<?php echo APP . '/' . $Listing['type'] . '/' . $Listing['self'] . '-' . $Listing['create_year'] . '-' . $Listing['id'];?>" class="list-media">
 
  • Like
Reactions: megalopoulos
open 'app/theme/view/movies.php' and replace line no:34 and line no:63 to this
Code:
<a href="<?php echo APP . '/' . $Listing['type'] . '/' . $Listing['self'] . '-' . $Listing['create_year'] . '-' . $Listing['id'];?>" class="list-media">
Screenshot (40).png
Not completely changed.. is there any other solution..
 
funciona bien para mí, creo que aplicaste algunas modificaciones, intenta verificar la versión original sin modificaciones, si funciona o no, luego dímelo.
I just tried it in the Redo Redux version without modifications and it shows me the same all white
or what version are you using
 
I just tried it in the Redo Redux version without modifications and it shows me the same all white
or what version are you using
I haven't checked wovie redo redux version, I am using wovie 4.0.0 latest version.
try checking if imdb api is added in settings api page
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock