Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,201 through 17,225 (of 32,581 total)
  • Author
    Search Results
  • #110403
    Philip John
    Participant

    I blogged about this little tweak too and someone has just posted an edit to display a friendly message instead of the standard “not found” which sort of completes it :)

    http://philipjohn.co.uk/2011/11/14/hiding-bbpress-topics-from-logged-out-users/#comment-1885

    #108229
    Dan Milward
    Member

    Thanks for the feedback buddy.

    Looking forward to seeing Infinity. Want to add us to the Beta list ;)

    #108227
    Bowe
    Participant

    Hiya Dan,

    Thanks a lot for creating this plugin! We’re using it on our community forums to provide support for Infinity (open source WP Theming Engine), and it does exactly what we need.

    I think adding support for Achievements from Paul, is a great idea, and I think it makes a lot more sense then “bloating” the plugin itself. Hooking into Achievements and registering new ways for people to earn awards should be pretty straightforward :-) http://achievementsapp.com/developer/add-support-for-a-plugin-non-custom-post-type/

    Once again; awesome work!

    #70767

    In reply to: List of Hooks/Actions?

    rich
    Member

    i have an auto-generated (iffy wordpress search-able) list online as well

    http://etivite.com/api-hooks/#bbpress

    which is similar to the code posted above – forgot about array hooks so when bbPress 2.1 hits – it will be updated.

    #107359
    hscoder
    Participant

    if you want to know that how to use bbpress shortcodes, check this link :

    http://www.authorcode.com/forums/topic/how-to-use-bbpress-shortcodes-in-wordpress-site/

    #109798
    OAEErra
    Member

    Bit lost – where in the template should I add this bit of code?

    Much thanks :)

    #40784

    You posted, I listened.

    Version 2 of bbPress’s theme compatibility is now in the 2.1 plugin branch of code for your perusal. This second iteration removes the need to add current_theme_support() to your theme, and totally automates the process.

    If your child or parent theme contains the template files that bbPress looks for, bbPress will use them. If not, bbPress will fall back on it’s default templates and styling. No more logic necessary.

    Please test it. It’s new code with a new approach, so I’d like to get some fresh eyes on things right away to avoid a long beta period like 2.0 had.

    Cheers!

    #110445

    I’m surprised this hasn’t been asked sooner, but it’s a great bunch of questions with some good points. I’ll do my best to address them, and feel free to keep the conversation going if there are more questions.

    I’m going to start off with a clarifying and important point that’s often difficult to distinguish if you’re not involved directly in the WordPress community. My full-time job is at a company called Automattic, most popularly known for operating WordPress.com. That takes up a typical 40 hour work-week.

    My contributions to open-source projects like WordPress, BuddyPress, bbPress, are done in my free-time. I believe enough in the platforms to actively continue their development.

    So the answer to your question; “WordPress” doesn’t pay anyone a salary.

    Yes, I am currently leading the development of both BuddyPress and bbPress. My responsibilities include setting the roadmaps, shepherding development, and making sure the .org sites stay updated and operational. Yes, there’s a lot of responsibility there, and I appreciate that you think I’m doing a good job. :)

    Consider also that bbPress has always been a bit of a hobby project. As a sister project to WordPress, and by nature of it being a support forum to the flagship project, it’s never been the focal point but is still critically important, since millions of people interact with it without ever knowing what it is.

    BuddyPress and bbPress were both around for a number of years before I worked my way up to leading both projects. BuddyPress has two other consistent core committers that are doing a great job, and bbPress is the best opportunity for any developer to step in and get core-commit to help determine the direction of the project. It’s very much a meritocracy, so anyone that comes along and starts contributing will get noticed for it.

    Even though I tend to do the majority of code commits, rest assured that there are plenty more eyes on the code than just mine and neither project is in any danger of losing momentum or being phased out. Automattic as a company loves both BuddyPress and bbPress, and the WordPress Foundation and community are both committed to supporting them for far into the future.

    #108059
    gloomis120
    Member

    Wow, great work. mesayre’s code edit with using && instead of || fixed an issue for me with after login, getting redirected back to the home url and not the forum url.

    #108058
    mesayre
    Member

    Hey folks,

    I was struggling with this for a while, and I think I found a bug in bbp-common-template.php

    Here’s the original, plus an echo I put in to dump the value. It returned the blog url no matter what else I did with filters beforehand:

    function bbp_redirect_to_field( $redirect_to = ” ) {

    // Rejig the $redirect_to

    if ( !isset( $_SERVER ) || ( !$redirect_to = home_url($_SERVER ) ) )

    $redirect_to = wp_get_referer();

    echo $redirect_to;

    exit;

    Should this be an OR statement? (||) I found that changing it so and (&&) seems to make it function as intended.

    Also, is this supposed to be an assignment here (!$redirect_to=), or should it be a comparison (==). Changing that that to !$redirect_to== ALSO made it function as intended. One way or another, this line is the culprit.

    #107358
    Hagandasz
    Member

    Just a simple and maybe a stupid question: Where do i find the Forum ID?

    I tried to copy the permalink but this wasn’t it.

    #40770
    spabav
    Member

    After a couple of weeks testing bbpress and several other forum solutions, we are really hesitating in running bbpress as our forum.

    From what we see the bbpress plugin, while not as feature-rich as stand-alone bulletin boards like vbulletin, phpbb or xenForo, does one thing outstandingly well, which is the integration into wordpress.

    For that reason alone, it would be worth giving it a try.

    Unfortunately – and here comes our biggest issue – it looks like the bbpress plugin is currently not given full (or any) attention from WordPress.

    My question is very simple:

    How many developers / coders are writing code of the bbpress plugin currently ?

    Is @johnjamesjacoby the only one?

    Is there anybody else “officially assigned/paid by wordpress” to work on the bbpress plugin and documentation or/and support ?

    John is doing an excellent job, on all his help he gives especially in the bbpress forum. But since the community is small and John is also working on the buddypress project, we are really worried to put our eggs in a “one-man-show plugin” basket.

    Please tell me that I got this wrong and that there are at least several people currently working on the bbpress plugin and documentation.

    Would be great if anybody could shed some light on this.

    #109592

    In reply to: disabling breadcrumbs

    ficam
    Member

    I didn’t find any bm_bbp_no_breadcrumb in functions file :(

    #110402
    Angelo
    Member

    I’ve looked into a plugin called Role Scoper which grants you the ability to restrict things based on WordPress user roles and capabilities. Admittedly, the plugin is a bit bulky for what’s being accomplished with the above code but it’s an option.

    #110148
    Martin ( Martin_C )
    Participant

    Ok forget the stuff I said about bbp_get_topic_tag_tax_id always returning “topic-tag”. Thought the return value was the chosen setting.

    Anyway, the above code does seem to work to make the loop display only those topics that’ve been tagged with the currently displayed tag.

    #110147
    Martin ( Martin_C )
    Participant

    It seems bbp_get_topic_tag_tax_id() always returns the default topic tag slug, i.e. “topic-tag” no matter what you use in your forum settings.

    However, provided you use the default topic tag slug you can add some args to bbp-has-topics in taxonomy-topic-tag.php, like this:

    if( bbp_has_topics( array( bbp_get_topic_tag_tax_id() => bbp_get_topic_tag_slug() ) ) )

    #110401
    gloomis120
    Member

    I see. You were suggesting that we change the message to something else.

    Thanks for this code. Ive been waiting for something like this, and was about to start working on a plugin to do the same thing.

    #110351
    redcocker
    Member

    I may understand the reason.

    Because User(User group) wasn’t given “unfiltered_html” capability.

    https://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html

    shooo
    Member

    Ok, hum, all this plugin arent bbpress 2.0 compatible, but bbpress 1.0 compatible.

    for bbpress login you can just put a widget in your sidebar, it’s on your wordpress admin bar ;)

    exactly same for last replies, last forum, …

    bbpress 2.0 isn’t the same thing that bbpress 1.0

    bbPress 2.0 doesnt require integration, it is a plugin to wordpress.

    good luck

    shooo
    Member

    Hi

    try to change your this css

    .num, #forumlist small {
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
    white-space: nowrap;
    }

    by

    .num, #forumlist small {
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
    }

    #110399
    gloomis120
    Member

    My final solution was to make bbPress ‘dumb’ when it comes to logged out users. I.e., it could either be clever and say “there are topics, but you’re not allowed to see them until you login” or it could just say “there are no topics”.

    Thanks for the code! I have it working but I dont follow what you mean with the quoted login.

    Is this a shortcode setting, or are you changing the default message of “Oh bother! No forums were found here!”.

    salondailies
    Member

    I am trying to locate the file to add code above my pagetitle on my forums in bbpress. I am not sure where the file is located. I am simply wanting to add a banner of adsense there.

    #106165
    devotee
    Member

    I´m also having problem with this. I´m getting the forum to work, but I have problems getting access to css and template files.

    I have created a child theme from the bp-default theme, which doesnt seem to support bbPress-templates, but still displays everything nicely somehow. Within this child-theme I change css and templates belonging to the bp-default theme and that works fine.

    Now I would like to be able to modify the bbPress part of the site from this child theme aswell, but I cant because the theme has no template files for the bbPress installation (even though it presents the forum very nicely). I can change the css-part by just copying the css from the bbpress.css into my styles.css (it get´s priority). But there is no template-files to copy except those from the bbp-twentyten theme, and if I do, the appearance just breaks :/

    What I want: The forum to look exactly like it does from the default bp-default theme, but with access to template files so I can remove and add stuff on my own.

    Can anyone help me with this one? :)

    #110287
    Steve
    Participant

    Its not natural traffic – it just seems to be bbpress doing repeated head/gets on links that are pasted in posts – it also seems to do it to links out to other sites – well it used 195MB of bandwidth against another server in less than 1 day.

    And I’ve found it does do it if the file is in the same domain – just missed it in the access logs.

    Checking my server access logs the only odd thing I see is

    192.168.0.1 - - [16/Nov/2011:07:59:44 +0000] "POST /xmlrpc.php HTTP/1.0" 200 483 "-" "The Incutio XML-RPC PHP Library -- bbPress/1.1"
    184.168.193.192 - - [16/Nov/2011:07:59:53 +0000] "GET /forums/topic/please-help-with-wordbooker-image-problem HTTP/1.0" 200 42632 "-" "WordPress/3.2.1; http://alt3redegos.com"
    184.168.193.192 - - [16/Nov/2011:08:00:05 +0000] "GET /forums/topic/please-help-with-wordbooker-image-problem HTTP/1.0" 200 42632 "-" "WordPress/3.2.1; http://alt3redegos.com/dev/relaunch"
    184.168.193.192 - - [16/Nov/2011:08:00:12 +0000] "GET /forums/topic/please-help-with-wordbooker-image-problem HTTP/1.0" 200 42632 "-" "WordPress/3.2.1; http://alt3redegos.com/dev/relaunch"
    192.168.0.1 - - [16/Nov/2011:08:00:21 +0000] "HEAD /wp-content/uploads/debugs/wordbookerdebug200406.zip HTTP/1.0" 200 - "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:21 +0000] "GET /wp-content/uploads/debugs/wordbookerdebug200406.zip HTTP/1.0" 200 862574 "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:21 +0000] "HEAD /wp-content/uploads/debugs/wordbookerdebug200406.zip HTTP/1.0" 200 - "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:21 +0000] "GET /wp-content/uploads/debugs/wordbookerdebug200406.zip HTTP/1.0" 200 862574 "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:40 +0000] "HEAD /2011/10/12/the-new-posting-options-explained/ HTTP/1.0" 200 - "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:41 +0000] "POST /xmlrpc.php HTTP/1.0" 200 483 "-" "The Incutio XML-RPC PHP Library -- bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:41 +0000] "HEAD /forums/topic/debug-204-6 HTTP/1.0" 200 - "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:42 +0000] "GET /forums/topic/version-204-released HTTP/1.0" 200 28310 "-" "bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:08:00:41 +0000] "POST /forums/xmlrpc.php HTTP/1.0" 200 446 "-" "The Incutio XML-RPC PHP Library -- bbPress/1.1"
    192.168.0.1 - - [16/Nov/2011:07:46:44 +0000] "POST /forums/bb-cron.php?doing_wp_cron HTTP/1.0" 200 - "-" "bbPress/1.1"

    So why does that bb-cron call at 07:46 appear after the 08:00 activies. What does bb-cron do?

    #107832
    shyaam
    Member

    pimarts: I really need your help in understanding if there is a documentation on how you did it or if you could provide me more assistance directly, that would be great as well.

    kangenguru: When I did it using your technique, I had issues :( the BBPress plugin did not have the bb-config.php, so I used the bb-config that is within the buddypress. Hence, I couldnt get the bb-press 2.0 to work. But again when I did it with what is built into buddypress itself, all the files and folders showed up like they were missing.

    I am not saying that integrating buddyPress+BBPress is bad, but all I am saying is that I did not know how to work with this issue (could be the lack of knowledge). If anyone could help, that would be awesome.

    PS: please do not ask me to google for the documents… I have googled for the past 3 weeks and found several solutions and most of them did not work in my situation. So any help would be greatly appreciated.

Viewing 25 results - 17,201 through 17,225 (of 32,581 total)
Skip to toolbar