Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 8,201 through 8,225 (of 11,598 total)
  • Author
    Search Results
  • #85951
    psycheangels
    Member

    you can fix the plugin anonymous to make anonymous post sistem and anonymous post moderation

    tested in my website and works with little fix

    #86581
    zaerl
    Participant

    All values under the cookie section of /bb-admin/options-wordpress.php must be changed according to the WordPress values.

    WordPress URL

    Blog URL

    Cookie salt “auth”

    Cookie salt “secure auth”

    Cookie salt “logged in”

    also make sure to:

    1) delete the old cookie before making your tests.

    2) check values of bbPress Integration plugin (/wp-admin/options-general.php?page=bbpress-integration-admin)

    3) change COOKIEPATH according to what the bbPress Integration plugin reports

    #86590
    gerikg
    Member

    Sorry I was trying to explain it without full explanation or linking to my test site.

    I’m trying to imitate the buddypress default theme for bbpress. They have a button under title called Public Group. You can see an example here in blue. http://testbp.org/groups/testgroupp-1060610747/forum/topic/a-forum-topic/

    I wanted to do the same in my bbpress theme that the button says Public Forum or Hidden Forum depending on what it is. Does this make sense now?

    #86502
    Alex Luft
    Participant

    Perfect! Works like a charm!

    #86501
    psycheangels
    Member
    #86500
    Alex Luft
    Participant

    Thanks gerikg.

    I installed and activated, and it seemed to have just removed all of the latest discussions – the entire list!

    I read that the default is 7 days and we’ve had new posts today. Am I doing something wrong?

    #86499
    gerikg
    Member
    #33933
    Alex Luft
    Participant

    Is there a way to limit the amount of latest discussion shown on the front page? There are currently 30 of them and I want to cut that number down to 10-15.

    http://gmauthority.com/forum/

    Long live bbPress!

    #78640
    yoyopop
    Member

    I’m having this same issue in a test forum I’m running at the moment. Adding tags doesn’t refresh the page, consistently in certain topics. And when it does, the whole page reloads, rather than just the tag section via ajax…

    This problem happens when using the default theme.

    Any ideas? kirpi.it didn’t say how it was fixed!?

    jurasiks
    Participant

    to moderator: bozo or bug:

    http://bbpress.org/forums/topic.php?id=66744

    http://bbpress.org/forums/topic.php?id=66746 (created later for test)

    if bozo – why?

    #33925
    gerikg
    Member

    I want to organize my front-page.php to show where the topic is from.

    example this thread.

    Lastest Discussion

    How to get Forum name from Topic? in Troubleshooting

    I want to know how to get “Troubleshooting”

    I’m assuming <?php forum_name(***topic ID HERE***); ?>

    #33922
    Damien
    Member

    http://bbpress.org/plugins/topic/user-photo-for-bbpress/

    Hi, I’m trying to display the avatar of the person who started the forum topic on the mainpage, in the place of the last posters name, in the latest discussions area.

    I’ve tried using the way it displays in profiles

    <?php if ( $avatar = bb_get_avatar( $member->ID ) ) : ?>

    <div id=”useravatar”><?php echo $avatar; ?></div>

    <?php unset($avatar); endif; ?>

    It does not work. I’ve tried pulling it like in a post

    <?php post_author_avatar_link(); ?>

    Nothing. One more

    <?php

    if (function_exists(‘bb_get_photo’))

    bb_get_photo($user->ID);

    ?>

    No joy there either. I tried using this function

    <img src=”<?php echo USERPHOTO_URL . $profileuser->userphoto_image_file . “?” . rand() ?>” alt=”<?php _e(“Full size image”, ‘user-photo’); ?>” />

    and it almost does it…

    http://localhost.wordpress.com/wp-content/uploads/userphoto/?29089

    but as you can see it does not grab the users avatar, (1.jpg) although it’s pointing to the right place.

    has anyone ever gotten avatars showing on the mainpage with the user photo plugin? I am aware other plugins exist for avatars but they do not suit my needs, apart from this one hickup, user photo is the best for wordpress/bbpress shared avatars. The guy who made it has long since left :(

    #33911

    Hi. For some reason, my deleted users keep reappearing. I keep deleting all users that have 0 posts and include .ru in their email address, and all of those exact users keep reappearing on the list. Any suggestions? I just loaded this plugin today, so I assume I have the latest version.

    http://fakeplasticfish.com/discuss/ mA

    #86397
    chrishajer
    Participant

    I think it’s relatively safe to update to trunk. Trunk is probably less broken than 1.0.2 right now. I would perform a test installation to be sure everything still works the way you want, before upgrading a production site.

    This site is using trunk, BTW.

    If you begin using trunk, please post any problems to trac so they can be addressed. Thanks

    #81487
    chrishajer
    Participant

    gerikg, I just committed the patch to fix this. I believe bbpress.org is running trunk and it updates on some sort of schedule/cron, so that fix will be present here tomorrow probably. Could you test again tomorrow?

    I don’t know when or how the code gets updated here, but I am seeing my changes here a day or two after committing to trac.

    Thanks

    #86320

    In reply to: Hide topics

    zaerl
    Participant

    I’m working on a little plugin that is a rework of Hidden Forums. It will allow the user to hide topics as well of forums. I will post the code after some testing.

    #33890

    Topic: Terms of Service

    in forum Plugins
    56alifar
    Blocked

    Hi there,

    The terms of service plugin is not available anymore when i try to download this.

    See: http://bbpress.org/plugins/topic/terms-of-service/

    Does anyone has this plugin and is this compatible with the latest version of BBpress?

    #86336

    In reply to: Topic tags

    gerikg
    Member

    from SAM

    “A first attempt at getting WordPress 2.7 and bbPress 1.0 to play nice again is now in trunk [1862].

    I’m specifically talking about “deep” integration, i.e. when you include WordPress inside bbPress to gain access to WordPress’ functions.

    This will need a lot of testing, so please post any issues you have on the relevant Trac ticket, #972 (which will stay open until some more testing has occurred).

    I recommend using the following code at the top of your bbPress bb-config.php file to include WordPress inside bbPress:

    if ( !defined( ‘ABSPATH’ ) ) {

    include_once( ‘/Full/Path/To/wp-load.php’ );

    }

    Note that this includes “wp-load.php” not “wp-config.php” or “wp-blog-header.php”. This avoids running WordPress’ template loader which presumably isn’t needed inside bbPress. Some implementations may want it though, so if you find you need it then give it a go and let us know how that goes.

    Also note that all filters and actions set in WordPress whether default or added by plugins or themes are cleared out completely. That means that plugins and themes installed in WordPress cannot add filters or actions to bbPress at all. This may have some implications I’m not aware of yet.

    Go nuts! “

    #86325
    miruru
    Member

    After some more testing, i’ve managed to get it working exactly how I wanted. You’ll need to change it in front-page.php.

    If you want the code, here it is: http://pastie.org/896738.txt.

    Hope it works for anyone who wishes to use it.

    edit: i mentioned that you need to replace forum.php with the above code, this was a mistake so you will need to revert the forum.php back to it’s original state and only change the front-page.php.

    #86330

    In reply to: Topic tags

    gerikg
    Member

    http://thekak.com/forums here is the test site. try to add a tag.

    #86300

    In reply to: All forums RSS feed?

    zaerl
    Participant

    File rss.php at line 182. It seems that bbPress retrieves the last 35 posts if called like /rss

    if ( !$posts = bb_get_latest_posts( 35 ) )
    die();

    you can add a new case on top of that file but I don’t think that it’s a wise choice expecially if you have a huge forum.

    #86161
    jomontvm
    Participant

    Hi Pagal,

    I have customized the permalink for bbpress, and it works fine. It’s still on the testing stage, though you can try this. The following is the modifications I have done.

    Step 1:


    Open ‘bb-admin/options-permalinks.php’

    You will find a permalink options declaration. Add one more option as shown below, it will add one more option in the permalink options in the backend. You can make the custom option with a text field, in order to customize in your own way (I have done in a predefined format in order to make it simple).


    $permalink_options = array(
    'mod_rewrite' => array(
    'title' => __( 'Permalink type' ),
    'type' => 'radio',
    'options' => array(
    '0' => sprintf( __( '<span>None</span> %s' ), bb_get_uri( 'forum.php', array( 'id' => 1 ), BB_URI_CONTEXT_TEXT ) ),
    '1' => sprintf( __( '<span>Numeric</span> %s' ), bb_get_uri( 'forum/1', null, BB_URI_CONTEXT_TEXT ) ),
    'slugs' => sprintf( __( '<span>Name based</span> %s' ), bb_get_uri( '/forum/first-forum', null, BB_URI_CONTEXT_TEXT ) ),
    'custom' => sprintf( __( '<span>Custom</span> %s' ), bb_get_uri( '/forum/%parent_slug%/%forum_slug%', null, BB_URI_CONTEXT_TEXT ))
    )
    )
    );

    Step 2:


    Now we have to create the custom format of permalinks for forums and topics.

    Open ‘bb-includes/functions.bb-template.php’

    We have to modify two functions ‘get_forum_link’ and ‘get_topic_link’. See the changes I have done for the custom permalink option.


    function get_forum_link( $forum_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF ) {
    $forum = bb_get_forum( get_forum_id( $forum_id ) );

    if (!$context || !is_integer($context)) {
    $context = BB_URI_CONTEXT_A_HREF;
    }

    $rewrite = bb_get_option( 'mod_rewrite' );

    if ( $rewrite ) {
    $page = (1 < $page) ? '/page/' . $page : '';
    if ($rewrite === 'custom') {
    if ($forum->forum_parent > 0) {
    $parent = bb_get_forum($forum->forum_parent);
    $parent_slug = $parent->forum_slug;
    $custom_link = $parent_slug . '/' . $forum->forum_slug;
    } else {
    $custom_link = $forum->forum_slug;
    }
    $link = bb_get_uri('forum/' . $custom_link . $page, null, $context);
    } else {
    if ( $rewrite === 'slugs' ) {
    $column = 'forum_slug';
    } else {
    $column = 'forum_id';
    }
    $link = bb_get_uri('forum/' . $forum->$column . $page, null, $context);
    }
    } else {
    $query = array(
    'id' => $forum->forum_id,
    'page' => (1 < $page) ? $page : false
    );
    $link = bb_get_uri('forum.php', $query, $context);
    }

    return apply_filters( 'get_forum_link', $link, $forum->forum_id, $context );
    }

    function get_topic_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF ) {
    $topic = get_topic( get_topic_id( $id ) );
    if (!$context || !is_integer($context)) {
    $context = BB_URI_CONTEXT_A_HREF;
    }

    $args = array();

    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    $page = (1 < $page) ? '/page/' . $page : '';
    if ($rewrite === 'custom') {
    $custom_link = '';
    if ($topic->forum_id > 0) {
    $forum = bb_get_forum($topic->forum_id);
    if ($forum->forum_parent > 0) {
    $parent = bb_get_forum($forum->forum_parent);
    $custom_link = $parent->forum_slug;
    }
    $custom_link .= '/' . $forum->forum_slug;
    }
    if (!empty($custom_link)) {
    $custom_link .= '/topic/' . $topic->topic_slug;
    } else {
    $custom_link .= 'topic/' . $topic->topic_slug;
    }
    $link = bb_get_uri($custom_link . $page, null, $context);
    } else {
    if ( $rewrite === 'slugs' ) {
    $column = 'topic_slug';
    } else {
    $column = 'topic_id';
    }
    $link = bb_get_uri('topic/' . $topic->$column . $page, null, $context);
    }
    } else {
    $page = (1 < $page) ? $page : false;
    $link = bb_get_uri('topic.php', array('id' => $topic->topic_id, 'page' => $page), $context);
    }

    return apply_filters( 'get_topic_link', $link, $topic->topic_id, $context );
    }

    Step 3:


    Now we have to define the htaccess rules.

    Open ‘.htaccess’ file in bbpress root folder, and add following two lines just above the code line – RewriteRule ^topic/?$ /forums/ [R=302,L,QSA].


    RewriteRule ^(.+)/topic/(.+) /forums/topic.php?id=$2 [L,QSA]
    RewriteRule ^forum/(.+)/(.+) /forums/forum/$2/ [L,QSA]

    Here is how my URLs looks after making these modifications:

    Forum URL: mysite.com/forums/forum/en/first-forum-in-english

    Topic URL: mysite.com/forums/en/first-forum-in-english/topic/the-ipad-developers-challenge

    #84562

    In reply to: bbPress mobile version

    bforeste
    Member

    Strong interest in this plugin…will be waiting for details.

    I can do basic testing as well – happy to help.

    bforeste

    #33864
    56alifar
    Blocked

    Hi there,

    If you are looking for a BBpress and WordPress developer, than i’m your man!

    I’m studying WP for about 4 years and BBpress for about 1 year now.

    I make high premium WP sites with fully BBpress integrated.

    See my latest project: http://www.jahw.nl / forum: http://www.jahw.nl/forums

    I have an updated list with the best plugins and latest hacks for both WP and BBPress.

    If you are looking for help, don’t hesitate to contact me via my contact page on my website: http://www.jahw.nl/contact

    #33856
    zaerl
    Participant

    Hi there. I’m writing a small plugin and I need to check if the actual page is the last page of a topic. I’ve seen that this is the standard way:

    if(bb_current_user_can('write_posts') && bb_is_topic())
    {
    global $topic, $page;
    $add = topic_pages_add();
    $last_page = get_page_number( $topic->topic_posts + $add );

    if($last_page == $page) do whatever you want
    }

    but I want to use this code during the bb_init callback. It doesn’t work and after some simple tests I’ve seen that $topic isn’t defined (yet). Is there a way to get last page during this callback?

    Thanks in advance.

Viewing 25 results - 8,201 through 8,225 (of 11,598 total)
Skip to toolbar