Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 64,001 through 64,025 (of 64,152 total)
  • Author
    Search Results
  • #50081
    Atsutane
    Member

    Thanks :) It work now

    #50179
    Atsutane
    Member

    if i not mistake line 20 should be this ..

    $bb->name = ‘New bbPress Site’;

    Try to make sure u write it correctly without leaving any syntax.

    #50178
    kannued
    Participant

    And I did use this site for my installation and integration.

    http://www.devlounge.net/articles/the-ultimate-bbpress-guide

    #737
    kannued
    Participant

    Hello

    I had WP working. Then I installed bbpress into WP as a sub directory of WP.

    ie. /wp/bbpress

    I filled out the config.php file. But I get the following error:

    Parse error: syntax error, unexpected T_STRING in /wp/bbpress/config.php on line 20

    Line 20 appears to be this:

    $bb->path = ‘/wp/bbpress/’;

    So what could I be doing wrong?

    kannued

    #50173

    mdawaffe,

    thanks for your quick reply. the date I were downloading is about March 7 2006.

    Franky

    #50172

    Do you know the date of the nightly or the revision number you installed?

    #736

    Hi, Gurus,

    I installed a old version bbpress at my webpage. Now I want to upgrade the old version to this formal bbpress 0.72. what should I do? any documents talking about this?

    many thanks,

    Franky

    #50112

    andrea_r,

    What is the goal? Are you trying to to have mu and bbPress share the same user table? bbPress and mu are using different databases (as opposed to different tables in the same database)?

    I can help, but I need to know exactly how things are and how you want them to work.

    I think this is your situation (apologies if I misunderstood you):

    You have mu and bbPress installed and working off of different databases. You want bbPress to store its content in that separate database, but you want it to draw its users from mu’s database.

    If that is the case, this is what should work. The top of bbPress’ config.php should look like:

    //These are for the information about the database into which bbPress should store its content

    define('BBDB_NAME', 'bbpress');

    define('BBDB_USER', 'username');

    define('BBDB_PASSWORD', 'password');

    define('BBDB_HOST', 'localhost');

    // This is the information about mu's database. bbPress will look for users in this database

    define('USER_BBDB_NAME', 'mu');

    define('USER_BBDB_USER', 'mu username');

    define('USER_BBDB_PASSWORD', 'mu password');

    define('USER_BBDB_HOST', 'localhost');

    // You just told bbPress to use that mu database to look for users, but it doesn't yet know the name of the *table* to use.

    // Change 'wp_users' and 'wp_usermeta' to be the table names of mu's user tables.

    define('CUSTOM_USER_TABLE', 'wp_users');

    define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

    #50075

    In reply to: wpmu bbpress issues

    Aaron
    Participant

    Did you put your .htaccess in your bbpress install?

    If not doing that might solve your problem, if you cannot login to generate a htaccess check out this thread and grab the multiviews htaccess

    https://bbpress.org/forums/topic/13?replies=11

    #49855

    What you’re trying to do should be done in bbPress’ config.php file, but you’re really close :)

    Put your index.php back the way it was. In bbPress’ config.php file, put the following two lines right after the <?php line.

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

    define('WP_BB', true);

    It seems you’ve found the correct path to use in you system: /home/myusername/public_html/blog/wp-blog-header.php

    So it should now look like:

    <?php

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

    define('WP_BB', true);

    Then, copy your bb-templates/ directory to my-templates/ this is so you can modify the template files without editing the original ones; bbPress will use the files in that directory automatically instead of the original ones.

    In my-templates/front-page.php (and any of your other template iles), you can now call any WordPress template function, even get_header().

    #50171

    In reply to: tagsize plugin

    I don’t believe a plugin is necessary for this. The core function tag_heat_map() is just the same, isn’t it?

    See my comment here: https://bbpress.org/forums/topic/67?replies=3#post-295

    #49407

    In reply to: Importing from phpBB

    You should always feel free to discuss this or anything eles on the mailing list: https://lists.bbpress.org/mailman/listinfo/bbdev

    #50080

    You should be able to use any bbPress functions you like in WordPress as long as you

    require_once('path/to/bbpress/config.php');

    #735

    Topic: tagsize plugin

    in forum Plugins

    I hacked up this little plugin that lets you change the size of the tag cloud without hacking any core files. (And, yeah, that’s all it does.)

    It does, however, require you to change some code in your template to call the function.

    (I took the code from template-functions.php line 1150 or so, the tag_heat_map.)

    See it here or download it here.

    You can comment about it on my site if you wish. My Release Annoncement.

    #49795
    spencerp
    Member

    Keeping on the original topic at hand here, and no rush of course.. But, will, or could someone eventually make a “delete forum” plugin for bbpress, or maybe even add it into the core?

    Just was curious, IMHO..I think it would be a great asset! ;) Especially for those that *are not* experienced with the database/phpMyAdmin.. =P Again, just was wondering.. ;)

    spencerp

    By the way, I do know my way around the database and such, but.. it still would be *alot* easier to hit the “delete” button by a forum, then going into a database.. LoL! =P

    #49569
    Zambu
    Member

    Sometimes all of these comments are way over my head, so I have to just keep trying and trying…until I figure it out.

    I kept having problems with this topic, until finally I figured out the the .htaccess file that should be changed was NOT the one that already existed in my www (root) folder but rather i had to create a NEW .htaccess file and store it in my forum subfolder.

    I tried the suggested simple version first (i.e. “Options +MultiViews”), but it would not work on my server. I then used the more complex version to create a new .htaccess file with the following contents:

    <ifmodule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /forum/

    RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]

    RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]

    RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]

    RewriteRule ^tags/?$ /forum/tags.php [L,QSA]

    RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]

    RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]

    RewriteRule ^rss/$ /forum/rss.php [L,QSA]

    RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]

    RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]

    </ifmodule>

    You can see above that I already changed the “/path/to/bbPress/” part into “/forum/” as that is the name of the subfolder on my root directory in which I store my forum (your subfolder name is probably different, so be careful to use the correct name for YOUR subfolder, not mine!).

    Put more simply, “forum” is the name of the subfolder in which config.php is stored. So…I created an empty .htaccess file, put the above noted gibberish into the file, then stored the file in the “forum” folder on my server where config.php is already stored.

    Now it works like a charm!

    Hope that helps some of my fellow newbies out there!

    #50098

    In reply to: Integration with WP

    astereo
    Member
    #50097

    In reply to: Integration with WP

    Atsutane
    Member

    When u load wordpress function inside bbpress. U already integrate both design point and database point. You only need to add WP template tags inside bbpress template.

    #729

    Hi,

    How can I control the number of latest discussions shown on the frontpage?

    I know I can edit the “topics shown on each page” in the config file but I just want a few topics on the frontpage and a different amount for the forums themselves.

    TIA

    Phillip

    UPDATE FROM MODERATOR (Feb 12, 2007):

    There is now a plugin for this which allows you to specify the number of topics that show up on many of bbPress’ pages:

    http://bbpress.org/plugins/topic/3

    #728

    Has anyone got bbpress to integrate either with WP or WPMU off a second database? Yes, I read the documentation, which isn’t clear as to what I’m supposed to do. I tried many different things, resulting in different errors each time, none of which actually used the wp_users table in bbpress. The last change almost did it, but it somehow horked my WPMU install when I went to add a user to see which db it plunked it in (neither, as it turns out – it seems to be in limbo).

    To start, I had a local copy of MU working, and I got an install of bbpress working as well. It’s just getting the two of them hooked up is where I run into issues.

    Any ideas? Tips? Step by step instructions? :D

    #727
    tp84
    Member

    Hey all,

    Not really sure if this is the right area, sorry if not.

    I’m thinking of using bbPress on a new site. Theres a couple of things I’d like to figure out first:

    – Is there any way of dictating a ‘banned words’ list?

    – I want to include a tag cloud type thing but instead of using tags, using post titles.

    Any info/ideas much appreciated :)

    Cheers,

    -Mark

    #49854
    cmcraft
    Member

    Nope. Here is my index.php file from the bbpress directory. What am I doing wrong?

    ‘<?php

    require(‘./bb-load.php’);

    //the next two lines are my attempts to load it myself

    require_once(‘/home/myusername/public_html/blog/wp-config.php/’);

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

    $bb_db_override = false;

    do_action( ‘bb_index.php_pre_db’, ” );

    if ( isset($_GET) && ‘1’ == $_GET ) :

    $forums = false;

    elseif ( !$bb_db_override ) :

    $forums = get_forums(); // Comment to hide forums

    $topics = get_latest_topics();

    $super_stickies = get_sticky_topics();

    endif;

    do_action( ‘bb_index.php’, ” );

    if (file_exists( BBPATH . ‘my-templates/front-page.php’ ))

    require( BBPATH . ‘my-templates/front-page.php’ );

    else require( BBPATH . ‘bb-templates/front-page.php’ );

    //then i tried the include header call to no avail so i tried this

    <?php include (/home/myusername/public_html/blog . ‘/wp-blog-header.php’); ?>

    ?>

    #49853
    cmcraft
    Member

    I am going to try this, thanks to the page you referenced above.

    <?php include (TEMPLATEPATH . ‘/header2.php’); ?>

    #49927

    In reply to: En espaƱol

    cmcraft
    Member

    Si yo entiendo bien, y recien estoy explorando bbpress mas y mas, que phpbb tiene diferentes capacidaded. bbpress me parece mas rapido pero no tiene algunas cosas que un foro bien grande debe tener, como la capacadid suscribir a un thread por email. No se, pero si my pagina era casi todo foro, yo usaria algo como phpbb o invasion, etc.

    #49852
    cmcraft
    Member

    Ok, now I am beginning to understand. I assume from looking around that I need to add that code (such as ‘<?php get_header(); ?>’) into the bbpress/index.php file.

    Naturally bbpress won’t know to look in the /blog/ folder (bbpress is in the /blog/bbpress/ folder) so how do I set the path?

    Would that be another require( etc code?

    Thanks for all the help, I am learning so much!

Viewing 25 results - 64,001 through 64,025 (of 64,152 total)
Skip to toolbar