Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 21,676 through 21,700 (of 26,846 total)
  • Author
    Search Results
  • #72499
    john32
    Member

    I SOLVED IT!!!!!!!!!!!

    Since no one anywhere was giving me answers and since I’m stubborn and must solve problems, I spent yet another 10+ hours troubleshooting and I did it!!!

    Want to know the simple as hell fix?

    Well, besides including,

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    In WP Config and the following in bbPress Config, (Notice how cookie domain and cookie path are the EXACT SAME in both configs)

    // WordPress database integration speedup

    $bb->wp_table_prefix = ‘wp_’;

    $bb->user_bbdb_name = ‘changed’;

    $bb->user_bbdb_user = ‘changed’;

    $bb->user_bbdb_password = ‘changed’;

    $bb->user_bbdb_host = ‘localhost’;

    $bb->user_bbdb_charset = ‘utf8’;

    $bb->user_bbdb_collate = ”;

    $bb->custom_user_table = ‘wp_users’;

    $bb->custom_user_meta_table = ‘wp_usermeta’;

    // WordPress cookie integration speedup

    $bb->wp_siteurl = ‘same URL’;

    $bb->wp_home = ‘same URL’;

    $bb->cookiedomain = ”;

    $bb->cookiepath = ‘/’;

    $bb->authcookie = ‘wordpress_HASH’;

    $bb->secure_auth_cookie = ‘wordpress_sec_HASH’;

    $bb->logged_in_cookie = ‘wordpress_logged_in_HASH’;

    $bb->admin_cookie_path = ‘/forums/bb-admin’;

    $bb->core_plugins_cookie_path = ‘/forums/bb-plugins’;

    $bb->user_plugins_cookie_path = ‘/forums/my-plugins’;

    $bb->sitecookiepath = ‘/’;

    $bb->wp_admin_cookie_path = ‘/wp-admin’;

    $bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;

    // End integration speedups

    I also did what I should have done from the start but didn’t because I am a DUMBASS,

    I copied the following from WP config,

    define(‘AUTH_KEY’, ‘randomexcrement’);

    define(‘SECURE_AUTH_KEY’, ‘randomexcrement’);

    define(‘LOGGED_IN_KEY’, ‘randomexcrement’);

    define(‘NONCE_KEY’, ‘randomexcrement’);

    AND EXACTLY AS YOU SEE IT THERE (Even the spaces in between so the WP Config and bbPress config matched even those spaces in between lines) I copied it over to bbPress Config, adding the “BB_” prefix to it,

    define(‘BB_AUTH_KEY’, ‘randomexcrement’);

    define(‘BB_SECURE_AUTH_KEY’, ‘randomexcrement’);

    define(‘BB_LOGGED_IN_KEY’, ‘randomexcrement’);

    define(‘BB_NONCE_KEY’, ‘randomexcrement’);

    Even though I looked at character for character there was something off and by copying and replacing that information I can now log into WP and it logs me in bbPress and logging out of one logs me out of the either.

    I hope this helps someone out there!!!

    #72534

    Thanks for the input _ck_, as always :)

    I’m not often trying to replace an entire function from template-functions.php, i just want to overwrite one function once. But i get now that it has to be in pluggable.php, which is cool.

    I suppose my issue here is this: why are many functions that output hardcoded HTML hardcoded into templates-functions.php in the core and not in pluggable.php so that theme / plugin developers can’t overwrite them?

    In my opinion (and it’s just my opinion) there are far too few hooks in BBpress and some of them are in the ‘wrong’ or difficult place for theme development or front-end plugin development. This may seem daft to alot of people and long time BBpress contributors, but with the likes of _ck_ writing so many great back end plugins, most of mine focus on making BBpress work in a slightly more modern way (ajax, nestings, wysiwyg, etc); and i keep hitting these ‘walls’ of where BBpress has hardcoded something.

    Basically I struggle to see why BBpress doesn’t have a functions.php file in the theme directory. As it stands we’ve got to create a theme the way we want it, then integrate it into the WordPress theme, then remove the conflicts for the WP and BBpress theme as the standard BBpress theme came with a different div structure to the standard WP one (madness), then add the hooks for all the stuff thats not got a hook, then move hooks for the one in a ridiculous place, then write a plugin to load up all the functions that your theme will use as standard (cos god forbid we’d have a functions.php like wordpress).

    It makes developing a theme that does anything more than background colour of posts and what happens around/outside the forum a real nightmare. And what’s worse, it means that any theme to stray away from the ‘default’ kakumei theme, needs to have a plugin installed as well.

    While this may seem like no big deal to people (and it’s not a huge deal), given that we use a different structure for our folders to WP (again – crazily stoopid given the market BBpress’s aimed at even at this stage), we’re reliant on the user to install and activate everything properly.

    example:

    Instructions with a theme if we had a functions.php and WP structure:

    • Copy theme folder to your theme directory.
    • Load up admin section, and select the new theme.

    Instructions with a theme as is:

    • Create a my-themes folder in your BBpress directory
    • Copy the theme folder into that directory
    • Create a my-plugins folder in the your BBpress directory
    • Copy the plugin folder into that directory
    • load up admin section, and select new theme
    • activate new plugin to make theme reliant functions work

    Now, obviously there is nothing too taxing on the second version, but it’s long been my experience that the less steps users have to undertake the less errors are made. Especially, and this is the bit I don’t get, when WordPress does things in a really simple manner (and has done so for ages).

    I appreciate that forums of the nature we create are never going to be the most exciting or ground breaking in the world, but for those who think i’m wrong about more modern / different theme’s being available for bbpress let me ask this:

    1. If you look at the Top 20 forums in _ck_’s list (http://bbshowcase.org/forums/view/top100), can you tell it’s a BBpress forum before seeing the “powered by BBpress” at the bottom? If you’re bored do the same for the rest of the top100 and see how many you need to check are running BBpress.
    2. By comparison, when you go to a non-BBpress forum on the internet, can you automatically tell what forum software it is every time?
    3. But i bet you can tell it’s NOT BBpress straight away. Why do you think that is?

    (infact the first one i’d to scroll to the bottom to check it was made my bbpress and it was – a number have switched away form bbpress – was http://soccerlens.com/forum/ which is using one of my template hacks from last year. the other worth mentioning is http://www.dragonballalcine.com/foro/ which is lovely and innovative – so that’s 2 out of the top100)

    #66149
    Billy S
    Member

    Hey all. After much help from reading these forums and tinkering endlessly, I have gotten cross site logins working between WP2.6 and bbpress 0.9 . I don’t know if you’d call it ‘integration’, but it allows a user to log in once and gain access to all appropriate site resources. Although probably not the best solution, what I did is create my own cookie login, which is caught before wordpress or bbpress load, and creates a new user object which is universal to WP and BBPress (and any other webapps you use). It does take a little…alteration…of core WP and BBPress files. I strongly encourage you to make backups before doing this, and proceed at your own risk. It worked for me, but I cannot guarantee that it will fork for you. Also, it took a bit of hacking before I came up with this solution, so it may contain minor errors or accidental omissions as I am having to backtrack to recall what exactly I did.

    okay, here goes…

    First, we have to configure bbpress to use the wp_users table. That is done in the admin area of bbpress (settings->wordpress integration). Check ‘Show Advanced Database Settings’ and enter your database information for the wordpress install. Also, enter the wordpress database secret code near the top of the settings page.

    Next, I created a file in the document root called ‘cookie_login.php’:

    <?php
    if($_SERVER['REQUEST_URI'] == '/cookie_login.php'){die('Cannot access directly');}

    //Initial Setup of Variables
    $SECRET_KEY = 'SECRET_KEY_DEFINED_IN_BBPRESS_AND_WP';//use a real secret key
    $site_user = false;

    //Do the DB thing
    $the_db= mysql_connect('SERVER','USER','PASS');
    mysql_select_db('DATABASE',$the_db);

    //Start Session!
    session_set_cookie_params(1800,'/','.SITE.com'); //30 minute session
    session_start();
    if (isset($_COOKIE['site_cookie'])){ //cookie has been set, proceed to get user info!
    $tmp = explode(':',$_COOKIE['site_cookie']); //this will make sense later
    $tmpusr = $tmp[0];
    $wpid = $tmp[1];
    $tmphash = $tmp[2];
    $hashShouldBe = md5($tmpusr . $SECRET_KEY . $wpid); //what the hash should be - prevent tampering!
    if ($tmphash == $hashShouldBe){
    if (isset($_SESSION['user'])){
    $site_user = $_SESSION['user'];
    }else{
    $qry = "SELECT * from wp_users WHERE ID = ".mysql_real_escape_string($wpid,$the_db) . " LIMIT 1";
    $result = mysql_query($qry,$the_db);
    $site_user = mysql_fetch_assoc($result);
    $qry = "SELECT meta_key, meta_value from wp_usermeta where user_id = ".mysql_real_escape_string($wpid,$the_db);//get additional data, just for fun
    $resulta = mysql_query($qry,$the_db);
    $temp_arr = array();
    while ($row = mysql_fetch_assoc($resulta)){
    $tmp_value = unserialize($row['meta_value']) ? unserialize($row['meta_value']) : $row['meta_value'];//if it a serialized array, unserialize it. otherwise, dont.
    $temp_arr[$row['meta_key']] = $tmp_value;
    }
    $site_user = $temp_arr + $site_user;
    $_SESSION['user'] = (object)$site_user;//Object just out of preference, but doesn't have to be
    }

    }else{//tsk tsk, bad hash
    $_SESSION['user'] = array();
    setcookie('site_cookie',$_COOKIE['site_cookie'],time()-9600,'/','.SITE.com');
    setcookie('PHPSESSID',$_COOKIE['PHPSESSID'],time()-9600,'/','.SITE.com');
    setcookie(session_name(), session_id(), time()-9600, '/');//may be unnecessary...not sure...but can't hurt! (famous last words)
    session_destroy();
    }
    }
    if (!isset($_COOKIE['site_cookie']) && isset($_SESSION['user'])){//attempt to gain access?
    $_SESSION['user'] = array();
    setcookie('site_cookie',$_COOKIE['site_cookie'],time()-9600,'/','.SITE.com');
    setcookie('PHPSESSID',$_COOKIE['PHPSESSID'],time()-9600,'/','.SITE.com');
    setcookie(session_name(), session_id(), time()-9600, '/');//may be unnecessary...not sure...but can't hurt! (famous last words)
    session_destroy();
    }
    session_write_close();
    unset($SECRET_KEY,$hashShouldBe,$tmp,$wpid,$tmphash,$tmpusr,$result,$_SESSION['user'],$resulta,$temp_arr);//burn the evidence!
    include ('site_functions.php'); //optional, can hook another file with functions (universal to all sites) to deal with this new user object
    ?>

    After I finished the cookie_login.php, I rolled up my sleeves and dove into the WordPress and BBPress core to allow my login to occur.

    in the /wp-config.php file, define the cookie domain:

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

    Also, that secret key you used earlier in cookie_login…define it here as well

    define('SECRET_KEY', 'Same Key from Earlier. IMPORTANT to make sure it's identical');

    Next, I hooked in my cookie_login file to wordpress and bbpress by adding an include to the top of BOTH bb-config.php AND wp-config.php

    include $_SERVER['DOCUMENT_ROOT'] . '/cookie_login.php';

    To set up the ‘site_cookie’ properly, open up /wp-includes/user.php and find wp_signon function (was the first one for me). At the bottom of the function, after

    if ( is_wp_error($user) )
    return $user;

    Add the following:

    $hashValue = $credentials['user_login'] . SECRET_KEY . $user->data->ID;
    $crossCookieValue = $credentials['user_login'] . ':' . $user->data->ID . ':' . md5($hashValue);

    setcookie('site_cookie',$crossCookieValue,0,'/','.SITE.com');
    wp_set_auth_cookie($user->ID, $credentials['remember'], $secure_cookie);
    do_action('wp_login', $credentials['user_login']);//this may have already been there, don't remember

    Remember how I mentioned the site_functions.php which can be included at the bottom of cookie_login.php? That is a perfect place to put the next function, for bbpress login, but it can just as well go inside cookie_login.php itself. The function overwrites the bbpress native wp_validate_auth_cookie function, found in /bb-includes/pluggable.php, with one of our own, which is as follows:

    function wp_validate_auth_cookie($cookie = '') {
    global $site_user;
    if (!isset($site_user->ID)){
    return false;
    }else{
    return $site_user->ID;
    }
    }

    This is used internally by bbpress to allow the login to proceed.

    Next, open /wp-login.php and find the case: logout section, and add the following right after it:

    setcookie('site_cookie',$_COOKIE['site_cookie'],time()-9600,'/','.SITE.com');
    setcookie('PHPSESSID',$_COOKIE['PHPSESSID'],time()-9600,'/','.SITE.com');'

    Finally, and this may be only applicable for subdomain usage, open /wp-includes/pluggable.php and find the function wp_safe_redirect. Add subdomains you want redirects to in the $allowed_hosts array, for example:

    $allowed_hosts[]=”bbpress.SITE.com”;

    $allowed_hosts[]=”test_wordpres.SITE.com”;`

    etc…

    That’s all (I think) that I had to do. This is probably not ideal, as there are now two copies of a user when hey login, one defined in our new system and one in the wordpress/bbpress systems; however I found this necessary to have happen since I didn’t want to go through all the core code and edit out mention of $user.

    Let me know if this works for you, I hope it was coherant enough. I may have accidentally omitted sections since, as I said before, this is the result of a few weeks of on-and-off tweaks and changes. I can always dig into code and find things I missed if I know what problems are occurring. Also, if anyone is interested, I altered a private messenging system I found which was a little outdated (http://www.pixel2life.com/publish/tutorials/608/simple_private_messaging_system/) to work with this model as well. Users can PM one another from within the wordpress dashboard, and message indicators are noted in the header throughout their visit (in wordpress, bbpress, and other subsites).

    kirabug
    Member

    So wait, does this mean BBpress is dropping support for PHP-4? Because WordPress is working just fine…. I’m also downgrading. Would have loved to see some kind of warning/note on the download file page that requirements have changed (if they have).

    #5043
    silu
    Member

    I successfully set up the bbp yesterday, integrated with my wordpress. I installed bbp on the SAME database with my wp, but is another user name…

    But all in all, they worked pretty well. The users on my WP can access and log into my bbp flawlessly. However, whenever a new user comes, and register through my bbp, there is not response for the register.php. After filling out the name and email, click send. Nothing happened.

    Except for registration, everything else works perfectly.

    PS: I cannot redirect my bbp register to wp…and I wish to keep it in bbp. I want to know why it didn’t work, since other things worked well.

    Anyone has suggestion?

    Thanks!

    #72579
    bruinfelix
    Member

    The creators of bbPress, are putting their head in to the sand, the function most people wants (theme integration) isnt still available in bbPress, and that’s a big shame! ;)

    #4921
    john32
    Member

    Hey,

    I was wonder if anyone out there has cookie sharing between WP and bbPress working, has WordPress 2.7 (NOT 2.7.1) installed, is using bbPress 1.0-Alpha-6 and using the bbPress Integration 1.0-alpha-4.1 PLUGIN.

    Would it be possible for you to go in to the WP Admin section and under settings click on bbPress Integration. For the “Manual Cookie Settings” can you post what yours states?

    I’m trying to anrrow down a cookie sharing problem I’m having and this may be it.

    Mine says,

    define(‘COOKIEPATH’, ‘/’);

    but that’s under WP Admin. Under the bbPress Integration settings in the bbPress Admin section, it has this,

    define(‘COOKIEDOMAIN’ , ‘ ‘;

    define(‘COOKIEPATH’, ‘/forums/’);

    Shouldn’t they match or since, according to the pulgin site, my WP is 2.7.1 the plugin doesn’t work correctly since it only goes up to 2.7?

    Thanks for any help I can get.

    #72530

    HI _ck_,

    Yeah it was a typo.

    I know that functions can have things added to them and overwitten as your plugins prove, i’m not doubting that for a second, and i’m sorry if it came across that way. What i’m saying is that while i’m able to either overwrite or add to some functions, some i’m only able to add to, and some i’m not able to either add to nor overwrite.

    Now if that’s not a bug, then cool. Really cool! But i can’t see why that would be, and i’m hoping you can point me in the right direction. You’ve said countless times it works in the same way as wordpress plugins, but a google search of how to overwrite wordpress functions leads me to (see pages below). And the code supplied here works on every function i’ve tried (so far – 9 plugins in) except BB_GET_HEADER, BB_GET_FOOTER and POST_FORM. and i’m wondering why that is.

    I’m absolutely 100% cool with the fault being at my end, it would be a relief tbh, but with no documentation and no examples or other plugins that overwrite these functions i’m totally lost.

    Basically, typos and what pepole think i’m wanting do to aside, what i really want to know is this:

    What code do i have to write so that my function is called instead of the one hard coded into template-functions.php?

    Thank you so much.

    Edit: Websites i use as a plugin resource:

    http://www.catswhocode.com/blog/how-to-overwrite-wordpress-core-functions

    https://codex.wordpress.org/Plugin_API

    http://comox.textdrive.com/pipermail/wp-hackers/2008-February/018013.html

    #72529
    _ck_
    Participant

    I assume this is just a typo in your example and not what you are really using:

    add_filter('topic_pages', 'output_what_i_want, 11');

    because the quote should close before the 11

    add_filter('topic_pages', 'output_what_i_want', 11);

    There’s nothing wrong with the action or filter triggers in bbpress (only that there are not enough of them or in the right places). The code for that is taken right out of wordpress and works fine. My dozens of plugins kinda prove they all work.

    #72527

    HI _ck_,

    thanks for this. I’m not trying to stop something being called with an add_action, but i’m sorry if i didn’t phrase it well enough. What I have found is that i cannot either get an added filter nor an action to add to certain functions in BBpress. Thats the issue i’ve hit.

    Nor am i wanting dynamic theme’s, as your wonderful plugin covers that.

    My plugin does this:

    ON activation checks for wordpress integration.

    If wordpress integrated copies the header file form the wordpress template to a directory.

    Inserts BBcode Hooks into the new file.

    Now that bit works well and dandy; but what i want in this instance is to overwrite the function BB_GET_HEADER as it’s hardcoded in the template_functions.php file.

    So here is my question, how can i/we overwrite the BB_GET_HEADER function ?

    1) can we overwrite functions in the template-functions.php file?

    2) how?

    3) is there an example of this anywhere?

    I ask not to be pedantic, but because i think you answered my post based on what you think i’m trying to do with my plugin rather than the issue at hand – namely that i can over write some functions and not others.

    You are pretty much the authority on this, so i really appreciate any help insight you might have on how to overwrite the BB_GET_HEADER function. thank you!

    #72526
    _ck_
    Participant

    You need a basic understanding of filters vs actions in WordPress before you can get this done.

    You can’t replace anything via add_action(‘post_form’… because it’s an action and not a filter. Calling it as a filter doesn’t change the fact that the hook itself is an action.

    Filters give you the opportunity to change the data passed.

    Actions are just points in the processes that you can inject activity into, but you can’t change what was before or what is coming after. No data is passed to you, no data is taken from your activity.

    You cannot change forms this way on the fly, it’s impossible (unless maybe via javascript).

    If you want dynamic themes, start with my theme switcher plugin and find some way to keep track of what theme is used without cookies (maybe sessions instead).

    #72578
    Postmatic
    Member

    Hey Kevin,

    I need to do all 3. I have that database, user table, and cookies all nicely set up… but am trying to figure out the best way to tackle the theme.

    Thanks a lot for the code. I’ll try it out on Monday. Ya, I too hope we get an answer on that bug soon. Maybe something will move on it over the weekend.

    Fingers crossed,

    Jason

    #72581

    Hi PierrottorreiP,

    May i first suggest that the first step be to not do this sort of testing on a live environment?

    This is probably the way forward in my opinion:

    – Install them all on the same databse as your wordpress instal.

    – Use different table prefixes for each one.

    – Make people register on wordpress, with the redirect going back to the forum they came from.

    – Do a little dance.

    – Make a little love.

    Also, there’s not need to post a link to your site here man, if it’s not something wrong with a specific page we can see, it’s just a random link that’s not helpful.

    #72577

    Rather than using the crazy structure of BBpress’s header.php file – actually while i’m on that can i ask why BBpress DID NOT use the same div nesting as WP so that integration was simple? madness – if you use this one, your BBpress forum should automatically look 90% like it’s in your WordPress page if you use the default theme, default K2 or sandbox.

    You will have to tweak bits of course, this isn’t fool proof, but in terms of the basics, it makes life alot easier.

    I mentioned these changes back in October, so i’m used to the copying and pasting of them now as it doesn’t look like making thing easy for the end user is part of the goal here; hence the plugin. I too hope we get an answer on the bug soon :)

    #72353

    In reply to: Bulgarian translation

    Благодаря :)

    Когато излезе бета версия на 1.0 ще обновя и превода, засега остава на стабилната 0.9

    Колкото до конкретните преводи на някои думички – за нашите нужди звучи приемливо добре :) Променили сме и още някои нещица – сещам се за “Стил” вместо “Тема”(Theme), защото Topic също се превежда като “Тема” и става объркване. Макар, че сега влиза в разрез с превода на WordPress… може би трябва да стане “Тема”(Theme) и “Дискусия”(Topic)

    Може би трябва да се произнесе някой от комисията по стандартизация ;) (Н.Бачийски?)

    А знаеш ли какъв да подновим превода в официалното хранилище с този?

    #72576

    Hi Vernal,

    In terms of integration in a software sense, you have to answer yourself this:

    1) Do they need to look the same?

    2) Do I need shared login ?

    3) Do i need shared wordpress functions (menu, sidebar, otehr cool wordpress stuff) ?

    If you answered yes to 1) and no to 2) and 3) you only need to make your style sheets and HTML look similar and dont need any integration.

    If you answered yes to 1) and 2) and no to 3) then you should be able to use the latest alpha and latest wordpress and all should be fine. Personally, i’d not ouch with with a bargepole and i’d use BBpress 0.9 and WP 2.7.1 with _ck_’s Freshly Baked Cookies plugin (link coming up in a bit).

    If you answered yes to 1) 2) and 3) then you need to use Ann’s plugin (again link coming up).

    In terms of fixing your BBpress to integrate into your wordpress theme easily, that one is simple. Replace the code in your header.php file with this:

    <body id="<?php bb_location(); ?>">
    <div id="page">
    <div id="wrapper">
    <div id="header">
    <div id="headerimg">
    <h1 id="blog-title"><!-- PUT YOUR WP LINK HERE --></h1>
    <div id="blog-description">
    <div class="description">
    <!-- PUT YOUR WP DESCRIPTION HERE -->
    </div> <!-- #description -->
    </div> <!-- #blog-description -->
    </div> <!-- #headerimg -->

    <!--
    K2 USERS
    THIS IS WHERE YOU PUT YOUR MENU CODE
    -->
    </div>

    <div id="access">
    <div class="skip-link"><a href="#content" title="Skip to content">Skip to content</a></div>
    <div id="menu">
    <!--
    SANDBOX USERS:
    THIS IS WHERE YOU PUT YOUR MENU CODE
    -->
    </div>
    </div><!-- #access -->

    <div id="container">
    <div id="primary">
    <div id="current-content">
    <div id="content">
    <div id="post">
    <div id="main">

    <h1><a>"><?php bb_option('name'); ?></a></h1>
    <?php if ( bb_get_option('description') ) : ?><p class="description"><?php bb_option('description'); ?>
    <?php endif; ?>

    <?php login_form(); ?>

    <?php if ( is_bb_profile() ) profile_menu(); ?>

    #72575
    Postmatic
    Member

    Hey kevin,

    Thanks a lot for your great info. I hope that someone in the know picks up your request.

    In the meantime, is there anything you could point me to that will at least get me started in allowing some WordPress template tags to function from within bbpress? I’m using a shared database, 2.7.1, and the latest bb alpha.

    Does that still work?

    And of course, I ‘d love to hear more about your plugin if things get fixed up on it.

    Best,

    Jason

    #72574

    Hi Chris,

    I’ve actually made a plugin that makes theme integration between BBpress and WordPress an absolute breeze (one click!), but it used to require one of my customized baseline theme’s.

    Last week I converted it to work with any standard BBpress installation but alas hit some bugs in the BBpress core. I have posted about them, but have had no reply yet. You can find the post here: https://bbpress.org/forums/topic/overwriting-template-functions

    Basically all of my original customized themes have a far more usable div nesting in the header and footer, so that it matched 3 of the most common wordpress theme’s (standard, sandboz, K2); thus anyone loading up an integrated BBpress would see their own website styling/menus etc. While not 100% accurate, it saved me a great deal of time when customising.

    But then last week i converted this into a much better plugin. It reads the directory of the wordpress theme you are using and automatically outputs the WordPress theme’s header and footer files with the necessary BBpress code injected. It effectively encapsulates your BBpress forum inside wordpress pages for seemlesss moving around (basically like simpleforums).

    But the whole thing’s on pause until we can get answer to https://bbpress.org/forums/topic/overwriting-template-functions . On a side note, as someone who is attempting to build plugins for BBpress, getting answers to questions like these to help development is really difficult, and the standard answer of “read other plugins that’s how i learnt” really doesn’t help when you come up against something new. Maybe we should have a plugin developer section (as the current plugin section has become a request section)?

    #5035

    Hi All,

    Here’s my situation…

    I have installed 3 instances of bbPress on one WordPress blog. I want to keep them separate in case I need to scrap one – but I’d like to make them so if someone creates an account on one they are logged into all.

    I currently have them sharing cookies but not a database.

    What should my next step be?

    Thanks

    http://mcmxxii.com

    #71927

    In reply to: Instant Password

    _ck_,

    I might be missing something here –

    I just installed bbPress (0.9.0.4) on a different site and still get the same message with instant password. I don’t have bbPress and WordPress integrated.

    What could I be doing wrong?

    Here’s the link – just started building it live yesterday so not much action yet…

    http://mcmxxii.com/

    #72573
    chrishajer
    Participant

    There is no simple theme integration solution that I am aware of. Because bbPress is in a state of flux, many people are saving their energy for developing for it once 1.0 stable comes out.

    #5034
    Postmatic
    Member

    I’m using WordPress 2.7.1 and just installed the latest alpha of bbpress. Looking around I see lots of very old chatter about Themepress being the best solution for sharing a theme between the two products.. but it doesn’t seem to be available/work anymore.

    So what’s the latest? I’m going to make the assumption that someone picked up on themepress’s work and has come up with a solution to integrate WordPress and Bbpress themes. What’s the latest and greatest?

    Best,

    Jason

    #72554

    In reply to: Install help

    chrishajer
    Participant

    1. No you do not need WordPress

    2. You might. If you want to change the table prefix from bb_ or you need to tell the software that your database lives on a host different than localhost, then YES, you need to Show Advanced Settings. I think the host name is probably most likely.

    #5032

    Topic: Install help

    in forum Installation
    DTI
    Member

    I take some days to install the bbpress forum software and still can’t pass step 1.

    I have checked many topics at “install”, “installation” and “config.php” etc. in FORUMS and try it.

    After read these topics, I was confused.

    1. If I only need forum and don’t need blog. Do I need install WordPress?

    2. Do I need to fill the Show Advanced Setting in step 1? I checked the bb-config-sample.php file, it prompt “If you are installing for the first time, leave them here.”

    #59343

    In reply to: Adding a new User Type

    steveg190
    Member

    I’ve tried using fel64’s method above but I’m not able to make it work at all, so I thought I would try something different. Since he mentioned using the $bb_roles->add_role() that already exists in functions.bb-capabilites.php I thought I could work with that. Bascially, I want to put my own additions and modified base roles (aside from admin and keymaster, obviously) into a plugin that replaces the existing roles function. I’ve sucessfuly done this via a dirty hack of the core file but I’d really love to migrate my changes to a plugin.

    Is it not possible to just do bascially a copy-paste of the bb_init_roles function from functions.bb-capabilites.php, rename it, make new roles and modify existing ones, then use something like add_filter('init_roles','my_bb_init_roles') to hook it to init_roles? Obviously I’m a complete noob to this since my attempts are completely failing and what I know is just scraped together from looking at other plugins and some limited reading on making WordPress plugins. Any assistance here would be greatly appreciated.

Viewing 25 results - 21,676 through 21,700 (of 26,846 total)
Skip to toolbar