Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,651 through 17,675 (of 32,506 total)
  • Author
    Search Results
  • #39935
    Jaja..
    Member

    I think i’m starting to understand how to build your own forum themes,

    But i have a question,

    What does <?php do_action( 'bbp_template_notices' ); ?> do for my theme?

    I’m not very good at PHP and i have search but there is none template_notice.php file also i can’t find any filter of function called like this inside a template file, so i was just asking myself what it would do for my theme?

    #106089
    Jaja..
    Member

    Just wondering

    If i want to add bbPress to my own theme, this topic tells me to add the add_theme_support( 'bbpress' ); to my functions.php <– the functions of my own WordPress theme.

    Because if you copy-/paste the files from the bbPress plugins folder to my wp-content > themes > theme folder it also has a functions.php file.

    What about two functions.php ?

    #107334
    Jaja..
    Member

    Same as above i would like to see a codex how to use those all PHP codes.

    I often can understand the WP Codex and build unique themes because i can view the codex and work thing out.

    Now i would like to create my own bbPress theme and forum layout-/display but i don’t have a codex to view what options i can use.

    Shortcodes are great but not the most flexible.

    #108885
    Anointed
    Participant

    I see, you are using shortcodes, so my idea doesn’t work then.

    Personally, I like to have complete control over every template in my theme, so I bring over all the bbpress files into my current theme and modify from there.

    As I don’t use shortcodes, I’ll have to let someone else chime in and help you out.

    #39936
    lglions
    Member

    I installed 2.0.5Rc5 for my WP installation (latest stable) and encountered that when I see the list of the forums the_title I have in my template is set to the name of one of the forums instead of being “Forums”.

    I am new here and sorry in advance if I’m logging this problem in a wrong place.

    Also I would like to learn where can I get(buy) themes for the forums that look like the one here. Styling it myself is fun, buit I’d rather reuse. :)

    #107333
    sulliwane2
    Participant

    Hi,

    Is there a way to make the shortcode [bbp-topic-index] displaying only a certain amount of topics ?

    Something like [bbp-topic-index n=$number]

    Thank you,

    Sulliwane.

    ps: your plugin is just awsome…really awsome, thank you so much

    #39933
    nikoza
    Member

    Hello there,

    I think my question will be very easy for most people here but I am really having a hard time to make it work. I read your post about theme compatibility many times but I am still missing something.

    I installed the bbpress 2.0 rc plugin in my wordpress 3.2.1 and I also looked over the internet for a bbpress theme (not sure if it is compatible with bbpress 2.0 though). What I did was:

    First Time:

    A) I uploaded the custom theme I found over the internet.

    B) I copyied all the files from bbp-twentyten into the custom theme folder

    The result is that I cannot find my theme in the theme directory in order to activate it.

    Second Time:

    A) I uploaded the custom theme I found over the internet.

    B) I copyied the folder bbp-twentyten from “/bbpress/bbp-themes/” into the wp-content/themes. My custom theme was also the wp-content/themes

    The result is that I cannot find my theme in the theme directory in order to activate it.

    In both case I added the add_theme_support( ‘bbpress’ );

    Can you please give some me some help cause I feel very stupid.

    N.

    #39932
    anamariav
    Member

    bbpress: 2.0-rc-5

    wordpress: 3.2.1

    theme: woothemes canvas 4.4.0

    I think I have not understood how to add bbpress to my site correctly.

    Thusfar:

    1. Installed bbpress plugin and in forum settings, set Archives Slug > Forums base to “community”.

    2. Created a page with slug “community” and added [bbp-forum-index] shortcode.

    3. Using widget logic plugin, added some sidebar widgets to display on this page.

    4. Visited /community page. My sidebars are not showing and looking at source code reveals page is using a forum archive template and not a page template.

    5. Changed page slug to something other than “community”. The page then displays the sidebars I have set. However, the breadcrumb navigation still links back to the /community forum archive page without my sidebars.

    How can I set things up so that the forum index appear on the page where I placed the shortcode and not on a different forum archive template page, and also have the breadcrumb navigation work correctly?

    Thanks to anyone for any suggestions.

    #100695

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    @reply myself.

    I was stupid, and sleeping! (my mistake)

    Shortcodes is the solution to pull this off.

    #105795

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    @reply myself.

    I was stupid, and sleeping! (my mistake)

    Shortcodes is the solution to pull this off.

    #108884
    miruru
    Member

    @anoited – I’m probably haven’t made myself clear on exactly what I want.Just to clarify what I have and want doing:

    Main Template Theme is BuddyPress default

    Using shortcodes to display my main Forum Index

    In my Child Theme I have added a folder called bbpress with one file called loop-single-forum and changed the bbp_list_forums() part.

    Am I suppose to copy the whole template of bbpress into my child theme. As at present everything is working exactly how I want it except for the part where it displays it displays the subforums with (0,0) next to it. I just want it to be removed.

    #108929
    Steveorevo
    Participant

    Thumbing through the code. I can’t find any reference to an email being sent. There is the “bbp_new_reply” action hook. But it looks like the only one leveraging this is BuddyPress. I tried with BuddyPress, and nuthin’. So I imagine these projects just aren’t working together yet, especially given that BuddyPress requires permalinks be turned on and bbPress 2.0 will not work with BuddyPress when permalinks are turned off.

    For now, it looks like we’ll have to wait the a win-win situation.

    #39925
    Adam
    Member

    So I am creating links as such:

    <a href="<?php echo bp_displayed_user_domain() ?>messages/inbox">Inbox</a>

    It doesn’t work.

    For example if I am on the page of website/forums/activity that following link will take me to website/forums/activity/inbox.

    It should take me to website/members/user/messages/inbox/

    Whats going on with this link?

    #100694

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    Hello and thanks for the bbPress plugin it’s working (installing) great till now.

    I only have one question and maybe it’s very simple thats why i ask it in the FAQ.

    I have a local WP Multi install and i made a special (forum) network-site for showing the forum on. Only i would like to display the forum on the homepage.

    Now it’s like this.

    (1) example.com (my homepage)

    (2) example.com/forum/ (homepage of the new networking site)

    (3) example.com/forum/forums/ (showing the forums)

    (4) example.com/forum/forums/forum/topic-title ( ?? very ugly)

    As you can see i don’t like <strongs>forums in between, i would like to show off all forums-/category’s on the homepage of my new WP network (2)

    I have searched in the settings but i don’t understand the Archive slugs :(

    #105794

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    Hello and thanks for the bbPress plugin it’s working (installing) great till now.

    I only have one question and maybe it’s very simple thats why i ask it in the FAQ.

    I have a local WP Multi install and i made a special (forum) network-site for showing the forum on. Only i would like to display the forum on the homepage.

    Now it’s like this.

    (1) example.com (my homepage)

    (2) example.com/forum/ (homepage of the new networking site)

    (3) example.com/forum/forums/ (showing the forums)

    (4) example.com/forum/forums/forum/topic-title ( ?? very ugly)

    As you can see i don’t like <strongs>forums in between, i would like to show off all forums-/category’s on the homepage of my new WP network (2)

    I have searched in the settings but i don’t understand the Archive slugs :(

    #39923

    Topic: Plugin Install

    in forum Installation

    Hello,

    I’ve installed the plugin on my site, which has a custom theme, but after following the installation instructions found here: http://bbpress.org/forums/topic/bbpress-20-theme-compatibility, all I get is a blank page if I view the forum. So, I deactivated the plugin, deleted, and reinstalled. This time I DID NOT copy any files into my theme directory, just left it as is.

    Now, If I place some shortcode such as [bbp-forum-index] on one of my current wordpress pages, it will show, but once I click on one of the topics, it brings me to the blank page again! I’m tearing my hair out here trying to figure this out..I thought it would be a lot easier as I work on WP sites all the time.

    Here is the link to the forum that is blank:

    http://foreverathletes.com/forums/forum/community-2/

    Can somebody help me out? Again, I tried this route:

    If this is not a custom theme under your control (meaning you are not the author) you’ll want to copy the entire “/bbpress/bbp-themes/bbp-twentyten” folder into your “wp-content/themes/%YOURTHEMENAME%” folder, and modify your style.css to make it a custom Child Theme of whatever your current theme is. This is so theme updates don’t wipe out all your hard work later.

    …But couldn’t figure out how to make the style.css work…I modified the style.css inside of the bbp-twentyten so that the Template name matched my theme name, but this did not work. Am I missing something here?

    Thanks for the help.

    #108201
    Anointed
    Participant

    @Dan

    For inline editing have you taken a look at:

    https://wordpress.org/extend/plugins/front-end-editor/

    Scribu’s a master at this stuff and code is rock solid.

    #108883
    Anointed
    Participant

    Your going about it wrong. Instead of using the functions file, simply change the template file.

    Where the templates are using bbp_list_forums(), take that part out, and change it to:

    <?php bbp_list_forums( array( 'show_topic_count' => false, 'show_reply_count' => false) ); ?>

    #39901
    mweatherill
    Member

    I’m running bbpress 2.0 rc-5 with the default styling included with bbPress. I have customized my theme functions to include forums, topics and replies in search results.

    i.e.,

    // Add Forums, Topics and Replies to search results
    function my_add_bbp_to_search( $post_type ) {
    $post_type['exclude_from_search'] = false;
    return $post_type;
    }
    add_filter( 'bbp_register_forum_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_topic_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_reply_post_type', 'my_add_bbp_to_search' );

    When the first search result is a page or post, the results are formatted according to search.php (as expected):

    http://www.climberswa.asn.au/?s=frankland

    When the first search result is a forum, topic or reply, the results don’t use search.php and seem to render using bbpress template parts:

    http://www.climberswa.asn.au/?s=albany

    This looks particularly bad when the first result is a topic as it will display the threads:

    http://www.climberswa.asn.au/?s=cawa

    Is this a defect in bbpress intercepting the search or a limitation of using the default styling?

    #108832
    AMGill29
    Member

    It is called Peekaboo. I purchased through Themeforest. This needs to be up and running soon so I am willing to pay someone to set up the forum for me if there is no easy fix. Are you available for hire? :)

    rossagrant
    Participant

    Jeez, I didn’t know that was ready! That sounds awesome! So does the importer use the old ‘group’ names as forums or just import all of the posts in one forum?

    Sorry to ask so many questions, I’m totally new to the standalone version.

    :)

    Gautam Gupta
    Participant

    There is an importer that is bundled with bbPress plugin itself. Just navigate to Tools -> Importer -> bbPress Standalone and enter the path to the BuddyPress bbPress install (should get detected automatically) and you’d be good to go (backup must). :)

    rossagrant
    Participant

    Ahh wow, cool, that looks great! I don’t have BB Press installed on my live site yet but will set up a test and have a look.

    It would be awesome to place shortcodes on pages for stuff like this. Where you could perhaps show x number of latest topics etc.

    Is there any news on an exporter by the way, to export old Buddypress groups/ forums into the new BB Press plugin.

    I want to get rid of groups and just have some forums like on test-bp.org.

    The group names would effectively become the main forum names and then the topics would appear in each forum.

    Is that on the cards?

    Thanks again! :)

    Gautam Gupta
    Participant

    You can use this code (untested, but should work if bbPress is being loaded on that page):

    if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) )
    bbp_get_template_part( 'bbpress/loop', 'topics' );

    @JJJ: I think we could allow such attributes in [bbp-topic-index] shortcode too?

    #108624
    miruru
    Member

    I’m also looking for something like as it will be very useful. I’m not much of a coder so wouldn’t know where to start. This will be great as a plugin though.

    JJJ > My site is only a test site, how would I turn the shortcodes on? I only want to see what it would look like. It’ll be a while before my site goes live. If you don’t want to post this on the forum, then i’ll understand.

Viewing 25 results - 17,651 through 17,675 (of 32,506 total)
Skip to toolbar