bbPress Plugin Browser »

zaerl Editor (0.3.2)

Download

Version: 0.3.2

Other Versions

Last Updated: 2010-4-29

Requires bbPress Version: 1.0.2 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2)

Your Rating

Author: Francesco Bigiarini

zaerl Editor adds a little toolbar with useful buttons on top of the editor area. Each of these buttons automatically adds the html code of one of the allowed markup. No template edit required. You can specify a custom CSS for the toolbar as well as the CSS selector used to find the textarea.

jQuery is used in order to generate the HTML code needed and the code is loaded only on those template page that actually have a post form. Italian and spanish translations are included.


  1. hello - so it's something like an html-version of _ck_'s bbCode buttons plugin? I might try it out, thanks!

    Posted: 2 years ago #
  2. Yes sort of. It adds a toolbar over the textarea used to replay with a button for every allowed tags. For example there is a strong labeled button that once triggered insert <strong></strong> on the form. I use it in my personal forum and I find it very useful. Also if you have some text selected it inserts the tags around that text. So if "foo" is selected and you push the strong button you will have <strong>foo</strong>.

    Here you can find a screenshot.

    Posted: 2 years ago #
  3. I've installed the plugin but I'm not seeing any buttons above the post box. do I need to do anything besides activating the plugin in order to get it to function and/or do I need any other plugins installed and activated to get it to work?

    Posted: 2 years ago #
  4. bbPress version? Browser? Template? I have tested the plugin with bbPress 1.0.2 and firefox 3.6, safari 4.0, ie 8/9 and chrome.

    Posted: 2 years ago #
  5. *bbPress 1.0.2
    *FF 3.63 and IE8
    *bbpress template is Kakumei, but a customized version to pull the header, sidebar, and footer areas from the companion WP theme (that theme is inFocus from themeforest).

    Thank you in advance for any assistance you can provide as having a WYSIWYG editor is an absolute necessity for this support forum when it launches next month.

    Posted: 2 years ago #
  6. My plugin isn't a WYSIWYG editor but only an editor that help you to add the tags to the textarea. A good WYSIWYG is this plugin.

    1) Check the generated source. My plugin insert a <script> tag inside <head>. Something like function za_button(id, display, tagStart, tagEnd, title) etc. It then uses jQuery to find the post textarea through a CSS selector and inject some html. If there isn't this code maybe your header.php doesn't call bb_head().

    2) If the script is correctly inserted check firefox error console. The only error that can be generated, as far as I know, is a warning regarding the fact that jQuery can't find the selected element. The plugin uses textarea#post_content as default but if you have changed something you can edit this value from the admin panel.

    Posted: 2 years ago #
  7. ioloman

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    can you change this plugin buttons!! it would be perfect if they are similar to wordpress forum buttons ,
    btw, it works correctly .

    Posted: 2 years ago #
  8. Many thanks, I will look into all of that to see if it connects. Fortunately, there are no error messages, just nothing shows up.

    I have tried that WYSIWYG plugin and am having the same problem. I left a message at that plugin's extension thread but have yet to get a response.

    I am trying out your zaerl Simple Registration plugin and it seems to be working fine (and it's great!).

    Posted: 2 years ago #
  9. Dear ioloman open the zaerl Editor and go to its admin panel. Here you can change the CSS that influence those buttons. I have created a CSS that fits good in the kakumei panel. If you are asking me about having a WYSIWYG panel like the WordPress tinyMCE I will answer you that I will not do it cause it's outside the scope of my plugin. I have created zaerl Editor because inserting HTML tags is boring and prone to errors.

    I have tried that WYSIWYG plugin and am having the same problem. I left a message at that plugin's extension thread but have yet to get a response.

    So probably it is not a problem of zaerl Editor of the other plugin. I think that your header.php isn't well formed and it miss something important that prevents the calling of bbPress head functions.

    If your header.php doesn't included confidential info you can send me the file (za AT zaerl.com) and I can check it for you. Or if you want give me a dummy account of your BBS and I can investigate further.

    I am trying out your zaerl Simple Registration plugin and it seems to be working fine (and it's great!).

    Thank you. Maybe I will load it in the SVN.

    Posted: 2 years ago #
  10. I did check my header.php and it does have <?php bb_head(); ?> on line 21 - nonetheless, I can send the entire header.php code to you for review. Check your messages (and thanks in advance).

    FYI, I hope you do load the registration plugin up and if you ever have plans for future development, it would be wonderful to be able to create custom registration fields.

    Posted: 2 years ago #
  11. I have checked your header.php and everything is ok (you only miss the call to bb_feed_head but it's probably a design choice cause you don't want feeds.) Answer me some questions:

    1) The javascript is generated inside <head> (this is the most important part)? You will find var za_buttons = new Array(); etc. in the page source (command+u on a Mac, ctrl+u on windows)

    2) Again from the generated html. The textarea used for writing new posts is in this form?
    <textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="3">
    or something similar? id must be equal to "post_content". If it is something else you must change the CSS selector accordingly.

    3) You have javascript active? My plugin doesn't function if you use NoScript or similar Firefox plugin cause it relies on jQuery.

    Regarding zaerl Simple Registration I made a request and I will upload the plugin as soon as I have got a new SVN repository. That plugin is only a little joke that I made in three minutes for helping a user on the forum and I don't have future plans but if I get positive feedbacks I will implement the feature you requested.

    Right now I am busy trying to finish the first content patch of zaerl Visibility and this is sucking away all my spare time (Visibility is a very complex plugin.)

    Posted: 2 years ago #
  12. To answer your questions:

    1) No - In this bbpress version, it pulls the header, sidebar, and footer areas from the main theme. I'm guessing the [code]var za_buttons = new Array();[/code] is not turning up becasue it's pulling the header info from the WP theme.

    2) Yes, it's there exactly as you have it spelled out.

    3) I know exactly what you mean and no.

    Does that info help?

    Posted: 2 years ago #
  13. The plugin rely in a valid header.php that has a call to bb_head() and standard call of template actions. Not only my plugin but all those plugins that need access to <head>. I can't help you further without full access to the source.

    Posted: 2 years ago #
  14. I'll check with my programmer to see if he can shed some light on this issue since I don't know how he set up the connectivity between the forum and the WP theme header.

    Interestingly enough, I am able to get the combo of BBcode Lite and BBcode Buttons Toolbar to function properly. Based on what you have above, my guess is they don't have the same sorts of requirement to access the <head>. The BBcode Buttons Toolbar plugin is great, but not quite as intuitive as a WYSIWYG plugin for novice users to use.

    Posted: 2 years ago #
  15. Those two plugins don't use "bb_head" but "post_form". This is a symptom that validate my theory.

    Posted: 2 years ago #
  16. My programmer is making some changes - once he's done and I upload everything we'll see what happens.

    Posted: 2 years ago #
  17. All fixed (for your plugin and the WYSIWYG plugin) - the programmer did indeed need to make those adjustments to the head. Here's the change for anyone else having a similar issue:

    <?php
    if ($_SERVER['HTTP_HOST'] == "yourdomainname.com")
    { bb_head(); }
    ?>

    Posted: 2 years ago #
  18. As I said no bb_head(). It is a vital function for bbPress.

    Posted: 2 years ago #
  19. ioloman

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hi zaerl , this is the change i made to CSS snipet code :

    .za_button { border:none; background: url ('/img/button.png') no-repeat top left; padding: 2px 8px; }
    .za_button:hover { border:none; background url ('/img/hover-button.png') no-repeat top left; padding: 2px 8px; }

    I'm not really good with CSS, but i did a try, and it didn't work, i don't know what i missed, hope you help me. ( i just want to change buttons background)

    THANKS

    Posted: 2 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.