flizzywp
Forum Replies Created
-
Forum: Plugins
In reply to: [wpForo Forum] Remove Some Avatar Options?I found a way to keep the forum avatars activated even in the comments while removing anything that comes from the normal WordPress avatar functionality. I just added this snippets to remove normal WP avatars:
function remove_all_wp_avatars() {
return “”;
}
add_filter( ‘pre_get_avatar’, ‘remove_all_wp_avatars’, 10, 3 );- This reply was modified 7 years, 2 months ago by flizzywp.
Forum: Plugins
In reply to: [wpForo Forum] Disable login/registration pages?Thank you, it worked perfectly. I did the same for register.php, is that correct?
Forum: Plugins
In reply to: [wpForo Forum] Code button not working properlyI tested it on your forum and it behaves the same.
It works if you start with normal text and then add code below, but not the other way around. If you start with code, there is no way to add unformatted text below because the button then removes the code-formatting from the rest as well.Forum: Plugins
In reply to: [wpForo Forum] Disable login/registration pages?Thank you!
Forum: Fixing WordPress
In reply to: How to disable copy+paste image embeds?But my users are the ones posting content so it’s not under my control. Is there a way to completely strip away this feature without enforcing “paste as text”?
Any idea?
Forum: Plugins
In reply to: [wpForo Forum] Remove Some Avatar Options?I am ok with that since I don’t necessarily need avatars in the comments.
Can I expect that the behavior stays like this in the upcoming releases?Forum: Plugins
In reply to: [wpForo Forum] Disable login/registration pages?Ok I added the file, can you tell me which part I have to remove?
<?php // Exit if accessed directly if( !defined( 'ABSPATH' ) ) exit; ?> <p id="wpforo-title"><?php wpforo_phrase('Forum - Login') ?></p> <form name="wpflogin" action="" method="POST"> <div class="wpforo-login-wrap wpfbg-9"> <div class="wpforo-login-content"> <h3><?php wpforo_phrase('Welcome!') ?></h3> <div class="wpforo-table wpforo-login-table"> <div class="wpf-tr row-0"> <div class="wpf-td wpfw-1 row_0-col_0" style="padding-top:10px;"> <div class="wpf-field wpf-field-type-text"> <div class="wpf-field-wrap"> <i class="fas fa-user wpf-field-icon"></i> <input autofocus placeholder="<?php wpforo_phrase('Username') ?>" required="TRUE" type="text" name="log" class="wpf-login-text" /> </div> <div class="wpf-field-cl"></div> </div> <div class="wpf-field wpf-field-type-password"> <div class="wpf-field-wrap"> <i class="fas fa-key wpf-field-icon"></i> <input placeholder="<?php wpforo_phrase('Password') ?>" required="TRUE" type="password" name="pwd" class="wpf-login-text" /> <i class="fas fa-eye-slash wpf-show-password"></i> </div> <div class="wpf-field-cl"></div> </div> <div class="wpf-field wpf-field-type-text wpf-field-hook"> <div class="wpf-field-wrap"> <?php do_action('login_form') ?><div class="wpf-field-cl"></div> </div> <div class="wpf-field-cl"></div> </div> <div></div> <div class="wpf-field"> <div class="wpf-field-wrap" style="text-align:center; width:100%;"> <p class="wpf-extra wpfcl-1"> <input type="checkbox" value="1" name="rememberme" id="wpf-login-remember"> <label for="wpf-login-remember"><?php wpforo_phrase('Remember Me') ?> | </label> <a href="<?php echo wpforo_lostpass_url(); ?>" class="wpf-forgot-pass"><?php wpforo_phrase('Lost your password?') ?></a> </p> <input type="submit" name="wpforologin" value="<?php wpforo_phrase('Sign In') ?>" /> </div> <div class="wpf-field-cl"></div> </div> <div class="wpf-field wpf-extra-field-end"> <div class="wpf-field-wrap" style="text-align:center; width:100%;"> <?php do_action('wpforo_login_form_end') ?> <div class="wpf-field-cl"></div> </div> </div> <div class="wpf-cl"></div> </div> </div> </div> </div> </div> </form> <p> </p><p> </p><p> </p>Forum: Plugins
In reply to: [wpForo Forum] Remove Editor Buttons?Actually, I figured out that I can remove them via “Additional CSS” in the Customizer! In case anyone wants to do the same later.
Forum: Plugins
In reply to: [wpForo Forum] Remove Some Avatar Options?But I want to keep avatars in the forum enabled.
I mean right now it works as I intended, I am just saying that I disabled avatars in the discussions tab in WP and it still works in the forum (this is what I want)Forum: Plugins
In reply to: [wpForo Forum] Disable login/registration pages?Thank you, I’ll try that!
Forum: Plugins
In reply to: [wpForo Forum] Disable automatic embedding of imagesThank you! That’s great!
Forum: Plugins
In reply to: [wpForo Forum] Remove Some Avatar Options?But I did disable avatars in WordPress and they still work in the forum!
Forum: Plugins
In reply to: [wpForo Forum] Disable automatic embedding of imagesThe thing is, I want to get rid of any form of embedding because this can be problematic in terms of GDPR. With the normal settings, are users also able to embed other content like Youtube videos if they add the necessary tags in the text editor?
Forum: Plugins
In reply to: [wpForo Forum] Disable login/registration pages?Thank you for your help. I already did the steps you described, but the wpForo login page is still accessible via its direct URL. Is there a way to block it out completely?