Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,651 through 59,675 (of 64,418 total)
  • Author
    Search Results
  • #2443
    brickit
    Member

    I’m trying to install BBpress on my website, yet I don’t know what to do for the localhost bit in the config file. Can you help me?

    #2441
    stuzog
    Participant

    I’ve just installed bbPress 0.8.3 in /forums/ in WordPress 2.3, but when I click on a user name or profile to inspect or edit, I’m taken back to the front page of the blog.

    Hovering over the link shows [blog URL]/forums/profile/[user name]. Hovering over the Edit link gives [blog URL]/forums/profile/[user name]/edit.

    Other than that, it seems to be working, although I haven’t tested it fully.

    #60900
    chrishajer
    Participant

    Sounds similar to this problem:

    https://bbpress.org/forums/topic/intergration-will-not-let-me-logon-using-my-wordpress-login?replies=6

    Maybe it’s a bug? I don’t see a trac ticket for it.

    #60834
    chrishajer
    Participant

    Maybe the restrict registration plugin would help:

    https://bbpress.org/plugins/topic/44?replies=3

    Or even this admin add user plugin:

    https://bbpress.org/plugins/topic/29?replies=3

    Or this approach:

    https://bbpress.org/forums/topic/fight-against-auto-register-robot?replies=1#post-3431

    Or this:

    https://bbpress.org/forums/topic/registration-spam-038-akismet?replies=7#post-6274

    I have never had a spam comment posted, but I get lots of spammers who register. I just nuke them every couple of days.

    #2439
    pwdrskier4
    Member

    I have added:

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

    to my bbPress config file to allow bbPress to have access to wordpress functions. Now I want to do the reverse and add access to bbPress functions in WordPress. Is there a similar easy way to do this?

    lasir
    Member

    I am getting this error at my site.

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘thechamp’@’localhost’ (using password: NO) in /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php on line 80

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php on line 80

    Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/thechamp/public_html/bbpress/bb-includes/db-mysqli.php:80) in /home/thechamp/public_html/bbpress/bb-includes/pluggable.php on line 164

    heres my config file

    <?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    // 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://idjam.com/bbpress/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Support Forums’;

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

    $bb->admin_email = ‘*********’;

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

    // 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 = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

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

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

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #2437
    monickels
    Member

    I want even tighter integration: I’d like the blog and the forums to share the same comments, or at least duplicate them, so that a comment in one place appears in the other place. Has anyone done anything like this? The bbPress Post plugin isn’t really doing it: all it does is make a new topic appear in the forum, but the comments are not shared and vice-versa isn’t possible, where a new topic in the forum creates a new blog post.

    #2435
    ryu
    Member

    I’m trying to edit the new topic template, but am running into some difficulty. Its fine if the user selects a forum, then selects new topic. However if the user clicks to add a new topic from the forum root the template thats called is a shared include file, not a template itself, so i can’t edit it to fit my design properly without it effecting other areas of the site.

    Is there a function to see if this file is called directly or within another template so i can target the styling if the page is called on its own?

    I had a bit more detailed diagnositics but have only just come back to this project after a while out, so dont’ have it to hand but this is the URL its calling:

    bbpress/?new=1

    Any ideas?

    #60744
    Trent Adams
    Member

    Sorry about that folks! It is back online obviously! :)

    #60792

    In reply to: WordPress Integration

    wrsantiago
    Member

    Ok I changed all the info and when I reload the page is going to the installer. Would this affect my blog if I install bbpress in the same database.

    I know this are newbie questions but trust me I am working very hard on getting better I have big plans and maybe one day I will be troubleshooting a newbie.

    Thanks in advance

    #60791

    In reply to: WordPress Integration

    wrsantiago
    Member

    So technically I dont need the bbpress database? I just have to use the wordpress database for the blog and the forum?

    #60790

    In reply to: WordPress Integration

    It sounds like like your WordPress tables are in a different database (with a different database name and password).

    bbPress can handle that situation too, but you need to help it a bit more. You need to define:

    USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST.

    (with your WordPress database name, username, password, and host, respectively) just like you defined the regular BBDB_ database settings.

    #60823

    In reply to: Trouble Logging Out

    rudyc
    Member

    Sam, I do have a question for you, however. How does one install Akismet to bbPress? I’ve had no luck.

    #60820

    In reply to: Trouble Logging Out

    Sam Bauers
    Participant

    What version of bbPress?

    #2432
    rudyc
    Member

    I’ve just installed bbPress for the first time at http://rudycarrera.com/bbpress, and it looks like it’ll be a fun program to use. However, I received this strange error message when trying to log out:

    bbPress database error: [Table ‘rudycar4_bb.bb_online’ doesn’t exist]

    SELECT * FROM bb_online WHERE user_id = 1 LIMIT 1

    Warning: Cannot modify header information – headers already sent by (output started at /home/rudycar4/public_html/bbpress/bb-includes/db-mysqli.php:158) in /home/rudycar4/public_html/bbpress/bb-includes/pluggable.php on line 168

    How do I fix that?!

    #2430
    #2429
    andorko
    Member

    bbPress is installed in /forums and WPMU is installed in /blogs .

    The cookie and database integration works fine.

    I am able to access bbPress functions from within WPMU by adding this to the end of /blogs/wp-config.php

    // Include bbPress functions in WPMU

    define('WP_BB', true); // Avoid duplicate function declarations

    require_once( ABSPATH . '../forums/bb-load.php');

    I’m trying to add WPMU functions to bbPress. I’ve tried adding this to the beginning of /forums/config.php . I’ve also tried putting this in the beginning of the file.

    require_once( dirname(__FILE__) . '/../blogs/wp-blog-header.php')

    When I go to /forums/ I’m redirected to the WPMU sign up page (/blogs/wp-signup.php?new=%2F).

    I’ve also created a simple file ( /test.php ) and tried to integrate it with wpmu. It it also redirected to the WPMU sign up page.

    Test Start

    <?php

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

    ?>

    Test End

    Do I need to create a WPMU rewrite rule in the wp_1_options rewrite rulerecord? There shouldn’t be any need for an .htaccess rewrite rule since /forums and /blogs are not in subfolders of either.

    Any ideas how to make this work?

    #60757

    In reply to: PHPBB3 Converstion

    flippy
    Member

    I agree with u. I also need a converter for my phpbb forum. There is one for phpbb2, but it’s not working with bbpress 0.8.2.1 I mean https://bbpress.org/forums/topic/importing-from-phpbb?replies=26.

    #60803

    In reply to: Simple registration

    chrishajer
    Participant

    There was talk a while ago of servers that would not send email, so there was a way to display the password:

    Users dont receive password after registration

    A lot of that discussion was specifically to get around not emailing the password, it displays it instead. It’s not exactly what you need, but maybe the approach could be the same. You could still require username and email, but then their password would be displayed instead of emailed.

    I think also maybe you underestimate your users. The password arrives via email in less than a minute usually. If they can’t hang around for that, why would they hang around on a forum at all?

    HTH

    #60787

    In reply to: WordPress Integration

    wrsantiago
    Member

    I think maybe I need to do this but I dont know how

    bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).

    #2424
    wrsantiago
    Member

    I am trying to make my wordpress blog integrate with bbpress but I think their might be a problem. I have two wordpress blogs in my webserver so maybe bbpress dont know with table to look.

    This is if I log in first in bbpress without login in the blog

    bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND SUBSTRING_INDEX( user_pass, ‘—‘, 1 ) = ‘fb756366af4998835a845e97addc3a3b’

    bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’

    Log in Failed

    This is if I log in to the blog first and then go to the bbpress

    bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44’

    bbPress database error: [Table ‘libreexp_bbpress.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44’

    This is my conf file

    // 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://macuserboricua.com&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

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

    Help please I would love to mac this two work together

    #60749
    chanzero
    Member

    Thanks for your response chrishajer. You made me realize I had put the quicktags-4-bbpress folder in /my-plugins/ instead of putting the files themselves in /my-plugins/. (Although in my defense, I was just following the instructions of the readme included with the plugin). Just moving them directly to /my-plugins/ didn’t fix anything.

    Since BBpress plugin DB seems to be down I decided to download the plugin from 40annibuttati.it and uploading those files fixed my problem. So maybe bbpress DB has a different (wrong?) file? Anyway, this is what worked for me:

    Comment Quicktag 4 bbPress Plugin

    Thanks again!

    #2423

    We are excited about the possibility of converting from PHPBB3 to BBPress. However all the discussions about conversion seem to surround previous versions of PHPBB. Am I missing an appropriate thread? Does anyone have any suggestions?

    Does anyone know if somebody may be working on this?

    Thanks

    #60754
    chrishajer
    Participant

    > Where it says “$bb->wp_table_prefix” – where do I find

    > the prefix?

    It would be listed in your WordPress wp-config.php – by default, it’s wp_

    > $bb->wp_home & $bb->wp_siteurl – that is just my

    > site url only, nothing more – http://www.blah.com

    That’s fine, no trailing slash.

    > Once I do the above how to I make the forum part of

    > wordpress, will it automtically look like this forum?

    Nope – it’s an independent application that you need to style to get it to look like your WP site.

    Search for threads tagged “integration”:

    https://bbpress.org/forums/tags/integration

    This was a good summary I thought:

    http://www.adityanaik.com/integratepress-part-i/

    #55810
    Detective
    Member

    I use this plugin ported from a Vanilla Extension:

    <?php
    /*
    Plugin Name: Video Tags
    Plugin URI: http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=33
    Description: Ported from SirNot's HtmlFormatter for Vanilla
    Author URI:
    Version: 0.1
    */

    //allow youtube and google videos to be posted, tags are:
    //<video type="google">docid</video> (google video) -or-
    //<video type="youtube">video id</video> (youtube) -or-

    function video_embed($texto){
    $sReturn = preg_replace_callback(
    '/<video(?>s+)type=(["'

    ])((?>w+))1(?>s*)>([A-Za-z-_d]+?)</video>/is’,

    ‘VideoLink’,

    $texto

    );

    return $sReturn;

    }

    function VideoLink($Matches)

    {

    $Type = strtolower(trim($Matches[2]));

    $ID = $Matches[3];

    switch($Type)

    {

    case ‘google’ : return (‘<embed style=”width: 400px; height: 326px;” id=”VideoPlayback” ‘.

    ‘type=”application/x-shockwave-flash” src=”http://video.google.com/googleplayer.swf?docId=&#8217;.$ID.'”></embed>’);

    case ‘youtube’ : return (‘<object width=”425″ height=”350″><param name=”movie” value=”http://www.youtube.com/v/&#8217;.$ID.'”></param>’.

    ‘<embed src=”http://www.youtube.com/v/&#8217;.$ID.'” type=”application/x-shockwave-flash” width=”425″ height=”350″></embed>’.

    ‘</object>’);

    default : return $Matches[0];

    }

    }

    function allow_video_tags( $tags ) {

    $tags = array(‘type’ => array(‘maxlen’ => 10));

    return $tags;

    }

    add_filter( ‘bb_allowed_tags’, ‘allow_video_tags’ );

    add_filter( ‘post_text’, ‘video_embed’ );

    ?>

    `

    It allows you to embed video only from YT or Google Video.

Viewing 25 results - 59,651 through 59,675 (of 64,418 total)
Skip to toolbar