ateale (@ateale)

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • any luck with a bbpress -> wordpress script guys?

    hey Lingmeister

    i used this:

    http://www.iteisa.com/phpbb2bbpress/

    https://bbpress.org/forums/topic/402?replies=27#post-2126

    what is the problem you are having?

    I had problems initially – something to do with PHP 5 or something – check that link above

    good luck!

    AT

    Trent you are a guru!

    It works now! Thankyou so so much!

    Wahoo!

    You are a legend!

    Cheers

    Adam

    require_once

    ('/home/lumanati/www/blog/wp-blog-header.php');

    Hi Trent thanks for your help!

    i made those changes but still seem to get this error:

    Warning: main(www/blog/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/lumanati/www/blog/bbpress/config.php on line 3

    Fatal error: main() [function.require]: Failed opening required 'www/blog/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /home/lumanati/www/blog/bbpress/config.php on line 3

    i have no idea!

    thanks for your help so far!

    Adam

    Hey Ardentfrost,

    Sorry for taking so long to get back to your reply – i really appreciate it!

    Cheers!

    Here’s the config file:

    <?php

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

    define('WP_BB', true);

    // ** MySQL settings ** //

    define('BBDB_NAME', '*******'); // The name of the database

    define('BBDB_USER', '*******'); // Your MySQL username

    define('BBDB_PASSWORD', '*********'); // ...and password

    define('BBDB_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!

    // 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://blog.lumanation.com'; // Example: 'http://bbpress.example.com'

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

    $bb->path = '/bbpress/'; // Example: '/forums/'

    // What are you going to call me?

    $bb->name = 'Lumanation bbPress';

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

    $bb->admin_email = '********com';

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

    // 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://blog.lumanation.com'; // WordPress - Options->General: Blog address (URL) // No trailing slash. Example: 'http://example.com'

    $bb->wp_siteurl = 'http://blog.lumanation.com'; // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: 'http://example.com'

    /* Stop editing */

    define('BBPATH', dirname(__FILE__) . '/' );

    require_once( BBPATH . 'bb-settings.php' );

    ?>

    Hey guys!

    sorry i didn’t get back to your replies sooner. Thanks for the effort!

    Yeah i am trying to work out whether to use bbpress or wordpress or both. But most importantly want to get away from phpBB2

    I see both *press being powerful. I am not sure whether to offer both tools on our site, or just go with wordpress.

    BBpress has allowed me to keep all our previous years content from phpBB2. But i am just not sure whether to use it or not.

    Our members might get confused where to post entries and how to reply/comment.

    I’d just go with bbpress but at the moment wordpress seems to have a lot of goodies like themes/pplugins that i am using.

    Sorry i realised I am crapping on!

    Any ideas/recommendations?

    doh! i am an idiot!

    I’ve gotta learn to read ALL the instructions.

    WordPress address (URL) // No trailing slash.

    Cheers Trent the login seems to work fine now!

    Any ideas on the embedding thing? Just a matter of chopping into the my-template files?

    Cheers!

    I forgot to give a big thankyou to jaim3! Thanks mate! Your script just made life a million times easier for me!

    Cheers!

    In reply to: Cannot select DB.

    to run a script to convert phpbb2 data to bbpress i had to add add this handler to the .htaccess folder in the root of my site:

    AddHandler application/x-httpd-php5 .php

    That got the script running, but then I was unable to access my bbpress install. I’d receive:

    Cannot select DB

    So I took the “AddHandler application/x-httpd-php5 .php” out and it seems to work perfectly.

    Phew!

    Does that mean that bbpress doesn’t work with php5?

    cheers!

    Adam Teale

    kickass! yes our server was set by default to php4. The server guys said:

    We have checked our server logs. The reason for the issue is not related to the memory limits for your account.

    The file_put_contents() function is only available in PHP 5.

    By default our servers handle any requests to .php file through the PHP 4 interpreter. By default the PHP 5 interpreter processes only files with .php5 extension.

    If you want to change this in a way that .php files are processed by the PHP 5 interpreter you should put the following line in your /www/blog/.htaccess file:

    AddHandler application/x-httpd-php5 .php”

    i believe it is the latest version – i downloaded it today – .75 i think

    it would be so so so nice if this works!

    Cheers Trent

    hey guys,

    I seem to get the same error as Jaxxx:

    Fatal error: Call to undefined function: file_put_contents() in phpbb2bbpress.php on line 383

    anyone got any ideas?

    cheers

    Adam

Viewing 12 replies - 1 through 12 (of 12 total)