Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,126 through 25,150 (of 26,844 total)
  • Author
    Search Results
  • #2324
    burke
    Member

    On install and trying to log in, the following warnings show up:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/29/d160486511/htdocs/forum01/config.php:60) in /homepages/29/d160486511/htdocs/forum01/bb-admin/install.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/29/d160486511/htdocs/forum01/config.php:60) in /homepages/29/d160486511/htdocs/forum01/bb-includes/functions.php on line 1833

    Tried clearing out the DB and reinstalling, to no avail. Any help is appreciated.

    config.php:

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘host’); // 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!

    // The full URL of your bbPress install

    $bb->uri = ‘http://aicetoo.org/forum01/’;

    // What are you going to call me?

    $bb->name = ‘Committee’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘burke@aice.org’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based 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 it as it is.

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

    $bb->wp_home = ”; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’

    $bb->wp_siteurl = ”; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #2319
    _ck_
    Participant

    I couldn’t find anyone who made a bbPress theme switcher (not a style switch, but the entire template) so I modified (somewhat deeply) one from WordPress last night. Took some research and testing!

    I’ve added it here, you can see the dropdown at the very bottom right:

    http://bbshowcase.org/forums/

    (if you are willing to edit all your themes you can put the dropdown anywhere, otherwise it will default to that location on each theme automagically – a new feature!)

    So give me your themes and I’ll add them to the list to see if I can find the bbPress breaking point…

    #60281
    chrishajer
    Participant

    I use a similar setup with the root folder of my domain as wordpress, then a subfolder for bbpress. So I have:

    http://www.domain.com/

    http://www.domain.com/bbpress

    In my WordPress Control panel under options, both URLs are set to http://www.domain.com with no trailing slash. I noticed in your config this URL has a trailing slash:

    $bb->wp_home = 'http://www.subventions.fr/';

    Maybe that is causing a problem?

    #60280
    adriengeille
    Member

    in fact in wordpress you can set the home page in a different directory as the wordpress folder. That’s what i did. I installed wordpress in the wordpress folder but the homepage (index.php) is in the root directory.

    As soon as i change it and put the address back to wordpress…. i loose all templates with the design…

    The same way i’ve created a folder forum and uploaded the installation files of bbpress into it. Th’ats why i said

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.subventions.fr/forum/’;

    I tried to change the last part with my wordpress address by deleting wordpress as you recommended but it still doesn’t work but definitely it seems it comes from my wordpress setup… but what can i do?

    #60279
    chrishajer
    Participant

    In fact, in the source of your WordPress site, there are a bunch of links that result in a 404, and they all have wordpress in the URL.

    404 Page Not Found:

    http://subventions.fr/wordpress/

    So, in your WordPress control panel, I suppose this could be wrong:

    Options->General: WordPress address (URL)

    I think your problems exist with the WordPress setup, and they are showing up now with bbPress integration.

    #60278
    chrishajer
    Participant

    This does not appear to be correct:

    $bb->wp_siteurl = 'http://www.subventions.fr/wordpress';

    Your wordpress site comes up at http://www.subventions.fr/ so the wordpress part is superfluous. I think you’ve got a path problem somewhere. Normally you install bbPress like this:

    /var/www/subventions/wordpress/

    maps to http://www.subventions.fr/

    /var/www/subventions/wordpress/forum/

    maps to http://www.subventions.fr/forum/

    forum is a subdirectory of wordpress in a typical integrated setup. Is that your setup? If so, then your config is wrong.

    #60277
    adriengeille
    Member

    ok here is my config.php file

    <?php

    define(‘DB_NAME’, ‘xxx’); // Le nom de la base de donnees

    define(‘DB_USER’, ‘xxx’); // Votre identifiant MySQL

    define(‘DB_PASSWORD’, ‘xxx’); // …et votre mot de passe

    define(‘DB_HOST’, ‘localhost’); // Dans la plupart des cas, vous n’aurez pas a modifier cette ligne

    // Vous pouvez faire plusieurs installation sur une meme base de donnees en leur donnant un prefixe unique

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

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

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.subventions.fr/forum/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Le forum des subventions aux entreprises’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘webmaster@subventions.fr’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = ‘slugs’;

    // 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 = -2;

    // 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 = ‘xxx’; // Example: ‘0123456789ab’

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

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

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

    $bb->wp_home = ‘http://www.subventions.fr/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.subventions.fr/wordpress&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    $bb->cookiepath = ‘/’;

    $bb->cookiedomain = ‘.subventions.fr’;

    define(‘WP_BB’, true);

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

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #60306

    In reply to: Rewriting up one level

    Sam Bauers
    Participant

    Add this to your sites root directory .htaccess file.

    This assumes that your bbPress install is in a subdirectory of your sites root called “forums”.

    These rules need to be added before any WordPress rules.

    The rewrite will work, but bb_repermalink() will change the URL so that it appears as it normally would.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^users/([^/]+)/page/([0-9]+)/?$ /forums/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^users/([^/]+)/([^/]+)/?$ /forums/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^users/([^/]+)/([^/]+)/page/([0-9]+)/?$ /forums/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^users/([^/]+)/?$ /forums/profile.php?id=$1 [L,QSA]
    </IfModule>

    #60310
    _ck_
    Participant
    #60315
    _ck_
    Participant
    #2313
    PetLvr
    Member

    Can someone please advise what my .htaccess should me?

    I have a blog – http://PetLvr.com/blog/ – and this is the .htaccess

    ‘php_value upload_max_filesize 2M

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /blog/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /blog/index.php [L]

    </IfModule>

    # END WordPress

    I have installed the bbPress at – http://PetLvr.com/blog/forum/

    Everytime I try to post or even see the welcome 1st post, it redirects to the /blog/ front page.

    What needs to be done?

    Thanks!

    HART

    #2312
    kboan23
    Member

    Hello,

    I need a little help, if possible. I am trying to integrate a WordPress blog with BBpress. I have placed BBpress in a subdirectory of WordPress and followed the instructions for sharing cookies. But still, when I go back and forth, I have to continually re-log in to each site.

    When I look at my cookies, they are definitely not the same. For the blog I get this (and one other similar one)

    wordpressuser_b458245343e06b7fa7cd00d37af29401

    For the BBpress, I get this (and one other similar one).

    wordpressuser_4e7fbe834162925f74c6c2e053468ef6

    Any ideas as to what I could have possibly done wrong?

    Thanks,

    Kay

    #2309
    lecolibri
    Member

    I have BB en WP sharing the same database, but loggin in/out is only possible through WP…

    The configuration is as follows:

    WordPress address: http://www.some-directory

    Blog address: http://www.some-directory/blog

    BBPress is installed in:

    http://www.some-directory/discussions

    Of course, $bb->wp_siteurl and $bb->wp_home are set correctly.

    Stange thins is, that when I use a trailing slash after the $bb->wp_siteurl address, I can logout once via BB, but the logout only affects BB and not WP. Furthermore, logging in again is still impossible from within BB.

    Might it be, that I need to set some cookie paths?

    Thanks,

    robert.

    #60254
    _ck_
    Participant

    Ugh sorry.

    I will have to create a bunch of fake posts to try to test a similar environment.

    Because of the way bbpress calculates those pages, this is a very tricky process (also a very annoying process).

    If all you are trying to affect is just the front page, there is a direct hack for the core you can do which should not affect any other page and allow all other plugins to work properly.

    https://bbpress.org/plugins/topic/3?replies=15#post-346

    In theory it will work better than any other plugin method.

    I’ve got my hands full right now working on an advanced user tracking program to replace simple onlinelist that works across wordpress+bbpress.

    #60251
    _ck_
    Participant

    Okay I think I have a workaround.

    Try this.

    http://ckon.wordpress.com/files/2007/08/change_topics_per_page.txt?v002

    Don’t really have a way to test, so you’ll have to let me know. You’ll have to re-edit the limits at the top, sorry.

    #60290

    In reply to: Akismet key id

    chrishajer
    Participant

    RonJRoy, bbPress and WordPress are not really related, and a wordpress.com login is necessary just for the Akismet key. The login for bbPress does not work at wordpress.com.

    One thing I always thought was weird though is that the wordpress.com login works for trac.bbpress.org.

    Glad you got it sorted. Since this is beta software, there are going to be some questions, and there are always people around to help.

    #60247
    _ck_
    Participant

    Let’s start with are you using front-page-topics? ;-)

    If so, deactivate/delete it and then download this:

    http://ckon.wordpress.com/files/2007/08/change_topics_per_page.txt

    edit the limits per page near the top as desired

    rename .txt to .php

    install and activate it

    Null
    Member

    I think they are, the also switching enirely to jQuery with wordPress (I believe). I also think it’s better to switch and ditch prototype.

    #60296
    _ck_
    Participant

    You probably have an incomplete WordPress+bbPress integration.

    Go through the steps here and see what you missed:

    https://bbpress.org/forums/topic/user-intregation-between-wordpress-038-bbpress-not-work?replies=7#post-10428

    I bet it’s the cookies not being set to the same location.

    _ck_
    Participant

    jQuery is really nearly 60k – if you use the 20k version it has to unpack itself on the visitors broswer everytime a page is loaded. Better to use unpacked version and gzip web compression instead.

    It’s the same size as prototype but smaller in use when you consider prototype needs other libraries to do other functions that jquery has built in.

    When again is bbPress switching to jQuery?

    Or is this just a rumour?

    Apparently WordPress has ditched the last scraps of prototype from the admin panel this very week:

    https://trac.wordpress.org/ticket/3824#comment:25

    #60289

    In reply to: Akismet key id

    Sam Bauers
    Participant

    Did you not see this?

    From config.php:

    // 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'

    #60287

    In reply to: Akismet key id

    benbeltran
    Member

    login to wordpress.com, go to your dashboard, click on profile (or My Account) and you should see “Your wordpress.com API Key is: ” followed by the key

    got it from: http://faq.wordpress.com/2005/10/19/api-key/

    #56052
    w3creativa
    Member

    Hi Ganzua, Thanks for taking the time to explain this to me. I believe, as you say, that it is not the best solution but, apparently, the only one at the moment (?).

    I wonder how did other users managed to translate their integrated bbpress.

    Thanks again!

    #59509
    _ck_
    Participant

    Unless you are editing wp-config.php directly, you do need to adjust the wordpress cookies somehow. Otherwise they point at the wordpress directory and not the web root.

    There is a typo in his plugin url, this is the correct url:

    http://www.2diabolos.com/blog/wp-content/uploads/_setCookieParams.zip

    #56051
    ganzua
    Member

    “hi, I have the same problem. Has anyone found a way to integrate and change the language without errors?”

    I managed to translate a wp-bb integration but I don’t know if you are going to like my workaround;

    1. edit bbpress config.php and in define language section point to your wp language file with this code; ‘ define(‘BBLANGDIR’, ‘wp-includes/languages/es_ES.mo’); ‘ (change es_ES.mo for the name of your language .mo file)

    2. edit wp language .po file and insert there your bbpress .po file. In other words, copy/paste all bbpress entries at the end of wp .mo file

    3. Open with poedit and try to save this modifed file. You’re going to have +-100 duplicated entries in an error log. Delete all duplicated entries, one by one, so you can save.

    4. When you save with poedit you produce 2 files; .po file and a .mo file. This .mo file is the one you want. Now you have translated both; wp and bbpress with just one .mo file.

    I do know that this workaround implies a lot of future problems and I don’t like it at all but I didn’t find any other way.

    I hope someday bbpress will appear as a plugin for wordpress.

Viewing 25 results - 25,126 through 25,150 (of 26,844 total)
Skip to toolbar