Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,901 through 14,925 (of 32,523 total)
  • Author
    Search Results
  • #124641
    JAsko_san
    Participant

    Hmm, or is it possible to display a certain forum(with all the topics within it) within a certain group with a shortcode ???

    With this maybe:

    [bbp-single-forum id-forum id=$forum_id]

    and if ?! How can I edit the existing group page to add this short code within it ??

    #124620

    In reply to: Limited posts

    Stephen Edgar
    Keymaster

    I am not exactly sure what you are saying here!

    Did you use the bbPress Import Tool to import your old phpBB forum into bbPress?

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

    #124619
    Stephen Edgar
    Keymaster

    The docs have the details here https://codex.bbpress.org/bbp_show_lead_topic/

    #124590

    Topic: Forum is missing

    in forum Installation
    thinkcrush
    Participant

    Hello guys. I don’t know what i did wrong 🙁 I had the forum working a previous version of my website, but since the theme change, i can’t get it set up for my life.

    It might be important to note that there was a situation during the instillation of bbpress. I was at the last step of the instillation, when my website crashed. One of my folders was duplicated or something. I removed the file from my file manager and got my site back. BBpress is now installed, alongside buddypress but when i go to my forum page there’s nothing there.

    I think i need step by step instructions. When i make a page named “Forum” and assign that page to the bbpress pages tab, nothing happens. I have a code to make my forum fancy and thats not working either.

    I am using the newest wordpress, and the newest bbpress.

    My website is at http://www.goodpoker.ca

    This is the code i need to put somewhere…

    ID, ‘sidebar_value’, true);

    do_action( ‘bp_before_directory_forums_page’ ); ?>

    <div class="padder contentbox “>

     

    <option value="”>

    <input type="submit" name="submit_topic" id="submit" class="none" style="opacity:0;" value="” />

    <input type="button" name="submit_topic_cancel" id="submit_topic_cancel" value="” />

    <?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not create a new group? Once you have joined or created the group you can post your topic in that group’s forum.”, ‘buddypress’ ), site_url( bp_get_groups_root_slug() . ‘/create/’ ) ) ?>

    • <a href="”><?php printf( __( 'All Topics %s’, ‘buddypress’ ), bp_get_forum_topic_count() ); ?>

    • <a href="”><?php printf( __( 'My Topics %s’, ‘buddypress’ ), bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) ); ?>

    #124587
    Stephen Edgar
    Keymaster

    There are detailed steps in the docs here https://codex.bbpress.org/bbpress-in-your-language/

    #124585
    Stephen Edgar
    Keymaster

    Have a read of the docs here https://codex.bbpress.org/theme-compatibility/

    #124584
    Stephen Edgar
    Keymaster
    #124582
    Will Brownsberger
    Participant

    This is a potentially useful plugin, and makes nice use of WP functions.

    However, I’ve reviewed this code and I don’t believe that it works.

    Unless I’m missing something it doesn’t update the various necessary _bb_press metakeys.

    It just simplistically changes the post types for the posts to “topic” and stores the comments as replies.

    Possible that I’m missing something, but the documentation for the insert post function includes no indication that it will maintain the necessary bbpress fields.

    See https://codex.wordpress.org/Function_Reference/wp_insert_post

    Although I haven’t run the code, I don’t actually believe that it will even insert the posts into the selected bbpress forum. It will, however, create the topics which can then be moved around manually.

    Just a lay person’s read.

    #124577
    srjrol
    Participant

    Thank you for taking the time to put this together Stephen. I’ve read the codex a few times over but it’s still a bit over my head. Hopefully over the weekend I will have some more time to make sense of things, but I do appreciate the prompt and very helpful response 🙂

    #124533
    Cheon, YoungMin
    Participant

    When I upgrade bbPress 2.1 to 2.2, all logged in users cannot connect to any forums(bbPress) but super-admins. ( 404 not found page )

    I’ve searched this support forum and they say “It’s related to Role Plugins…”
    But I don’t have any Role Plugins 🙁

    Did a hard back trace for this error and found capabilities of bbPress dynamic roles applied after ‘bbp_template_redirect’ so bbp_forum_enforce_blocked() blocked any users not having ‘spectate’ cap – maybe all users.

    Then… we should manualy apply capabilities of bbPress role to current user.
    Here’s a temporary patch for this error.
    (Make a plugin or put these codes to your theme’s functions.php)

    `
    function bbp_fix_dynamic_role_cap() {
    $current_user = wp_get_current_user();
    $current_user->get_role_caps();
    }
    add_action( ‘bbp_template_redirect’, ‘bbp_fix_dynamic_role_cap’, -2 );// before bbp_forum_enforce_blocked()

    `

    #124531
    Stephen Edgar
    Keymaster

    Ahmmm… OK… A couple of things to get started with…

    I created a new page under Import Forums called Custom Import where we can start documenting how to go about actually customizing this file.

    I also created a ticket #2134 as an update for Example.php is really needed to help improve the inline docs and code formatting to line up with the current bbPress1.php, phpBB.php and SimplePress5.php converters for improved readability will also help things along.

    Now onto doing this… If we keep the discussion about Mingle here and update the codex as we go with any relevant information, steps and whatever else we bump into hopefully we will end up with some docs for customizing the included example importer.

    I have the first few bits on the codex now, so go check that out 🙂

    ps. Anyone anyone can edit the codex docs pages using your bbpress.org credentials.

    #124530
    Sam Rohn
    Participant

    this code highlighter based on highlight.js seems to work well with wordpress 3.5 & bbpress 2.2, also ignores angle and square brackets etc

    https://wordpress.org/extend/plugins/sunburst-code-prettify/

    http://softwaremaniacs.org/soft/highlight/en/

    sam

    #124510

    Topic: Forum URL

    in forum Troubleshooting
    Morshed Alam
    Participant

    Hello,

    I am a new user of Bbpress. Currently I have the latest version of WordPress as well as Bbpress. But I am facing an irritating problem. I have created a forum for my site: http://realestateconnectionplace.com/forums/forum/forum/ .I like the url to be http://realestateconnectionplace.com/forum/ . I searched everywhere and found that many a one tried to provide a solution. They made plugins and code for .htaccess file. But all of them make some issues like admin link’s working issue and extra slash in the url.

    In a nutshell I am very depressed. Because I am not an expert and found no perfect help anywhere. So I would like to request to John James Jacoby, please consider spending a little time to give us instruction about how to stop Archive Slugs and Single Slugs appearing in the url.

    Looking forward to hearing from you.

    pdhuisman
    Participant

    I had the same problem, i resoved it by adding this code in the style.css of my twenty eleven child theme


    .forum #primary{
    width:70%;
    }

    .forum .entry-content{
    width:100%;
    }

    And then also:


    .topic #primary{
    width:70%;
    }

    .topic .entry-content{
    width:100%;
    }

    And finaly,


    .bbp-user-page #primary{
    width:70%;
    }

    .bbp-user-page .entry-content{
    width:100%;
    }

    That solved my problem. I run WP 3.5. and bbpress 2.2. Hope this helps.
    I also figured out how to change the page title and remove some space at the top. Let me knof if you are interrested.

    #124498
    Stephen Edgar
    Keymaster
    freax
    Participant

    Hi Lynq.
    I’m trying to run your code but seems to not work. I have wordpress 3.5 and CatchBox Theme. I copied the contents of “bbPress-starter-theme-epicwebs-master” folder to “/public/www/wp-content/themes/catch-box/bbpress/” but it seems not working yet.

    Because forums lists the topics as:

    FORUM1
    Topic1(0,0), Topic2(0,0)
    FORUM2
    Topic1(0,0), Topic2(0,0)

    But want to make changes to do as:

    FORUM1
    Topic1 (0,0),
    Topic2 (0,0)
    FORUM2
    Topic1 (0,0)
    Topic2 (0,0)

    Please, can you help ?
    Thanks in advance.

    #124496

    In reply to: Q and A using bbpress

    Stephen Edgar
    Keymaster

    You can also use https://codex.bbpress.org/bbp_show_lead_topic/ as used here on bbpress.org to use a different template for the ‘lead topic’.

    An alternative to your str_replace method is to make your own language translation. https://codex.buddypress.org/developer/extending-buddypress/customizing-labels-messages-and-urls/

    #124492
    Stephen Edgar
    Keymaster

    Download links for v1.2 are over here https://bbpress.org/download/legacy/
    (v1.2 is the same as v1.1 with a fix for BackPress pomo language support)

    I also updated https://codex.bbpress.org/import-forums/

    #124489

    WordPress employs some code that limits HTML tags to specific user capabilities, so that only trusted users are allowed to post specific tags. This prevents us from needing to use bbCode or Markdown, just to convert to HTML anyways.

    #124485
    steilenhang
    Participant

    John James Jacoby said: You’ll want to update to bbPress 1.1 first; the schematic changed from 1.0 to 1.1.

    Where can we download 1.1 then? Its not at the legacy page. I got 1.0.2 too and are trying to upgrade to latest 2.x.

    You might want to update the Import Forums Codex because it says that bbPress v1.x is supported, but its not as you said yourself.
    https://codex.bbpress.org/import-forums/

    #124479
    sureshtmp-456
    Participant

    Hi

    I have a wordpress(3.4.1) installation adb bbpress 2.2.2 plugin.

    For some reason whenever any tag like , , , etc… are put in the content of a topic, it get removed while saving the topic. Even the tags allowed by default are removed while saving.

    So basically a line like

    I am going to and will need

    will become

    I am going to and will need

    after saving.

    I have tried putting and surrounding the content, but it does not help.

    I have also tried “bbpress post toolbar” plugin but that kind of messes of with my theme
    and too many things start breaking so I removed this.

    I have already spent few days on this issue. Can someone help ?

    thx
    -Suresh

    #124471

    Hi @rkarel,

    Welcome to the forums. If I understand correctly, to do what you want, you’ll likely need to dive into the templates and start writing some custom code.

    bbPress comes with a very basic set of templates to get you started, so that you can quickly get started using it. Once you want to customize the look and feel, it’s very similar to WordPress, where you’ll need custom code to do it.

    Check out the documentation to get started. There are lots of hints and tips in there.

    #124453

    In reply to: vbulletin to bbress

    Stephen Edgar
    Keymaster

    Yes, a vBulletin importer is included with bbPress.

    See https://codex.bbpress.org/import-forums/ to help get you started.

    #124441
    Lynq
    Participant

    If you go into pages and add a new page called, forum-registration or whatever. Then add the shortcode – [bbp-register] – this will create a page for you containing the forum registration. Then you can link to that page anywhere in your bbPress or WordPress theme.

    Good luck!

    #124416
    Stephen Edgar
    Keymaster

    How about a break

    inline?

    Can we deal with all “ kinds “ of “ breaks?

    Edit: Use backticks not an apostrophe!

Viewing 25 results - 14,901 through 14,925 (of 32,523 total)
Skip to toolbar