Fidgety Lizard
Forum Replies Created
-
Forum: Plugins
In reply to: [Clarify Password Reset] Just want to clear the generated passwordHi there,
To do this you would need to take the JavaScript file js/flizcpr-password.js
and cut out the bits you don’t need. (Look for the comment that says “Clear the initial password suggestion form” and keep that bit of JQuery.)Then you’d need to add code to your theme to load this js on the login pages only. Take a look at line 36 and lines 120-135 in clarify-password-reset.php to see what hooks are in use.
Hope this helps!
Forum: Plugins
In reply to: [Forum Beginner Posts] Font size in visual editorIt’s a difficult one to work around, unfortunately. The editor panel appears in its own iframe and loads its own styling. You can tell it extra style-sheets to load when it’s created, but the actual creation is being done in bbPress itself (see bbpress/includes/common/template.php, line 769) – so it’s hard to do that without hacking bbPress. Also, depending on what the theme is actually doing, I suspect it might still interfere even if you did specify a custom stylesheet for TinyMCE…
Sorry I haven’t been more help!
Forum: Plugins
In reply to: [Forum Beginner Posts] Font size in visual editorHi there namruf,
Do you still get the big font if you use one of the standard WordPress themes?
Because TinyMCE normally only gets used in the admin back end, some themes don’t play nicely with it when it’s used in the front end…
Forum: Reviews
In reply to: [Forum Beginner Posts] Really nice, but not responsiveHi there,
The TinyMCE editor should behave responsively by default with the latest version of WordPress. (Try it out with e.g. the Twenty Fifteen or Twenty Sixteen theme and you should see the TinyMCE pane resizing and its toolbar wrapping to fit the available window.)
If it’s not resizing on your installation, then there’s probably some CSS in either your theme, or in a plugin that you’re using, that is overriding or interfering with the default TinyMCE responsive styling.
If you want to try tweaking your theme styling to fix the issue, this post might help:
How to make TinyMCE responsivePlease note also that enabling the extended editor (full set of buttons) can cause problems with some themes, as mentioned on the Forum Beginner Posts options page.
Cheers!
Forum: Plugins
In reply to: [Fix Forum Emails] Works for new topics but what about old ones ?Ah, that’s interesting.
The plugin doesn’t do anything to change the way the forum posts are stored – it just filters the data “on the way out” into the email. Therefore the issue seems to be something to do with how the posts were stored in the database.
Am I right in understanding that your “old” and “new” topics are all in the same installation / database, and that the old ones still don’t work while the new ones do?
If so, the issue would seem to be something to do with how the posts were stored in the database. I suspect it may be something to do with the data encoding, and that the particular database configuration may play a part too…Has anything about the database itself changed, or did the change in behaviour simply happen after a WordPress upgrade?
Forum: Plugins
In reply to: [Forum Beginner Posts] Make it work with comments ?Hello Stagger Lee from the Wild Rose ??
The paste-as-text functionality is part of the paste plugin in TinyMCE.
Have you tried using one of the plugins that enables the TinyMCE editor for comments? I imagine you could then configure it in paste as text mode to get this functionality…
Forum: Plugins
In reply to: [Forum Beginner Posts] edit the css for the visual editorHi there,
TinyMCE won’t pick up styling in your “normal” WordPress theme stylesheets.
You can add a custom CSS file for TinyMCE using the add_editor_style() callback in your theme: details and examples here.
Forum: Plugins
In reply to: [Clarify Password Reset] Custom CSSWill have a think about it for any future release of the plugin.
Forum: Plugins
In reply to: [Forum Beginner Posts] set Visual editor as default viewNB If you want to manually set the default tab to show for a new user, you should be able do it with the following code snippet in your theme’s functions.php:
For visual tab default:
add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );
For html tab default:
add_filter( 'wp_default_editor', create_function('', 'return "html";') );
Note that this will change the default everywhere (dashboard and forum).
Forum: Plugins
In reply to: [Forum Beginner Posts] set Visual editor as default viewHi there,
The visual editor generally *is* the default tab for new users (I’ve just checked this with some newly created users, and that’s what I’m seeing). After the initial default, the editor will remember what tab you used last time, and show you that one next time around.
Perhaps your theme or another plugin is tweaking this setting? Or perhaps your last selected editor tab from within the main WP editor (the admin dashboard) is carrying over to the forum front end?
Forum: Plugins
In reply to: [Clarify Password Reset] Custom CSSHi khunmax,
It’s easy to load some custom CSS for the login pages from your theme by hooking into the login_head action.
Just add some code like this to your theme’s functions.php file, and then create the ‘custom-login-styles.css’ file in your theme folder (and put your desired CSS styling in that file):
function my_custom_login() { echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo('stylesheet_directory') . '/custom-login-styles.css" />'; } add_action('login_head', 'my_custom_login');
This should work in a normal WP install, though I haven’t tried it with Birds Custom Login.
If you want to avoid this, I would have thought that adding the styling via BCL should work too – but maybe its styling is being loaded before the CPR styling? You could try adding ‘ !important’ to each line of your custom styling added via BCL (to override any styling from the CPR even if it’s loaded afterwards) and see if that does the trick…
Forum: Plugins
In reply to: [Forum Beginner Posts] Can you fix this issue?Hi again abooster,
I think it would indeed make more sense to release a separate plugin that, as you suggest, would allow link suggestions to be disabled for non-admin users. (Or better, defines a new capability for managing who gets to see link suggestions – defaulting to admin only.)
Obviously to be secure, this would need to prevent the list of links being returned to the browser, instead of/as well as hiding the “or link to existing content” section with CSS. There’s also some checking to be done to make sure the same approach will work with both the WordPress back end and bbPress.
I’m not averse to looking into this new plugin, I’m just a bit flat out at the moment. In the meantime if you wanted to dig into the TinyMCE documentation (https://archive.tinymce.com/wiki.php) and see if there’s any configuration to switch suggested links off in TinyMCE itself, that would be really helpful.
Cheers!
Forum: Plugins
In reply to: [Fix Forum Emails] doesn't seem to workHi Andrew, have you got an example of a subject line that’s coming out garbled? You can post a link to a screenshot if the forum is refusing to play nice!
Forum: Plugins
In reply to: [Forum Beginner Posts] Can you fix this issue?Hi guys,
Ok, I understand the context now.
abooster, if the pages that are showing up in the TinyMCE posts listing are published and public, then I’d say this is “expected” behaviour (in the sense that you’re relying on “security through obscurity” to hide your pages, rather than actually restricting them.) I can see why this TinyMCE feature is annoying you however.
(Note – there may be ways to filter the posts visible in the link selector – see https://wordpress.stackexchange.com/questions/115592/excluding-post-type-from-wordpress-link-builder/116027.)When I get a chance, what I’ll try and do is add some functionality to the plugin to support custom javascript snippets for TinyMCE. This functionality could be used to make the JS-based CSS tweaks you’re suggesting, or other CSS tweaks to TinyMCE, so it would be a more widely useful extension. I’m flat out just now but will get onto this when I can.
Cheers!
Forum: Plugins
In reply to: [Forum Beginner Posts] Can you fix this issue?Hello!
Which version of WP and bbPress are you using? I’ve just created a test private page and test private post, and I’m not seeing either of them in the “link to existing content” suggestions when adding a link to a forum post. (That’s true whether I’m logged in as the creator of the private content, or as somebody else.) I’m using the standard TinyMCE not the Extended editor.