Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,151 through 19,175 (of 32,505 total)
  • Author
    Search Results
  • #37377
    ripoko
    Member

    Hi everyone. Im new to the forums here but thought I would show off my most recent use of WP + BBP.

    The site is a World of Warcraft guild website and was originaly powered by IPB however as traffic and rankings started to increase I thought it required a lick of paint and a general update. The site has been manualy converted from IPB 2.2 (if i remember correctly) and still has some bugs which I am intending to iron out this week. Take a look below and let me know what you think, any suggestions also welcome :)

    http://www.judgementguild.net – WordPress front end

    http://www.judgementguild.net/forums – BBPress forum

    I am also planning to make the forum display a little bolder but have not decided exactly what to do yet, im sure il update here if any changes are made as and when.

    Ripoko~

    #98849
    Raam Dev
    Member

    If you’re getting a message that says bbPress is already installed, make sure you’ve done the following:

    • Deleted all bbPress files on your site
    • Deleted the bbPress database or related tables (likely prefixed with bb_)

    Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.

    Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the wp-config.php file).

    Step 2: Check all three boxes and fill in the necessary details:

    • Add integration settings
    • (no options)

    • Add cookie integration settings
    • Fill in all of the boxes. You can get the keys and salts from your WordPress wp-config.php and the rest of the settings from the General Settings section in WordPress Admin.

    • Add user database integration settings
    • If you used the default table prefix (wp_) when you installed WordPress, you don’t need to change any of these options.

    • Show advanced database settings
    • (Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.

    Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.

    Configuring WordPress

    To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).

    Also, make sure you add this line to the top of your wp-config.php file, just below <?php:

    define( 'COOKIEPATH', '/' );

    If you’ve done everything I explained here, single-login should work as expected.

    #103949
    Raam Dev
    Member

    If you’re getting a message that says bbPress is already installed, make sure you’ve done the following:

    • Deleted all bbPress files on your site
    • Deleted the bbPress database or related tables (likely prefixed with bb_)

    Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.

    Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the wp-config.php file).

    Step 2: Check all three boxes and fill in the necessary details:

    • Add integration settings
    • (no options)

    • Add cookie integration settings
    • Fill in all of the boxes. You can get the keys and salts from your WordPress wp-config.php and the rest of the settings from the General Settings section in WordPress Admin.

    • Add user database integration settings
    • If you used the default table prefix (wp_) when you installed WordPress, you don’t need to change any of these options.

    • Show advanced database settings
    • (Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.

    Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.

    Configuring WordPress

    To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).

    Also, make sure you add this line to the top of your wp-config.php file, just below <?php:

    define( 'COOKIEPATH', '/' );

    If you’ve done everything I explained here, single-login should work as expected.

    #98599
    turuncu
    Member

    I try easy-video-embed, it is too slow :(

    #103699
    turuncu
    Member

    I try easy-video-embed, it is too slow :(

    #98598
    turuncu
    Member

    We want use only youtube plugin.

    Write post with <video> tag

    <video>http://www.youtube.com/embed/W7aIdw-drtM</video&gt;

    then watch video

    <iframe title=”YouTube video player” width=”425″ height=”349″ src=”http://www.youtube.com/embed/W7aIdw-drtM&#8221; frameborder=”0″ allowfullscreen></iframe>

    Please help :)

    #103698
    turuncu
    Member

    We want use only youtube plugin.

    Write post with <video> tag

    <video>http://www.youtube.com/embed/W7aIdw-drtM</video&gt;

    then watch video

    <iframe title=”YouTube video player” width=”425″ height=”349″ src=”http://www.youtube.com/embed/W7aIdw-drtM&#8221; frameborder=”0″ allowfullscreen></iframe>

    Please help :)

    #99240
    Gautam Gupta
    Participant

    If you have your blog in a directory, and the forums in a sub-directory called forum, then you need to put this script in the WordPress blog directory, where you would find your wp-config.php file. Otherwise you would need to edit the defines on lines 37 and 38:

    define( 'W2BC_WP_PATH', '' ); /** With Trailing Slash, if required */
    define( 'W2BC_BB_PATH', 'forum/' ); /** With Trailing Slash, if required */

    #104340
    Gautam Gupta
    Participant

    If you have your blog in a directory, and the forums in a sub-directory called forum, then you need to put this script in the WordPress blog directory, where you would find your wp-config.php file. Otherwise you would need to edit the defines on lines 37 and 38:

    define( 'W2BC_WP_PATH', '' ); /** With Trailing Slash, if required */
    define( 'W2BC_BB_PATH', 'forum/' ); /** With Trailing Slash, if required */

    #99238
    Gautam Gupta
    Participant

    There are no downloads, but here is the script – http://wordpress-to-bbpress-converter.googlecode.com/svn/trunk/w2bc.php

    It currently doesn’t support user migration, but that should be easy (and should be done before running the script). I think it’d be basically renaming the tables, though I’m not sure.

    Also, *PLEASE* make a backup of your WordPress blog and follow the instructions carefully.

    – Author of the script

    #104338
    Gautam Gupta
    Participant

    There are no downloads, but here is the script – http://wordpress-to-bbpress-converter.googlecode.com/svn/trunk/w2bc.php

    It currently doesn’t support user migration, but that should be easy (and should be done before running the script). I think it’d be basically renaming the tables, though I’m not sure.

    Also, *PLEASE* make a backup of your WordPress blog and follow the instructions carefully.

    – Author of the script

    #99236

    If you want to move your WordPress data to a bbPress install, then you can use this http://code.google.com/p/wordpress-to-bbpress-converter/

    #104336

    If you want to move your WordPress data to a bbPress install, then you can use this http://code.google.com/p/wordpress-to-bbpress-converter/

    _ck_
    Participant

    Okay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.

    But I sat down and wrote it just for you now :-)

    http://bbshowcase.org/plugins/fast-recount.zip

    Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.

    ie. 6 queries per user x 1000 users = 6000 queries !!!!

    My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)

    Once you install and activate, under your recount menu you will see (among others)

    FAST RECOUNT topics to which each user has replied

    So check that box and leave the old one unchecked.

    Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.

    Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).

    ps. make sure you update bbpress to 0.9.0.6 too

    _ck_
    Participant

    Okay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.

    But I sat down and wrote it just for you now :-)

    http://bbshowcase.org/plugins/fast-recount.zip

    Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.

    ie. 6 queries per user x 1000 users = 6000 queries !!!!

    My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)

    Once you install and activate, under your recount menu you will see (among others)

    FAST RECOUNT topics to which each user has replied

    So check that box and leave the old one unchecked.

    Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.

    Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).

    ps. make sure you update bbpress to 0.9.0.6 too

    #37352

    Topic: include bb-load.php

    in forum Themes
    thebreiflabb
    Member

    In the header on my wordpress theme I do

    <?php include_once(ABSPATH."forum/bb-load.php"); ?>

    and it works on the front-page without any errors and I can call the bb functions etc. But on the other wordpress-pages I have it gives an error. And stops all html output where I include the file, the error is:

    Fatal error: Call to a member function suppress_errors() on a non-object in /fakepath/public_html/forum/bb-includes/functions.bb-core.php on line 77

    Anything I can do to fix this?

    #99221
    Regina13
    Member

    Thank you! =)

    #104321
    Regina13
    Member

    Thank you! =)

    #99170
    shawn2
    Member

    I have dropped my bb_ tables, removed bb_capabilities from _usermeta and deleted bb-config.php. I then reinstalled bbpress with integration settings. At the end of install I received the error Forum could not be created! I followed this advice: https://bbpress.org/forums/topic/forum-could-not-be-created and added a row to the forum table. When I try to login now I still receive the error “multiple user_login matches”

    Anyone? Help? Please :)!!!

    #104270
    shawn2
    Member

    I have dropped my bb_ tables, removed bb_capabilities from _usermeta and deleted bb-config.php. I then reinstalled bbpress with integration settings. At the end of install I received the error Forum could not be created! I followed this advice: https://bbpress.org/forums/topic/forum-could-not-be-created and added a row to the forum table. When I try to login now I still receive the error “multiple user_login matches”

    Anyone? Help? Please :)!!!

    #98537
    _ck_
    Participant

    Speaking of security, anyone using bb-attachments should please update to 0.2.8

    (you’ll only need to update bb-attachments-init.php)

    #103637
    _ck_
    Participant

    Speaking of security, anyone using bb-attachments should please update to 0.2.8

    (you’ll only need to update bb-attachments-init.php)

    #94911
    Rich Pedley
    Member

    The issue with using the plugin at this stage in a live environment is that at some point a reset might be needed. This would involve deleting all posts.

    The plan has always been to create some way to migrate from the standalone bbPress to the plugin – but it is likely to be one of the last things coded.

    #99220

    In your function declare $bb_current_user as global and print_r it to see what all you can have :)

    function blah() {
    global $bb_current_user;
    print_r( $bb_current_user );
    }

    #104320

    In your function declare $bb_current_user as global and print_r it to see what all you can have :)

    function blah() {
    global $bb_current_user;
    print_r( $bb_current_user );
    }

Viewing 25 results - 19,151 through 19,175 (of 32,505 total)
Skip to toolbar