Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,501 through 15,525 (of 32,581 total)
  • Author
    Search Results
  • #118145

    In reply to: Newbie question

    Pippin Williamson
    Participant

    OK first read about short codes here.

    Basically a short code is a place holder for content (html, images, posts, etc). When you place [bbp-forum-index] into the content of a page, it will be replaced automatically with an index of your forums in bbPress. Try it out and you’ll see what I mean.

    #118143

    Topic: Page bbpress or not

    in forum Themes
    zikadonfeur
    Participant

    Hello,
    I want to add a link with the “pagetitle” of bbpress forum page.

    bbpress is running in a wordpress page but how I can find it? where it is?
    I want to past a simply code as

    if ( !is_user_logged_in()&&is_page('???') ) {my link...
    

    thank you for helping.

    WP: 3.4.1
    bbpress: 2.1.2
    theme: Frisco for BuddyPress

    Jin_ls
    Participant

    If you need any css files or other I can copy the code here.

    #118131

    In reply to: Newbie question

    Pippin Williamson
    Participant

    Are you familiar with what short codes do and how to use them?

    #118124
    Pippin Williamson
    Participant

    You can use the [bbp-lost-pass] short code to show a change/lost password form.

    #118123
    Pippin Williamson
    Participant

    There is an option in Settings > Forums to allow/disallow annonymous posting. Set this so that users are required to login in order to post in the forums.

    You can show a registration form with the [bbp-register] short code.

    #118121

    In reply to: Newbie question

    Pippin Williamson
    Participant

    There’s a lack of documentation at the moment because the site is being redone (slowly) and the individuals responsible for the majority of the documentation are also the main developers, who are busy writing code 😀

    The location of the forums on your site depend on the settings you have set in Settings > Forums. Take a look at the documentation for basic settings.

    You can also manually place the forums index on any regular WordPress page by using the [bbp-forum-index] short code. Short code reference.

    Rasheed Bydousi
    Participant

    Hello again,

    I have created a new page and added [bbp-topic-form] shortcode inside it. However, this page isn’t 100% full width.

    How can I “force” this page to get the .bbPress #page class ?

    Thanks

    #118079
    brakhoed
    Participant

    Hi Guys,

    bbPress (2.1.2) on WP 3.4.2 logout gives error code 500 (Internal server error).

    Error log:

    > mod_security: Access denied with code 500. Pattern match
    > “\\.php\\?.=(http|https|ftp)\\:/.\\?” at REQUEST_URI
    > [hostname “www.xxx.nl”] [uri
    > “/wp-login.php?action=logout&_wpnonce=5a9ef61b36&redirect_to=http%3A%2F%2Fwww.xxx.nl%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26loggedout%3Dtrue%23038%3Bpaged%3D1%26%23038%3Bs”]

    bbPress doesn’t use rawurldecode()?

    For now, what is the best solution? Which file and which code should I change? Or is there another solution?

    #118075
    #118052
    Pippin Williamson
    Participant

    Drop this code snippet into a custom plugin (you can use Pluginception to easily create one)

    function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed  ) {
    
        if( $topic_subscribed == 0 )
            $topic_subscribed = true;
    
        return checked( $topic_subscribed, true, false );
    }
    add_filter( 'bbp_get_form_topic_subscribed', 'pw_bbp_auto_checK_subscribe', 10, 2 );
    
    #118041
    luke@mobiah.com
    Participant

    Bob,

    You may want to try this guide:
    https://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    You will copy file and move them inside your existing theme directory. This will override the default theme that lives inside the plugins directory.

    Good luck!

    Luke

    #118021
    luke@mobiah.com
    Participant

    This was the previously mentioned link with “legacy” in it: https://codex.bbpress.org/legacy/themes-and-templating/ – this references a templates directory which I believe has been taken out of the plugin architecture.

    #118020
    luke@mobiah.com
    Participant

    Hidy ho,

    I’m working on creating a child theme for a site and am looking for the right tutorials. I found this link below: http://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ and was pretty sure this was the most current. Can anyone confirm this is the most up-to-date information for child theming bbpress?

    I found and followed a different tutorial that also had “legacy” in the slug – so any help you can offer here would be appreciated.

    Thank you.

    Luke

    #118019

    In reply to: get topics by tags?

    Pippin Williamson
    Participant

    The taxonomy ID for tags is “topic-tag”. You don’t want to set the meta_key, however.

    You can do it in a couple of ways. One is to use the “tax_query” parameter.

    You could also pass a parameter like the following to your query:

    'topic-tag' => array('tag-1', 'tag-2')
    

    Does that help?

    Philip John
    Participant

    I’m trying to add featured images to forums. I have successfully filtered the register_post_type call like so;

    /**
     * Add thumbnails to forums
     */
    function ys_forum_featured_images( $post_type ) {
         $post_type['supports'][] = 'thumbnail';
         return $post_type;
    }
    add_filter( 'bbp_register_forum_post_type', 'ys_forum_featured_images' );
    

    That did not, however add the meta box to the post edit page so I further used the following;

    /**
     * Add featured image meta box
     */
    function ys_bbp_featured_images(){
        add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'forum', 'side', 'low');
    }
    add_action('add_meta_boxes', 'ys_bbp_featured_images', 100);
    

    The meta box then appears but in the image details I see the “Insert into post” button and “Delete” link but no “Use as featured image” link.

    Any idea how I get that added?

    The only thing I could find were these tickets talking about the link appearing when it shouldn’t:
    http://bbpress.trac.wordpress.org/ticket/1633
    http://core.trac.wordpress.org/ticket/18669

    #117994
    mpriola
    Participant

    I continue to have problems with the sidebar showing up below my content.

    In looking at the code generated by bbpress, I have noticed that on certain forum pages (the affected ones), bbpress is leaving out the opening body tag.

    My forum is at: http://www.cormacmccarthy.com/forums. Click down into any of the forums, and you’ll see:

    –All the sidebar content is below the main forum table, which expands to fill the whole screen.

    –The header and top menu content is disorganized and not properly styled.

    –When you view the source code for the page, you’ll notice the missing tag.

    I’ve done plenty of troubleshooting myself, but an absent body tag, together with a not-closed head tag, needs to be addressed before I can really do anything else–given the reliance of most style sheets on the presence of those tags.

    Any thoughts?

    #117985
    brandy42
    Participant

    Hello,

    When I viewed the bbpress.org demo forums my expectation was that my forums landing page would look the same as the demo after installation but in fact it does not.

    Could someone please help me with a solution exactly the same as the bbpress forums landing page which shows the latest topics with the exact same information displaying?

    • Topic (ex. bbPress 2.2)
    • Voices (ex. 14)
    • Replies (ex. 14)
    • Freshness (ex. 2 weeks, 4 days ago (avatar) (name of member who last posted)

    From my understanding the widget called (bbPress) Recent Topics already has this functionality but is lacking the information to display Voices, Replies and (avatar) (name of member who last posted) .

    What is the easiest way to implement this? Modify the widget? Create a new widget? Implement the code into the Forums landing page itself?

    Any help would be greatly appreciated!

    Thanks very much!

    #117976
    dpeery
    Participant

    I added:

    bbpress-forums ul,

    bbpress-forums li a{

    color: #555;
    

    }

    to the end of files:
    bbpress.css
    and
    bbpress-rtl.css

    I can see black text on a white background now.

    interlinkusa1
    Participant

    I am facing the same issue. Did you guys try to contact Optimize Press support?

    #117968
    dosch
    Participant

    any news on poll options for bbPress? My members are grumbling 😉
    Also doodle-like polling would be an excellent feat to see in bbPress or BuddyPress.

    leanderbraunschweig
    Participant

    @Bart: I just texted you – let’s make this happen 🙂

    Any results will be shared here, so others may benefit. Hang in there.

    2c5designs
    Participant

    Testing something.

    • This reply was modified 14 years, 1 month ago by 2c5designs.
    #117931
    RiGoRmOrTiS_UK
    Participant

    yup your right. as long as there is at least 1 public sub-forum the rest display without issue; regardless of whether they are private, hidden etc…

    .. clearly a code bug in bbpress; will be nice if devs can jump in on this one.

    #117929
    libertux
    Participant

    I have a littel tip, trying to resolve or have an idea about whats hapend i found a littel thing, so, if under your public top level category you have at least one public sub-forum so theres no problems all work fine so the idea is to add a fake sub-forum with a strange name 🙂 and try to hide it using jquery, i dont know if it’s work at 100% but it’s an idea that can help (oh bbpress coder!!!! we hope a littel help from you 😉 )

Viewing 25 results - 15,501 through 15,525 (of 32,581 total)
Skip to toolbar