Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 101 through 125 (of 32,334 total)
  • Author
    Search Results
  • #241076
    neon67
    Participant

    Еverything according to the recipes bbP shortcodes 2.8 – works. Stickies are always shown if they are marked by the admin.
    There were several layers in my CSS code – I need to figure it out. I just wanted to make sure that everyone’s bbP shortcodes 2.8 is working properly.

    #241039
    neon67
    Participant

    Thanks for your feedback!
    I use the bbP shortcodes 2.8 plugin only, don’t have the style pack plugin. The bbp-display-topic-index shortcode works great with both double or single quotes—everything! except for sticker management. In the web code, the line that I want to disable is written as .bbp-topics ul.super-sticky, .bbp-topics-front ul.super-sticky – this is all standard, I didn’t change anything.

    Maybe the problem is the shortcode is used twice on the page? I plan to allow stickers in one block, but prohibit them in the second – other forums and stickers are not appropriate there.

    #241038
    Robin W
    Moderator

    I think you are using the style pack plugin shortcodes, in which case it is bsp not bbp.

    Also the above is using the wrong apostrophies, it may be because you pasted without using the code button

    This should work

    [bsp-display-topic-index show="6" forum ="2692,2696,2697,2698,2700,2702" show_stickies="false"]

    If not come back

    #241028
    Ketil Ervik
    Participant

    In css of the style pack plugin. But i have try also try it on theme’s custom codes, but nothing happen!

    #241026
    Robin W
    Moderator

    yes, but WHERE did you put this code?????

    Custom css of the style pack plugin, your theme’s custom code or elsewhere?

    #241025
    neon67
    Participant

    Hi. I use a shortcode from bbP shortcodes like [bbp-display-topic-index show=’6′ forum =’2692,2696,2697,2698,2700,2702′ show_stickies=’false’] Question about Stickies – the display does not depend on this records – false or true. I even tried to write no – it doesn’t help either, the topics are always shown at the top.
    BBpress 2.6.11
    How is this solved?

    #241023
    Ketil Ervik
    Participant

    .bbp-forum-content ul.sticky, .bbp-topics ul.sticky, .bbp-topics ul.super-sticky, .bbp-topics-front ul.super-sticky {
    background-color: rgb(36, 37, 37) !important;
    }
    .bbp-template-notice, div.indicator-hint {
    background-color: rgb(45, 46, 46);
    border-color: rgb(93 93 93);
    color: rgb(229, 224, 216);
    }

    You se the first code come true and chage the color
    But the secend

    .bbp-template-notice, div.indicator-hint {
    background-color: rgb(45, 46, 46);
    border-color: rgb(93 93 93);
    color: rgb(229, 224, 216);
    }

    dont change anything!

    #241018
    Ketil Ervik
    Participant

    I changed the color visually via the web browser and then copied the code into Custom CSS, but when I then refresh the page, it again shows the color I wanted to change, so this didn’t help! See the image of the code I wrote in Custom CSS

    What am I doing wrong here, why didn’t the color change? See the image of the code I pasted into Custom CSS

    I use bbPress Version 2.6.11 and wp version: 6.6.1.
    I am also using bbp style pack Version 6.0.6.

    https://drive.google.com/file/d/10K7mu5ipMPwsPtfEneTZ5PpmRjq4Ilhn/view?usp=sharing

    #240992

    In reply to: Email template edit

    chauhangarima
    Participant

    Okay, so how can we override the code for sending emails?
    Any filter or hook that can we use.

    #240991

    In reply to: Email template edit

    Milan Petrovic
    Participant

    Since bbPress sends emails in ‘bulk,’ every recipient gets the same message; there is no way around that. There was some discussion of changing how emails are sent, but that is a very complex issue right now.

    The only way to resolve this is to override the bbPress code for sending emails and write a new one to do what you need. But, that needs to be custom-coded, and it would not be cheap to do.

    #240985

    In reply to: Email template edit

    chauhangarima
    Participant

    How can i get the Recipient Email in New Reply Email Body just like the other code e.g {site_title} in this bbp style pack plugin. Can you please help me out.

    #240954
    Robin W
    Moderator

    It would probably take me a day to extract the relevant code.

    The style pack plugin is designed to only run what is necessary, so files are pretty much only loaded as needed. If you are only running for FSE suppprt, I suspect that you would struggle to see any difference in site load time.

    #240909
    Robin W
    Moderator

    care to share the code?

    #240899
    terrenuit
    Participant

    Hi,
    I setup another new forum( two different forums on my site), his name is Aid,
    my short code is:
    [bbp-single-forum id=$forum_Aid]
    but it doesn’t work,

    #240875
    Robin W
    Moderator

    Maybe create a forum called say ‘announcements’
    Then create a page called whatever you wish
    Into that page put the following shortcode
    [bbp-single-forum id=$forum_id]
    Where $forum_id is the forum id

    enkoes
    Participant

    @houd, thanks for your help.

    I tried your code but the ‘span’ tag does not work as expected.
    Strangely, I think the code itself is correct because ‘strong’ tag (bold text) does work when I added it in the code for testing purpose. Like this:

    function wp_bbpress_allow_tags(){
        return array(
            'span'=> array(
                'class'     => true,
                'style'     => true,
            ),
            'strong'     => array(),
        );
    }
    add_filter('bbp_kses_allowed_tags', 'wp_bbpress_allow_tags');

    Don’t know what go wrong.

    houd
    Participant

    You need to pick the allowed html tags that the users can use in your “functions.php”, like so:

    function wp_bbpress_allow_tags(){
        return array(
            'span'=> array(
                'class'     => true,
                'style'     => true,
            ),
    	// add other tags to allow here
        );
    }
    add_filter('bbp_kses_allowed_tags', 'wp_bbpress_allow_tags');

    Keep in mind the tags you pick here are the only tags that will be allowed, so list all of them here.

  • Don’t ask me why the default allowed tags are different than the default shown TinyMCE buttons.
