Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,851 through 14,875 (of 32,503 total)
  • Author
    Search Results
  • #124892
    Stephen Edgar
    Keymaster

    Are you referring to Mingle Forums?

    If so I could not repro this with bbPress 2.2.3 and Mingle Forums 1.0.33.3

    • WordPress Role = Administrator | bbPress Role = Keymaster
    • WordPress Role = Subscriber | bbPress Role = Moderator
    • WordPress Role = Subscriber | bbPress Role = Participant
    • WordPress Role = Subscriber | bbPress Role = Spectator

    The above was all I tested but each works as expected:
    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #124890

    In reply to: bbConverter error

    Stephen Edgar
    Keymaster

    bbPress 2.x includes its own phpBB converter (It was based on bbConverter)

    https://codex.bbpress.org/import-forums/

    The next release of bbPress will also include further improvements of the phpBB importer (I am working on these right now)

    Hansaplastique
    Participant

    Oh you of course will need CodeColorer plugin installed …

    Hansaplastique
    Participant

    Never mind; figured it out (by coincidence).

    If anyone is interested, add the following code to your wordpress functions.php;

    function t4a_bbp_shortcodes( $content, $reply_id ) {
    	return codecolorer_highlight( $content );
    }
    add_filter('bbp_get_reply_content', 't4a_bbp_shortcodes', 10, 2);
    add_filter('bbp_get_topic_content', 't4a_bbp_shortcodes', 10, 2);
    #124808
    Ben
    Participant

    Have you found a solution to this problem?

    I’m having the same issue. I used the [bbp-topic-form] shortcode in my `bbpress.php` template file. If I enter with my super-admin account I can see the form and create topics. But if I enter under the default “Participant” role, it gives me the message “You cannot create new topics.” However, if I go to a specific forum, the topic form is displayed underneath, so it must be a shortcode problem.

    Right now I’m using `echo do_shortcode(“[bbp-topic-form]“);` to include the form in my template file. Is there a better way to do this?

    Hansaplastique
    Participant

    I’d like to offer visitors the ability to use CodeColorer to syntax highlight their code.

    I know that shortcodes are basically disabled for security reasons – which makes sense.

    But how can I add a “safe” shortcode to bbpress?
    The WP plugin bbPress2 Shortcode Whitelist and bbPress do shortcodes are not working (the latter even being risky at best).

    bbPress: 2.2.3
    WP: 3.5
    Theme: my own development

    #124799
    Yurij
    Participant

    I am trying to translate the bbpress plugin v2.2.3 to swedish.

    I have followed this guide:
    http://codex.bbpress.org/bbpress-in-your-language/
    But its not working šŸ™

    #124791
    Lynq
    Participant

    The only thing I can think of is that there is some template files that are overriding the default bbPress theme and they are erroring because of some custom function or have no actual code in them.

    Have you had a look in your theme folder to see if there is a bbpress folder, is there any files inside that folder?

    #124784
    distjoyo1
    Participant

    tanx so much…yea, so rite “the theme is doing bad things to the WordPress queries (to pull in the topics / replies) ” ..my theme is made v1.3 …but it most have been corrected in the latest version. however is there a way for me to probably correct this by editing some of “made” page code and hw can i correctly troubleshoot this problem…

    LaurenceAtFree
    Participant

    Hi everyone, I need a little help.

    I’m not a developer and I just would like to know where to insert the code posted by Josh. (which file and where inside the file).

    Thanks a lot.

    #124770
    Stephen Edgar
    Keymaster
    A.I. Sajib
    Participant

    I’m considering bbpress for one of my most popular community in Bangladesh. I looked at other forum software but bbpress seemed perfect for me as it runs within WordPress. I’m running bbpress as a plugin. Now, my forum is on Bangla language. So, each time a topic is created, the slug becomes unicode character like this: /ফোরাম-ą¦Ÿą¦Ŗą¦æą¦•

    As you can see, it’s really ugly-looking as well as bad for sharing links. For my blog, I’ve chosen the permalink as /post-id/{id}. I would like to do the same for bbpress (something like PunBB). How can I do so?

    #124757

    The shortcodes do not currently accept any additional arguments, though they would not be difficult to add to the core software.

    #124747
    baldwin
    Participant

    Dear all,

    I have post this at plugin site, however, i want to post it here too since this was an issues and i want to increase the popular of this post so that the master or “sifu” can see and help… thanks
    I am fresh to wordpress. I have install bbPress into my wordpress, and i face some serious issues.
    By default, after I comment on a topic, it should be refresh the page and show me my comment with ā€œAwaiting Moderationā€. However, it’s some time do not refresh and stay in same page, it will link me to the main topic pages.
    After I set the topic and reply under ā€œPer Pageā€ section to 1000 per page, this issue do not occur anymore. But problem is reader do not like so many topic or comment in 1 page. It’s seems that bbPress by default do not have a solution in the code to link correctly between the topic pages?
    For example, if I set under ā€œPer Pageā€ section, 10 post per reply. When this topic have more than 10 reply, the 11 reply will go to page 2, here the issue will start. anyone post after page 11 will be link to wired page/link or the page will display ā€œOh bother! No replies were found here!ā€ or ā€œpage 404, not foundā€.
    Anyone have a solution on this? Any help is appreciate…
    Thanks

    #124744
    mlledwyer
    Participant

    When I add the shortcode and click to view the page it redirects me to the home page. Is there a setting somewhere that I am missing?

    #124743
    Stephen Edgar
    Keymaster
    #124737
    Stephen Edgar
    Keymaster

    There isn’t currently a way to do what you are asking, there probably is a way to disable stickies site wide for everyone (including admin/keymaster) but that is not what you are looking for.

    With the default permissions a moderator has I think there are far more dangerous options available to them such as deleting other users topics and replies.

    In this regard you are offering any moderators of your forum a certain degree of trust. I would suggest you extend this trust to your moderators in regards to stickies. You can make this part of your ‘moderator’ rules/policy and ask all your moderators abide by this policy.

    #124729
    Stephen Edgar
    Keymaster

    I have updated the codex docs for bbPress User Roles and Capabilities introduced with 2.2.


    @MarjoriesDaughter
    I would suggest you update bbPress to the latest 2.2.3 version rather than use an old version, with that then both your conditions above will be met.

    #124717
    Fyn
    Participant

    So my bbPress forum worked fine for a few months. I can’t remember if I updated anything but since a few weeks it doesn’t work anymore.
    The problem is, that it doesn’t show the content of the forums. There’s the heading of the forum but nothing else. Here’s how it looks like:
    http://bookish.brokenstars.de/forums/
    http://bookish.brokenstars.de/forums/forum/bookish-intern/
    http://bookish.brokenstars.de/intern/ (normal site with shortcode)

    I’m using WordPress 3.5 and bbPress 2.2.3
    Nothing seems to help. I’ve repaired and reset all the forums. I’ve deleted the plugin and the data from the database. I’ve reset the permalink structure… but it just doesn’t show up anymore.

    Does anyone have an idea what the problem could be?
    Thanks!

    #124695
    Stephen Edgar
    Keymaster

    There are no known bugs regarding shortcodes so they should work on your site.

    • Create a new WordPress page via /wp-admin/post-new.php?post_type=page
    • Give the page a title
    • Add for example to login shortcode `[bbp-login]` to the page content
    • Click publish and view your new page
    #124693

    In reply to: permissions??

    Stephen Edgar
    Keymaster

    Details on private and hidden forums are here:

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Specific details of user roles and capabilities are here:

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #124682
    hironroy
    Participant

    I ran into the same issue w/ bbPress 2.2.3. Just the content is cleared out when a new topic has validation errors; the tags and topic type fields are preserved. I directly modified bbPress 2.2.3 in order to resolve this issue on my installation:

    1. Navigated to bbpress/includes/common/template-tags.php line 1605
    2. Removed the “if” statement so that the $post_content gets set by calling ‘bbp_get_form_topic_content’
      //if ( bbp_is_edit() ){
      $post_content = call_user_func( 'bbp_get_form_' . $context . '_content' );
      // }

    I did some minimal testing and the behavior of other topic editing seems to be unaffected by this change, and the change makes the content persist on New Topic Validation Error responses

    #124680
    lesliemb
    Participant

    Unfortunately, shortcodes aren’t working for me, either.

    Any other leads?

    Thanks so much for your help.

    #124673
    Stephen Edgar
    Keymaster

    I think something along the lines of the following might work though it is a BuddyPress guide it would be quite similar to do for bbPress.

    https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/

    #124672
    Stephen Edgar
    Keymaster

    The (0,0) are the counts for the number of topics and replies in that child forum.

    To list the child forums vertically rather than horizontally add the code from the following to your WordPress theme functions.php file https://gist.github.com/3797945

Viewing 25 results - 14,851 through 14,875 (of 32,503 total)
Skip to toolbar