Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 52,776 through 52,800 (of 64,495 total)
  • Author
    Search Results
  • #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.

    #61992
    saratee
    Member

    The link to the wordpress theme does not work. Can you please repost the link. I love the BBPress theme and want to use the matching wordpress theme too.

    chrishajer
    Participant
    #72436
    _ck_
    Participant

    No one has done it yet but you can replace bbpress’s auth/cookie system via pluggable functions. Look at the cookie plugins for examples.

    #72452
    johnhiler
    Member

    This plugin does an excellent job of showing both the number of topics and the number of posts:

    https://bbpress.org/plugins/topic/mini-stats/

    The info is given daily; you can download it into a csv though, and add it up using Excel.

    #72401

    In reply to: link back to blog

    cldnails
    Member

    I use CARP RSS to insert the latest posts from my blog within my bbPress forum. Also, as mentioned, make sure you are editing the header file from within the specific theme you are using. It’s not one header file fits all.

    #72450
    cldnails
    Member

    First off, holy cow $1 per post!

    Second, https://bbpress.org/plugins/topic/show-top-posters/ is probably a plugin that will help alleviate some of your worries.

    #72437

    Hi Ashfame,

    First: i feel your pain in integrating WP2.7.1 and 0.9, i’m sure alot of us do – that said though, it’s definitely possible.

    Second: it’s definitely possible to achieve site wide login using either _ck_ or Ann’s plugins. Without a doubt using _ck_’s is far easier, as Ann’s comes with no documentation and there are steps required that no-one’s written out. It took me about an hour of searching and playing with Ann’s to get it to work, but once it did, it worked brilliantly.

    Basically follow the steps given on the 3rd page of the integration forum posts (hey dont expect documentation for something a sought after as this to be on an actual page – like the integration one – or even at the start of a post so it’s easily found). Then add in

    define(‘COOKIEPATH’, ‘/’ );

    define(‘SITECOOKIEPATH’, ‘/’);

    define(‘COOKIE_DOMAIN’, ”);

    to both the WP and BB configs. Obviously you can change the values.

    The other thing that really helped me, after alot of trial and error, was to set up WordPress first. Activate Ann’s plugin. 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.

    Install BB AFTER this step to make life alot easier; as bbpress will recognise the admin cookie right form the word go :)

    Third: Ann’s method overwrites the ‘new’ wordpress cookie method, so the theory is that it’s future proof. at least throughout this WP2.7 branch. The bad news is, according to an automattic post i read yesterday, that the OpenID integration in WP2.8 may require a rewrite of all authentication in WordPress. If this happens then there is a good chance that all authentication in Automattic systems will have tot change, there’s just no way of future proofing against a company wide re-write. But if that doesn’t happen, then Ann’s plugin should work for a long time.

    Fourth: A the risk of reading form the _ck_ bible, there’s very little reason across the board to upgrade from WP2.5.1 to WP2.7.1 . There are no known security issues in 2.5.1. I’ve yet to come across a WP plugin that doesn’t work for 2.5.1, it’s a damn site easier to use, and it’s faster and more lightweight. Obviously, you may have different requirements that we don’t know about, but I would look long and hard at not using 2.7.1 if i were you.

    Good luck, Kev

    #72425
    cloudhopper
    Member

    The 101 referred to doesn’t cater for the fact that the names for the various keys seems to have changed.

    The route I followed (using the “freshly baked cookies” plugin, and using 0.9.0.4) calls for a “secret key”, but the latest version of wordpress doesn’t refer to such a beast. I opted for the AUTH key, guys, figuring that if it was wrong, the bbPress install would let me know. It worked.

    Perhaps a minor tweak to the 101 would help in this respect?

    As it happens, I went on to experience “fatal errors” when I tried to activate said plugin, so I clearly haven’t finished with the integration efforts myself! :o)

    #4998

    I tried integrating them but messed up a lot. So trying a different approach what I want to achieve in my project.

    I need WP as CMS, bbPress as forum script and custom php code which will create a member’s area. I want site-wide login sync.

    Tried _ck_’s plugin but can’t make it to working even after using 0.0.3 version and I dont want to use Ann’s method of downgrading cookie of what WP 2.7.1 uses. Just because this project won’t be under me for long, so will opt a method which is more future proof. So I am thinking of directing all the login requests of WP & bbPress to my custom login page which will be the only means of login & logout on the site. I want to use plugins for both WP & bbPress so as to maintain future compatibility. I can always update those custom codes or can i have a plugin for that too.

    I may be running wild here but it seems quite easily feasible too.

    Waiting for your suggestions!

    #72418

    In reply to: There are no 404’s

    chrishajer
    Participant

    My guess is that there is something in the WordPress .htaccess file that is causing it to mess with what should be a forum 404 error. I don’t know enough about subdomains and bbPress integrated with WordPress, but that’s my guess. Something in the WordPress .htaccess file is rewriting your bbPress 404. Possibly? Is there a .htaccess file for bbPress? I would guess not, since you’re not using permalinks for the forum.

    I suspect it has something to do with the subdomain, but that’s just a SWAG.

Viewing 25 results - 52,776 through 52,800 (of 64,495 total)
Skip to toolbar