Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,476 through 3,500 (of 11,598 total)
  • Author
    Search Results
  • #164274

    In reply to: Importing from WBB4

    sammmmy
    Participant

    After refreshing and logging out/in (tested both)
    the side is showing the original “import side” with empty fields

    #164260

    In reply to: Merging forums

    Robkk
    Moderator

    well I don’t think you can merge forums by default in bbPress.

    Hello, I have set my forum up with four different forums, but I want to strip this down to two, so effectively merging three forums into one.

    How can I do this?

    I think there is a plugin to export all the topics and replies of a forum and then you can import the that data into another forum.

    I think there is also a different way to do this, some other guy did this with some other plugin. I might have to look that up and see the plugin he used.

    Is it better to rename one forum, then move everything from the other two forums into the first?

    Or, should I somehow merge all three into one?

    I don’t think it matters really?? It might be best just to move all the data in a new forum though.

    In any case, how will this affect posters subscriptions? Will they still have direct access to the forums once moved if people add to a topic?

    This is a great question about the subscriptions, this will need some testing. I think they can have direct access to the topic once it is moved.

    #164258
    Robkk
    Moderator

    Does it really not show the reply author’s avatar in the freshness??

    Usually you will get the latest reply author in the freshness. When a forum has had a topic that has been replied to, if you hover over the freshness link it would say Reply To: Topic name, and if you look at the author link it should show the latest replies author’s avatar.

    You can check to see if it is a cache issue by flushing the cache?

    #164256
    PinkishHue
    Participant

    @julia_b (If you’re still waiting for a reply!) – you need to put this in your functions.php file, more info here: https://codex.bbpress.org/functions-files-and-child-themes-explained/

    This works great, thanks so much for sharing this code!

    I’ve also managed, with very little tweaking, to get this displaying replies under topics within the topics list (this is very rough with some bits commented out but pasting here in case it helps someone)

    
    // https://bbpress.org/forums/topic/how-to-add-latest-reply-or-topic-to-forum-list/
    function jagreplies_add_last_reply() { { 
     $jagreplies_last_reply_id = bbp_get_topic_last_reply_id();
     //$jagreplies_last_topic_id = bbp_get_forum_last_topic_id();
    
    $new_args = array(
        'post_type'=> 'reply',
        'p' => $jagreplies_last_reply_id
    );
    $post_title_args = array(
        'post_type'=> 'topic',
        'p' => $jagreplies_last_topic_id
    );
    $other_args = array(
        'post_type'=> 'topic',
        'p' => $jagreplies_last_topic_id
    );
    $jagreplies_query = new WP_Query( $post_title_args );
    $nest_query = new WP_Query( $new_args );
    $another_nest_query = new WP_Query( $other_args );
    
       if ( $jagreplies_query->have_posts() ) : while ( $jagreplies_query->have_posts() ) : $jagreplies_query->the_post();
         $this_post_id=$post->ID;
         $this_post_permalink= get_permalink(); ?>   
                                 
         <!--<a href="<?php //echo $this_post_permalink; ?>">-->
    
    <?php endwhile; 
       endif; wp_reset_query();
    
       if ( $nest_query->have_posts() ) : while ( $nest_query->have_posts() ) : $nest_query->the_post();
         $this_post_id=$post->ID;
         //$this_post_title= get_the_title();
         //$this_post_content= get_the_excerpt(); 
         $this_post_content= the_content(); ?>
    
         <h1><?php echo $this_post_title; ?></h1></a>
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile;
    elseif ( $another_nest_query->have_posts() ) : while ( $another_nest_query->have_posts() ) : $another_nest_query->the_post();
         $this_post_id=$post->ID;
         //$this_post_title= get_the_title();
         //$this_post_content= get_the_excerpt();
         $this_post_content= the_content(); ?>   
                                      
         <!--<h1><?php //echo $this_post_title; ?></h1></a>-->
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile; 
       endif; 
        }} 
    // Hook into action
    add_action('bbp_theme_after_topic_freshness_author','jagreplies_add_last_reply');

    This is extremely useful in creating a ‘Facebook’ style site where all content can be displayed on one single page (I know, Facebook, yuck! But it’s what ‘the people’ like)

    Now I just need to try to get the bbpress Ajax Replies plugin working in conjunction with this so people can post and reply from that single page. Interesting!

    **edited to add – if using my code above you may just want to change the last line ‘bbp_theme_after_topic_freshness_author’ to a different hook depending on where you want to display it, I am using customised templates but I’m not sure how it would look loading the content there if using the default templates

    #164251

    In reply to: bbPress like Flarum

    Master
    Participant

    okay, tomorrow i’m going to upload latest version i add some color for category header and fix some for mobile view

    wcreimer
    Participant

    When I activate the latest bbPress (2.5.8) or SimpleRestrict (1.0.2) plugin then try to login to my site, the WordPress dashboard does not open. Instead, I simply get the home page of the site.

    To deactivate these plugins, I have to go to my site files, rename the “plugins” folder, sign in to the site (the Dashboard appears) then reactivate my plugins other than bbPress and SimpleRestrict. Signing out, then signing in shows me the Dashboard. I have repeated this procedure about 3 times with the same result. The site is http://ruralpolicy.ca.

    If I activate bbPress (in order to use the Forums option), the site seems to work okay, but I can’t log in to the Dashboard.

    I recently redefined the site address URL and it seemed to make the necessary changes to the shortlinks okay. I can’t be sure, but this bbPress-Dashboard problem appeared around the time I made this change.

    I’m using the Twenty-ten theme with a child.

    Any suggestions what the problem might be?

    #164216
    bananadan
    Participant

    Robin:
    I am striking out on http://jobs.wordpress.net/. The majority of the people who have responded to my post send me massively long resumes and covers letters explaining how they are the “greatest developers” and can do anything and then some. Very few have addressed my needs which is in fact that I want to hire someone with lots of BBPress experience to install BBPress and then import the data from our Web Wiz forum and then configure BBPress to look and act as we want.
    Would you allow me to post something in your site to try and find someone who is actually a BBPress guru?
    Dan

    davidddn
    Participant

    Same issue – bbpress topic and reply search results only display for admin. Latest WP and bbpress.

    #164204
    Kaynechiro
    Participant

    Please, nobody has an idea about to show latest author reply into index page of the forum?

    #164173
    mshane1152
    Participant

    Thanks for your reply – actually the forums index does show topics on initial setup. Here is a quick forum set up that I did in a few minutes to test and assigned the page template as forum index and it lists the topics below the forums.

    Home Brewing

    The issue isn’t a cache related issue but do you think it could be related to permalinks. For some reason when a topic is created and assigned to a forum it shows up in the widget area and in the specific forum but the forum index page isn’t recognizing it which makes sense bc when you click on the forum even though you see topics the notification at the top states the forum is empty.

    Thanks!

    #164159

    In reply to: Bulk Forum Creation

    Robkk
    Moderator

    You can kind of do the same process that is mentioned here.

    Creating Test Data

    And you could possibly use a plugin to create forums too like this one

    Test Data for bbPress – Plugin

    Stephen Edgar
    Keymaster

    A year or two ago we had lots of translation issues with bbPress, to fix this I got en_AU (English Australian) of the ground and translated all the things, WordPress, BuddyPress and bbPress and help out on the #polyglots team https://make.wordpress.org/polyglots/

    The string I translated to test was the Pending string replaced with stickfinger for en_AU:

    https://translate.wordpress.org/projects/bbpress/dev/en-au/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=196793&filters%5Btranslation_id%5D=9251229

    I then downloaded the .po and .mo files (at the bottom of that screen you can export these) and replaced my en_AU bbpress-en_AU.mo/bbpress-en_AU.po files in /wp-content/languages/plugins

    What happens if you export the .po/.mo files from /bbpress/2.5.x/pt-br/default?

    Also make sure your files are named bbpress-pt_BR.mo and bbpress-pt_BR.po

    Stagger Lee
    Participant

    Here is a list in my opinion should have under Author names at least one nam of bbPress core developers. Not of things on list has anything to do with me personally, just using other popular forum scripts as reference.

    – Live preview (live or button for another window/popup)
    – Report content (reply)
    – Ignore User
    – bbPress moderation panel separate from backend
    – Notifications
    – Make topics/forums read, unread (dont know if it is already in the core)
    – bbPress TinyMce plugin
    – Reply titles
    – View counts
    – Topics for posts (very important even if not used on all installations)
    – Online / Offline status
    – bbPress Polls (not shortcode based)
    – Attachments
    – Move topics / replies between subforums
    – Avatar management
    – Like / Vote topics, replies (I personally would never use this one, but..)
    – New plugin that makes it easy to add custom fields and add them where you need (this one is not referenced by other forum scripts).

    And some more, other people can have other lists. Most important is that at least one bbPress core developer stand on Author list and guarantee plugin will work with latest bbPress version. Not in same minut maybe, nobody is a Superman, but few days after new bbPress version got out.

    #164105
    David13_13
    Participant

    Hello again.

    I just installed a new website and the latest version of WordPress and BBpress and the last code that worked well in that website is no working here. The email notification works well, but still is checked the log field…

    Any suggestion please?

    I guess that the code of BBpress has changed in recent versions…

    Thanks in advance

    Stephen Edgar
    Keymaster

    I’m looking into this now @stickfinger, if you have any updates on the testing you did please let me know 🙂

    gothweb
    Participant

    post test:

    I looked at:

    Step by step guide to setting up a bbPress forum – Part 1

    I tried to write an explanation of what I did, but flood detection seems to be deleting my posts.

    Edit:

    I tried to use:

    If you do not permit anonymous posting, then your users will need to register with your site. It is up to you to decide which method is preferable.

    Automatic registration is easier and it does allow people to quickly sign up, but by the same token gives you less control over who is contributing to your forums, and can lead to spam postings.

    Manual signup involves you in more administration, but does give you complete control over who has write access.

    Neither is better overall, but one will be better for you !

    To allow automatic registration, go to Dashboard > Settings > General settings and under membership, tick “anyone can register”. Then in Dashboard > settings > forums tick the auto role, and ensure this is only at participant level.

    To set manual registration, go to Dashboard > Settings > General settings and under membership, and ensure “anyone can register” is not ticked. Then in Dashboard>settings>forums tick the auto role, and ensure this is only at participant level.

    In both cases, you will then need a screen for users to register – we’ll come back to where to put this screen later, but for the moment go into dashboard>pages>add new page and create a page. You can call this page anything you like but “register” or “registration” would be logical when users view or access its URL.

    If you are doing automatic registration, then put whatever preamble you’d like (“to register for our forums” etc.) , and then add the following shortcode [bbp-register]. Save the page.

    and I can register new users by the page at:

    http://makers.beyondnp.com/open/?page_id=149

    but I don’t know how to fix the widget. Maybe the URL of the registration page can be used as the URI.

    #164071
    melanie bund
    Participant

    Hi Robkk – on the test site i have deactivated every plugin (so it looks odd) and i still have the same problem – replies empty, am using twentytwelve theme so should not be a theme problem.
    http://photohunters.org/photohunters-test/topic/sony-alpha-dslr-a100/#post-348
    Tha only thing i have added to fuctions.php is to hide author links and profile and avatar

    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options');
    
    add_filter( 'bbp_get_author_link', 'remove_author_links', 10, 2);
    add_filter( 'bbp_get_reply_author_link', 'remove_author_links', 10, 2);
    add_filter( 'bbp_get_topic_author_link', 'remove_author_links', 10, 2);
    function remove_author_links($author_link, $args) {
    	$author_link = preg_replace(array('{<a[^>]*>}','{}'), array(" "), $author_link);
    	return $author_link;
     }
     
    
    add_filter ('bbp_before_get_author_link_parse_args' , 'rew_remove_avatar' ) ;
    add_filter ('bbp_before_get_reply_author_link_parse_args' , 'rew_remove_avatar' ) ;
    add_filter ('bbp_before_get_topic_author_link_parse_args' , 'rew_remove_avatar' ) ;
    function rew_remove_avatar ($args) {
    	$args['type'] = 'name' ;
    	return $args ;
    }

    Any ideas? Melanie
    p.s. pop gone on main site, trying to sort out the problem…

    ghoush
    Participant

    I have searched and put code together and tested. Now whenever a new post is created in WordPress a new topic is created in a specific sub-forum on my bbPress. This is working great. It brings over the tags and everything.

    The one problem I have is that the publish_post action fires every time a post is set to published. So if a post gets set back to draft or pending review, and then published again, another forum topic is created. There are problaby 2097324907629306 ways this can be solved. I am only coming up with some pretty stupid ones I think, so I was hoping someone might have a good idea here.

    Here is the code for your functions.php:

    
    function post_published_create_topic( $ID, $post ) {
        $author = $post->post_author;
        $name = get_the_author_meta( 'display_name', $author );
        $title = $post->post_title;
        $permalink = get_permalink( $ID );
        $excerpt = $post->post_excerpt;
        $subject = sprintf( '%s: %s', $name, $title );
        $message = sprintf ('[b]%s[/b]' . "\n" . 'By %s' . "\n\n" . '[i]%s[/i]' . "\n\n" . 'View: %s' . "\n\n", $title, $name, $excerpt, $permalink );
        $tags = wp_get_post_tags( $ID, array( 'fields' => 'names' ) );
    
        $new_post = array(
            'post_title'    => $subject,
            'post_content'  => $message,
            'post_parent' => 691,
            'post_status'   => 'publish',
            'post_type' => 'topic'
        );
        $topic_meta = array(
        'forum_id'       => $new_post['post_parent']
        );
        $topic_id = bbp_insert_topic($new_post, $topic_meta);
        $term_taxonomy_ids = wp_set_object_terms( $topic_id, $tags, 'topic-tag' );
    }
    add_action( 'publish_post', 'post_published_create_topic', 10, 2 );
    

    Take that code and put it in your themes functions.php (hopefully you are using a child theme.) The 691 is my sub-forums ID, replace that with the right ID for yours. The format of the post and its content is done on the line that starts “$message = sprintf”.

    Now I just need to get it to stop creating a new post every time the same post is published. So far my ideas have been something like matching up the topics title with a string comparison, but that seems a bit heavy. There should be a simpler way and I am just not seeing it right now.

    saintjaved
    Participant

    Yep the latest version of bbpress (“2.5.8”). It also does the same with buddypress but I more need bbpress.

    Robkk
    Moderator

    Did this happen with the latest update of bbPress??
    Also do some troubleshooting and try to find a plugin or theme issue.

    Troubleshooting

    Blank Pages

    #164023
    PinkishHue
    Participant

    Sorry for the delayed reply, you could upload your screengrab to http://imgur.com and then give us the link.

    Do you have some topics within your forums? Could it be that the template is saying ‘by’ as it’s trying to show the latest topic but there’s no topic there to show?

    And what theme are you using? It could be that the ‘by’ has been hard coded in to the templates?

    #164004
    melanie bund
    Participant

    Hi Am not sure where my other 2 posts went, have posted twice with code, maybe that is the problem the code. My problem is that the replies to topics appear empty.
    Am using wordpress 4.2, bbpress latest version as just updated to see if that might be the problem
    ANY help wold be greatly apreciated
    forum:
    http://photohunters.org/forum/members-blog/
    reply:
    http://photohunters.org/topic/shutter-speed-cheat-sheet/#post-666

    Thank you Melanie

    #163974
    Robin W
    Moderator

    yes, use the latest activity widget in my plugin

    https://wordpress.org/plugins/bbp-style-pack/

    #163973
    Robkk
    Moderator

    There seems to be users that have gotten the same error.

    Fresh install, php warning on all pages in site

    A user listed a fix to surround an attribute with an array() , which I did test and it does seem to hide the error.

    Might need some second thoughts from Stephen though.

    #163964
    Robkk
    Moderator

    Thanks for pointing me to the topic.

    I see that bbPress is inheriting a lot of styles from your theme

    bbPress is using lists instead of a table layout so that is why you see some of the bubbles there.

    I see you removed the list styles from your forum.

    But you might need this additional CSS to fix some other layout issues.

    #bbpress-forums .art-postcontent ul>li, 
    #bbpress-forums .art-post ul>li, 
    #bbpress-forums .art-textblock ul>li {
      padding-left: 0px;
      overflow-x: hidden;
      overflow-y: hidden;
    }

    There is some other styles being inherited from the theme, but they are just for styling text and they are quite difficult to fix the same way as above.

    Oh and you can delete the account you created for testing. I don’t think I have to login to see the issues you have, unless you have gotten issues around something I would have to see while logged in only.

Viewing 25 results - 3,476 through 3,500 (of 11,598 total)
Skip to toolbar