Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 28,376 through 28,400 (of 64,734 total)
  • Author
    Search Results
  • #122699

    In reply to: bbPress 2.2.3 Released

    DearWendy
    Participant

    I use bbpress plugins for the forums on my website, http://www.DearWendy.com. Since Monday morning when I updated to WordPress 3.5 and bbPress 2.2.3, my forums are not working properly. When logged in as an admin, they work fine for me, but anyone else who tried to post a message gets a 404 error. I’m pretty ignorant about these issues and have not been able to figure out hot to troubleshoot. Is there anyone who can help me?! Please??

    #122698
    evomedia
    Participant

    Hi i just insalled bbpress to test it but i cant figure out whats wrong i just get a blank page

    This is what ive dona so far: I installed the plugin–> created a forum–> created a page which i named forum–> entered the shortcode [bbp-forum-index]–> When i go to the front i see the page click it and up comes the forum i created when i then click the forum and i get the blank page…–> in the adressfield it says http://www.kanin.se/forums/forum/theforumicreated and the page i blank.

    I have the latest wordpress and bbpress

    feeling stupid for not seeing the possibly easy solution.

    I have searched this forum and the webb even watched a 30 min video on the setup of bbpress didnt get any smarter.

    Thanks for your help!

    #122695
    marycris100
    Participant

    I’ve tried installing BBPress several times, but I guess I do something wrong because I keep getting this problem.

    Like when I click on a topic, the “Your first topic” for example, I get

    “The requested URL /forum/topic/1 was not found on this server.”

    The URL seems okay, but I get the error so something’s wrong?

    I can log in to BBPress, but when I go edit my account I get:

    “The requested URL /forum/profile/1/edit was not found on this server.”

    Again, the actual URL seems right.

    I’m sure there’s something simple I’m missing, like I didn’t set something right in config, but I can’t find it. Any ideas?

    Andreas
    Participant

    Done as suggested @netweb – changed nothing. The activity streams of previous groups state correctly “XY started the forum topic ABC in the group 123” but the link to the topic is broken, returns a 404. All groups still return ‘This group does not currently have any forums.’ at /forum. Permalinks checked.

    #122693
    Stephen Edgar
    Keymaster

    bbPress includes a conversion tool to import forums/topics/replies/users from some of the popular forum packages eg. bbPress or phpBB

    There is an ‘example’ file also included as a ‘reference template’ that if your forum software is using a SQL database then you could easily modify this to be a custom importer by matching the correct database tables/fields etc

    The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converter

    Stephen Edgar
    Keymaster

    Update to the latest bbPress 2.2.3 and repeat step 7 in the guide at BuddyPress you linked to above.

    #122689

    In reply to: Forum Icons ?

    Stephen Edgar
    Keymaster

    Sounds great Darren would love to see it, feel free to Pimp your site here.

    A plugin would be cool and like Jared there is much on my plate at the moment.

    Similar to Martin’s method above I have been using a custom icon font and targeting each forum like so with CSS where in this case the forum id is 34.

    
    .bbp-forum-34 i:before {
      content: "\e112"; /* glyphicons_ */
    }
    
    #122686

    In reply to: Forum Icons ?

    I think this could be a great plugin. In fact, if memory serves correct, there was one like this for bbPress 1.x or 0.9.

    There is just two main parts really. Optionally assigning icons to the Forums (which could either be a radio to select from a certain set or the featured image could be used to upload your own) and then the actual topics.

    Wouldn’t be hard to execute. I’d actually love to do something like this as I think it would be fun, just don’t have the time at the moment.

    #122683

    In reply to: Lightbox for bbPress?

    EJMorges
    Participant

    I have Light Box Plus installed. I’m not a developer, I haven’t tried to implement anything like that on my own. You make it sound easy but for someone like me I’m sure that it’s not. 😀

    CameraTester
    Participant

    Hi. I am trying to make a forum with Buddypress and BBPress (I clicked the install sitewide forums in Buddypress which installed BBPress), I am liking it so far, but I am definitely not liking how it puts the make new topic form (where the title and text entry form is) at the bottom of where the topics are, so people have to scroll down to make a new topic. I could keep that, but I would require a button to be at the top, or else the form, but I would prefer a button to make a new topic in the chosen category.

    Is there a way to do this? I will need step by step instructions. I don’t know how to use this yet.

    Please help

    Lynq
    Participant

    All I can see at the moment is this: https://codex.bbpress.org/type/actions/

    I think the documentation is continually being worked on, but I believe the focus is more on the actual plugin at the moment, correct me if I am wrong anyone.

    If you do find a list of great actions and hooks then share them! All it takes is for one person to go through, use them and help others out by posting their findings.

    Good luck!

    #122675
    JuaninLAdP
    Participant

    Forgot to put in the details: I’m running WordPress 3.4 and bbpress 2.2.3

    timatooth
    Participant

    Thanks Lynq! I should have stated clearer that I’m looking for more bbPress actions/hooks/filters pages. Are there pages like this for bbPress the page on Actions only describes 10 actions.

    https://codex.bbpress.org/ seems to have articles about some functions and shortcodes but not hooks and filters.

    It would be nice to see a table which contains every action/hook/filter/callback with the argument descriptions or what parameters the callbacks get. Currently Ive been trying to decipher the inline documentation of the core files. 😀

    timatooth
    Participant

    Hi everyone,

    Im new to the worldpress plugin scene coming from a more oop like language like java that uses JavaDoc or Doxygen to describe stuff.

    I was wondering how developers writing plugins are finding the hooks/actions/filters they need to solve something. I haven’t found http://codex.bbpress.org/ very helpful because its seems to only document a small collection of functions.

    I haven’t found it easy because IDEs don’t tend to detect functional apis with their code completion engines. Is it just a matter of slowly grinding through all the core files trying to memorize all the functions and callbacks? I hope not.

    #122664
    AllenPayne
    Participant

    @rsanchez1 Thanks a lot. Your post made me even more confused at first because i’m new to WordPress and PHP but after reading it a couple of more times and actually implementing what you said it made sense and i managed to get it to work.

    I used this code (please look at it and let me know if there are any errors):

    ————————————————————-

    function remove_bbpress_forum_freshness_date( $anchor, $forum_id) {

    $forum_id = bbp_get_forum_id( $forum_id );
    $active_id = bbp_get_forum_last_active_id( $forum_id );

    if ( empty( $active_id ) ) {
    $active_id = bbp_get_forum_last_reply_id( $forum_id );
    }
    if ( empty( $active_id ) ) {
    $active_id = bbp_get_forum_last_topic_id( $forum_id );
    }

    if (bbp_is_topic( $active_id ) ) {
    $link_url = bbp_get_forum_last_topic_permalink( $forum_id );
    } elseif ( bbp_is_reply( $active_id ) ) {
    $link_url = bbp_get_forum_last_reply_url( $forum_id );
    }

    return "View Post";

    }

    add_filter('bbp_get_forum_freshness_link', 'remove_bbpress_forum_freshness_date', 10, 2);

    ——————————————————–

    function remove_bbpress_topic_freshness_date( $anchor, $topic_id) {

    $link_url = bbp_get_topic_last_reply_url( $topic_id );

    $time_since = bbp_get_topic_last_active_time( $topic_id );
    if ( empty( $time_since ) ) {
    return 'No Replies';
    } else {
    return "View Post";
    }

    }

    add_filter('bbp_get_topic_freshness_link', 'remove_bbpress_topic_freshness_date', 10, 2);

    ———————————————————-

    I have one more question. I gave this more thought and i think it would be better if i replace “View Post” with the post’s title on the forums page(not topics).

    To do this is have to change the first function above.

    Any ideas how should i change the code to return the post’s title instead of View Post?

    Thank you for your help. It’s very much appreciated.

    #122663
    risen32
    Participant

    I setup bbpress with a shortcode to display the forums on a page, you can see it here: http://www.clonescriptnews.com/forums/

    When you are on that page everything seems to be fine, however if you click on this:

    http://www.clonescriptnews.com/forum/forums/general/introductions/

    and look at the breadcrumbs, when you try to go back to “forums” by clicking on the breadcrumb Forum link, it’s linked to just “forum” and then it tries to open the forum inside what looks to be a post.

    you can view that here (if you click on the breadcrumb forum link, you’ll see this) http://www.clonescriptnews.com/forum/

    It seems that no matter what I do in the forum settings area with the forums base and forum slug that keeps happening.

    #122651
    rsanchez1
    Participant

    The filter passes the anchor tag HTML and the forum_id to your callback. To do this, you’ll have to change your filter, like so:


    function remove_bbpress_forum_freshness_date( $anchor, $forum_id) {
    }

    add_filter('bbp_get_forum_freshness_link', 'remove_bbpress_forum_freshness_date', 10, 2);

    So you can see that your filter callback would be passed the anchor and the forum id.

    In the bbPress code, it basically just gets the link for the forum, gets the title for the forum, gets the last active time for the forum, and constructs an anchor tag from all this information.

    In your filter callback, you can do like is done in the bbPress code:


    $forum_id = bbp_get_forum_id( $forum_id );
    $active_id = bbp_get_forum_last_active_id( $forum_id );

    if ( empty( $active_id ) ) {
    $active_id = bbp_get_forum_last_reply_id( $forum_id );
    }
    if ( empty( $active_id ) ) {
    $active_id = bbp_get_forum_last_topic_id( $forum_id );
    }

    if (bbp_is_topic( $active_id ) ) {
    $link_url = bbp_get_forum_last_topic_permalink( $forum_id );
    } elseif ( bbp_is_reply( $active_id ) ) {
    $link_url = bbp_get_forum_last_reply_url( $forum_id );
    }

    As you can see, this code gets the ID of the last active item in the forum, be it topic or reply. It checks to see if the last active item was a topic or reply, and gets the appropriate url using the appropriate function.

    With the url, you can then construct an anchor tag, and the link would say “View Post” (or “View Topic” if you want to get specific). Then you would return that from the filter callback.

    For topics, it’s much easier since the last active will only be replies. The way you set up the filter and callback will be the same, just replacing forum with topic. To get the url, for View Post, do this:

    $link_url = bbp_get_topic_last_reply_url( $topic_id );

    In the code, it checks this to see if there have been any replies:

    $time_since = bbp_get_topic_last_active_time( $topic_id );
    if ( empty( $time_since ) ) {
    // there are no replies, you can return "No Replies"
    } else {
    // make anchor tag linking to "View Post"
    }

    I hope this clears things up a bit for you to try it yourself.

    #122645
    Lynq
    Participant

    Just joined, the community feature in G+ looks nice.

    #122643
    Dougal Campbell
    Participant

    I had an old stand-alone version of bbPress running at one time. I’d like to bring it back up, and obviously upgrade to the newest version. I do not want to have forum users added as users in my main blog. Is my only option to install a second copy of WordPress to power bbPress?

     

    #122642
    atburi
    Participant

    John, and people like Justin – thanks for all your hard work.

    #122641

    In reply to: Lightbox for bbPress?

    Lynq
    Participant

    You should be able to install a standard lightbox or thickbox and then look for images that reside inside the forum containers and then call the lightbox on them using jQuery. Shouldn’t be too difficult.

    Have you implemented a lightbox yourself before without a plugin?

    #122639
    on3advertising
    Participant

    I’m so close using Jeff’s solution!

    I added a checker to the customer ID in the initial if statement since it was passing through regardless of what I entered.
    && mysql_num_rows($result) == 1

    So the complete code ended up looking like this:
    function restrictForum(){
    $db_name = 'dbname';
    $con = mysql_connect("url","usr","password");
    mysql_select_db("$db_name")or die("cannot select DB");
    $cust_id = mysql_real_escape_string($_GET['cid']);
    $sql = "SELECT * FROM customer_data WHERE customer_number = $cust_id";
    $result= mysql_query($sql);
    if ( isset( $_GET['cid'] ) && !empty( $_GET['cid'] ) && mysql_num_rows($result) == 1) {
    // cid (customer ID) is present, show the bbPress login form
    echo 'Please enter your username and password to complete the login process ';
    echo do_shortcode('bbp-login');

    } elseif ( $_GET['error'] == true ) {

    // cid entered was not valid
    echo 'The customer ID you entered is not valid.';

    } else {
    echo ('
    Enter Your Customer #
    (form name="cust-form" id="cust-form" method="get")
    (input name="cid" id="cid" type="text" maxlength="6" /)
    (input type="submit" value="Validate"'/)
    (/form));
    // cid is absent so show the form to validate it
    // do your custom form here that asks for the customer ID. Then if the customer ID
    // is correct/valid reload this page like /login?cid=123456 which will show
    // the bbPress login form.
    }
    }
    add_shortcode('forum-login-restrict','restrictForum');

    It’s weird though, whenever I enter an invalid customer ID, I get the MySQL error saying “mysql_num_rows() expects parameter 1 to be resource, boolean”.

    It’s also annoying that the bbpress shortcode I’m embedding is now showing up as text, literally “bbp-login” rather than the actual form using:
    echo do_shortcode('bbp-login');

    #122634
    nickandrea19
    Participant

    Hi there,

    I will be redeveloping a site that was written in the Dinosaur age of web development. It is written in Perl, and my task is to port the existing forum into bbPress. I’m looking for thoughts on how to do this.

    Thank you!

    Andreas
    Participant

    To demonstrate the dilemma – groups are all here, including group forums:

    youthpolicy.org/community/forums/

    But then you go to any group and their forum, and it says ‘This group does not currently have any forums.’ We are on bbPress 2.2-bleeding, as suggested in the codex here.

    Weird.

    Bowe
    Participant

    Details

    Install: WP 3.5  (Multisite) + BBPress 2.2 Bleeding and BuddyPress 1.6.2
    Guide used: http://codex.buddypress.org/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/

    Procedure: We’ve ran the importer to import from BBPress 1 to BBPress 2. The migration wizard went fine and all the forums/topics and replies have been set. We’ve followed the guide and made sure BBPress 2 is set to be used as the BP Group Forums. For some reason this does not happen. We tried using the various Repair Forums tools, but they do not have effect.

    So right now we have working BBPress 2 Forums that do not integrate with the existing groups. Any suggestions on how to “remap” BBPress 2 forums to BP Groups?

    Thanks in advance!

Viewing 25 results - 28,376 through 28,400 (of 64,734 total)
Skip to toolbar