Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 52,701 through 52,725 (of 64,430 total)
  • Author
    Search Results
  • #5013
    technokelvin
    Member

    I installed WordPress 2.7.1 first then bbPress 1.0-Alpha-6. When I first installed I set the follow settings,

    bbPress Admin – Settings – WP Integration:

    WordPress address (URL): http://www.ascendanceradio.com/

    Blog address (URL): http://www.ascendanceradio.com/

    My main admin / keymaster has to log into both WP and bbPress to access both. I want to integrate it so I can log into one and access both.

    I realized that in WP my WP URL and Blog URL, they are both the same, was set to http://ascendanceradio.com (Without the www and /) so I changed it in the bbPress settings. You would think since both WP and bbPress now actually match things would get better? They got worse.

    I have a Maintenance Mode plugin that denies access to every page in WP (Excluding the forums since they aren’t a part of WP) unless you are logged in as an admin on the WP side. When the URL and Blog were set to http://www.ascendanceradio.com/ I could had to log into bbPress and then WP but could see all of the WP pages.

    Now that I changed the URL to exclude the www I can now log into bbPress AND be AUTOMATICALLY logged into WP BUT I can no longer see the WP pages indicating WP doesn’t see me as an admin. Not only that but when in the WP Admin and I try to log out it gives me an error:

    You are attempting to log out of AscenDance Radio

    Please try again.

    With a link back to my admin page. It never lets me log out and only happens after I go into bbPRess Admin Panel and change the URL / Blog to match the actual URL that WP has in its settings.

    It has nothing to do with the Maintenance Mode plugin either. I take it off and try to leave a comment on a post but bbPress and WP Admin see me logged in BUT the post requires me to enter my name and email address as if it doesn’t know I’m logged in.

    So basically bbPress and WP Admin knows I’m logged in but my actual WP Site had no clue.

    When I put,

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

    define(‘COOKIEPATH’, ‘/’ );

    into both the wpconfig and bbpressconfig files it will no longer let me log into both WP and bbPress. If I log into WP first I can access all my WP Pages but when I try to log into bbPRess after the page just refreshes and my login information clears. If I log into bbPress first it lets me get into my WP Admin but my WP Pages can’t be access due to the plugin not recognizing I’m an admin. I also get the same error when trying to log out of the WP Admin.

    I tried only adding the cook domain / path code to ONLY wpconfig and receive the same error as mentioned in the above paragraph.

    I also just tried adding all that code from the Integration 101 8 step solution and get the same problems as mention in the big paragraph above.

    The closet I get to having it work is when I add www to all the bbPress settings. I just tried adding to the 8 step code snippet (the URL portions, I did not touch the cookie domain or any other domains) AND changing the URL and Blog to http://www.ascendanceradio.com and it lets me log into both giving me access to everything I want, bbPress / WP Admin AND WP Pages as my plugin now sees me as an admin.

    The only problem is that’s not integrated login.

    Do you think if I change, in WP Admin, my URL and Blog URL to http://www.ascendanceradio.com (As opposed to what it is now, http://ascendanceradio.com) it would fix the problem? I tried changing the name before and ruined my WP site and had to reinstall (Afterward I figured out I could have changed the value through myphpadmin and proceeded to cry for days). Could I ruin my WP site if I change the URL and Blog address to include www?

    Is there someway somewhere a function / cookie / database value is requiring a www and that’s why things seem to work better when I include it in my bbPress Admin Settings?

    I try to go to http://www.ascendanceradio.com and it automatically redirects me to http://ascendanceradio.com so I don’t understand why www would be needed for anything.

    I hope I was clear and concise enough to get some good help. I’ve spent over 8 hours debugging this before turning for help so anything at this point is greatly appreciated! Thanks!! :-)

    #72442

    Hey Kevin!

    Thanks I got it working by using CK’s Fix Admin Access plugin and by specifying these two lines in bb-config.php :

    $bb->custom_user_table = ‘wp_users’;

    $bb->custom_user_meta_table = ‘wp_usermeta’;

    Things are working fine till now. I was lost at your instructions so I myself tried hit and trial method and finally got everything setup. Thanks for your help.

    The only thing that I am left in my project is to create custom member area for students & faculty members which require me to set and recognize the cookie exactly what is being used by WP & bbPress at the time. Can you help in this regard?

    #72441

    Hi Ashfame,

    Sorry to hear you had problems with my instructions, but i think i know the issue.

    You missed out one of the key steps i had mentioned.

    When you click to activate Ann’s plugin, you need to manually change your url to “/wp-login.php?action=logout”. this is because the url it tries to redirect you to is the one that shows ann’s plugin activated, but as you now have a different cookie than it recognises it puts you to the log in page, which puts you to the one that shows ann’s page plugin activated (and so the loop goes on).

    So as i said: “It then automatically boots you our of the WP admin area. you have to go to/wp-login.php?action=logout and then entirely clear your cache and cookies. Then re-log in. The cookie WP sets will now be recognisable.”

    I learnt the hard way that skipping steps (especially when there’s only 4 of them) makes it very difficult to work.

    That said, if you won’t ever need 1 single solitary wordpress function then _ck_’s plugin is definitely the way to go. It installed like a dream and is super easy. that said, i’ve installed Ann’s plugin on 4 site’s i’ve upgraded to WP 2.7.1 and it’s worked every time on them by using the above instructions (but you must change the url to /wp-login.php?action=logout and then clear your chache and cookies ).

    Good luck

    #66148
    tliebig
    Member

    @_ck_:

    A note on deep integration: As of 0.9.0.4, deep integration will break the localization due to the localization methods being used from WP’s core files (bb_settings.php line 75), causing the system to look for bbPress-language files in the WP language directory. Here’s what to fix to make bbPress load it’s own language files from bb_includes/languages when using deep integration:

    In line 376-377 of bb-settings.php, replace

    // Load the default text localization domain.
    load_default_textdomain();

    with

    // Load the default text localization domain.
    if ( !(defined('DB_NAME')) ) { // Include localization the bbPress-way when WP is not running.
    load_default_textdomain();
    }
    else {
    $locale = get_locale();
    $mofile = BB_LANG_DIR . "$locale.mo";

    load_textdomain('default', $mofile);
    };

    #5011
    Ravi
    Participant

    Hi,

    I want to know how to export bbPress forum posts to a SMF forum ( http://www.simplemachines.org/ ) ?

    Thank you.

    #72459
    johnhiler
    Member

    I stuck the code into bbPress in login-form.php, but it didn’t work.

    There’s a form on the WordPress side of things, in my WordPress header… I thought maybe that needed to be changed as well? It posts into the bbpress auth…

    #72440

    A user registered with WP doesn’t get registered in bbPress. Is it like to be that only? I don’t need open registrations throughout the year but just fixed accounts for students. So I just want to allow the accounts to be integrated in some manner like WP & bbP uses the same table or the both wp_users & bb_users are in sync. How do I go about it?

    #72457
    chrishajer
    Participant

    This does not go in any WordPress files at all. It goes in your bbPress login-form.php template file, right before the closing </form> tag. That way, after submitting the form, bbPress directs the user back where they came from (all those SERVER VARIABLES in the code snippet.) I thought this did exactly what you were looking for. Where did you try to insert the code?

    #72456
    chrishajer
    Participant

    Sorry, I thought you said you were routing all the logins through bb-login.php – this *is* bbPress code. Where do you need to use the code? What are you trying to do again?

    You’re sending all your users through bbPress for login, but when a blog user gets sent to the forum for login, they’re not returned to the page they were on, but to the forum front page? Is that accurate?

    #72455
    johnhiler
    Member

    Ah it looks like that code is for bbPress… it has a reference to bb_get_option in it:

    <input type=”hidden” name=”re” value=”<?php echo “http://&#8221;.$_SERVER.$_SERVER[“REQUEST_URI”].’?’.$_SERVER[“QUERY_STRING”]; ?>” />

    <input type=”hidden” name=”_wp_http_referer” value=”<?php echo bb_get_option( ‘uri’ ) ?>” />

    If I stick it into a WordPress template for my header.php file, it crashes… any ideas how to make it work in WordPress?

    #72453
    chrishajer
    Participant

    How about this:

    https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268

    There was a hidden field with a name of “re” that you could use to redirect the user.

    #5003
    #66147
    phipps
    Member

    I tried integrating bbPress (alpha 6) with 2.7 WP MU and ran into problems. The web-based installation failed if I selected integration (I left the “Add cookie integration settings” unchecked, only tried user database integration) – it threw up an error during the last step, and said Installation Halted! (although all previous tests and validations seemed to go through fine).

    I dropped the bb_ tables, then installed bbPress without the integration options and it worked. Is it possible to modify a working bbpress installation to integrate with WP MU after installation? Has anyone done this before – and might have instructions online somewhere?

    All on dreamhost.com server.

    #61598

    In reply to: How Do I Do This?

    robbert12
    Member

    Sorry to bump this topic, but I’m new to BBpress and after a long search on Google and in these forums, I arrived here.

    I want to do the same as on this picture: this picture.

    Unfortunately, I can’t get it to work on my forum. I posted the code of front-page.php below and emphasized the problem point (I think). I hope somebody can help me

    <?php bb_get_header(); ?>

    <div id="forums"><!-- Forums -->
    <?php if ( $forums ) : ?>
    <div id="sidebar"><!-- Sidebar -->

    <?php if ( bb_forums() ) : ?>
    <table id="forumlist">
    <thead>
    <tr>
    <th class="title"><?php _e('Forums'); ?></th>
    <!-- th><?php _e('Topics'); ?></th-->
    <th><?php _e('Posts'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td class="title"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a> <span><?php forum_description(); ?></span><?php bb_forum_pad( '</div>' ); ?></td>
    <!--td><?php forum_topics(); ?></td-->
    <td><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </tbody>
    </table>
    <?php endif; // bb_forums() ?>

    <?php if ( bb_is_user_logged_in() ) : ?>
    <h2><?php _e('Views'); ?></h2>
    <div class="sbox">
    <ul id="views">
    <?php foreach ( bb_get_views() as $the_view => $title ) : ?>
    <li class="view"><a>"><?php view_name( $the_view ); ?></a>
    <?php endforeach; ?>

    </div>
    <?php endif; // bb_is_user_logged_in() ?>

    </div><!-- //sb -->

    <div id="content"><!-- Content -->
    <?php if ( $topics || $super_stickies ) : ?>
    <table id="sticky">

    <thead>
    <tr>
    <th class="title"><?php _e('Sticky'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td class="title"><?php bb_topic_labels(); ?> <big><a>"><?php topic_title(); ?></a></big></td>
    <td><?php topic_posts(); ?></td>

    <td><a>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; ?>
    <?php else : ?>
    <tr>
    <td class="title">Er zijn geen belangrijke berichten beschikbaar</td>
    <td></td>
    <td></td>
    </tr>

    </tbody>
    </table>
    <?php endif; ?>

    <table id="lastest">
    <thead>
    <tr>
    <th class="title"><?php _e('Latest Discussions'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td class="title"><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a></td>
    <td><?php topic_posts(); ?></td>
    <td><a>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $topics ?>
    </tbody>
    </table>
    <?php endif; // $topics or $super_stickies ?>
    </div><!-- //c -->
    <?php else : // $forums ?>

    <?php post_form(); endif; // $forums ?>

    </div><!-- //f -->

    <?php bb_get_footer(); ?>

    And this piece of code is wrong, I think;

    <table id="forumlist">
    <thead>
    <tr>
    <th class="title"><?php _e('Forums'); ?></th>
    <!-- th><?php _e('Topics'); ?></th-->
    <th><?php _e('Posts'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td class="title"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a> <span><?php forum_description(); ?></span><?php bb_forum_pad( '</div>' ); ?></td>
    <!--td><?php forum_topics(); ?></td-->
    <td><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </tbody>
    </table>

    I hope somebody can help me.

    Thanks in advance..

    #61993
    citizenkeith
    Participant

    The bbPress link doesn’t work either. Nor do the demo links…

    #62423
    diabolikal
    Member

    Yes I had to download .htaccess from another folder and I edited it, then re-uploaded on to bbpress folder… through Filezilla.

    #62422
    chrishajer
    Participant

    You have a directory or multiple directories protected with .htaccess. Check the bbpress directory for a file called .htaccess (leading dot, means it’s a hidden file.) It may have been protected through the 1&1 admin panel, or maybe it’s just been uploaded with FTP or by a shell account. That is what’s causing the basic auth dialog you see there. You need to get rid of that, or maybe that’s not the problem you’re talking about at all?

    That is a completely different problem from the one I posted about, although you STILL don’t access bb-admin directly. Log in on the front page of your forum and it will show you an admin link next to your name if you have administrator capabilities.

    #62421
    diabolikal
    Member

    As you may be able to tell, it asks for a log-in and I have to use my FTP account to log into it for some reason, and I have the latest BBPRESS and WORDPRESS (2.7).

    #62420
    chrishajer
    Participant

    You don’t access the admin directly like you can in WordPress. You log in on the front page and then if you’re keymaster, you see the admin link next to your name. If you don’t have an admin link after you log in, maybe you’re not marked as keymaster.

    Need more info on your setup to help. Did you integrate with WordPress? What versions of bbPress and WordPress did you install?

    #72445
    chrishajer
    Participant

    Yes.

    Or just replace register.php with

    <?php
    // silence is golden
    ?>

    You should look in your logs though to see where they are coming in. Sometimes they go right to bb-login.php as well. Anything related to login really. They’re not sitting there browsing the forum and clicking the [login] button.

    You can also install _ck_’s Human Test plugin to prevent most of the registrations:

    https://bbpress.org/plugins/topic/human-test/

    #5001
    biodrama
    Member

    I have a BBPress forum that is not being used, but might see some use eventually. I use it to experiment with BBPress, too. When Forums gather cobwebs, they can attract Spammers. I started getting a steady stream of similar-looking registration attempts, probably from a single group of Spammers. I put up a temporary index.html page, basically saying Forum Closed to discourage Spammers, and hid the index.php in a Backup folder. This assures nobody will come in the front door, but did not stop the spammers, who apparently are coming in directly to the registration area. The new users are being automatically flagged as bozos by BBPress, but I am having to delete them manually as they come in.

    I would like to disable registration completely for a while to encourage them to go away. What if I moved register.php into my Backup folder? Would that do the job?

    #62419
    diabolikal
    Member

    guys, I’ve never been into the dashboard. I have php5 working and tried to get into the URL,

    http://www.ko-holic.com/bbpress/bb-admin

    but it doesn’t exist? Can you guys help me out?

    #72439

    Finally got it working using _ck_’s plugin. Now I want the same login sync with my custom php pages. Any pointers regarding what I should be doing? I think I will need the code used in _ck_’s plugin and the bbPress core file. Am I right?

    diabolikal
    Member

    Hey guys, I’m getting the same problem, and my hosting is 1&1 and I’m sure they support PHP4. It is in my subfolder of the domain,

    http://www.ko-holic.com/bbpress

    Help!

    #72438

    Hello Kevin!

    Thanks for your reply! :D

    I did a clean install of WP 2.7 and then I activated Ann’s plugin.

    Then I added the code those three lines in wp-config.php and lost access to dashboard.

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?

    * NOTE: If accepting the site’s cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

    I am currently testing on localhost (XAMPP). Any idea what is causing this loop? May be I need to edit those lines but I dont know how to.

    I had to delete the plugin from the plugin directory to access dashboard again.

    I would not think of going beyond WP 2.7 unless I am unable to achieve the sync. And regarding the Open ID integration, I would like to keep myself away from it as I need to allow only registered users to login.

Viewing 25 results - 52,701 through 52,725 (of 64,430 total)
Skip to toolbar