Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,051 through 18,075 (of 32,506 total)
  • Author
    Search Results
  • sovery
    Participant

    I tried all day to get this to work on my WP blog (bbPress, I mean). No go. Sigh. I sure wish there was a step-by-step guide. I’m not at all new to WP but I (obviously) had a lot of trouble trying to get bbPress to work. And I’ve failed. For now. I know people are busy, though, so I’ll check back now and then and see if there are any “bbPRess for Dummies”-type guides.

    :-)

    #107501

    In reply to: registration page

    pimarts
    Participant

    This has been asked a couple of times already, try to search for it.


    domain/wp-login.php?action=register should do the trick.

    There are shortcodes for the following though, so you might be able to make your own register page (I’m running bbPress in combination with BuddyPress so I don’t need it):

    [bbp-login]

    [bbp-register]

    [bbp-lost-pass]

    #39183
    EtHeO
    Member

    I can’t find the user signup page url for an installed instance of the bbpress plugin. This is the url: http://www.africareport.com.dev.studioseptember.nl/business-opportunities/

    Can anyone give me a hint as to where to search for it? I found the php/html code in bbpress/bbp-themes/bbp-twentyten/page-user-register

    #106680

    In reply to: Swedish for 2.0 plugin

    @Jobjörn Folkesson – The strings are almost completely unique and the .po/.mo’s aren’t compatible. Your average person can’t easily migrate one to the other without manual labor and time. While it’s a great help and the contribution is always appreciated, it doesn’t solve this specific issue for this user. :)

    #107474

    Sounds like a great idea to me. Hard to beat the best. :)

    #107472

    Without doing some ender the hood trickery, it’s going to be hard to include all results and satisfy the majority of uses.

    bbPress already does some of this to prevent things like rouge comment forms appearing where maybe they shouldn’t. I haven’t been able to come up with a working solution that I think satisfies what 80% of the people using bbPress will want, namely because the WordPress core search function makes what we want to do, a little difficult.

    The other thing that you’re noticing is that all search results look like blog posts. That’s because that’s how the search.php in almost all WordPress themes is coded to look. bbPress can’t really intercept every possible query and scan the post_type for topic/reply, and then inject something different, on every singe possible page load. Well, it could, but I suspect the performance hit would be fairly costly and it probably wouldn’t scale well into millions of entries.

    So, we’re kinda stuck.

    In the meantime, you can append:

    ?ts=whatever

    to search topics, and

    ?rs=whatever

    to search replies in a specific topic, so I do have some logic built in to allow for this… but, it does need some massaging before it’s what I would consider to be ‘correct.’

    #39181

    So 2.0 beta has been downloaded over 15k times, which is awesome. Feedback has been coming in steadily, and I’ve been holding an official RC because of a few odds and ends that are taking some time to figure out. Hoping to get some feedback on a few specific things:

    Page Templates

    The way WordPress works, page templates can work automagically if the template name matches a page slug. This is really convenient as it automatically acts like a page template without setting it, but can get in the way if you want to use a specific page slug and not have bbPress take it over. Example:

    page-user-register.php

    If you made a WordPress page with the unique slug ‘user-register’ WordPress would automatically use that template file for that page. So far I’ve purposely picked unlikely template names so they wouldn’t collide with existing slugs. But, if that same file was renamed to:

    page-register.php

    …all it would take is making a “Register” page and bbPress would automatically have a sign-up page with no shortcodes and no more work. The adverse to that convenience is if you want to customize your sign-up page beyond what bbPress provides, you’re looking at a totally custom theme.

    This works with any template file in the root folder of a theme, so there are lots of possibilities. My goal is to satisfy the majority, so I’m thinking of heading in this direction and renaming the template files.

    Multisite

    At the moment, multisite integration works great, if you want to have individual bbPress forums with their own authorized users per forum. If you want to have all users have access to all forums in a multisite install, you’re currently out of luck. With multisite there are endless configuration options, and I see the use case for all of them.

    Which do you prefer as the default? Users can access all forums, or users can only access forums for which they have a role on that specific site?

    Search

    Right now there is no interface for searching the bbPress 2.0 integrated forums. The original implementation got negative reviews because search results were site wide, showing blog entries, topics, and replies.

    It’s currently possible to filter search results by post type (topic/reply) but most WordPress themes assume the search results will come from posts or pages, and as such aren’t styled to look like forum results, which is really confusing to the person performing the search. It’s also confusing to have multiple search boxes, or to need to pick what results you’re looking for.

    How do you think it should work? Should forum results appear in your existing blog search? Should they be separated? Should there be some kind of ‘smart search’ that knows where the request came from, and only shows results based on the type of content you are looking at (blog/forum/other)?

    Settings

    The WordPress mantra is decisions over options, but creating something as large as a discussion forum within WordPress is going to come with at least a few settings. I think our settings page is starting to get out of hand. Should we break the one page up into a few, or leave it as 1 page with all options?

    That’s what’s on my mind. If you’ve been using 2.0 for the past few weeks, your input would be much appreciated so these last few ends can be tied up and we can let this ship sail. :)

    sovery
    Participant

    Thank you Andre! You helped clarify, a bunch.

    FYI, at this point I’m using Genesis and a customized Genesis child theme. I got the child theme to be “recognized,” via the “bbpress integration” plugin by putting in a line of code into my custom functions.php file. But now I can’t get the actual *forum* to appear in the basic “page” I created (yes, I put in shortcode: [bbp-forum-index] and published, and made “public.”) I also tried putting in shortcode for showing ONE particular forum. Nothing shows up. I only have one forum (as a test).

    I think I’m missing something very obvious here, or, my overall WP 3.2.1 setup is too weirdly customized to even use bbPress at this point. Not sure.

    Thanks for trying to help, though. I do appreciate it! I’m looking forward to seeing any new improved documentation they release (“step-by-step” for dummies would be GREAT! maybe a video, too?). I think that would help a LOT for people like me who have never used forum-ware at all, just regular WP plugins.

    #107470
    pimarts
    Participant

    I tried doing this too. And it worked, in a way. But with that code (I think it was that code I used at least) it enables searching in the forums, but for whatever reason the first result showed up in complete view topic style, including a reply form etc. Which is not really what I wanted for search results.

    Probably something on my end, so I disabled that feature for now.

    Any ideas JJJ?

    #106666

    In reply to: Step by step guide

    sovery
    Participant

    I’m trying to do the same thing and I see others are too. Someday some nice person will probably write up a great step-by-step guide as to how to use this plugin (bbPress) after it’s installed and activated. :-) If you guys ever see anything like this, come back and post a link, will you? I will, too. Right now I’m scouring the internet.

    #39180

    First off, I’m sorry to start a new thread here. I commented on one here: http://bbpress.org/forums/topic/about-search-field-in-bbpress-20-beta-3 but unfortunately it got closed, so I can’t comment on it.

    John James Jacoby told me:

    This has been covered in these forums a few times already, which may or may not be an indicator of how little the search functionality gets used. :)

    http://bbpress.trac.wordpress.org/ticket/1575

    But since I actually commented on a thread regarding the issue, it should tell John, that I actually did a search, and I had actually sought for about 30 minutes before writing the question. And a googlesearch also shows me, that it’s the only place linking to the tracticket: http://bbpress.trac.wordpress.org/ticket/1575

    Having said that. When I paste the code it just generates an error and the code in the trac ticket should be this instead:

    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' );

    Unfortunately I haven’t figured how to solve these two issues:

    – have pages in search results (I always only get one page shown)

    – show both forumposts and blogposts in search results.

    So any thoughts on these issues would be great.

    #63088
    Alex
    Participant

    The long _ck_ version half works – it links, removes the nofollow tag, and adds target=”_blank” to internal links. But external links aren’t linked – just the CSS is applied. Could you post a pastie of the long version of your code?

    sovery
    Participant

    OK, I created a regular ole WP page and put the shortcode for showing the forum index in that regular ole WP page. Hit publish. I can see it. Great!

    Is there a way to get it so it doesn’t have the WP sidebar and looks more like a forum usually looks? Not like it’s inside WordPress, in other words? I am thinking this may be where implementing “forum themes” comes in? If you have a link explaining this, I’d sure love to see it. Thank you so much, again, for taking a moment to help the clueless. :-)

    One thing I notice, too, is that there are references everywhere to the “bbPress admin” area and I only see an area in WP’s normal “settings” area and it doesn’t have anything like “bbPress integration” or any options like that. ?? I do see a message on my WP dashboard, “Theme does NOT natively support bbPress.”

    pimarts
    Participant

    Did you try making a page and putting one of the shortcodes in there?

    https://bbpress.org/forums/topic/bbpress-20-shortcodes

    #100407
    _ck_
    Participant

    Check wp-config.php for any lines that define a $wp-> object setting.

    They will break wordpress 3.1 or higher and give a $wp->add_query_var error.

    For example:

    $wp->cookiedomain = '.example.com';

    Will work in 3.0 and below but break WP 3.1 and 3.2

    You’ll have to research for the replacement define setting as an alternative to $wp->

    For example, the modern replacement for the above line is

    define(COOKIE_DOMAIN,'.example.com');

    #105507
    _ck_
    Participant

    Check wp-config.php for any lines that define a $wp-> object setting.

    They will break wordpress 3.1 or higher and give a $wp->add_query_var error.

    For example:

    $wp->cookiedomain = '.example.com';

    Will work in 3.0 and below but break WP 3.1 and 3.2

    You’ll have to research for the replacement define setting as an alternative to $wp->

    For example, the modern replacement for the above line is

    define(COOKIE_DOMAIN,'.example.com');

    manager2
    Member

    Thanks, John! You where right! I was reluctant to update from beta 2 to beta 3 because i customized interface.

    I consider there are too many fields, too big avatar, and too much info displayed, making the forum bulky and weird.

    Anyway, after I’ve updated it works. The forum shows that some names posted but their posts don’t display, and Akismet spam total grows. Maybe when I eliminated fields and info from interface I removed Akismet code, or Akismet is integrated only now.

    Thanks a lot!

    #107458
    master5o1
    Participant

    I would suggest that this meta-key could be a start somewhere.

    $custom_title = bb_get_usermeta($user->ID, 'bbpress_title');

    #107134

    What is it exactly that you’re trying to do. Anything is possible. :)

    #106678

    In reply to: Swedish for 2.0 plugin

    @t.sjodren – Your translation is helpful, but not related to this topic. :)

    #107447

    No typo. Fixed in branch. :)

    #107048

    This has been covered in these forums a few times already, which may or may not be an indicator of how little the search functionality gets used. :)

    https://bbpress.trac.wordpress.org/ticket/1575

    #107446

    Known issue. Fixed in branch for some time. :)

    Somehow the eol-style setting to native on the new file in that commit, caused that to happen. Weird.

    #39174

    Tag pages like http://dev.example.net/forums/topic-tag/test/ don’t show any topics. I can see topics count in dashboard but they don’t show up on frontend.

    Just this message as if there were no tags Oh bother! No topics were found here!

    P.S. Oh bother? Typo? :P

    #39173

    @JJJ I think some of the files have been accidentally committed with native word in the following files.

    bbp-themes/bbp-twentyten/bbpress/content-single-topic.php:native
    bbp-themes/bbp-twentyten/bbpress/content-single-user-edit.php:native
    bbp-themes/bbp-twentyten/bbpress/content-single-view.php:native
    bbp-themes/bbp-twentyten/single-topic-merge.php:native
    bbp-themes/bbp-twentyten/single-reply-edit.php:native

    Using 2.0-beta3 version.

Viewing 25 results - 18,051 through 18,075 (of 32,506 total)
Skip to toolbar