Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,501 through 25,525 (of 26,677 total)
  • Author
    Search Results
  • #57435
    davidbaldiwn
    Member

    Anouther stuipd question:

    How do I make the title update to the appropriate page?

    When in WordPress the title in the browsers “title bar” is updated with the title of the particular post. In bbPress this isn’t happening. I’m assuming this has to do with the header change, but this topic has the correct title in the titlebar, so there must be some way to fix it.

    If Google didn’t exist I wouldn’t care…

    -Baldwin

    #57564
    c00l2sv
    Member

    Thanks for comments guys, I was just wondering how are the things going in bbPress camp, by the way I suppose the paying attention to this project is growing day by day so I can wish you nothing but luck… Ooh, and thanks of course.

    #57434
    davidbaldiwn
    Member

    snakefoot, Thanks!

    I fell kinda stupid, I moved this up to the top and now it works!

    $bb->WP_BB = true;
    require_once( '../wp-blog-header.php' );

    It still dosn’t work with an absolute path, which means this meathod dosn’t work for subdomains.

    Now that the header and footer work, I’ll follow the rest of vilimaunula’s steps to see if I can get this looking better…

    Thanks for helping a nooob!

    -Baldwin

    #57433
    snakefoot
    Member

    Remember that the include of wp-blog-header.php should happen in the beginning of the config.php file.

    #57563
    Trent Adams
    Member

    Our TRAC development has come to a grinding halt, so I can assume that mdawaffe has been crazy busy on other Automattic projects and we went to the backburner! So10 and Sam might be working on things, but we haven’t had any commits in almost a month…..hopefully soon!

    Trent

    #57432
    davidbaldiwn
    Member

    I changed my config file to this:

    $bb->WP_BB = true;
    require_once( '../wp-blog-header.php' );

    and to this:

    $bb->WP_BB = true;
    if (file_exists('../wp-blog-header.php'))
    require_once('../wp-blog-header.php');
    else
    if (file_exists('../../wp-blog-header.php'))
    require_once('../../wp-blog-header.php');

    and in either instance I still recieve this error:

    Fatal error: Cannot redeclare is_serialized() (previously declared in /home/turner/public_html/ppacp/forums/bb-includes/wp-functions.php:976) in /home/turner/public_html/ppacp/wp-includes/functions.php on line 165

    Thanks for the help!

    -Baldwin

    http://www.ppacp.org/forums/

    #57431
    fel64
    Member

    Baldwin, looks like your second error is a good error because it’s loading! I believe that the problem is that WP and BB are not set up to synchronise. Have you got this in your config.php?

    $bb->WP_BB = true;
    require_once( '../wp-blog-header.php' );

    #57430
    snakefoot
    Member

    This is probably a nasty hack, and I hope a better solution comes around soon:

    if (file_exists(‘../wp-blog-header.php’))

    require_once(‘../wp-blog-header.php’);

    else

    if (file_exists(‘../../wp-blog-header.php’))

    require_once(‘../../wp-blog-header.php’);

    Fixed my wp-blog-header when in the root and when in bb-admin.

    *Edit* Weird cannot seem to get the markup tags to work, why not use standard html tags like in wordpress instead of backticks (‘, ยด, `) too much confusion and none of them works.

    #57429
    davidbaldiwn
    Member

    I tryed just about everything, and I kept getting this error:

    Warning: main(home/turner/public_html/ppacp/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/turner/public_html/ppacp/forums/config.php on line 62

    Fatal error: main() [function.require]: Failed opening required ‘home/turner/public_html/ppacp/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/turner/public_html/ppacp/forums/config.php on line 62

    So, I changed the location to this:

    require_once('../wp-blog-header.php');

    and now I get this error (something different, yay!):

    Fatal error: Cannot redeclare is_serialized() (previously declared in /home/turner/public_html/ppacp/forums/bb-includes/wp-functions.php:976) in /home/turner/public_html/ppacp/wp-includes/functions.php on line 165

    I’m not an expert, but I think the former worked, but that there’s something else wrong.

    Thanks for your help!

    -Baldwin

    #57428
    fel64
    Member

    Yes! In many cases using a relative path is essential to the require and include functions.

    Maybe it’s like this? You’ll know what I mean, anyway.

    /home/turner/public_html/wordpress/wp-blog-header.php

    #57427
    davidbaldiwn
    Member

    Mine looks like this:

    require_once('http://ppacp.org/wp-blog-header.php');

    am I supposed to use a relative path?

    Thank you,

    -Baldwin

    #57765
    M
    Member

    I find it a bit insulting that all I get is Google links. Don’t get me wrong… for most people who don’t search the forums that’s a great solution. I have searched the forums and Google extensively however, and I’m not seeing a whole lot of helpful stuff when it comes to WordPress’s custom wpAjax class. I’ve gone over prototype tutorials, documentation pages, and more and I haven’t found a solution.

    Also, please explain yourself a little further regarding your “function call” comment. Are you referring to commodAjax.request(commodAjax.url);? Because I believe that’s correct. At least that’s how other people have been doing it. If you’re talking about alert(commodAjax.responseText); that was for debug purposes only. I’m trying to get the value. That’s my original request.

    #57426
    Vili
    Participant

    Just to make sure, you don’t actually use “require_once(‘path/to/wp-blog-header.php’);”, but rather have the “path/to/” bit modified to correspond with the correct folder path to your WordPress installation, right?

    As far as I can see (and I am no real coder, either), somehow your current setup still fails to connect to WordPress, and therefore the WP functions, including get_header, are unavailable to bbPress.

    #57425
    davidbaldiwn
    Member

    vilimaunula, I used your method or replacing the <?php bb_get_header(); ?> and bb_get_footer. I am not a php buff by any means, but now I am reciving this error:

    Fatal error: Call to undefined function: get_header() in /home/turner/public_html/forums/bb-templates/kakumei/front-page.php on line 1

    Line 1 is the line I replaced, I’m just wondering why it has a promblem with it. I made sure I had the

    require_once(‘path/to/wp-blog-header.php’);

    set in my config.php.

    The only thing I might be doing differently, is that I have my bbpress in a sub-domain. I also tryed installing in a folder on primary domain, and I ran into the same problem.

    I’m using the Subte “Subvert” theme:

    http://www.gluedideas.com/

    Any ideas?

    -Baldwin

    #57716
    Vili
    Participant

    I would personally prefer to have a completely new profile page, not just a revamped bbPress one. The ultimate solution would of course be to allow the admin to choose whether to use the WordPress, bbPress or completely new page for user profiles. But that would again make the whole thing even more complicated.

    It’s a good point about redirection — the plugin should indeed make sure that all links to profile pages would go to the one set by the admin as the one to be used. (Whether WordPress, bbPress, or a totally separate page.)

    #57651
    djuggler
    Member

    How’d I overlook this?!

    From https://bbpress.org/documentation/integration-with-wordpress/

    If you would like to pull user information from a different database, define USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST.

    #57650
    djuggler
    Member

    My dbs are limited to 100MB and I’ve watched a spam attack add 20-40MB in a heartbeat on WordPress alone. Granted part of the solution is having SpamKarma purge more frequently.

    I was concerned that if I added bbpress to the same database, and if it received any significant traffic, that I would find myself faced with running out of space in my database.

    Naturally, the solution seems to be to have wordpress and bbpress use two separate databases but pull user information from the wordpress db. (Or find a hosting provider that doesn’t limit the db size to 100mb)

    #57715
    howtogeek
    Member

    I’ve been struggling with exactly the same problem myself.

    I tend to think that the bbPress profile is the correct place to store and edit this information. Here’s what I see as the requirements:

    1) Plugin for WordPress to redirect the “Profile Edit” link to the bbPress profile edit screen, as well as link the profile view to the bbPress profile view.

    2) Plugin for bbPress to allow for editing of WordPress profile fields as well as a customizable list of new/extra fields. I believe that there is a plugin that does at least part of this already.

    3) The bbPress plugin would need to either know about WordPress settings like notifications, or would need to run the wordpress plugin filters that apply to profile edit. I’m not sure that the latter would be easy.

    #1873
    Vili
    Participant

    If you have integrated your bbPress with WordPress, you must have at least once thought about the problem of your users having two separate interfaces for modifying their profile settings.

    Furthermore, if your bbPress and WordPress both use a good deal of plugins, you end up with a situation where some settings (say, email notifications for new WordPress posts) have to be set on a WordPress profile page, whereas other settings (for example email notifications for new forum topics or replies) must be set through the bbPress interface. This will confuse your average user so much that they will simply not use any of your website’s fancy features at all.

    It would therefore be good to have just one user profile page that would merge everything from the two together. Preferably, this should also be a page that could be displayed within the website template, so that it would really look like being part of the website, and not behind a completely different-looking interface as is the case with WordPress user pages. (Those also scare people.)

    Would this be doable?

    I am personally not much of a coder, so I don’t know all the details of what is going on when the WordPress and bbPress profile pages get served, and how various plugins get to modify that process by adding new fields and buttons on those pages.

    I assume, however, that the most difficult thing for a “one profile page to rule them all” sort of an approach that I am thinking about here would be to keep track of additions to those profile pages. It should somehow be able to notice that some new bbPress or WordPress plugin has modified one of those user profile pages, and incorporate those changes to the merged profile page that is actually displayed to the end user.

    I would love to hear some input from those of you who know more than I do about the behind-the-scenes activity when it comes to user profiles in bbPress and WordPress. What do you think, how difficult would a plugin like this be to code?

    #1874
    maphew
    Member

    Hi All,

    When I go to “bbpress dashboard > Content > Akismet Spam” I’m told “The API key you have specified is invalid. Please double check the $bb->akismet_key variable in your config.php file. If you don’t have an API key yet, you can get one at WordPress.com.”

    Which I’ve checked and double-checked. I’m positive I’m putting the same string in that I see when I login to http://wordpress.com/profile/

    When I check my wordpress blog, running on a different host and different domain from bbpress, the same key is there and wp reports the akismet plugin is working.

    Another post from 6 months ago said replacing single quotes with double quotes in config.php fixed the problem for them. Doesn’t work for me though. http://bbpress.org/forums/topic/146?replies=4

    I’m running bbpress 0.8.1 on Sourceforge.net.

    Any ideas what’s wrong?

    thanks!

    -matt

    #57517
    tecfre
    Member

    finally i was able to do it myself .. hehehe :D … Still more things need to be added. it was all from avatar_upload plugin and memberlist plugin. I just tried to modified some code and it worked …

    :-D

    check out

    http://www.tecfre.com/memberlist/ (hosted on wordpress)

    http://www.tecfre.com/forum/mlist.php (on forum)

    davidbaldiwn
    Member

    This is what the config file looks like:

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘turner_wrdp3’); // The name of the database

    define(‘BBDB_USER’, ‘***********’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘*****************’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://forums.ppacp.org&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Professional Photographers Againsts Copying Photographs’;

    // This must be set before running the install script.

    $bb->admin_email = ‘*********@ppacp.org’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -4;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘*************’; // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://ppacp.org&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://ppacp.org&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    davidbaldiwn
    Member

    Are you supposed to install bbPress with the same or different Database information as WordPress?

    I want to integrate the two, so I used the same database information as wordpress.

    When I try to run the install, I get this error:

    “Fatal error: Call to undefined function: bb_install_header() in /home/turner/public_html/forums/bb-admin/install.php on line 11”

    Any ideas?

    #56978
    Vili
    Participant

    Hmm. Actually, the code that I copy-pasted from the above seems to be different from what I have on my hard drive. At least a number of “<p>” tags appear to be missing.

    #56977
    Vili
    Participant

    There’s something odd there, as the code is 193 lines long, i.e. the line 193 includes only “?>”.

    Anyway, I’ll send you the code in a sec by email.

Viewing 25 results - 25,501 through 25,525 (of 26,677 total)
Skip to toolbar