dosyhost
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing to php 8.1 and 8.0 makes site a bit slowYes I have many old plugins and themes . Such as i use twenty fifteen theme and why should I not to use them if I want to upgrade to php 8x?
Forum: Fixing WordPress
In reply to: I/O Usage goes max. just after every new post publishHost says nothing,
they are saying something use a lot of resources when a new post published.Forum: Fixing WordPress
In reply to: I/O Usage goes max. just after every new post publishshared hosting
1 gb ram
SSD
1 mb/s I/O
1 GB memory
1 cpuThe resource faults happens only after publishing a post, otherwise it is very rare in a day.
Forum: Fixing WordPress
In reply to: How to whitelist a specific admin account for wp-admin for captcha?gogle recaptcha plugin
@ethanchoi
No I meant customer fill the form then paypal send money request to their email.Forum: Fixing WordPress
In reply to: What is the best similar theme for twenty fifteen theme?okay , how can I make it more faster?
and how to put left menu to more left or strecth?Forum: Fixing WordPress
In reply to: How to send custom promo emails to 5000 wp users?Yes i know but none of them provide higher than 2000 users for free.
Yes importing all existing wp users to subs. module. And send weekly feed updates to them?
Forum: Fixing WordPress
In reply to: How to change redirection way on very basic content restriction?So what should I do?
Forum: Fixing WordPress
In reply to: How to change redirection way on very basic content restriction?No there is no settings page.
The entire code is:?> <?php function vbcr_simple_content_restriction() { global $wp_query; if( !is_user_logged_in() ) { if( is_category() || is_archive() || is_single() || is_tax() || is_tag() || is_feed() || is_comment_feed() || is_attachment() || is_search() ) { $option_redirect_to = get_option('redirect-to'); if(empty($option_redirect_to)) { // retrieve WP login URL $option_redirect_to = wp_login_url(); } $status = "302"; wp_redirect( $option_redirect_to, $status ); exit; } } ob_flush(); } function content_restriction_output_buffer() { // this is needed for the redirection ob_start(); } add_action('init', 'content_restriction_output_buffer'); add_action('pre_get_posts', 'vbcr_simple_content_restriction'); /** * Add options page to settings menu */ if ( is_admin() ){ // admin actions add_action('admin_menu', 'wp_content_restriction_menu'); } function wp_content_restriction_menu() { add_submenu_page( 'options-general.php', 'Content Restriction', 'Content Restriction', 'manage_options', 'content_restriction_page', 'content_restriction_page_callback' ); add_action( 'admin_init', 'register_content_restriction_settings' ); } function content_restriction_page_callback() { echo '<div class="wrap">'; echo '<h2>Content Restriction</h2>'; echo '<form method="post" action="options.php">'; echo settings_fields( 'content-restriction-group' ); echo '<label>Redirect to (absolute URL) <input type="text" name="redirect-to" value="'.get_option('redirect-to').'" /></label>'; echo '<p>If this field is empty, we will redirect people to the login page of your blog.</p>'; echo submit_button(); echo '</form></div>'; } function register_content_restriction_settings() { register_setting( 'content-restriction-group', 'redirect-to', 'vbcr_sanitize' ); } function vbcr_sanitize($input) { $input = esc_url($input); return $input; } ?>
For example:
Rather than just embedding(hotlinking) thumbnails like this:
cdnblabla.videohostblabla.com/thumb123.pngI’d like to import that thumbnail from that url (remote server) to my server and show it from my server like this:
cdnblabla.mysite.com/thumb123.png
is is possible?
Forum: Fixing WordPress
In reply to: Masking external links and make them only available for members?On post content.
Some links: abc.com
Some links: example.com
I’d like to cover them with mysite.com
and make it only available to members.No I mean i’d like to automatically upload all of imported external thumbnails into our server.
Forum: Fixing WordPress
In reply to: Pop-under for exit traffic?No i dont mean a blackhat way. Just white hat, newsletter similar popunder to gain advantage from exit traffic.
Forum: Fixing WordPress
In reply to: How to change “Register for this site” title on register page?Where do you see this “Register for this site” verbiage?
On registration page of wordpress , above the registration form.