Ali Madab
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelOh yes, I have noticed… however after pressing update:) because sometimes there is no time to read all the text on page. That’s why it would be very useful, if the messages appeared after pressing update button, I mean as some kind of comfirmation.
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panel🙂 That would be great! And please don’t forget the warning message, like “Any custom php changes will be lost, continue???” 🙂
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelThank you for support and I hope you will make it an alpha, very good product soon:)
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelThank you for your response
I just recovered from a backup file. I brought back only wp-config.php file and everything is alright now.
One BIG request!
Either change the name of your plugin to “restore default wp-config.php file (only english version)” or make it really an editing plugin, not restoring. It has overwritten the whole file and I lost a lot of time to recover it.
BUT thank you for the free plugin and I wish you luck!
If I can’t help somehow, please let me know.
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelOkay, so now I have access to all files through FTP and also access to database.
I have deleted the line “define(‘WP_CACHE’, true);” added before, but still no changes.
btw, when I try to recover my password and enter the email address, it says there is no such a user, but I can see the user(and also email address) in database through phpmyadmin.
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelYes, I have tried from another browser, another computer and another IP.
I have changed the password from phpmyadmin and tried to login, but the same error was displayed.
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelI am not able to create a FTP connection, but I have access to database. Is there anything I can do through database?
Thank you.
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelI am sorry, but I’m not allowed to give any access to third person. But thank you very much for offering your help.
So everything I need to do, is getting old wp-config.php file recovered, right? Are there many wp-config.php files for MU?
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelHello Ahmed,
Thank you for your response.
1. ERROR: Invalid username. Lost your password?
2. Yes.
3. Yes, see 1.
4. I updated wp-config.php using Editor. I pressed preview, then added the line(define(‘WP_CACHE’, true);) then I pressed update. Suddenly I am loged out and getting error: invalid usaername trying to login.
I would like to know: Why can’t I login? How come my credentials won’t work: invalid username? Do you have an explanation for this?
What do I do now?
Why should I manually install MU, if the only file was changed was wp-config.php? Why can’t I restore it from my backup and get everything back to normal?
Forum: Plugins
In reply to: [WP Config File Editor] Can't access admin panelForgot to say: I have NO FTP access to the host, otherwise I wouldn’t use this plugin to edit wp-config.php.
I don’t want to request for credentials of FTP account, if there is a way accessing admin panel without it.Forum: Themes and Templates
In reply to: [Capture] Disable fullscreen slideshow in blog pageI changed few lines and it seems to work. (This won’t completely delete this feature, it will somehow disable it. In order to remove this feature completely you have to dig more)
Before making any changes I recommend to make a child theme(works better than backup for me) or a backup.
To disable slideshow from blog page you can change loop-home.php to this:
<?php // Loop through posts if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'yoast', 'breadcrumbs' ); // Yoast Breadcrumbs ?> <section id="post-<?php the_ID(); ?>" <?php post_class( 'post cf' ); ?>> <section class="post-container"> <?php // Featured Image if ( has_post_thumbnail() ) : ?> <?php sds_featured_image( false ); ?> <?php endif; ?> <section class="post-title-wrap cf <?php echo ( has_post_thumbnail() ) ? 'post-title-wrap-featured-image' : 'post-title-wrap-no-image'; ?>"> <h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <p class="post-date"> <?php if ( strlen( get_the_title() ) > 0 ) : ?> <?php printf( __( 'Posted by %1$s On %2$s', 'capture' ) , '<a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '">' . get_the_author_meta( 'display_name' ) . '</a>', get_the_time( 'F jS, Y' ) ); ?> <?php else: // No title ?> <a href="<?php the_permalink(); ?>"> <?php printf( __( 'Posted by %1$s On %2$s', 'capture' ) , get_the_author_meta( 'display_name' ), get_the_time( 'F jS, Y' ) ); ?> </a> <?php endif; ?> </p> </section> <article class="post-content cf"> <?php // Display excerpt if one has been specifically set by post author if ( ! empty( $post->post_excerpt ) ) : the_excerpt(); ?> <p><a href="<?php the_permalink(); ?>" class="more-link"><?php _e( 'Read More', 'capture' ); ?></a></p> <?php else : the_content( __( 'Read More', 'capture' ) ); endif; ?> </article> <footer class="post-footer cf"> <section class="comments-link-container"> <?php if ( comments_open() && ! post_password_required() && ( int ) $post->comment_count ) : // Comments exist ?> <a href="<?php comments_link(); ?>" class="comments-link"><span class="fa fa-comment"></span> <?php printf( _n( '1 Observation', '%1$s Observations', get_comments_number(), 'capture' ), get_comments_number() ); ?></a> <?php elseif ( comments_open() ): // No Comments ?> <a href="<?php comments_link(); ?>" class="comments-link"><span class="fa fa-comment"></span> <?php _e( 'Leave Your Observation', 'capture' ); ?></a> <?php else: // Comments Disabled ?> <span class="comments-link"><span class="fa fa-minus-circle"></span> <?php _e( 'Observations Closed', 'capture' ); ?></span> <?php endif; ?> </section> <section class="post-footer-right"> <?php do_action( 'capture_post_footer_right', $post ); ?> </section> </footer> </section> </section> <?php endwhile; else : // No posts ?> <section class="no-results no-posts post"> <section class="post-container"> <article class="post-content cf"> <h1 class="page-title"><?php _e( 'No Results', 'capture' ); ?></h1> <?php sds_no_posts(); ?> </article> </section> </section> <?php endif; ?> <?php get_template_part( 'capture', 'slideshow' ); // Capture Slideshow Markup ?> <?php get_template_part( '_', 'capture-slideshow' ); // Capture Slideshow Underscore Template ?>To disable slideshow feature from a single blog, change loop.php to this:
<?php global $multipage; // Loop through posts if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <section id="post-<?php the_ID(); ?>" <?php post_class( 'post single-post capture-post cf' ); ?>> <section class="post-container"> <?php // Featured Image if ( has_post_thumbnail() ) : ?> <?php sds_featured_image( false, 'capture-1200x9999' ); ?> <?php endif; ?> <section class="post-title-wrap cf <?php echo ( has_post_thumbnail() ) ? 'post-title-wrap-featured-image' : 'post-title-wrap-no-image'; ?>"> <h1 class="post-title"><?php the_title(); ?></h1> <p class="post-date"> <?php the_time( get_option( 'date_format' ) ); ?> </p> </section> <article class="post-content cf"> <?php the_content(); ?> <section class="clear"></section> <?php if ( $multipage ) : ?> <section class="single-post-navigation single-post-pagination wp-link-pages"> <?php wp_link_pages(); ?> </section> <?php endif; ?> <section class="clear"></section> <?php edit_post_link( __( 'Edit Post', 'capture' ) ); // Allow logged in users to edit ?> </article> <footer class="post-footer single-post-footer cf"> <?php if ( $post->post_type !== 'attachment' ) : // Post Meta Data (tags, categories, etc...) ?> <section class="post-meta"> <?php sds_post_meta(); ?> </section> <?php endif ?> </footer> <section id="post-author" class="post-author cf"> <section class="post-author-inner cf"> <header class="author-header"> <figure class="author-avatar"> <?php echo get_avatar( get_the_author_meta( 'ID' ), 128 ); ?> </figure> </header> <aside class="author-details author-content"> <h3><?php echo get_the_author_meta( 'display_name' ); ?></h3> <a href="<?php echo get_the_author_meta( 'user_url' ); ?>"><?php echo get_the_author_meta( 'user_url' ); ?></a> <p><?php echo get_the_author_meta( 'description' ); ?></p> <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php _e( 'View more posts from this author', 'capture' ); ?></a> </aside> </section> </section> <section class="single-post-navigation-container post-navigation-container cf"> <?php sds_single_post_navigation(); ?> </section> <section class="clear"></section> <section class="after-posts-widgets cf <?php echo ( is_active_sidebar( 'after-posts-sidebar' ) ) ? 'after-posts-widgets-active widgets' : 'no-widgets'; ?>"> <?php sds_after_posts_sidebar(); ?> </section> <section class="clear"></section> <?php comments_template(); // Comments ?> </section> </section> <?php endwhile; endif; ?>Hope this helps
Forum: Themes and Templates
In reply to: [Capture] Disable fullscreen slideshow in blog pageHey!
Im also interested in this topic.Dear Yor1980, if you have found a solution already, please post it here. It seems no one is going to answer this quetion from support.