Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 4,651 through 4,675 (of 11,580 total)
  • Author
    Search Results
  • #147122
    Anonymous User 13302461
    Inactive

    In wp-content/plugins/bbpress/includes/common/widgets.php

    At around line 807 I added some code from the recent replies widget:

    
    // Verify the reply ID - TESTING
    $reply_id   = bbp_get_reply_id( $widget_query->post->ID );
    $reply_link = '<a class="bbp-reply-topic-title" href="' . esc_url( bbp_get_reply_url( $reply_id ) ) . '" title="' . esc_attr( bbp_get_reply_excerpt( $reply_id, 50 ) ) . '"> TEST</a>';
    // END TESTING	
    

    Then near line 830 I changed

    
    <div><?php bbp_topic_last_active_time( $topic_id ); ?></div>
    

    to include the code to print the “recent reply” link after the date/time.

    
    <div><?php bbp_topic_last_active_time( $topic_id ); 
    //print latest reply link
    printf( _x( '%1$s',              'widgets', 'bbpress' ), $reply_link);
    ?></div>
    
    Robin W
    Moderator

    ok, quick and messy way (based on some code I did elsewhere)

    create a directory in your theme root called bbpress

    wp-content/themes/%your-theme-name%/bbpress

    copy

    wp-content/plugins/bbpress/templates/default/bbpress

    loop-replies.php
    and
    loop-single-reply.php

    into this directory

    bbpress will now use these files instead

    in loop-replies change from line 40 to

    <li class="bbp-body">
    
    		<?php if ( bbp_thread_replies() ) : ?>
    
    			<?php bbp_list_replies(); ?>
    			
    			
    		<?php else : ?>
    			<?php global $countr ;
    			$countr=0 ; ?>
    		
    			<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    			
    			<?php 
    			$countr ++ ; 
    			
    			<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    			<?php endwhile; ?>
    
    

    This is basically just putting a count into this, so that we can see that the topic is count 0

    then in loop-single-reply change line 45 to read

    <?php if ($countr !=0) bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => true ) ); ?>

    I’ve not tested this, but you should be able to get it to work.

    #147094
    Robin W
    Moderator

    Integration is not an option for us, as explained in my original post.

    was just trying to help by giving you a test site that you could fix the issue in – only an option šŸ™‚

    therefore yes you are doing wp and bbpress on a sub-domain, should work quite easily !

    fumbling
    Participant

    Hi there! I am using bbpress v 2.5.3 and wordpress v 3.9.1.
    I would like to use an email for notifications from the forum, that is different then the one I’ve setup in wordpress settings. Is this possible? Its just different people in our organization will deal with the forum, and others with support on the contact page.
    Any help would greatly be appreciated!!!

    http://fumblingfitnesscom.fatcow.com/test/wordpress/

    #147058
    Robin W
    Moderator

    @smileyriley21 did this do what you needed? latest version is at

    bbp Private Groups

    #147052
    Robin W
    Moderator

    There should be no reason they won’t integrate.

    However the first thing you should do is create a test site see

    https://codex.bbpress.org/creating-a-test-site/

    The you can do everything without any pain !

    From what you describe, if you really want to go to a separate route, then the simplest route is for you to have two domains the primary and a subdomain. On the subdomain you would install wordpress, and the same theme as your main site and then add bbpress, put the files in there. As you then say, you’d just call this subdomain from your main site.

    #147030

    In reply to: Newby a little lost

    Robin W
    Moderator

    ok, I think you basically have forums and categories a bit mixed.

    Forums tend to belong to categories, rather than as you have, so I would get rid of the forum called “forums”

    Then change the ‘Category test’ category to have no parent

    Then set up a forum called forum 1, and put it’s parent as ‘category test’
    Then set up a forum called forum 2, and put it’s parent as ‘category test’
    Then set up a forum called forum 3, and put it’s parent as ‘none’

    You should now be able to click the menu and see category test with 2 forums belonging to it, and a 3rd forum that exists in it’s own right.

    Do you intent to have more than one forum, or just one forum with all topics in that?

    #147029

    In reply to: Newby a little lost

    kowarler
    Participant

    OK, I’ll do my best…

    question 1) yes it does take me to a page with a forum on it. However I have to click on ‘Forum’ again to see the actual forum

    question 2) how can I help you with listing this – ie: is there anything in the ‘page-source’ that would help?

    question 3) Looking at the dashboard, under Forums – I have two entries:
    1) is called Forums and is set up as a Type: ‘Forum’, Status: Open, Visibility: Public, Parent: no parent, order: 0
    Permalink shows as http://thesaabenthusiasts.co.uk/Forum/forum/forum/
    2) is called – category test and is set up as Type: Category, Status: Open, Visibility: Public, Parent: Forum, order: 0

    If there’s any other info I can send you, just let me know…

    #146984
    flipdamusic
    Participant

    Hi,
    i have the challenge to show the latest topics for the role members in the topic index view. I’m new to bbpress so i’ve to learn a lot.

    I’m using buddypress with sidewide and group forums. Each group has one forum.
    When I’m using a site and shortcode [bbp-topic-index] only all topics from the sidewide forums are shown. What I’ve learned is that this is a default behavior – i hope i’m not wrong šŸ™‚

    Now I want to show all latest topics / posts for all members belonging to their group / group forum – optimal on the latest topic page. The users are members (bbpress) and abonnents (WordPress).
    How do i accomplish that ?

    #146976
    2scope
    Participant

    Hi

    I’ve just tried installing bbpress and after following the guides I find that setting my test forum to visibility: public does not work. It will asks for a username and password when you try to visit the forum. You can see an example here:

    http://www.2scopedesign.co.uk/support/

    Does anyone know why this is happening?

    Thanks

    #146966
    Stephen Edgar
    Keymaster

    Not sure if this is related, but on my test install when there are second-level replies to import it messes bbPress list of replies.

    Yes, saw the same thing, because the replies it tries to list are linking to parent topics that do not exist.

    EDIT: do not believe I haven’t read your own posts LOL. I just wanted to describe the path I have followed in case it would bring some light on your side…

    Thinking ‘out loud’ is all good, helps ideas for even funkier SQL queries šŸ˜‰

    Unfortunately, it seems the converter doesn’t accept this…

    No it doesn’t, it is pretty limited in how we can do joins and joining a table with the same name it ignores when it comes time to merge all the sections field mappings. We can work around this for now by putting all of the join bits in the from_expression thus the following works:

    
    'from_expression' => 'INNER JOIN wp_symposium_topics t ON symposium_topics.topic_parent = t.tid WHERE symposium_topics.topic_parent != 0 AND symposium_topics.topic_group = 0 AND t.topic_parent = 0',
    

    I also setup some groups (and what a painful experience that was), I agree it would be nice to get the group topics imported also but lets do that in v2 after I add some of the previously mentioned changes to improve the capabilities of the main converter script.

    Pull request sent with above change…

    #146955
    lagrou
    Participant

    Problem I see, is that with this version all of the replies are imported, including second-level ones which have the topic ID as parent instead of their parent ID. Not sure if this is related, but on my test install when there are second-level replies to import it messes bbPress list of replies. Whereas with no second-level replies in WPS forum, it works fine.

    To get only first-level replies, I have changed the above into:
    "SELECT s.* FROM wp_symposium_topics s INNER JOIN wp_symposium_topics t ON s.topic_parent = t.tid WHERE s.topic_parent != 0 AND s.topic_group = 0 AND t.topic_parent = 0"

    Which works fine as dumped in a PHP page. And then into:

    // Reply id (Stored in postmeta)
    $this->field_map[] = array(
    	'from_tablename'  => 'symposium_topics s',
    	'from_fieldname'  => 'tid',
    	'join_tablename'  => 'symposium_topics t',
    	'join_type'       => 'INNER',
    	'join_expression' => 'ON s.topic_parent = t.tid',
    	'from_expression' => 'WHERE s.topic_parent != 0 AND s.topic_group = 0 AND t.topic_parent = 0',
    	'to_type'         => 'reply',
    	'to_fieldname'    => '_bbp_post_id'
    );

    Unfortunately, it seems the converter doesn’t accept this…

    EDIT: do not believe I haven’t read your own posts LOL. I just wanted to describe the path I have followed in case it would bring some light on your side…

    #146937
    iclimb
    Participant

    nhadsall, this is great..! thumbs up and great work. i’ve tested it a little bit and it seems to work when a new forum i created.

    I really don’t want to sound demanding, because i’m really appreciating the work you’re doing!
    But one thing i think it is missing, is when a new user is created, he is not subscribed to existing forums. He will only be subscribed to new ones. Do you think it would be possible to make new users subscribed to all forums when created? i realize that it probably means some work, but i think it will make most sense that way.

    Best regards, Christian

    #146932
    Stephen Edgar
    Keymaster

    It looks like we won’t get the threaded replies in v1, I had a similar issue with vBulletin 5 and which is not included in bbPress at this stage. Trying to get a single query to handle all of the replies doesn’t look good at the moment for WPS.

    You can take a look at the vBulletin5.php importer, rather than just ‘Forums’, ‘Topics’ and ‘Replies’ sections I had to add a 4th, ‘Comments’ this then meant I had to extend the main converter to handle this extra step.

    https://bbpress.trac.wordpress.org/attachment/ticket/2440/

    I’ll have a think about this over the next couple of days and come up with some options, there is a chance I can add this extra section to bbPress and then included WPS threaded replies, vBulletin5.php in the next version of bbPress. There is just a ton of testing needed to ensure the ~20 other importers continue to work and fix any issues that arise…

    #146929
    Stephen Edgar
    Keymaster

    Reply to Replies, I had a look and they are stored in symposium_topics like other replies, so we should have them with little effort. In case you’d like to give it a try on WPS side, and be able to test their import, they are activated using roles, ā€œForum comment rolesā€ under ā€œForumā€ tab.

    I’ve added some ā€˜replies to replies’ to my test WPS forum before converting it… In bbPress, in the backend they are not displayed in the list of replies, although I do see ā€˜hidden’ replies in the count that I cannot access to. In the frontend, the forum topic does not show those replies, nor do the counters. However!! When dumping wp_posts table WHERE post_type = ā€˜reply’, they are there, so they were converted ok, it’s just that they don’t show. I did set bbPress threated replies 2 levels deep before conversion. Any advice…?

    Looking at this now, threaded replies are using the same topic_parent field, though they are using this as a pointer to the ‘reply parent’ rather than the topic parent.

    This is the reply query: (My test results) Notice the ‘threaded replies’ topic ID, it is not the actual topic ID it is the reply ID they are a reply to.

    
    SELECT CONVERT( symposium_topics.tid
    USING  "utf8" ) AS tid, CONVERT( symposium_topics.topic_category
    USING  "utf8" ) AS topic_category, CONVERT( symposium_topics.topic_parent
    USING  "utf8" ) AS topic_parent, CONVERT( symposium_topics.topic_owner
    USING  "utf8" ) AS topic_owner, CONVERT( symposium_topics.topic_post
    USING  "utf8" ) AS topic_post, CONVERT( symposium_topics.topic_started
    USING  "utf8" ) AS topic_started
    FROM wp_symposium_topics AS symposium_topics
    WHERE symposium_topics.topic_parent !=0
    LIMIT 0 , 100
    

    Working on tweaking the query now….

    I’ll be happy to contribute to the bbPress Codex as well, with issues etc.

    Appreciated šŸ™‚

    Browsing other converters’ Codex, I do see where there will be issues with WP Symposium, [youtube], custom smilies {{cloud}}, etc.

    I haven’t looked at this yet, most of it should be easy enough from work on the other importers, just a matter of creating a list of all that is required.

    As far as groups forum topics, I would add ā€˜AND symposium_topics.topic_group = 0 ā€˜ to the ā€˜from_expression’ of both the topic ID and Reply ID sections to get rid of those posts. Cleaner until v2.

    I’ll add that shortly and do some tests.

    #146924
    Tom Dyer
    Participant

    as a side note, it’s probably worth utilising the bbp_get_forum_post_type(), bbp_get_topic_post_type() and bbp_get_reply_post_type() from bbPress instead of hard-coding the ‘forum’, ‘topic’ and ‘reply’ in there. It’s not affecting what I’m doing right now, but you can bet it’s going to upset somebody sometime šŸ˜‰

    – You may already have that in mind but I just figured, since you want people testing it, that it’s worth pointing out.

    #146909
    fumbling
    Participant

    I’ve set up a forum, by making a page, and for some reason the bbpress sidebar isn’t showing up. My pages sidebar is coming up. How can I fix this?
    http://fumblingfitnesscom.fatcow.com/test/wordpress/ask/

    any help would be greatly appreciated! Thanks šŸ™‚

    #146903
    lagrou
    Participant

    Something odd about those “replies to replies”. I had assumed they would be there by default, but couldn’t see them…

    I’ve added some ‘replies to replies’ to my test WPS forum before converting it… In bbPress, in the backend they are not displayed in the list of replies, although I do see ‘hidden’ replies in the count that I cannot access to. In the frontend, the forum topic does not show those replies, nor do the counters. However!! When dumping wp_posts table WHERE post_type = ‘reply’, they are there, so they were converted ok, it’s just that they don’t show. I did set bbPress threated replies 2 levels deep before conversion. Any advice…?

    As far as groups forum topics, I would add ‘AND symposium_topics.topic_group = 0 ‘ to the ‘from_expression’ of both the topic ID and Reply ID sections to get rid of those posts. Cleaner until v2.

    CathieHeart
    Participant

    Hello,

    I’m struggling to get a new subscriber user I created to test functionality and found that they are unable to upload pictures / files. I understand that only users who are able to upload media will be able to add new media but I’ve edited the access rights to allow subscribers to upload their own media.

    I’m using:
    Wordpress: Version 3.9.1
    bbPress: Version 2.5.3
    bbPress Enable TinyMCE Visual Tab: Version 1.0.1 –

    I’ve setup a fresh install of wordpress and I’m running a minimum of plugins, user switching, bbpress, bbpress genesis and the bbPress Enable TinyMCE Visual Tab plugin. I’m also using a plugin by WP-Types called Access to that I’ve used to make a subscriber able to read, edit, delete and publish their own media files.

    How do I get the basic subscriber user to be able to:

    • create a topic
    • reply to topics
    • be able to upload media as a forum participant

    I’ve got the settings > forum > set to ‘Automatically give registered visitors the Participant forum role’. What else do I need to do?

    Thanks
    Cathie.

    #146883
    lagrou
    Participant

    Merged your pull request…

    Reply to Replies, I had a look and they are stored in symposium_topics like other replies, so we should have them with little effort. In case you’d like to give it a try on WPS side, and be able to test their import, they are activated using roles, “Forum comment roles” under “Forum” tab.

    I’ll be happy to contribute to the bbPress Codex as well, with issues etc. Browsing other converters’ Codex, I do see where there will be issues with WP Symposium, [youtube], custom smilies {{cloud}}, etc.

    EDIT: oops fixed a copy/paste error in my prose…

    #146875
    Tom Dyer
    Participant

    Nope, I’ve not touched the Twenty fourteen theme since I added it. It’s been updated whenever required anyway though (I don’t like the seeing the update icon in the admin, so I tend to always keep things on the latest version whether I’m using it or not).

    This is a multisite install of WordPress though – Would that affect the $wpdb->get_col() visibility?

    #146872
    Robin W
    Moderator

    @netweb – thanks for adding to this thread, and apologies if I was breaking rules – fully appreciate the reasons they are there šŸ™‚

    I think the errors in pg_get_author_link are related to testing for settings that may not have been set, I’ll take a look.


    @trymedo
    – As Stephen suggest try it with a core theme and play with the plugins. Come back with your results !

    #146869
    Stephen Edgar
    Keymaster

    I really would suggest switching to the Twenty Fourteen theme, and testing that, it works for me.

    If it still doesn’t work for you disable all your plugins except bbPress and ‘Private Groups’, test things, if it works great, start re-enabling each plugin one by one until you find it no longer works.

    #146866
    Stephen Edgar
    Keymaster

    I have a huge affinity for the Roots theme, it is awesome, but it can catch you out, I just gave the latest v1.6 a run, using Twenty Fourteen as the theme everything works as expected as ‘keymaster’, moving a reply from one topic to another works as expected.

    The only errors I see are in the function pg_get_author_link (These are not related directly to @trymedo’s the issue though)

    Notice Undefined variable: args 1 wp-content/plugins/bbp-private-groups/includes/functions.php:245
    Notice Undefined variable: post_id 1 wp-content/plugins/bbp-private-groups/includes/functions.php:246

    #146861
    kowarler
    Participant

    I’m working on a test wordpress site for a car club and I’ve tried to add a Forum…

    http://thesaabenthusiasts.co.uk/Forum/forum/forum/

    Is there anyway of showing the Forum (and it’s topics) on the Forum page, rather than having to click on ‘Forum’ in the Menu, then click on Forum again?

Viewing 25 results - 4,651 through 4,675 (of 11,580 total)
Skip to toolbar