Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 24,951 through 24,975 (of 26,681 total)
  • Author
    Search Results
  • #2331
    wpitn2shape
    Member

    I want to hook, et whatever, into the author id of a post to make my avatars plugin work with BBPress.

    The docs just say it’s the same as WordPress, but not exactly. The tags are different and my original plugin doesn’t work anyway (or perhaps it’s an integration problem with my installs. I’m running MU).

    I’m looking for equivalents like these or anything related

    $the_author = get_the_author_id();

    Where are the docs for the plugin API, basically? I don’t require you to look into what exact hooks, etc. I need, just lead me to info. If you want to do more, that’s fine, too. :-)

    #2329
    karaboga
    Participant

    Hi,

    We’re using bbPress 0.8.2.1 integrated with WordPress 2.1.3. Before upgrading to 0.8.2.1 everything was ok. But after upgrading, something has broken.

    bbPress cannot count these values properly:

    – Numbers of topic and the messages of a member in his profile. (For example, a member who had 6 pages of messages in his profile, has only 1 page now)

    – Number of “topics with no replies, topics with no tags, unresolved topics” values are wrong. Each has less pages now.

    – In admin panel, the number of members is not accurate. bbPress says there 714 members; but this value is 6109 (this is the correct one) in WordPress.

    What can be the problem? I can tell the plugins we use, if necessary to solve the problem. Thanks!

    #60363
    wpitn2shape
    Member

    An update:

    I don’t think my integration in general is working too well, because my avatar from my own avatar plugin is not displaying my user’s av. Of course this could be my plugin, and perhaps I need to work on an integration for THAT, too – ha ha.

    But I’m really worried about my MU integration..

    Looking closer I think it is the plugin in the sense that the post doesn’t bring up WP-type post code, but BBPress and the plugin doesn’t have that written. It’d have been nice for it to be more integrated on its own. I read others use their plugins on the forum pages. Sigh.

    #2328
    #2327
    vonedaddy
    Member

    I currently have a phpbb board and I want to switch to wordpress/bbpress. I was wondering with the phpbb>bbpress script also move all my users over? Also when I integrate bbpress and wordpress will that also allow my users to keep their same username across all three installations?

    #57090
    baptiste
    Member

    This is definitely worth doing. bbPress needs to have template functions that allow you to get the ‘next’ or ‘previous’ forum and topic. This would allow themes to include nice navigation links like ‘Next Thread’, ‘Next Forum’ instead of always having to jump to the front. WordPress does this for posts.

    I’ve looked all around and I’m just not seeing anything like this.

    I’m going to mess around with some code – it looks like the BB_Walker has a stepping ability built in that SHOULD make this pretty trivial, but I’m still getting comfortable with the inner bbPress classes and such. I’ll post here if I come up with anything. If anyone else has tried this or knows of a plugin that exists already – let me know. I couldn’t find one. Again – this isn’t pagination when you have lots of posts/threads. This is when you are in a topic or post view, being able to navigate to the next post, thread, or forum – i.e. like flipping pages of a book.

    #58896
    kboan23
    Member

    I just discovered something and wanted to run it by the forum. I agree…when I registered in bbPress and then logged into WordPress as the administrator, that new registrant was not given a role.

    However, after I actually logged on as the new person and then logged BACK on as the administrator to see what was what…the person’s role was actually changed to “Subscriber” – my default role in WordPress.

    So, if this is true, and I’m not missing something that could catch me up…it seems that this whole issue might be mute. Once the user actually logs in, their role is set as the default role so their rights are restricted by that role.

    Has anyone else experienced this? Am I perhaps missing something that I’m really going to regret if I don’t fix this?

    Thanks,

    K

    #58895
    _ck_
    Participant

    No I don’t mean a folder within a folder, that’s just fine and not a problem. I mean executing one within the other where they are both running at the same time on one page. That’s a huge amount of code and memory for any server, shared or dedicated.

    The nice thing about the registration and login process is you can route back to any page you want as the wordpress system is much more developed. I have the code around here somewhere and posted it before…

    see #5 on the list in this post:

    https://bbpress.org/forums/topic/user-intregation-between-wordpress-038-bbpress-not-work?replies=7#post-10428

    #58894
    kboan23
    Member

    Two things:

    I DO have my bbPress folder running inside my WordPress folder. You’re thinking this is a bad idea??? Any suggestions as to why? I thought I read on here that it wasn’t a bad idea to this. I probably read wrong though……

    Second — if my bbPress IS actually inside my WordPress folder, any other ideas why I’m getting the error message?

    I guess one more (sorry)…if you’re forcing all registration links to go to WordPress, where does this process take your users after they register? Back to bbPress? To WordPress? That might work…but for my site, I’d need it to go back to bbPress; I’m dealing with a lot non-techies and any weirdness will throw them for sure. I need to try and make it as easy as possible for them.

    Thanks again for any help,

    K

    #58893
    _ck_
    Participant

    Ah apparently Detective’s method is for sites running WP at the same time as bbPress (not just integrated, running within each other – which I do not recommend). So this won’t work for most people.

    I solved the problem by forcing all registration links to go through WordPress but obviously that’s not a perfect answer (and needs core hacks).

    So this problem needs to be revisted again :-(

    #58892
    kboan23
    Member

    I’m trying to create this plugin. When I try to register using bbPress, I get this error message…

    Fatal error: Class ‘WP_User’ not found in /home/sbisdedt/public_html/web20/forum/my-plugins/default-role.php on line 11

    The registration actually takes place; the person receives the email with the password; their registration shows up in both WordPress and bbPress.

    But how do I stop that error message from appearing. What could I have possibly done wrong.

    Thanks for your help.

    K

    #60316
    kboan23
    Member

    Thank you for your response. I had actually already read that page and followed the steps. As it turns out, the issue was that when viewing the site on a MAC in Firefox, the login/site admin link always reverted back to login in WordPress; and even though I was logged in, in bbpress it always asked me to log in again. It did this when I jumped back and forth between the two sites.

    As it turns out, I was actually always logged in…the links just didn’t toggle to the correct position. When i looked at the site on IE using a PC, the links did as expected. I guess the first time IE out performed Firefox…or it may have been the difference between viewing on a MAC versus PC. I don’t know.

    I’m not going to worry about it. 99% of the people viewing the site will be viewing it in IE (work related forum).

    Thanks again,

    K

    #2324
    burke
    Member

    On install and trying to log in, the following warnings show up:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/29/d160486511/htdocs/forum01/config.php:60) in /homepages/29/d160486511/htdocs/forum01/bb-admin/install.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/29/d160486511/htdocs/forum01/config.php:60) in /homepages/29/d160486511/htdocs/forum01/bb-includes/functions.php on line 1833

    Tried clearing out the DB and reinstalling, to no avail. Any help is appreciated.

    config.php:

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘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!

    // The full URL of your bbPress install

    $bb->uri = ‘http://aicetoo.org/forum01/’;

    // What are you going to call me?

    $bb->name = ‘Committee’;

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

    $bb->admin_email = ‘burke@aice.org’;

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

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

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

    $bb->wp_siteurl = ”; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #2319
    _ck_
    Participant

    I couldn’t find anyone who made a bbPress theme switcher (not a style switch, but the entire template) so I modified (somewhat deeply) one from WordPress last night. Took some research and testing!

    I’ve added it here, you can see the dropdown at the very bottom right:

    http://bbshowcase.org/forums/

    (if you are willing to edit all your themes you can put the dropdown anywhere, otherwise it will default to that location on each theme automagically – a new feature!)

    So give me your themes and I’ll add them to the list to see if I can find the bbPress breaking point…

    #60281
    chrishajer
    Participant

    I use a similar setup with the root folder of my domain as wordpress, then a subfolder for bbpress. So I have:

    http://www.domain.com/

    http://www.domain.com/bbpress

    In my WordPress Control panel under options, both URLs are set to http://www.domain.com with no trailing slash. I noticed in your config this URL has a trailing slash:

    $bb->wp_home = 'http://www.subventions.fr/';

    Maybe that is causing a problem?

    #60280
    adriengeille
    Member

    in fact in wordpress you can set the home page in a different directory as the wordpress folder. That’s what i did. I installed wordpress in the wordpress folder but the homepage (index.php) is in the root directory.

    As soon as i change it and put the address back to wordpress…. i loose all templates with the design…

    The same way i’ve created a folder forum and uploaded the installation files of bbpress into it. Th’ats why i said

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.subventions.fr/forum/’;

    I tried to change the last part with my wordpress address by deleting wordpress as you recommended but it still doesn’t work but definitely it seems it comes from my wordpress setup… but what can i do?

    #60279
    chrishajer
    Participant

    In fact, in the source of your WordPress site, there are a bunch of links that result in a 404, and they all have wordpress in the URL.

    404 Page Not Found:

    http://subventions.fr/wordpress/

    So, in your WordPress control panel, I suppose this could be wrong:

    Options->General: WordPress address (URL)

    I think your problems exist with the WordPress setup, and they are showing up now with bbPress integration.

    #60278
    chrishajer
    Participant

    This does not appear to be correct:

    $bb->wp_siteurl = 'http://www.subventions.fr/wordpress';

    Your wordpress site comes up at http://www.subventions.fr/ so the wordpress part is superfluous. I think you’ve got a path problem somewhere. Normally you install bbPress like this:

    /var/www/subventions/wordpress/

    maps to http://www.subventions.fr/

    /var/www/subventions/wordpress/forum/

    maps to http://www.subventions.fr/forum/

    forum is a subdirectory of wordpress in a typical integrated setup. Is that your setup? If so, then your config is wrong.

    #60277
    adriengeille
    Member

    ok here is my config.php file

    <?php

    define(‘DB_NAME’, ‘xxx’); // Le nom de la base de donnees

    define(‘DB_USER’, ‘xxx’); // Votre identifiant MySQL

    define(‘DB_PASSWORD’, ‘xxx’); // …et votre mot de passe

    define(‘DB_HOST’, ‘localhost’); // Dans la plupart des cas, vous n’aurez pas a modifier cette ligne

    // Vous pouvez faire plusieurs installation sur une meme base de donnees en leur donnant un prefixe unique

    // 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://www.subventions.fr/forum/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Le forum des subventions aux entreprises’;

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

    $bb->admin_email = ‘webmaster@subventions.fr’;

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

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

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

    $bb->cookiepath = ‘/’;

    $bb->cookiedomain = ‘.subventions.fr’;

    define(‘WP_BB’, true);

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

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #60306

    In reply to: Rewriting up one level

    Sam Bauers
    Participant

    Add this to your sites root directory .htaccess file.

    This assumes that your bbPress install is in a subdirectory of your sites root called “forums”.

    These rules need to be added before any WordPress rules.

    The rewrite will work, but bb_repermalink() will change the URL so that it appears as it normally would.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^users/([^/]+)/page/([0-9]+)/?$ /forums/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^users/([^/]+)/([^/]+)/?$ /forums/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^users/([^/]+)/([^/]+)/page/([0-9]+)/?$ /forums/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^users/([^/]+)/?$ /forums/profile.php?id=$1 [L,QSA]
    </IfModule>

    #60310
    _ck_
    Participant
    #60315
    _ck_
    Participant
    #2313
    PetLvr
    Member

    Can someone please advise what my .htaccess should me?

    I have a blog – http://PetLvr.com/blog/ – and this is the .htaccess

    ‘php_value upload_max_filesize 2M

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /blog/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /blog/index.php [L]

    </IfModule>

    # END WordPress

    I have installed the bbPress at – http://PetLvr.com/blog/forum/

    Everytime I try to post or even see the welcome 1st post, it redirects to the /blog/ front page.

    What needs to be done?

    Thanks!

    HART

    #2312
    kboan23
    Member

    Hello,

    I need a little help, if possible. I am trying to integrate a WordPress blog with BBpress. I have placed BBpress in a subdirectory of WordPress and followed the instructions for sharing cookies. But still, when I go back and forth, I have to continually re-log in to each site.

    When I look at my cookies, they are definitely not the same. For the blog I get this (and one other similar one)

    wordpressuser_b458245343e06b7fa7cd00d37af29401

    For the BBpress, I get this (and one other similar one).

    wordpressuser_4e7fbe834162925f74c6c2e053468ef6

    Any ideas as to what I could have possibly done wrong?

    Thanks,

    Kay

    #2309
    lecolibri
    Member

    I have BB en WP sharing the same database, but loggin in/out is only possible through WP…

    The configuration is as follows:

    WordPress address: http://www.some-directory

    Blog address: http://www.some-directory/blog

    BBPress is installed in:

    http://www.some-directory/discussions

    Of course, $bb->wp_siteurl and $bb->wp_home are set correctly.

    Stange thins is, that when I use a trailing slash after the $bb->wp_siteurl address, I can logout once via BB, but the logout only affects BB and not WP. Furthermore, logging in again is still impossible from within BB.

    Might it be, that I need to set some cookie paths?

    Thanks,

    robert.

Viewing 25 results - 24,951 through 24,975 (of 26,681 total)
Skip to toolbar