neon67 (@neon67)

Forum Replies Created

Viewing 25 replies - 76 through 100 (of 136 total)

  • neon67
    Participant

    @neon67

    The same place where you added the picture today.)))
    bbpress.org/forums/topic/create-a-link-image-for-last-post-in-forum/

    Namely # bbpress-forums .bbp-topic-freshness a


    neon67
    Participant

    @neon67

    OK, put it in. But I did not find the new class anywhere on the page (.22fresh). The cache was cleared.
    Maybe the theme will not start up?


    neon67
    Participant

    @neon67

    OK thanks


    neon67
    Participant

    @neon67

    Congratulations! 🙂


    neon67
    Participant

    @neon67

    It looks like you have a confusion with user rights.
    Disable globally plugins and permissions and then enable check sequentially.


    neon67
    Participant

    @neon67

    Hi Diana! This question is discussed on the Google console support forums.

    For two years, so much new writing was even corrected there


    neon67
    Participant

    @neon67

    Without going into the reasons, I recommend plugins / democracy-poll / for bbp.
    More flexible settings, more options, stable performance for my taste.

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    Have an idea – take the avatar settings this forum. Here are the settings

    {
        float: none;
        vertical-align: middle;
        border: 3px double #ddd;
        max-height: 20px;
        max-width: 20px;
    box-shadow: none;
        display: inline-block;
        margin-right: 4px;
    }

    Get the same as here for begin
    change, add as you want.

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    I don’t know – are there any private msg here and is it prohibited by the rules? But if you want – then welcome

    I ask the moderators to delete this offtopic further please

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    Give the site url – I’ll try to send you the css setting

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    It depends the themes – either way, the theme is your choice.
    In specialized bbpress-theme everything is fine usually.

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    You can use the same css key, but instead of display: none! Important; experiment with padding – move 4 parameters up and down sideways as you like

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    Don t understand about. Let’s screen?

    In reply to: Minor HTML Error

    neon67
    Participant

    @neon67

    best way – to write wordpress.org/support/plugin/gd-bbpress-attachments/

    Although the author of the plugin (Milan) regularly visits here.


    neon67
    Participant

    @neon67

    This is more a question to the author of the theme you are using. Start with this.

    If the theme is not intended for bbpress, you can make a separate page (item in the menu) – for example, using shortcodes – to create page user profile.

    The bbpress shortcodes are in the bbpress codex.

    If this is still difficult, there are special plugins

    In reply to: Minor HTML Error

    neon67
    Participant

    @neon67

    Where is this?
    This is generated by bbpress or a plugin like wp-wrapper..


    neon67
    Participant

    @neon67

    Ok, if it’s not difficult for you. This is a fake sandbox, sorry for the mess.
    dev.imhodom.ru/forums/topic/%d0%b0-%d0%b5%d1%81%d0%bb%d0%b8-%d0%bd%d0%b5-%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b6%d0%b0%d1%82%d1%8c-%d0%b0-%d0%b8%d0%b7-%d0%b1%d0%b8%d0%b1%d0%b8%d0%bb%d0%b8%d0%be%d1%82%d0%b5%d0%ba%d0%b8-%d0%b2/#post-256485

    see#post-256485. The top large picture is an old regular one. We are trying for.
    The bottom picture is how it should work.
    PS – The new pics class in functions is disabled now, but enable if needed, no problem.


    neon67
    Participant

    @neon67

    ok ok – fixed a lot of syntax errors. Now the code looks like this and it works

    function add_image_responsive_class($content) {
        global $post;
        $pattern ="/<img(.*?)class=\"(.*?)\"(.*?)>/i";
        $replacement = '<img $1class="$2 img-responsive"$3>';
        $content = preg_replace($pattern, $replacement, $content);
        return $content;
    }
    add_filter ('bbp_get_reply_content', 'add_image_responsive_class');
    add_filter ('bbp_get_topic_content', 'add_image_responsive_class');

    Summary. I got a new picture class – img-responsive. But no new link appeared. How to make it open like a rel prettyPhoto … no ideas yet ..

    A feature is at stake – to allow all BBPforum pictures the last few years to open in a lightbox in full size. worth looking for a solution)


    neon67
    Participant

    @neon67

    oops .. fatal error ..
    trying to beat the other side. next digging towards how to open an innocent picture with target = “_ self” through css trick..

    task narrowed! )


    neon67
    Participant

    @neon67

    Thank you! But I’m looking for a way to apply link: data-rel=”prettyPhoto” target = “_ self” to all available bbpress images. It can be loaded in any way, it doesn’t matter.

    Found the code

    function add_image_responsive_class ($ content) {
        global $ post;
        $ pattern = "/ <img (. *?) class = \" (. *?) \ "(. *?)> / i";
        $ replacement = '<img $ 1class = "$ 2 img-responsive" $ 3>';
        $ content = preg_replace ($ pattern, $ replacement, $ content);
        return $ content;
    }
    add_filter ('the_content', 'add_image_responsive_class');

    but for wordpress. Will it work for bbpress?

    In reply to: Avatar issues

    neon67
    Participant

    @neon67

    try to css:

    #bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar
    {display:none !important;}

    neon67
    Participant

    @neon67

    Thank you! Does this work with Gutenberg now?

    In reply to: Thank you bbPress <3

    neon67
    Participant

    @neon67

    Good idea for Christmas! 2 years ago we switched to bbpress from Drupal – and we are still happy. It has become much easier to work – everything is easily scalable and customizable. The forum at the heart of our site – https://imhodom.ru/.
    Now we have an editor-in-chief, not a tired programmer) There is no such service that would not be in WordPress, and some ideas were suggested to us by plugin authors.

    Special thanks to @johnjamesjacoby and @robin-w – success and good luck the New year!


    neon67
    Participant

    @neon67

    Like a different approach.
    Do you have a confusing system of tags and categories? Look towards plugins make a hierarchy categories and tags, such as “Table of Contents Plus”.
    …automatically creates a context specific index or table of contents (TOC) for long pages (and custom post types) … a sitemap listing pages and / or categories … a unique numbering scheme .. alphabetical sorting of tags and so on


    neon67
    Participant

    @neon67

    as I understand it, now it will be given to insert only own feeds after registering a token, and it will not be possible to insert, for example, Leonel Messi. Therefore, no updates to bbpress will help. Now everyone needs to solve this problem independently (((

Viewing 25 replies - 76 through 100 (of 136 total)