neon67 (@neon67)

Forum Replies Created

Viewing 25 replies - 76 through 100 (of 139 total)
  • @neon67

    Participant

    #bbp-topic-8191 > li.bbp-topic-freshness in code

    #bbpress-forums .bbp-topic-freshness a { in css

    this is a small box with a time stamp (see pic. above) white background now

    @neon67

    Participant

    function.php childe theme
    then search f7 new .class in view-source:https: …. none

    @neon67

    Participant

    @neon67

    Participant

    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

    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

    OK thanks

    @neon67

    Participant

    Congratulations! 🙂

    @neon67

    Participant

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

    @neon67

    Participant

    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

    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

    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

    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

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

    In reply to: Avatar issues

    @neon67

    Participant

    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

    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

    Don t understand about. Let’s screen?

    In reply to: Minor HTML Error

    @neon67

    Participant

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

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

    @neon67

    Participant

    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

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

    @neon67

    Participant

    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

    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

    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

    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

    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

    Thank you! Does this work with Gutenberg now?

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