Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,751 through 17,775 (of 32,499 total)
  • Author
    Search Results
  • You’ll all way off topic! :P lol

    And forums/subforums in groups would. be. absolutely. awesome.

    #108540

    BuddyPress selfishly takes over the “register” slug. If you’d rather use bbPress, you’ll need to make a WordPress page with a different slug.

    #39762
    jabbamonkey
    Member

    I created a page with the permalink http://montecristoowners.com/register/ with the following content…

    [bbp-register]

    … but it just sends the user to my homepage.

    My other shortcodes work fine…

    Login page: (http://montecristoowners.com/login/

    Lost Password page (http://montecristoowners.com/lost-password/)

    Question: I installed BuddyPress so that I could get some more control over my forums. Is that why the shortcode doesn’t work for Register anymore? If that is not the reason, then why isn’t it working?

    #108530
    enderandrew
    Participant

    Personally, I disabled the Forums functionality within BudddyPress, and let bbpress use the Forums slug. Then I created a blank page called Forums within the plugin “Page Links To” that redirects to the Forums slug.

    https://wordpress.org/extend/plugins/page-links-to/

    Or you could simply use the bbpress shortcodes on the page.

    #107810
    David Decker
    Participant

    Hi there!

    Thanx to Jared for the plugin solution – working smoothly :) Awesome now I can use bbPress for a client site forum running with Genesis!

    @John:

    Thanx for the patch! – I’ve implemented this in my local rc4 of the bbPress plugin – but didn’t work yet! I assume the issue is from a wrong setting of the layout option?? Or some other function? Since I am still learning this whole coding stuff I cannot say what the issue is at the moment.

    -dave :)

    #106083
    DeysonOrtiz
    Participant

    Hello everyone and good morning.

    Has anyone been able to get bbpress to with the hybrid theme?

    On the Hybrid Forum were discussing BBpress and how I could not get it to work on the Hybrid Theme, when one of the members said it worked on his without having to go the custom route. This is what he stated:

    _____________________________________

    ‘ “All you have to do to get bbPress active on a Hybrid theme is activate bbPress 2.0 via the plugin repository, then create new page called forum or whatnot via the normal page editor. In the editor, just enter a couple of shortcodes, similar to this:

    [bbp-forum-index]

    some content to separate forums

    [bbp-topic-index]

    This will show your main forums and also a recent topics list. You can also use other shortcodes built in to bbPress for different functionality.

    The only thing I had to change was the overall table width of the forum, which easy enough to target with the Chrome web developer tools.”

    `

    I unfortunately was not able to get this to work.

    I am just curious if anyone has been able to get bbpress to work on the Hybrid Theme without any customization. I am a video editor and motion graphics artist, so coding is not my forte.

    Thank you for any help.

    #107146

    Yep. They are just posts, after all. ;)

    #108437

    In reply to: bbPress 2.0 plugins?

    ^—boom :)

    #107808

    Genesis has 2 functions that I have determined are causing the problems.

    http://pastie.org/2469242 (/genesis/lib/structure/post.php lines 101-143 (as of 1.7.1))

    The first function is the post image function. Users have the ability to automatically set image thumbnails to appear on the archive listings. However if they turn this on, when you go to a bbPress archive page a random image from the media library ends up on the top of the page. This is turned of by default in Genesis, but is widely used.

    The second function is how Genesis displays post content. You can see, depending on how the user has Genesis configured, it uses the_excerpt or the_content_limit – which results in a dead loop.

    The other things I did such as remove the post info/meta, breadcrumbs, etc are just purely cosmetic. They aren’t *needed* per say, but it can look screwy if they are outputted on some of the forum pages.

    As long as Genesis is forced to always use the_content and the post image option is nuked, everything should always work smoothly.

    If you want to explore the option of a core patch I’d be more than happy to help you with a patch and testing :)

    #107807

    So by removing all of the Genesis actions, bbPress is able to do what it needs to without any kind of conflict? Seems pretty straight forward. I could transform your code into a bbPress 2.0 core patch, but I’d be flying blind not having a copy to test with.

    I would literally be taking exactly what you have and making bbPress load it like it does the Akismet and BuddyPress extensions.

    #107806

    Alright guys, sorry it took me so long to post back here.

    I’ve written a quick post that details the problems (or at least, the ones I ran into) and have a quick plugin you can use as a starting point to hopefully get things working.

    Genesis bbPress Extend

    Like I said, this issue is strictly if you are developing on top of the Genesis Framework. If you are *not* using Genesis and having template issues, I’d recommend starting a new thread on it :P

    @jjj if you have time to look over my post, let me know if my diagnosis seems right (err, accurate) and the fix seems appropriate.

    cheers!

    #106079

    Everything in bbPress and BuddyPress is coded using the WordPress actions API. There is absolutely no reason to modify any core files to do what you want to do. There are plenty of examples on how to accomplish what you need on the WordPress codex, and even in the bbPress code itself.

    Before you start chopping out pieces of core code, try to understand why it’s there. If you have questions on a specific piece of code in bbPress, open a new topic and I’m happy to explain why it’s there.

    #106076
    woodwardmatt
    Member

    @enderandrew – If it helps at all, all I did was leave the default setup in place, having installed the bbpress 2.0 plugin. Then include a new custom css file (in the directory of my wordpress theme) and link to this beneath the call to the wp_head() function in the wordpress theme (e.g. in my header.php) – to ensure the custom css file overrides the css included by bbpress.

    I simply them overrode any of the styles that I wanted to change from the default. This is a fairly old-school approach to re-branding, but is perhaps one of the least invasive. This wont allow you to change very much of the layout but will allow you to change some of the styling to more closely match your brand and will give you a certain amount of protection against change as the plugin gets updated.

    Hope that helps :)

    #106074

    @enderandrew – I can’t accurately guess at what’s wrong. Try again? :)

    #108524
    jabbamonkey
    Member

    I did a search in PLUGINS on this site, and didn’t see a BuddyPress plugin. So, I did a web search for it. Is BuddyPress the social networking WordPress plugin? Does it tie in to BBPress 2.0 easily? Or is it something extremely difficult to do? Do the bbpress short codes (for creating a register page) still work with BuddyPress?

    Also, the required or optional option is good. Is there a way to make fields that are HIDDEN from the public?

    jczerwonka
    Member

    It seems bbp_get_forum_subforum_count() does not return private forums. So when all the subforums are private, this funcion returns 0 which causes the list forums function to bail.

    I got it around it by creating the following filter to count the forums:

    add_filter( 'bbp_get_forum_subforum_count', 'my_subforum_count', 3 );

    function my_subforum_count( $forum_count, $forum_id ) {
    $subforums = bbp_forum_get_subforums( array( 'post_parent' => $forum_id ) );
    return count( $subforums );
    }

    Please advise if you’d like me to create a trac ticket for this. I didn’t want to create a ticket in case it already exists or I’m just doing something wrong.

    Thanks,

    John

    #39752
    jabbamonkey
    Member

    In version 1.0, there is a way to create custom registration fields (creating a regfields module, with a short bit of code).

    Is there a way to do this for 2.0? I upgraded to the newer forum, because I thought things like this would be easier.

    Also, is there a way to make certain fields private (so they are submitted for admins to view, but not publically posted to the profile)?

    #39751
    #107803
    David Decker
    Participant

    Hi there!

    I had the same problems as Jared posted – also working with Genesis latest version. I test for a few weeks now and thought it was all my fault until I saw this thread here finally!

    @Jared Atchison:

    Any news on this what to change? – I saw your forum index and such all displaying properly – want that too :-)

    Thanx for any help!

    -dave :)

    #106072
    woodwardmatt
    Member

    That would make sense. I think the key message is for myself (or anyone else reading this afterwards) is that the templating for bbpress is not intended to follow the same structure / approach as wordpress – that’s definitely where my confusion started to creep in.

    For the time being I’m likely to opt for overriding the CSS to provide the branding I require and stick with the current layouts in the default theme until the plugin’s had chance to settle in and some of the examples you mention have had chance to come about. I’d be interested to see more on the “bbPress Pack” approach in good time :)

    Thanks for all the insight, most useful!

    #106069

    @woodwardmatt: Thanks for the kudos. :)

    The theme layer is complicated because there is no easy way to create a new type of content in WordPress without the theme supporting it.

    Originally you *had* to use a bbPress theme (bbp-twentyten) but that was only so I could build something out of nothing. Once I had a theme, I made shortcodes that use individual template parts so things could live anywhere and still look the way the theme looks. Lastly, I built the whole abstraction layer that used the shortcodes to output content where it belongs without you needing to do anything about it.

    The thing is, there is only one bbPress 2.0 theme in the world right now, and it’s the one that comes with bbPress 2.0. I’m not opposed to including more theme’s in core, but I think it’s someone else’s turn to make the next one.

    To your request: Currently impossible. :) Plugin updates delete the parent folder and recreate it with new contents. No way to avoid it getting wiped out. :/

    To your reason: Makes sense, and if we want to make more bbPress themes for core, we can. Then you can pick which “style” of bbPress you want inside your existing theme. Advanced developers still get the flexibility they desire. Win/Win.

    Payment: Delicious :)

    #108475

    You’ll want to get familiar with how template parts work. The reason there are so many is bbPress uses them to make the shortcodes work correctly.

    The file names themselves are fairly verbose, and at the top of each file is the name of the file, which is a fairly clear indication of what it does.

    When we get some documentation setup here, I’ll post up a list of the files and what they do and why.

    #106068
    woodwardmatt
    Member

    @John – First of all, can I say what an awesome move to having bbpress as a plugin is! For the average user wishing to get forums up and running, you couldn’t ask for better! Nicely done!

    On more of a developer level I, the same as many of the guys posting, are probably a little thrown on the templating side of things. Just to clarify, I’ve joyfully created my fair share of wordpress themes and was looking forwarding to getting to grips with bbpress to do similar. At this point I can’t help but feel the templating side of things seems a little crazy (read awkward and unintuitive) unless i’m misunderstanding.

    By means of throwing my two pence into the discussion, I’d love to see the same approach for bbpress as was undertaken for wordpress. Namely the opposite of the following:

    DO NOT put any custom themes in “/bbpress/bbp-themes/” as they will get wiped out when you update bbPress.

    I love that bbpress has picked up the overall theme from wordpress but having the theme for the bbpress UI elements self-contained and separate from the wordpress theme would most likely clear up a fair bit of the confusion / frustrations. I know such a comment is easily made outside of understanding the full intricacies of the platform and that making such a change would no doubt have greater implications. However and to be honest, that was the approach I was expecting – most likely given the approach I was used to with wordpress. I know a similar comment has already been made, I’d just like to tip my hat to it, and raise it again for your consideration.

    Request: Custom bbpress themes to reside in “/bbpress/bbp-themes/” without risk of removal upon updates.

    Reason: To retain better / cleaner organisation of theme files and reduce complexity of theme development. (The replies / questions above are testimony to this)

    Payment: Pizza of your choice! ;)

    Once again awesome job, and hugely appreciate all the hard work!

    #108408

    In reply to: permalinks?

    ChrisCGray
    Member

    It sure looks silly. :(

    That second problem of yours can be fixed by making a page called Forums, and making manual links to your different forums on that exactly how you want them.

    #108474
    rayv
    Member

    same :(

Viewing 25 results - 17,751 through 17,775 (of 32,499 total)
Skip to toolbar