Forum Replies Created

Viewing 15 replies - 16 through 30 (of 80 total)
  • i have the same problem but with search bar and i get a alot of console error

    Thread Starter vl4d

    (@vl4d)

    after the update is ok thanks

    Thread Starter vl4d

    (@vl4d)

    i am ussing madara theme (i cant post here the link for my site sorry) this is the demo of my theme https://mangabooth.com/ https://live.mangabooth.com/

    if helps this is the extra code for the views i have on functions

    /**
    * 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 '<i style="margin-right:50px;"><span class="view"><i class="fa fa-eye"></i> ' . $views . '</span></i>';
    }
    
    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;
    }
    
    /**
    * Increase the views
    **/
    add_action('after_manga_single', 'my_manga_chapter_views');
    function my_manga_chapter_views(){
    $cur_chap = get_query_var( 'chapter' );
    $manga_id = get_the_ID();
    
    if($cur_chap != ""){
    global $wp_manga_chapter;
    
    $chapter = $wp_manga_chapter->get_chapter_by_slug( $manga_id, $cur_chap );
    
    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));
    }
    }
    }
    • This reply was modified 4 years, 6 months ago by vl4d.
    Thread Starter vl4d

    (@vl4d)

    @suwash Kunwar

    
    ### wp-core ###
    
    version: 5.8.3
    site_language: en_US
    user_language: en_US
    permalink: /%postname%/
    https_status: true
    user_registration: 1
    default_comment_status: undefined
    multisite: false
    user_count: 13931
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/site
    wordpress_size: 1.25 GB (1341666458 bytes)
    uploads_path: /var/www/site/wp-content/uploads
    uploads_size: 20.87 MB (21882269 bytes)
    themes_path: /var/www/site/wp-content/themes
    themes_size: 24.96 MB (26170424 bytes)
    plugins_path: /var/www/site/wp-content/plugins
    plugins_size: 154.69 MB (162199274 bytes)
    database_size: 98.69 MB (103481344 bytes)
    total_size: 1.54 GB (1655399769 bytes)
    
    ### wp-dropins (3) ###
    
    advanced-cache.php: true
    db.php: true
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: site (madara-child)
    version: 1.0.1.1
    author: vl4d
    author_website: https://site.info
    parent_theme: Madara (madara)
    theme_features: core-block-patterns, starter-content, automatic-feed-links, title-tag, post-thumbnails, custom-background, custom-header, html5, wp-block-styles, responsive-embeds, align-wide, align-full, menus, widgets, editor-style
    theme_path: /var/www/site/wp-content/themes/madara-child
    
    ### wp-parent-theme ###
    
    name: Madara (madara)
    version: 1.7.3.2
    author: WPStylish
    author_website: https://themeforest.net/user/wpstylish
    theme_path: /var/www/site/wp-content/themes/madara
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty-One: version: 1.4, author: the WordPress team
    
    ### wp-plugins-active (26) ###
    
    A-Z Listing: version: 4.2.0, author: Dani Llewellyn
    site: version: 1.8.2, author: vl4d
    BackupBuddy: version: 8.7.4.0, author: iThemes
    CAPTCHA 4WP: version: 7.0.2, author: WP White Security
    Classic Editor: version: 1.6.2, author: WordPress Contributors
    Contact Form 7: version: 5.5.4, author: Takayuki Miyoshi
    Disqus for WordPress: version: 3.0.22, author: Disqus
    Featured Image by URL: version: 1.1.7, author: Knawat
    Google Analytics for WordPress by MonsterInsights: version: 8.3.1, author: MonsterInsights
    Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community
    Heartbeat Control by WP Rocket: version: 2.0, author: WP Rocket
    Loco Translate: version: 2.5.7, author: Tim Whitlock
    Madara - Core: version: 1.7.3.1, author: MangaBooth
    Madara - Shortcodes: version: 1.5.5.4, author: MangaBooth
    OneSignal Push Notifications: version: 2.2.3, author: OneSignal
    OptionTree: version: 2.7.3.2, author: Derek Herman
    Popup Maker: version: 1.16.3, author: Popup Maker
    Transients Manager: version: 2.0.2, author: WPBeginner
    Under Construction: version: 3.92, author: WebFactory Ltd
    W3 Total Cache: version: 2.2.1, author: BoldGrid
    WP Mail SMTP: version: 3.2.1, author: WPForms
    WP Manga - Chapter Permissions: version: 1.1, author: MangaBooth
    WP Manga - Chapter Report: version: 1.1, author: MangaBooth
    WP Manga - Manga Custom Fields: version: 1.2.1, author: MangaBooth
    Yoast SEO: version: 17.9, author: Team Yoast
    Yoast Test Helper: version: 1.15, author: Team Yoast
    
    ### wp-plugins-inactive (2) ###
    
    site: version: 1.3, author: vl4d
    Cloudflare: version: 4.7.0, author: Cloudflare, Inc.
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 122 MB
    	imagick::RESOURCETYPE_DISK: 1073741824
    	imagick::RESOURCETYPE_FILE: 768
    	imagick::RESOURCETYPE_MAP: 512 MB
    	imagick::RESOURCETYPE_MEMORY: 256 MB
    	imagick::RESOURCETYPE_THREAD: 1
    gd_version: 2.2.5
    ghostscript_version: 9.50
    
    ### wp-server ###
    
    server_architecture: Linux 5.4.0-96-generic x86_64
    httpd_software: nginx/1.18.0
    php_version: 7.4.3 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 600
    memory_limit: 1024M
    max_input_time: 600
    upload_max_size: 200M
    php_post_max_size: 80M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    server-headers: 
    	server: nginx
    	date: Mon, 24 Jan 2022 21:19:30 GMT
    	content-type: text/html; charset=UTF-8
    	pragma: no-cache
    	expires: Wed, 11 Jan 1984 05:00:00 GMT
    	cache-control: no-cache, must-revalidate, max-age=0
    	link: Array
    	referrer-policy: no-referrer-when-downgrade
    	content-encoding: gzip
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 8.0.27-0ubuntu0.20.04.1
    client_version: mysqlnd 7.4.3
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/site/wp-content
    WP_PLUGIN_DIR: /var/www/site/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### wp_mail_smtp ###
    
    version: 3.2.1
    license_key_type: lite
    debug: No debug notices found.
    db_tables: wp_wpmailsmtp_tasks_meta, wp_wpmailsmtp_debug_events
    lite_install_date: Nov 27, 2020 @ 6:19am
    
    
    • This reply was modified 4 years, 6 months ago by vl4d.
    Thread Starter vl4d

    (@vl4d)

    so the fix for that is plugins/disqus-comment-system/public/js/comment_embed.js

    (function() {
    	if(document.getElementById('disqus_thread')) {
    		var dsq = document.createElement('script');
    		dsq.type = 'text/javascript';
    		dsq.async = true;
    		dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
    		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    	}
    })();

    i change the element id from script to disqus_thread..

    Thread Starter vl4d

    (@vl4d)

    all the browsers i test (chrome/firefox/tor/opera/edge all lastupdated) OS win 10

    and the error is only in the post/page(homepage) the comments is disabled if this means something, in the post with the comment open is ok.

    Thread Starter vl4d

    (@vl4d)

    i try this but is not working

    .letter-section ul.columns.max-4-columns {
        column-count: 1;
    }

    i just want to have 1 column per letter not 3 or 2

    • This reply was modified 5 years, 7 months ago by vl4d.

    same problem is show only the category comments not the custom page

    and the Caching Support Rocker Loader Support need to be disable to load anything

    • This reply was modified 7 years, 7 months ago by vl4d.
    Forum: Fixing WordPress
    In reply to: video short code
    Thread Starter vl4d

    (@vl4d)

    soo i make the script but is not show nothing (the code is show up in view source but in front nothing)

    function video_player( $atts ) {
        extract( shortcode_atts( array (
            'id' => ''
        ), $atts ) );
        return '<iframe src="https://drive.google.com/file/' . $id . '/view" height="240" width="320" allowfullscreen="" frameborder="0"></iframe>';
    }
    add_shortcode ('player', 'video_player' );

    [player id=”d/0Bx3KA2iVjV3LajNFalVoN1lfRHM”]

    what is wrong???

    Forum: Fixing WordPress
    In reply to: video short code
    Thread Starter vl4d

    (@vl4d)

    nothing?? :/ (sorry for double reply :/ )

    Forum: Fixing WordPress
    In reply to: video short code
    Thread Starter vl4d

    (@vl4d)

    is not youtube is custom link hosted by me, just i want this code with link=”videolink.mp4″] how to make to work the X link from shortcode??

    Thread Starter vl4d

    (@vl4d)

    reason to post link from site?? and the version of wp is 4.8.1 you can see it 🙂

    Thread Starter vl4d

    (@vl4d)

    nothing??

    Thread Starter vl4d

    (@vl4d)

    @mdshak is not (i don’t know why was check to resolve)

    • This reply was modified 9 years, 4 months ago by vl4d.
    Thread Starter vl4d

    (@vl4d)

    the navigation is the problem not the posts 🙂 i want my navigation x category to be order by title..

Viewing 15 replies - 16 through 30 (of 80 total)