Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,701 through 22,725 (of 32,481 total)
  • Author
    Search Results
  • #82125
    chrishajer
    Participant

    I think Marius- is asking for something more along the line of making the Member text more usable. That title doesn’t really say anything about where that link is going to take you. So, if it were ‘info’ clicking it would make more sense since you are actually getting info about that member. Not everyone would have the title Member: some would be moderator or keymaster.

    #80395

    I have a workaround for the navigation issue.

    This does not solve why some plugins are not working with integration (which would still be nice to know, and what code would fix it), but allows to have consistent menu tabs when integrating the theme. It involves using theme options for excluding pages, rather than a plugin.

    Incidentally, my theme already comes with the option to exclude pages from navigation, but I still used PageMash for other handy features… Then it occurred to me to test if the options would be reflected into bbPress, and sure they were!!! This way, no core code changes, all is controlled from within the theme.

    @arpowers – I am sure you already know how to do this. Posting links just in case, for others as well.

    To create the theme options page, there are tutorials, showing code to add to functions.php

    http://forthelose.org/how-to-create-a-theme-options-page-for-your-wordpress-theme

    http://blog.themeforest.net/WordPress/create-an-options-page-for-your-WordPress-theme/

    in the arrays to exclude the pages, this is what I have:

    array(	"name" => "Main Menu Settings",
    "desc" => "The navigation menu tabs at the top.",
    "id" => $shortname."_admin_heading",
    "type" => "info"),

    array( "name" => "Exclude",
    "desc" => "Enter a comma-separated list of Page IDs to be excluded from the main menu tabs (example - 5,9,22).",
    "id" => $shortname."_exclude_pages",
    "std" => "",
    "type" => "text"),

    array( "name" => "Sort by",
    "desc" => "'<strong>menu_order</strong>' - sorts the Pages by Page Order<br /> '<strong>post_title</strong>' - sorts Pages alphabetically (by title)<br /> '<strong>post_date</strong>' - sort Pages by their creation date.",
    "id" => $shortname."_sort_pages",
    "type" => "select",
    "std" => "menu_order",
    "options" => array("menu_order", "post_title", "post_date"))

    I hope this helps!

    #81763
    Michael
    Participant

    I see – thanks for telling me that. :) The change is not urgent – so I’ll stick to my current bbPress installation. It seems to be doing the trick just fine. I’ll probably even land up extending it myself.

    :)

    #80536

    @mrsparex – I see, there was one more! :-)

    You can edit tag-single.php the same way as before, on these lines:

    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>

    <?php post_form(); ?>

    #81762

    @Alex Luft – Focused intent within a community can move mountains! :-)

    @Michael888 – As of now, BuddyPress works only with WPMU. It does not run as a standalone, because it is built as a set of plugins. Rumors said that the code for WP single user and WPMU would merge soon. I still have a test community area with everything installed and it’s the ideal combo. Didn’t transfer the blog there because of the announced merge… have been waiting for a year now. If the social network capability is urgent for you, you may want to use WPMU for the time being, and merge later.

    BuddyPress is another good reason why I don’t see bbPress coming to an end. A forum is an integral part of the social networking (group forums, etc.). BP itself relies on bbPress currently. From their site:

    Groups also include a group forum (bbPress), and wire where group members can engage in discussions.

    #32457
    bingsterloot
    Member

    Hi all

    I have been looking for the solution, but only found small hints here and there with no real complete guide on how to do it, so i have made a small one that should explain it in a simple way.

    (THIS IS BASED ON WP 2.8.6 AND BBPRESS 1.0.2 WITH WP INTEGRATION VIA BBPRESS ADMIN.) If you have older versions installed, i recommend to read this exelent post by ck: http://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101

    step one: Add this string to your bb-config file in your bbpress folder:

    require_once(‘/home/ your username/public_html/your wordpress folder/wp-blog-header.php’);

    NOTE: The path might be different from host to host, but this is what my path looks like……you get the idea ;O)

    step two:

    Go to your WP template folder, and open up the file: header.php from your chosen template.

    Copy over the content you want after the <BODY> tag, and copy it into your BBpress header.php template file after the <BODY> tag.

    What i did here was to take a backup of the original BBpress header.php file, so i could paste in the things i needed from this file to the new one i just

    created with the WP header content.

    step 3 your css files

    My approach to this was of course to take backup of both WP css and BB css files first. I used the BBpress css file as my main css file. I then took the css strings from the WP css file i needed, and simply copied them into my BBpress css file. In my case i needed the header and navigation strings.

    NOTE: You might also need to copy the WP css body string, if your BB css Body string has different font measures. Some use EM´s and some use %. This will affect how your fonts react.

    And that´s it folks. I hope you understand this, and if other people has something to add to this plz. do so we all can learn.

    Mike

    #81761
    Michael
    Participant

    I’m happy to hear it that way. After looking at bbShowcase, I just thought that it was done. I’d be so happy to see 1.2 come out. In fact, I can’t wait to see 2.0 – I’m sure it’ll have a stack of new features.

    But you’re right, and like I said as well, there’d be no good reason to end it.

    I know this is off-topic, but I’d just like to ask something. BuddyPress seems to be such a brilliant piece of software. Can it only be integrated with WordPress MU? Can it not run standalone? The whole idea for my site is to have a simple community-driven system for all areas of development. The forum seems to be doing the trick, and as good as it is, BuddyPress would cater for the concept so much better than bbPress does.

    Thanks for the optimism – I wasn’t worrying, however. :)

    #81760
    Alex Luft
    Participant

    Then, we’ll see WP 3.0 (with wpmu merger) + BuddyPress 1.5 + bbPress 1.2

    the perfect blog/social network/forum combo

    I can already visualize it on my dashboard!

    A cheerful moment of optimism :-)

    I hope you’re right! I really do! I really like bbPress for its simplicity and flexibility. There still remains work to be done (better commenting integration with WP), but I hope it pulls through!

    #32450
    mrsparex
    Member

    …my pennyforums.com is more narrow. Would I change something in the code or get a new theme?

    Thanks for any replies! Wonderful folks here!

    #81068

    In reply to: Help out with bbPress

    paulhawke
    Member

    I would be glad to help out in any way I can.

    I have an offline monthly fiction writers group I run, who coordinate via a bbPress forum. Administration of that’s been a breeze, and I can think of no better forum software to use. So I’ve had experience simply administering a bbPress installation (admittedly with only a couple of dozen active users).

    I’ve been creating custom themes & plugins for bbPress for a while for my own enjoyment, aiming to bend the software into new and interesting places. For instance

    1. making a very “blog-like” theme giving strong emphasis to opening posts with all replies looking like comments & discussion of the opening post
    2. writing and enhanced form of the RSS portion of the site to use bbPress as a super-flexible podcast hosting site generating iTunes compatible feeds
    3. Forum specific theming (a gaming site who wants an “XBox theme” active for certain forums, a “W.o.W theme” in others, etc)
    4. creating a fine-grained access control mechanism for forum/topic/board ownership and read/write privilages (to support separation of gaming forum admin, and multiple podcasters for 2 instances of its use)

    Prior to hacking on the bbPress codebase, plugins and themes I lived in WordPress land – themes and plugins – using it for blogs, CMS and podcast hosting.

    I write HTML/CSS/PHP for pleasure. Java/XML/etc is the day-job.

    #81759

    @Michael888 – bbPress won’t come to an end. We are just going through a temporary halt.

    Once we see v. 1.0.3, we’ll know that bbPress has made it though the bump. I bet things will pick up again after WP 2.9 is released.

    Then, we’ll see WP 3.0 (with wpmu merger) + BuddyPress 1.5 + bbPress 1.2

    the perfect blog/social network/forum combo

    I can already visualize it on my dashboard!

    A cheerful moment of optimism :-)

    #81757
    Michael
    Participant

    Hi all

    I downloaded bbPress about a week and a bit ago, and I find it extremely user-friendly. It’s such a pity it had to come to an end.

    It’s also unfortunate to hear that it had ended mostly based on the fact that Sam left – a replacement could have been appointed to continue developing such great forum software.

    Unlike most forum software – bbPress is extremely easy to extend. This is one of the reasons I am using it. It’s compatibility is great.

    If I was able to – I would continue the development of bbPress myself – though it would not feel right as I am not part of Automattic, thus I do not have the rights to the source-code. All I can do for now is work on what I have, and continue using bbPress for as long as possible.

    At present, I run a [new] development community called dev:station (http://www.inniosoft.co.cc/devstation), proudly powered by bbPress. The only reason I would switch from bbPress is to extend my concept in to a social-site, instead of a forum-based site.

    I really do hope that, in the future, bbPress will be re-incarnated – maybe as something completely new. In fact, if anything, that would be a good idea: Create a new package. Start from scratch.

    Furthermore, WordPress still uses bbPress for its forum – I doubt that it will be gone for too long.

    @buddha trance: I completely agree with you – I think we should keep it alive and kicking. If anything, Automattic may realize that bbPress should be in continual development. It would make me very happy, if not everyone else.

    #82148
    johnhiler
    Member

    There won’t be any changes to bbPress for quite some time… if Matt does replace Sam, it will take time for any new release to come out.

    So actually, this is probably the most stable time in the history of bbPress’ codebase to be making themes or plugins!

    #80309

    @chandersbs.

    See if this other code works for you.

    <a href="<?php echo get_user_profile_link(bb_get_user_id($topic->topic_last_poster)); ?>"><?php topic_last_poster(); ?></a>

    I tried it with the three permalink types without problem.

    #81756
    hpguru
    Member

    bbPress is best forum software! I use 1 years -> and i’m happy. :)

    #80308
    chandersbs
    Member

    I’ve been using this code for a while now, untill I discovered in my Google webmaster tools account that it’s giving some broken URL’s. Appearantly this code only works when you have pretty URL’s turned on — which is not in my case.

    Is there a way to link it to profile id’s instead of profile names? (e.g. domain/profile.php?id=2 instead of domain/username)

    Thanks in advance.

    #81752
    Tomcraft1980
    Member

    It’s a shame… =(

    #32440
    bingsterloot
    Member

    Hi all

    Hope someone here can help me. I have translated 1.0.2 to a foreign language and all is fine…almost :O)

    I can´t figure out why the data and time is still in english?. All looks fine in the .po file, but maybe i am missing something here?

    Thanks

    Michael

    #81984

    In reply to: Help with integration

    I remember struggling a bit to make it work, and I have tried several different recommendations I found in these forums. Now there is this guide that may be very helpful

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101

    Let me tell you what I have defined in my config files, to make it work seamlessly:

    1 – wp-config

    SECRET_KEY your value

    AUTH_KEY your value

    SECURE_AUTH_KEY your value

    LOGGED_IN_KEY your value

    NONCE_KEY your value

    then, at the end of the wp-config file

    define('COOKIEHASH', 'your value');
    define('COOKIE_DOMAIN', '.www.yourdomain.com');
    define('SITECOOKIEPATH', '/wp-admin');
    define('COOKIEPATH', '/');

    – on the cookie_domain there must be a . (period) before the url

    – sitecookiepath is for root installations, if you have WP in a subdirectory, then change the path to, for example /blog/wp-admin

    – cookiepath is OK with just ‘/’ (also if WP is in a subdirectory, at least this was my case, even if the integration plugin told me otherwise, which did not work for me)

    2 – bb-config

    BB_AUTH_KEY to match the WP key

    BB_SECURE_AUTH_KEY to match the WP key

    BB_LOGGED_IN_KEY to match the WP key

    BB_NONCE_KEY to match the WP key

    then, at the end of the bb-config file I have

    // Start integration speedups

    // WordPress database integration speedup
    $bb->wp_table_prefix = 'yourprefix_';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'url to match what you have in WP general settings';
    $bb->wp_home = 'url to match what you have in WP general settings';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_here goes the same sequence of numbers to match the cookiehash in wp-config';
    $bb->secure_auth_cookie = 'wordpress_sec_here goes the same sequence of numbers to match the cookiehash in wp-config';
    $bb->logged_in_cookie = 'wordpress_logged_in_here goes the same sequence of numbers to match the cookiehash in wp-config';
    $bb->admin_cookie_path = '/forums-directory/bb-admin';
    $bb->core_plugins_cookie_path = '/forums-directory/bb-plugins';
    $bb->user_plugins_cookie_path = '/forums-directory/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';

    // End integration speedups

    – the last two if WP is installed at the root, otherwise

    ‘/blog-directory/wp-admin’

    ‘/blog-directory/wp-content/plugins’;

    to get sets of keys

    https://api.wordpress.org/secret-key/1.1/

    https://api.wordpress.org/secret-key/1.1/salt

    I can’t remember how I got that cookiehash value…

    a possible helpful thread, just in case

    https://bbpress.org/forums/topic/where-do-i-define-user_cookie-pass_cookie-auth_cookie-secure_auth_cookie-log

    Currently on WP 2.8.6 and bbPress 1.0.2

    I hope this helps.

    #81067

    In reply to: Help out with bbPress

    @Matt: I’ll be needing a new forum on my own site shortly; one that fully integrates with multiple WP installs. So I can certainly babysit the code base if you need someone to oversee BBPress for a day per week or so.

    It *would* be much more appropriate if CK and Sam were around, however. My understanding is CK got pissed. Where is Sam at?

    D.

    #80533

    What you can do, is edit forum.php of your theme files and edit out

    <?php post_form(); ?>

    it’s at the very end, just before the call for the footer. This will display only the topics.

    You also edit, in both forum.php and front-page.php

    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>

    to become

    <th><?php _e('Topic'); ?></th>

    This should do it.

    #82002

    In reply to: New Theme For BBPress

    @arpowers – from your site:

    iBlogPro now is one of the only WordPress themes with its very own matching BBPress forum Template.

    This is a wonderful idea that any theme developer should keep in mind! Kudos for that.

    Themes that already come with the matching forum templates for bbPress, will help in keeping the momentum going for this great platform. Such implementation will make bbPress the logical choice, rather than having people looking around for forum platforms, and getting confused.

    As for the looks of the theme, what can I say…. I am a mac addict… Very cool!!! :-)

    #62922
    skybrother
    Member

    This is an old post, but I found a GREAT fix for this issue detailed in this article >> http://www.adrogen.com/blog/wordpress-wp-blog-headerphp-causes-404-in-ie/

    The code I finally replaced the “wp-blog-header.php” is here.

    /***********************************************************************

    * Blog Header Error Fix *

    ***********************************************************************/

    // Include WordPress functionality

    $currDir = dirname(getcwd());

    // Make sure this isn’t install or admin (go up if it is)

    if(!file_exists(“$currDir/wp-config.php”))

    $currDir = dirname($currDir);

    if(!file_exists(“$currDir/wp-config.php”))

    die(“Cannot find WordPress integration files.”);

    // ***** OLD Blog Header Line *****

    //require_once(“$currDir/wp-blog-header.php”);

    // ***** New WP Integration stuff *****

    require(“$currDir/wp-config.php”);

    $wp->init();

    $wp->parse_request();

    $wp->query_posts();

    $wp->register_globals();

    /***********************************************************************/

    Made my life ALOT better….

    #81961

    In reply to: bbShowcase shut down?

    kriskl
    Member

    it is sad news indeed :(

    few months ago, I have paid some developers to convert the site from phpbb to bbpress. except into 1.0 version so many plugins were not updated, and new forum didnt go on line,

    and we were waiting for some movement on bbpress and plugins front..

    it looks like time & money was wasted :(

    Maybe, can anyone suggest a viable alternative to bbpress? so we could have a deep integration of wpmu with forums & buddypress

    of course, there has to exist some converters from phpbb…. I have looked and found NO alternative :(

    #81065

    In reply to: Help out with bbPress

    Ben Huson
    Member

    Definitely don’t want to see BBPress fall by the wayside so if I can do anything to help, I will.

    I have done a couple of BBPress implementations alongside wordpress, mainly theming and small tweaks, but it’s fair to say at the moment my main knowledge is based around WordPress theme and plugin development.

    Happy to contribute in any way, wether it’s minor core patches, front end design/coding, or just adding documentation to a codex etc.

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