• 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"

Madara - WordPress Theme for Manga By MangaBooth

Madara - WordPress Theme for Manga By MangaBooth v1.7.4

No permission to download
Has anyone got an error when using the wp-manga-ftp bunny cdn plugin?
Duplicate folder for each image
Help me!
 
Last edited:
Tienes que agregar una función, php en el tema. esta en la pagina del creador. búscalo.
I'm sorry, I'm new to this, I've searched but I can't find it. Could you tell me where I can find it or can you give me the link, thanks.
 
I'm sorry, I'm new to this, I've searched but I can't find it. Could you tell me where I can find it or can you give me the link, thanks.
Here Read this article
 
I'm sorry, I'm new to this, I've searched but I can't find it. Could you tell me where I can find it or can you give me the link, thanks.
/**
* Add columns "views" to table manga_chapters
**/
add_action("after_switch_theme", "my_manga_add_columns");
function my_manga_add_columns(){
global $wpdb;

$db = WP_MANGA_DATABASE::get_instance();
if(!$db->column_exists($wpdb->prefix . 'manga_chapters', 'views')){
$db->alter_add_column($wpdb->prefix . 'manga_chapters', 'views', 'int');
}
}

/**
* Show the views
**/
add_action('wp_manga_after_chapter_name', 'my_manga_chapter_name_info', 10, 2);

function my_manga_chapter_name_info($chapter, $manga_id){
$views = manga_get_chapter_views($chapter['chapter_id']);

echo '<span class="view"><i class="fa fa-eye"></i> ' . $views . '</span>';
}

function manga_get_chapter_views($chapter_id){
global $wpdb;
$sql = "SELECT views from {$wpdb->prefix}manga_chapters WHERE chapter_id=%d" ;

$views = $wpdb->get_var($wpdb->prepare($sql, $chapter_id));

return $views ? $views : 0;
}

add_action('wp_manga_after_update_manga_views', 'my_wp_manga_after_update_manga_views');

function my_wp_manga_after_update_manga_views(){

$manga_id = intval($_POST['manga']);
$chapter_slug = '';
if(isset($_POST['chapter']) && $_POST['chapter'] != 'undefined'){
$chapter_slug = $_POST['chapter'];
}

if($chapter_slug != ''){
global $wp_manga_chapter;

$chapter = $wp_manga_chapter->get_chapter_by_slug( $manga_id, $chapter_slug);

if($chapter){
$chapter_id = $chapter['chapter_id'];
global $wpdb;
$views = manga_get_chapter_views($chapter_id);

$wpdb->update("{$wpdb->prefix}manga_chapters", array('views'=>++$views), array('chapter_id' => $chapter_id));
}
}

}


paste this code in function
 
/**
* Add columns "views" to table manga_chapters
**/
add_action("after_switch_theme", "my_manga_add_columns");
function my_manga_add_columns(){
global $wpdb;

$db = WP_MANGA_DATABASE::get_instance();
if(!$db->column_exists($wpdb->prefix . 'manga_chapters', 'views')){
$db->alter_add_column($wpdb->prefix . 'manga_chapters', 'views', 'int');
}
}

/**
* Show the views
**/
add_action('wp_manga_after_chapter_name', 'my_manga_chapter_name_info', 10, 2);

function my_manga_chapter_name_info($chapter, $manga_id){
$views = manga_get_chapter_views($chapter['chapter_id']);

echo '<span class="view"><i class="fa fa-eye"></i> ' . $views . '</span>';
}

function manga_get_chapter_views($chapter_id){
global $wpdb;
$sql = "SELECT views from {$wpdb->prefix}manga_chapters WHERE chapter_id=%d" ;

$views = $wpdb->get_var($wpdb->prepare($sql, $chapter_id));

return $views ? $views : 0;
}

add_action('wp_manga_after_update_manga_views', 'my_wp_manga_after_update_manga_views');

function my_wp_manga_after_update_manga_views(){

$manga_id = intval($_POST['manga']);
$chapter_slug = '';
if(isset($_POST['chapter']) && $_POST['chapter'] != 'undefined'){
$chapter_slug = $_POST['chapter'];
}

if($chapter_slug != ''){
global $wp_manga_chapter;

$chapter = $wp_manga_chapter->get_chapter_by_slug( $manga_id, $chapter_slug);

if($chapter){
$chapter_id = $chapter['chapter_id'];
global $wpdb;
$views = manga_get_chapter_views($chapter_id);

$wpdb->update("{$wpdb->prefix}manga_chapters", array('views'=>++$views), array('chapter_id' => $chapter_id));
}
}

}


paste this code in function
THANKS BRO
 
Last edited:
  • Like
Reactions: Aquarii
trns.png

How can i translate here guys? (I can't see Loco translate) also i can't change status (ongoing, completed) and rating
 
PLZ anyone i really need help in fixing the Slider Issue
as you can se the Photo size doesn't match and i cant go fix every image size one by one
Does anyone have any solve For it
1642790288642.png
 
how to delete this genre
 

Attachments

  • 1642827871039.png
    1642827871039.png
    134.3 KB · Views: 19
PLZ anyone i really need help in fixing the Slider Issue
as you can se the Photo size doesn't match and i cant go fix every image size one by one
Does anyone have any solve For it
1642790288642.png
Use a plugin with difereten slider! Rev Slider for example!!!
 
help for indexxing website. i use yoast lugin.
i submit all the sitemap.
most of link in my site is found but not indexed. people said it need patience. but the number of link my website got indeed is not increse
 
Guys you can see if the Madara Coin plugin is working well and if it is Nullated, I found it on the internet. ??
 

Attachments

  • coin.zip
    229 KB · Views: 17
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