Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 24,501 through 24,525 (of 26,822 total)
  • Author
    Search Results
  • #62734
    Andrew
    Member

    After much hacking about I figured out the problem.

    This post offered a clue:

    https://bbpress.org/forums/topic/getting-bbpress-and-wordpress-to-talk-to-each-other?replies=6#post-6068

    It turns out that any global variables declared or set in header.php must also be set in the calling page. I added the following to the top of front_page.php and now the variables are properly set after calling bb_head().

    <?php global $research_subscriber; // ‘1’ if user is research subscriber

    global $forums_subscriber; // ‘1’ if user is forums subscriber

    ?>

    The global variables don’t need to be set in the calling page in wordpress (single.php, search.php). I have no idea why bbpress handles this differently – must be in the way the header is called.

    Much frustration. I hope someone finds this post useful.

    #62768
    _ck_
    Participant

    This was my fault apparently.

    Somehow the pluggable.php within bbpress was built 1074 when it absolutely needs 1075 to have the new wp_salt function.

    So future note for integration to others:

    to use the new WordPress 2.4/2.5 trunk

    you MUST use bbpress build 1075

    build 1074 and build 1076 will not integrate properly as is

    #62748
    salman1485
    Member

    I am not sure what is wrong with my config.php file..

    this is a test forum which i am not finalising so i created a new database with new password and new user and updated the config.php file with the details…please tell me what is the problem..am copying the file here (pwd, akismet key, email have been removed)

    ______________________________________________

    <?php

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ”); // …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://test.nofullstop.com/&#8217;;

    // What are you going to call me?

    $bb->name = ‘test forum’;

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

    $bb->admin_email = ‘something@gmail.com’;

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

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 1;

    // 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’, ‘en’);

    // 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&#8217;

    $bb->wp_siteurl = ”; // 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’ );

    ?>

    ______________________________________________

    please help me ..

    #62766
    _ck_
    Participant

    correction: the cookie value is made from the user name | expiration time | key (where key is calculated from the username+expiration)

    Essentially the expiration and therefore the key are changing and I don’t know why. The functions are based on time() so the timezone within bbpress vs wordpress should not matter. And the pluggable functions are identical between the programs.

    #62723
    chrishajer
    Participant

    Will any of that help with indexing the forum though? My impression is that the WordPress sitemaps plugin generates a sitemap for WordPress content only, not bbPress.

    #62722
    Graeme
    Member

    I noticed that your site has a sitemaps.xml. It may not be valid. You can use Google Webmaster Tools to submit and/or validate your google sitemap. I suggest you check it.

    You will also find that there is a newer version of the google sitemaps plugin available (3.0.3) than the current one you are using (2.7.1). 2.7.1 may not generate correct sitemap for a wordpress 2.3.2 site. Downloading the updated plugin from the plugin’s site may help.

    #2859
    chrishajer
    Participant

    Is there any interest in doing something like this for bbPress?

    http://install4free.wordpress.net/

    There are quite a few gotchas in getting bbPress up and running these days. The latest development trunk doesn’t work, and the 0.8.3.1 release doesn’t work for a lot of people either. So, people are forced to edit files, apply patches or download an interim revision. What if we did something like http://install4free.wordpress.net/ but for bbPress?

    I have offered to help people off list before, but some are hesitant. Having something like this would add legitimacy to anyone offering to help. In fact, it flips it around. Someone wanting help requests it at that site, and then a volunteer from the project contacts them. Not as much chance of a random dude trying to mess with their server.

    #2858
    Andrew
    Member

    I’m seeing some interesting behavior. Though I am a php rookie it seems like what I am trying to do should work.

    I include some code in the header that parses cookies and sets variables appropriately. I use the exact same code and approach in WordPress and it works perfectly.

    This is at the top of my bbpress header.php:

    <?php
    global $research_subscriber; // '1' if user is research subscriber
    global $forums_subscriber; // '1' if user is forums subscriber
    if (condition) $nyquist_research_subscriber=1;
    if (condition) $nyquist_forums_subscriber=1;
    ?>

    Just to make sure, I echo’ed out the variables afterward within header.php and they are all being set as expected.

    Later on, in files that include header.php (topic.php or front-page.php) by invoking bb_get_header(), I attempt to access these global variables and they are all null.

    Why are these variables not being passed? Why does this work in WordPress but not BBpress? What am I missing (bangs head against wall)?

    chrishajer
    Participant

    I know sometimes WordPress has a meta tag with the WordPress version, but does bbPress do something similar? Or, can you access something from the public side of a bbPress installation that would tell the version? It would save time helping others by preventing the question “what version are you running?”

    #59681

    In reply to: OpenID for bbpress

    _ck_
    Participant

    I have now put together some basic code which successfully interacts with OpenID servers.

    Unlike other solutions it doesn’t requires any other libraries or special languages/features on the server other than CURL support (with SSL) which is fairly common.

    Unfortunately during this time OpenID has upgraded to 2.0 and certain providers like Yahoo will only accept 2.0 queries and not 1.1 which is all the code can handle.

    But if there is any serious interest, I could get bbPress to accept openid from wordpress.com/livejournal/aol/etc. which continue to allow 1.1

    #2855
    egonvomberg
    Member

    I have the problem that I can´t acces the admin panel since I deleted the WordPress”files” WordPress database and my bbPress installation was in the same database.

    don´t have a backup.

    but did a fresh reinstall in the nower bbpress database.

    does anyone know how to solve that problem?

    #62691
    _ck_
    Participant

    That has to be one of the top 10 themes I’ve seen for bbpress, very well done. The wordpress integration is also excellent.

    I personally love white text on darker background so it’s a favorite for me.

    Are you going to make it publicly available for download?

    #62580
    chrishajer
    Participant

    I think you should start a new topic.

    If you deleted the WordPress database and your your bbPress installation was in the same database, then your bbPress installation is gone. You might restore from backup, but other than that you need to reinstall fresh.

    #62579
    egonvomberg
    Member

    I have the problem that I can´t acces the admin panel since I deleted worpress and the wordpressdatabase.

    does anyone know how to change that?

    #58233

    In reply to: bbSync

    fel64
    Member

    Sorry, I should have been more thorough. Follow these instructions at the bottom of the page.

    https://bbpress.org/documentation/integration-with-wordpress/#func

    #2847
    Mufasa
    Member

    We’re now running bbpress in our support forums and I must say I absolutely love it – we have integrated it quite nicely with wordpress.

    My Wishlist:

    • ability to add a search form – in WordPress integration mode
    • How I wish TinyMC was integrated
    • Even nicer WordPress integration
    • Native image support

    Check it out:

    instinct.co.nz/blogshop/forums/

    #60877
    Andrew
    Member

    I can live without integration but it would be nice to have shared header and sidebar code. I just wanted to log my observation in case someone else had the same problem.

    I imagine with all the new focus on forum software these issues will eventually get mowed down.

    #60876
    _ck_
    Participant

    It sounds vaguely to me like a timeout issue, where something in the ajax is waiting for a response from the server.

    It would probably take more debugging time that it’s worth, you’d have to watch requests in realtime either from your side through a firewall or from the server side logs (ie. tail).

    I haven’t kept up with the ajax changes in wordpress since 2.1 so I have no idea what’s going on there – wish I could be more help. Ajax is usually the first thing I gut out of wordpress (and bbpress).

    #62666

    In reply to: Databases

    chrishajer
    Participant

    Sounds like you have the database name in there incorrectly. If WordPress is working, then you just need to enter the exact same details in the bbPress config.php for the database.

    #60875
    Andrew
    Member

    I have reverted to straight BBpress. Topic page loads went from 4-6s back to 200ms. The js components, for reasons I do not understand, load much more slowly with a full wp include.

    #60874
    _ck_
    Participant

    You should always evaluate the “need” to run WP with BB at the same time. I don’t mean shared login and common cookies which is simple integration, but instead having bbpress load all of wordpress for every page page. That’s a HUGE number of files and mysql calls being generated for every page, multiplied by the number of plugins you have with their own mysql stored settings.

    Many times there are ways around loading both at the same time with a few tricks and plugins. If you are on a shared/vps host that’s giving you limited resources you may find streamlining absolutely necessary to deal with any bursts in traffic.

    #60873
    Andrew
    Member

    I just completed a WP/BB integration and have noticed a speed decrease.

    According to Firebug, most of the delay is in the downloading of the .js ajax components.

    The other thing I noticed is gmt_offset no longer seems to work- the time displayed is always GMT.

    #62664

    In reply to: Databases

    chrishajer
    Participant

    Use the same database, and make sure the table prefix is different that what you are using for WordPress. By default, it’s bb_ in the config.php and you can leave it as is so long as you’re not using that already.

    #2845

    Topic: Databases

    in forum Troubleshooting
    crossroads
    Member

    I’m new to all of this, so yes I’m a newb. Do I need to setup a separate db for bb-press different from the wordpress db or can I use the same db?

    #2843
    Anne-Lise
    Member

    My bbPress install is integrated with my WordPress install and they serve members of my orchestra. Both the WP-part as the bbPress-part are only accessible for registered users. However we have a few kinds of users: substitutes (users that fill in vacancies temporarily), aspiring members (users that want to become member but who haven’t auditioned yet) en members.

    In bbPress I want to block the substitutes and give the aspiring members an inactive role. However, it doesn’t work. When I edit someone’s profile and set his role to blocked or inactive and click edit profile, nothing’s changed.

    I’m using bbPress 0.8.3.1.

Viewing 25 results - 24,501 through 24,525 (of 26,822 total)
Skip to toolbar