Ah, that's a bit more complicated to implement, but certainly possible. Essentially, you want the code in action_admin_header() and action_admin_footer() to be applied to the theme header and footer function (eg theme_header() and theme_footer() ) with a few tweaks so it applies to the comment form.
If I get a chance this week, I'll see if I can enhance the plugin to add this functionality. On Tue, Jul 6, 2010 at 6:46 AM, Paul <[email protected]> wrote: > Thanks, works fine, but how to apply icons panel to the comment > from ? :-) > > On 4 июл, 22:45, Paul <[email protected]> wrote: > > Thanks! Sorry for delay :) > > > > On 1 июл, 10:54, Colin <[email protected]> wrote: > > > > > Oh, I forgot to say, I was referring to the trunk version of the > plugin. > > > This is the line you want to modify: > https://trac.habariproject.org/habari-extras/browser/plugins/markup/t... > > > > > On Thu, Jul 1, 2010 at 8:50 AM, Colin <[email protected]> wrote: > > > > Hi Paul > > > > > > As the markup plugin stands, you can't use it for comments. It would > need > > > > to be modified to parse the BBCode in the comments. > > > > > > A simple "hack" would be to add 'filter_comment_content' to the array > on > > > > line 122 and make sure you have BBCode selected within the options. > > > > > > I call this a hack as a bit more thought and configuration would need > to be > > > > put into it as people may want to use one of the other markup > "languages" > > > > for constructing posts, and allow another in comments. This simple > change > > > > is an all-or-nothing approach. > > > > > > You may want to create a new enhancement ticket on > > > >https://trac.habariproject.org/habari-extrasforthis functionality to > be > > > > officially added to this plugin. > > > > > > The above change should work for you in the mean time. > > > > > > HTH > > > > Colin > > > > > > On Thu, Jul 1, 2010 at 5:11 AM, Paul <[email protected]> wrote: > > > > > >> Anyone? :-( > > > > > >> On 28 июн, 11:19, Paul <[email protected]> wrote: > > > >> > Hi guys. > > > > > >> > Is it any chance to apply this plugin - > > > >>http://habariproject.org/dist/plugins/markup/ > > > > > >> > to the public comment form? > > > > > >> > I needs in some bbcodes for comment's publishers, like [b] / [i] / > > > >> > [quote] and some others. > > > > > >> -- > > > >> To post to this group, send email to [email protected] > > > >> To unsubscribe from this group, send email to > > > >> [email protected] > > > >> For more options, visit this group at > > > >>http://groups.google.com/group/habari-dev > > > > > > -- > > > > Colin Seymour > > > > Blog:http://colinseymour.co.uk > > > > Tech Stuff:http://lildude.co.uk > > > > Barefoot Running:http://barefootrunner.co.uk > > > > IRC: lildude #habari > > > > > -- > > > Colin Seymour > > > Blog:http://colinseymour.co.uk > > > Tech Stuff:http://lildude.co.uk > > > Barefoot Running:http://barefootrunner.co.uk > > > IRC: lildude #habari > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-dev > -- Colin Seymour Blog: http://colinseymour.co.uk Tech Stuff: http://lildude.co.uk Barefoot Running: http://barefootrunner.co.uk IRC: lildude #habari -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev
