Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,701 through 16,725 (of 32,519 total)
  • Author
    Search Results
  • #42483
    deadly_smile
    Member

    I’m totally new to Bbpress. I have a problem with adding posts. Totally strange things have happened. For example, when I was on the front page of forum, topics links are fine, when I click on some of them, it takes me to a page with listed posts, but when I want to make a new post, the part of url disappeared. To be clear, when I press the submit button, bb-post.php redirects me to a nonexistent page and the url looks like this http ://example.com/ /name_of_topic and it should look like this http ://example.com/forum/name_of_forum/name_of_topic. Something removes part of url, but i have no clue what it can be. I look through functions, and i’m lost.

    Please help.

    #111769
    Kevin Ryman
    Participant

    Aw, bummer. :(

    No problem, glad I can help.

    I’m going to submit this simple plugin to the wp.org repo. Once it’s up I’ll talk to @jjj and see if it warrants a sticky. :)

    Regarding the missing tag, closing PHP tags (?>) isn’t required (at the end of the file) and it’s usually good practice to omit them. More info on that http://stackoverflow.com/questions/4410704/php-closing-tag

    jamescarson1
    Member

    Jaredatch, this is gold. And it will be appreciated by many people I imagine. This should be reposted as a sticky or similar until it’s added to the plugins page or to the next bbpress update?

    By the way I just tested the code and it’s working great. It’s missing a closing ?> tag.

    Thanks!

    #111975

    Try adding a check for bbPress, such as

    add_action( 'bbp_ready', 'ja_login_detect' );
    function ja_login_detect() {
    if ( is_bbpress() ) {
    include_once "/dap/dap-config.php";

    if ( !Dap_Session::isLoggedIn() )
    header( "Location: /dap/login.php" )
    }
    }

    #111636
    vvikeb
    Member

    I got it working though it is not perfect. After setting up all bbp templates into my new theme and ensuring the bbpress, css, and js subfolders associated with the bbp-twentyten template where in my new theme folder properly it is working with some functionality that I can live with; however,…

    The breadcrumb link and my forums menu link are not the same. Now, I use a forums page with the shortcode. Now, when someone drills down into the forums and wished to return to the main forums page via the breadcrumb they go to the default forums-archive page set by bbp. I wish it went to my custom forum page with the shortcodes, but I’m happy it is not sending people to a useless page.

    So, there is still an issue, but everything is providing useful functionality at this time. I will leave this unresolved and hope the dev will fix in later versions.

    #111974

    Hey Jared,

    I added that code functions.php under /public_html/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten. Did not work.

    I added it to functions.php under /public_html/wp-content/themes/twentyten/functions.php, but it starts intercepting all requests to my site instead of just intercepting /forums request.

    Any thoughts?

    Thanks,

    vvikeb
    Member

    I found it.

    They were in the bbpress subfolder found either in your theme folder or in the bbp-themes>bbp-tewntyten theme folder.

    For “You must be logged in to create topic.”:

    bbpress>form-topic.php Line 215

    For “You must be logged in to reply to this topic”:

    bbpress>form-reply.php line 174

    #112025

    In reply to: Forum migration tool

    Jared is correct. There is a migration plugin already. Also, this is a duplicate post of one from several weeks ago that you posted here and then cross posted to WordPress.org. The more time we spend moderating the forums of duplicate content is the less that’s spent writing code.

    #42463

    Topic: Forum migration tool

    in forum Plugins
    SK
    Participant

    bbPress needs to face the fact that most people who want a forum, have already had a forum. The *new* market for forums is much smaller than the *installed base* of forums.

    Consequently, most of the people who would want to use bbPress probably are already using another forum script and need help migrating. It is collossal mistake to leave this for community plugins.

    If I have a forum software in a production environment, then one of the major factors influencing my decision regarding migration is whether or not there is a robust, stable, tried and tested and reliable migration path to the target software. This is extremely important for me. In fact, I would suffer a somewhat inferior software willingly rather than move to a better software if there is no clear migration path or there is a high degree of risk in migration.

    It is a mistake on part of bbPress to leave migration to community plugin developers. Even if there were some plugins out there that did the job, it would be much less reassuring to prospective users compared to a migration/import path created by the bbPress team. As it happens there are only 2 import plugins ( http://wordpress.org/extend/plugins/forumconverter/ and http://wordpress.org/extend/plugins/bbconverter/) out there and both of them are broken and not supported.

    WordPress does it right in building an importer directly into the core.

    Over the next 18-24 months, I expect to see a mass exodus from phpBB as they rewrite the software from ground up ( http://area51.phpbb.com/phpBB/viewtopic.php?f=75&t=41583). If bbPress provide a good migration path, it stands the chance to capture some of fleeing population.

    Task

    I think it would be greatly beneficial to the project if the bbPress team build a bbPress importer that supports the top 4 forum software: phpBB, Invision, SMF and vBulletin.

    Such a migration tool, importer or converter will:

    i) import topics and forum hierarchies into bbpress

    including the relations between forums, topics and replies

    and slugs for forums, topics and replies

    ii) generate an .htaccess to place in the old forum directory so that old URLs are 301 redirected to new ones.

    iii) import users including profiles, passwords, signatures and roles

    @jjj You have mentioned at http://bbpress.trac.wordpress.org/ticket/1740 that this is more appropriate for a plugin and that bundling that code in the core of bbPress seems needless for many users that are starting off fresh.

    I believe that this function is too important to be left to the mercy of others. There is a huge trust issue…if I have to entrust my data to someone, I want to make sure that they are reliable, trustworthy, good enough, and understand the software well.

    I take your point about not bundling the function in the core. How about a migration plugin by the bbPress team?

    Keshav Saini
    Member

    I read all the documentation before installing buddypress but the got the same issue many others are facing. I couldn’t find any fix in any discussion thread here at buddypress site and other forums.

    I followed the same procedure written in buddypress codex. I am using both the group forums and site wide forum using bbpress.

    But when I post a new thread in site wide forum, the activity isn’t displayed in buddypress activity stream and my profile activity.

    Here is the site http://www.environmentabout.com/community

    #111139
    David Decker
    Participant

    You should also try this great free plugin: “bbPress Antispam”

    https://wordpress.org/extend/plugins/bbpress-antispam/

    It works similar to the awesome “Antispam Bee”:

    https://wordpress.org/extend/plugins/antispam-bee/

    Greetinx, Dave :)

    #112015

    No sweat. Happy to have you around. :)

    Yes there is, I wrote a quick plugin for it.

    Take the code from https://gist.github.com/1902067 and put it in a bbpress-css.php file inside your wp-content/plugins/ directory.

    Then go to your plugins page and activate the plugin.

    It will use bbpress.css from your theme directory, so my suggestion would be to make a copy of bbPress’s CSS file and move it there as a starting point, then you can edit as needed.

    #111466
    smiga
    Participant

    Dosch, could you please share theme name? Im currently using WP Mimic, but it does not work with bbpress 2.x, so Im still running on 1.x version. :-/

    I did not sucseeded searching alternative.

    #112002

    Got it working!!

    .bbPress #header {

    background-image: url(images/mspace-header.png)!important;

    background-repeat: no-repeat;

    }

    THANK YOU – YOU’RE a SUPERSTAR!! :)

    #112001

    It might be easier to use some of the bbPress body classes in addition to what you are using now.

    For example you might be using a custom body class called ‘my-header-image’.

    So if you wanted to use that on your bbpress portion of the site you would just add the bbpress body class to your css, such as

    .my-header-image,
    .bbPress {
    background: url(myimage.jpg);
    }

    There are other body classes available from bbPress, but you get the picture :)

    #112000

    Unfortunately nothing changed, its probably “operator error” since I am pretty new to genesis and bbpress. Maybe I didnt explain myself properly either. :/

    Some of my site’s pages use a custom body class where I specify an alternate header. It seems like all the pages I set up in the bbpress forum and topic areas are missing the Genesis Layout Settings Metaboxes where I can specify the custom body class….

    I dont know if I am making this more difficult than it is?? It seems all the deeper bbpress pages (except for the page showing the actual forum) are reverting to the default header and I would like to customize it to show the alternate one.

    Thoughts??

    #111999

    This is a total guess and not tested, but you should be able to put something like this in your theme’s functions.php file

    add_action( 'bbp_init', 'do_custom_body_classes' );
    function do_custom_body_classes() {
    add_filter( 'body_class', 'genesis_custom_body_class', 15 );
    }

    #89796

    This thread is waay old. Please start a new one :).

    #111972

    You’ll want something like this. And it should go in your theme’s functions file.

    add_action( 'bbp_ready', 'ja_login_detect' );
    function ja_login_detect() {
    include_once "/dap/dap-config.php";

    if ( !Dap_Session::isLoggedIn() )
    header( "Location: /dap/login.php" )
    }

    #111971

    We have tried working on this some more, but still not working. Would bbpress.php be the right script for these changes?

    <?php

    include_once “/home/@#$$$/public_html/dap/dap-config.php”;

    //the problem is get_post_type comes up empty..

    if((get_post_type() == ‘forum’) || (get_post_type() == ‘topic’) OR (get_post_type() == ‘reply’))

    {

    if( !Dap_Session::isLoggedIn() ) {

    header(“Location: /dap/login.php”);

    exit;

    }

    }

    Our problem is that get_post_type() comes up empty when used in bbpress.php.

    So maybe the whole check needs to go else where. I am not sure where.

    Also i don’t see a bb-config.php in our folders? Should this file exist?

    #111980
    MikeonTV
    Member

    Yes I did that and it fixed nothing :(

    #42412
    podcastlover
    Member

    I’m building a site to discuss podcasts. www. podcastlover.com

    I have built a forum for each of the podcasts I want to have discussed on my site, there are 124 currently.

    However, on my list of forums, I only see 60 of them listed.

    The permalinks to the non appearing forums work.

    I am wondering how I can get all of them to appear on the forum list.

    A trick to Alphabetize them would be awesome too :)

Viewing 25 results - 16,701 through 16,725 (of 32,519 total)
Skip to toolbar