Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 20,826 through 20,850 (of 26,846 total)
  • Author
    Search Results
  • Marcomail
    Member

    Do you know i could check in bbpress if a user is in a specific wordpress user category ? I must create a new user category in wordpress, and i’d use this in bbpress.

    for example

    if user_id in category=example_category

    make this…

    else

    tiptaptip
    Member

    I integrated my site the other day. Here’s a few things that helped me when developing my bbPress theme.

    1. Point its CSS to the corresponding WP themes CSS so that there’s a common stylesheet between them. For example: http://mysite.com/wp-content/themes/mytheme/style.css

    2. Do the same thing with images. For example in your bbPress theme use http://mysite.com/wp-content/themes/mytheme/image/image.jpg

    3. As mentioned above you will need to duplicate content from WP theme. I find that if I cram everything before the forum content into header.php and everything after into footer.php it clears up the rest of the bbPress templates for me to modify as I wish.

    Hope this helps.

    You can see what I did for my site here: http://tiptaptip.com and http://tiptaptip.com/forum

    #75939

    Its always hard to track what you missed as compared to a fresh procedure. If you are doing fresh installations of both then I would want you to take a look at my tutorial that I wrote yesterday : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    and if they already hold data, then we will try to trace the cause and get it fixed.

    Hope that helps! :)

    #15278
    double_d
    Member

    I’m having login problems with my WordPress and bbPress integration. I have to login to both programs. However, when I log out of either program, I log the other program out.

    I have WordPress 2.8.1 and bbPress 1.0 installed.

    WordPress is installed on the main directory (i.e., my-site-url)

    bbpress is installed as a subdirectory (i.e., my-site-url/bbpress)

    I’ve checked to make sure the four keys in the wp-config and bb-config files match up.

    I’ve checked to make sure the auth_salt and logged_in_salt keys match up between WordPress and bbPress

    The cookies generated seem to be correct.

    It creates a wordpress logged in cookie (e.g., wordpress_logged_in_f1f3…a00a)

    with a path of /

    It creates five wordpress cookies (e.g., wordpress_f1f3…a00a)

    with the following paths

    /wp-content/plugins

    /wp-admin

    /bbpress/my-plugins

    /bbpress/bb-plugins

    /bbpress/bb-admin

    Since I’m setting up my site, I have uninstalled and reinstalled the programs with the same problem. Perhaps, there is a step I’m missing. Any ideas to correct this would be appreciated!

    #75927

    In reply to: New forum setup

    Gautam
    Member

    If you have wordpress installed in the same database with wp_ as prefix, then use bb_ as prefix for bbpress, else it would conflict with wordpress.

    #15267
    DKB
    Participant

    Is it possible to remove “topic” in the URL.

    I have now http://www.site.com/forum/topic/example, so is is possible to get:

    http://www.site.com/forum//example

    Just like in wordpress, i can remove the “category” slug.

    #70364
    crios
    Member

    I integrated 2.8 & 1.0.1 and it seems to be working beautifully.

    I created a walk through for myself (based off of the screencast), you can see it here. I thought I would post it here for anybody else that might want a set of typed instructions. Maybe this topic should be sticky or put a similar set of instructions on the documentation page?

    1. Install WP 2.8 on domain, in this case http://example.com (I’m going to skip the WP install. I know how to do this.)

    * database: exampledb

    2. Open wp-config.php in a text editor.

    3. Go to https://api.wordpress.org/secret-key/1.1/ and copy the provided keys (the entire text).

    4. Paste the copied keys into wp-config.php above the text “/* Stop editing */.”

    5. Save wp-config.php to web host.

    6. Install bbPress files into a subdirectory. In this case http://example.com/forum. (I’m going to skip the bbPress install. I know how to do this.)

    7. Fill in step 1 of bbPress setup.

    * database: exampledb (use same database as WP install.)

    8. Step 2 of the bbPress install.

    9. Check “Add integration settings.”

    10. Check “Add cookie integration settings.”

    11. Open wp-config.php again and copy and paste “AUTH_KEY” , “SECURE_AUTH_KEY” and “LOGGED_IN_KEY” (just the long string of letter, numbers and symbols in between the quotes) into the appropriate fields in the bbPress Step 2 page.

    12. Go to http://example.com/wp-admin/options.php (there should be a link in the ? section of the salt fields)

    13. Find the appropriate salts and copy and paste them into the appropriate fields in the bbPress Step 2 page.

    * If there is no secure_auth_salt leave it blank.

    14. Check “Add user database integration settings.”

    15. Look in wp-config.php again and copy the “table_prefix” into the appropriate field on the integration page. (in my case it was not just wp_ , it was wp_xxxxxx_ (the x being other numbers and letters.).)

    16. Click the save button and you should see “Your WordPress integration cookie and database settings have been successfully validated. etc…”

    17. Click the Step 3 button.

    18. Fill in the Site name: Example Forum.

    19. Check the URL (should be http://example.com/forum/).

    20. Select a Key Master (if integration was successful the WP admin should show up here and can be selected).

    21. Fill “First forum name” (First Forum).

    22. Click “Save.”

    23. Click “Complete Installation.”

    24. Go to the brand new forum.

    25. I was already logged in to WP so when I went to bbPress, again I was already logged in.

    26. Click on “Admin”

    * It shouldn’t work.

    27. Click “Log Out.”

    28. Log back in to bbPress as the admin.

    29. Click on “Admin.”

    30. You should be able to enter the Admin page of bbPress now.

    31. Go to “Settings” / “WordPress Integration.”

    32. Setup the “User Role Map”.

    * WP Admin: Keymaster

    * WP Editor: Moderator

    * Everybody else is a member.

    33. Click Save.

    34. Go to the WP install (http://example.com)

    35. Install bbPress Integration (WP Plugin): 1.0

    36. Activate the integration plugin.

    37. Go to “Settings” / “bbPress Integration.”

    38. Check the “bbPress URL.”

    39. Leave “plugins URL” alone.

    40. Check WordPress type.

    41. Click Save.

    42. Scroll down to “Manual Cookie Settings” and copy the code in the grey box.

    43. Open wp-config.php and paste the copied code above the text “/* Stop editing */.”

    44. Save wp-config.php to the web host.

    45. Voila everything should be set up!

    46. log in and log out of WP and bbPress and move back and forth between the two to make sure that the integration is working.

    #75891
    Marcomail
    Member

    i’d check in bbpress if a user is in a specific wordpress category or not

    #15265
    Marcomail
    Member

    if i use wp-blog-header.php for using a wordpress function, the forum will be more slow ?

    #15264

    Topic: BuddyBar in bbPress

    in forum Plugins

    BuddyBar in bbPress

    It requires “deep integration” which I know I will catch hell from _ck_ for requiring, but for anyone that’s integrating BuddyPress and bbPress, and wants to have their BuddyBar in their forums, this is my solution.

    Happy testing!

    #75881

    Won’t work. What would end up happening is your user tables would be out of alignment.

    What do you do when that user WANTS to register at your WordPress site then? Just curious…

    Best thing to do, is create a plugin on the bbPress side of things to add a usermeta value for that user that you can check on the WordPress side of things, and disallow access based on that usermeta value existing.

    #75883

    In reply to: Integration Woes

    Unless I misread this, all of your salt values are wrong. You shouldn’t need to generate your own hashes or salts, as these should be created in WordPress for you once you setup your keys.

    #15262

    Topic: Integration Woes

    in forum Installation
    jchildrose
    Member

    OK, I have sort of a weird problem that I am hoping I can get some help with.

    I have multiple WP sites integrated with each other – 1 install on the root domain, and numerous installs on subdomains.

    In order to integrate users and cookies to maintain a login valid across all the installs the Authentication Unique Keys section in my wp-config is set up like this:

    define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);

    define(‘COOKIEPATH’, ‘/’);

    define(‘AUTH_KEY’, ‘mygeneratedkey’);

    define(‘SECURE_AUTH_KEY’, ‘mygeneratedkey’);

    define(‘LOGGED_IN_KEY’, ‘mygeneratedkey’);

    define(‘NONCE_KEY’, ‘mygeneratedkey’);

    $baseurl = ‘http://www.mydomain.com’;

    $cookiehash = md5($baseurl);

    define(‘COOKIEHASH’, $cookiehash);

    define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);

    define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);

    define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);

    // define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL

    define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);

    define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);

    As a result, I can’t find the salts needed in wp-admin/options.php as they are not listed. I’ve tried using the same settings in bbpress as above in the bb_config file (see below), but no love. I’ve also tried changing them to BB_%WHATEVER% which doesn’t seem to work either.

    define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);

    define(‘COOKIEPATH’, ‘/’);

    define( ‘BB_AUTH_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘mygeneratedkey’ );

    define( ‘BB_NONCE_KEY’, ‘mygeneratedkey’ );

    $baseurl = ‘http://www.mydomain.com’;

    $cookiehash = md5($baseurl);

    define(‘COOKIEHASH’, $cookiehash);

    define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);

    define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);

    define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);

    // define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL

    define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);

    define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);

    All of the users can login to bbpress using the same username and password as on the wp sites, but the cookie integration doesn’t work, and again – I cant find the correlating values in wordpress.

    Does anyone have any suggestions?

    #15260
    Driftless
    Member

    Hi –

    I want any user who I register on my WPMU site to automatically get the cookie-share-log-on-goodness that bbpress provides.

    HOWEVER!!!

    I do NOT want any user who registers at my bbpress site to get a WPMU account. I don’t even want them to get a “subscriber” account.

    Any ideas?

    #50397
    Croyd
    Member

    I have a site with a wordpress/bbpress integration using a modified Atahualpa/Kakumei theme. My wordpress is version 2.8.1 & my bbpress is version 0.9.0.5. and it all works fine.

    I want to upgrade to the latest version of bbpress( version 1.0.1 ) but when I tested it I get backslashes before any single or double quotes no matter where I’m at in bbpress. It happens in topic titles, topic contents, when putting in the name for the site etc..

    Both work fine with the integrated logins and cookies. The problem only comes after I’ve put my reference to wp-blog-header.php in the bb-config.php file.

    I could do the hack that was suggested earlier but the downfall to that is that you won’t be able to have backslashes at all in anything.

    I’m thinking maybe the problem is that bbpress is using wordpress’s apply_filters function instead of its own, but that is a guess.

    Anyone got any ideas?

    Oh and besides the bbpress-integration plugin in wordpress i’m not using anything else on the test I did.

    @toosalty & @navjotjsingh

    WordPress 2.8 integrates easily with bbPress 1.0

    I just wrote a post today : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    I will also be writing a post on how to upgrade existing integrated installations (most probably tomorrow morning). Let me know if you are facing any issue, I will try to help.

    P.S. – No plugin is now needed for integration. ;)

    #15253

    Fistly excuse my english ….

    Hi, i have integrated bbpress inside my wordpress installing on the same database.

    The problem is that i have made all the integration except the user relation, so now i can logon like admin user on bbpress but i can’t change nothing :-( it seems to be a normal user

    Can i do manually (changing the database) to assign admin user as administrator ????

    #75858
    johnhiler
    Member

    You could do that with a third plugin for sure. I haven’t automated it because rebilling through Paypal is a pain… so I have someone manage it manually.

    I think WordPress MU has a plugin that does something similar. Maybe you could adapt that?

    #75784
    deadlyhifi
    Participant

    mmm, just noticed that cookies with _utma, _utmb etc. state they come from

    .MYWEBSITE.com

    whereas the “wordpress_logged_in_NUMBER” states it’s website as

    www.MYWEBSITE.com (without the http this forum is auto adding it)

    could the fact that it has www at the start be the issue?

    My test site, on a subdomain, shares the same source – but then because its a subdomain it doesn’t have the www at the start.

    thanks for your continued replies ck.

    #75782
    deadlyhifi
    Participant

    They definitely have a different name.

    wordpress_logged_in_TWOdifferentVALUES

    tried to do the clear cookies thing in a function but, even though it’s running correctly, the cookie reset is getting ignored. Can’t figure out why :(

    Navjot Singh
    Participant

    I also can’t login to both installs simultaneously. I am using WordPress 2.9 rare and BBPress 1.0.1 version. Please help.

    #15246
    Demen
    Member

    Here is what I have thus far. bbpress is integrated with WordPress, So login is synonymous on both. However, I would like users to only be able to register from WordPress. I know it is pretty easy to just change the register link on bbpress to that of the WordPress registration page, but I also want to drop bbpress’s capability to send an email on either “Registration Mail” & Approval Mail settings. It is no longer needed if the user registers on the WordPress page and both are pulling user info from the same table.

    Does this matter if I change the link to the WordPress registration page,and the settings are still available? And if so how would I go about disabling this?

    #15242
    DKB
    Participant

    Hi, when i click on a username it says:

    “Username not found. Go back to xxxx/forum”

    I have bbPress 1.01 and wordpress 2.8

    How can i solve this? Thanks in advance

    #75753
    johnhiler
    Member

    Wow… that’s incredibly aggressive given that 1.0 hasn’t had time to be field tested, and also the state of 1.0 plugins.

    Sam, can 0.9 be restored as an easily available option? It can be played down if you’d like – even something low key like the WordPress release archives would be great:

    https://wordpress.org/download/

    #75779
    _ck_
    Participant

    If the new cookie has a different name, you should not be having a problem because bbpress should not even be looking at the old cookie?

    You are getting a header error because you would have to put it at the very, very top of header.php before doctype – if that doesn’t work, you’d have to add it via a mini-plugin, put it into a file called function.php in your template folder

    add_action('bb_send_headers','delete_old_cookie');
    function delete_old_cookie() {
    setcookie('wordpress_logged_in_REPLACEDcabef','',time()-3600);
    }

Viewing 25 results - 20,826 through 20,850 (of 26,846 total)
Skip to toolbar