#240830

Topic: View the topic title

in forum Themes
simsdreams
Participant

Hello ,
I hope I can explain clearly what I want.
The topic title from the last post should be displayed

As can be seen in the following picture:
Bild 1
this picture is from my Woltlab forum. I specifically mean what I marked yellow!
I would like to have the same thing in the bbPress forum!
At the point I marked in the following picture.
bild 2
So the name of the last topic is displayed above the date and time.
What should the code look like here?

I hope you can help me .

greetings from simsdreams

#240828
soniyabajoria
Participant

Security risk: privesc. It could be possible to elevate a user’s privileges to a higher permission level.

Severity: critical

Fixed in: 2.6.5

Security risk: privesc. It could be possible to elevate a user’s privileges to a higher permission level.

Severity: high

Fixed in: 2.6.5

Security risk: xss. Data from an attacker could be interpreted as code by site visitors’ web browsers. The ability to run code in another site visitors’ browser can be abused to steal information, or modify site configuration.

Severity: medium

Fixed in: 2.6.0

Security risk: xss. Data from an attacker could be interpreted as code by site visitors’ web browsers. The ability to run code in another site visitors’ browser can be abused to steal information, or modify site configuration.

Severity: medium

Fixed in: 2.6.5

Security risk: sqli. The plugin contains a vulnerability wherein unauthenticated visitors could inject SQL statements into WordPress. SQL injection could allow an attacker to gain control of your site.

Severity: low

Fixed in: 2.0

Security risk: xss. Data from an attacker could be interpreted as code by site visitors’ web browsers. The ability to run code in another site visitors’ browser can be abused to steal information, or modify site configuration.

Severity: low

Fixed in: 2.5.9

Security risk: sqli. The plugin contains a vulnerability wherein unauthenticated visitors could inject SQL statements into WordPress. SQL injection could allow an attacker to gain control of your site.

Severity: low

Fixed in: 2.0

Security risk: xss. Data from an attacker could be interpreted as code by site visitors’ web browsers. The ability to run code in another site visitors’ browser can be abused to steal information, or modify site configuration.

Severity: low

Fixed in: 2.5.10

Security risk: sqli. The plugin contains a vulnerability wherein unauthenticated visitors could inject SQL statements into WordPress. SQL injection could allow an attacker to gain control of your site.

Severity: low

Fixed in: 2.5.13

#240806

If anyone out there needs to quickly do an emergency fix to their live site before updating to 2.6.11, here are the changed lines of code between 2.6.10 and 2.6.11:

https://bbpress.trac.wordpress.org/changeset/7272

I’m not advocating for hacking on weird files on live sites, but I understand everyone’s situations are different, and thought maybe this could be helpful to see.

#240798

2.6.11 is out!

Blog post imminent.

Changelog code page updated.

Sorry everyone 😔

#240783
Eusebiu Oprinoiu
Participant

Chuckie, try logging in using the standard WordPress login page and rollback to the previous version.
https://publictalksoftware.co.uk/wp-login.php

#240782
Eusebiu Oprinoiu
Participant

You can get older versions from the Advanced page on WordPress.org.
You can find a dropdown with previous versions at the bottom of this page.

https://wordpress.org/plugins/bbpress/advanced/

Once you download the version you want, upload the ZIP archive under Plugins > Add New.
You will be asked to overwrite the existing plugin. Click Yes, and you are back to normal.

#240774
Eusebiu Oprinoiu
Participant

Hello, Robin!

I tried all the steps you mentioned before opening this ticket.
I cleared both the page and object caches and resaved the permalink rules in case this was causing the 404 errors. (although permalink issues would cause problems regardless of the logged-in status)

In addition to the 404 errors, pages containing queries, like the Blog page or post-type archive pages, load as they should, with 200 OK status, but do not display any content. (the queries return null)

Reverting to bbPress 2.6.9 solves the issue.
And as I mentioned, this only happens for anonymous visitors. For administrators and logged-in users the pages work as expected.

#240767
Robin W
Moderator

Otherwise it is doable but far beyond free help – as I say bbpress just uses wordpress registration so maybe contact a wordpress developer who can do some code for you.

Viewing 25 results - 101 through 125 (of 32,334 total)
Skip to toolbar