Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,851 through 5,875 (of 32,522 total)
  • Author
    Search Results
  • #178666
    Robkk
    Moderator

    Are your forum posts still there?

    This could a possible theme issue. I think bbPress could use a template (either content-search.php or search.php ) by accident from your theme.

    Are you using a custom theme, you might want to create a child theme if so?

    To fix this place the content-search.php and form-search.php files from the bbPress plugin to your child theme in a folder called bbpress.

    If you haven’t created a child theme create one.

    https://codex.bbpress.org/themes/theme-compatibility/

    https://codex.wordpress.org/Child_Themes

    #178664
    Robkk
    Moderator

    This is a theme/bbPress theme compat issue. The template file that bbPress is inheriting for its display is making the pages display like that.

    You will need to create a bbpress.php file from code that I will post later after I take a look at a free version of your theme.

    Edit: Here is the file you can use.

    https://gist.github.com/robkk/f88c50902c6ef072e733924bfea6a634

    #178663
    Robkk
    Moderator

    Did you change themes?? I see in your html source code that you have a theme named Arise.

    iempoweru
    Participant

    First details:
    Basic System info on wp core and all activated plugins. I am currently using Spacious theme adult, have not configured child as of yet. Will work on theme last thing.

    WP version 4.6.1
    Theme Spacious 1.4.1
    PHP version 5.6.25
    bbPress version 2.5.10-6063
    site url https://www.divorcehub.com
    Active Plugins Name and Version
    – p1 Akismet 3.2
    – p2 All In One SEO Pack 2.3.10.2
    – p3 bbPress Move Topics 1.1.3
    – p4 bbP Toolkit 1.0.6
    – p5 bbPress – Live Topic Suggestions 1.0.9
    – p6 bbPress Notify 0.2.2
    – p7 bbPress – Private Replies 1.3.3
    – p8 bbPress – Report Content 1.0.5
    – p9 bbPress 2.5.10
    – p10 Buddy-bbPress Support Topic 2.1.0
    – p11 BuddyPress Friends Only Activity Stream 1.0
    – p12 BuddyPress Friends On-line (FOL) 0.4.3.1
    – p13 BuddyPress Global Search 1.1.5
    – p14 rtMedia for WordPress, BuddyPress and bbPress 4.1.8
    – p15 BuddyPress 2.7.0
    – p16 Child Theme Configurator 2.1.2
    – p17 Header and Footer 2.0.3
    – p18 Like Button Voting & Rating 2.3.0
    – p19 Membership 2 Pro 1.0.3.3
    – p20 RSS Icon Widget 4.0
    – p21 Simple Contact Forms 1.6.4
    – p22 Theme Check 20160523.1
    – p23 Transcoder 1.0.7
    – p24 Turbo Widgets 1.0.4
    – p25 WP All Import 3.3.8
    – p26 WP Smush Pro 2.4.5
    – p27 WPMU DEV Dashboard 4.2

    As you can see I have integrated bbpress with buddypress and membership 2. These are almost completely configured to the way I want them.

    The goal with the content on this free membership site is to make almost all the content readable, but to allow only users to post new topics or replies.

    I have added one plugin at a time and test in between so I do not think there are any conflicts.

    Matter of fact, everything is great except for 1 thing.

    I do not want a non-logged in user to be able to post topics or replies. At the bottom of each of the current topics, there is a reply text entry field. If I log out and try to post a reply, I get this message:

    “slow down, you move too fast”

    So I either need to figure out how to change that message to “only logged in users can reply or post new topics” or something similar.

    Or I need to know how to hide the reply text entry field for non-logged in users.

    I have been through settings>forum as well as all the other plugins looking for the appropriate toggle to no avail.

    I have combed the forums and google with no success. Thanks in advance for your assistance. Linda @iempoweru

    #178644
    Graham
    Participant

    WP – ver 4.6.1
    bbPress – ver 2.5.10

    Home Page

    Hello, thank you in advance for any help!
    I have just activated a plugin called “Search bbPress 2.0” which fixes the issue of searching for topics, replies, etc. However, when the results display they include a link to the author and the title. The title works fine but the author points to “the_author_posts_link();” – which sends me to a url containing /author/ (instead of /members/)
    https://woodardnetwork.com/forums/?s=quickbooks

    I am thinking “posts” is not where I want to go, rather “members” – I could not find this in the documentation (or on codex.wordpress as it looks to be bbPress specific). Anyone know the replacement for the above function?

    Thanks again!
    -Graham

    #178639
    LevyImage
    Participant

    Hi,
    I’ve been struggling with a serious import problem since may 2016.
    Issue #1 My BBpress forums will not migrate properly with conventional WordPress import/export built in tool.
    Issue #2 When I use WP ALL Import (pro bundle) to get a CSV I can actually work with, and manually update the USER ID table and Forum ID and Parent ID, the import works (Forums and Topics are matched up properly) but tool>BBpress>recaculate will completely break the forum, I need to be able to recalculate once in a while… not being able to do this is a problem. And even to get the imports working I have to manually change IDs in the CSVs in order for the imports to match content up properly. And even when using vlookup in Excel, it is painstakingly difficult to manually create a dual reference column where column one is the old ID (for old website forum) and column two is the new ID (for new website forum). This is why I don’t have a fixed CSV for replies yet. I’ve thousands of them.

    Authors of WP ALL Import have been of no substantial help. Please any help because I’ve been paying for my old server and new server for months now and it’s gotten very expensive.

    Data columns including in Forum Export is:
    id Title Content Post Type Date Order Parent Slug Author Status _bbp_status _bbp_old_forum_id _bbp_forum_parent_id _bbp_forum_subforum_count _bbp_topic_count_hidden _vc_post_settings _bbp_status _yoast_wpseo_title _bbp_forum_id _bbp_last_topic_id _bbp_last_reply_id _bbp_last_active_id _bbp_last_active_time _bbp_topic_count _bbp_total_topic_count _bbp_reply_count _bbp_total_reply_count

    Data columns included in Topic Export is:
    "id Title Content Date Post Type Permalink _bbp_old_topic_id _bbp_reply_count _bbp_total_reply_count _bbp_author_ip _bbp_old_sticky_status _bbp_topic_id _bbp_forum_id _bbp_last_reply_id _bbp_last_active_id _bbp_last_active_time _bbp_voice_count _vc_post_settings vc_teaser Status Author Slug Order Parent Comment Status"

    Data columns included in Replies Export is:
    id Content Date Post Type Permalink Status Author Slug Parent Order Comment Status Ping Status _bbp_post_id _bbp_author_ip _vc_post_settings _bbp_activity_id _bbp_topic_id _bbp_forum_id

    For Forum’s I updated Author IDs.
    For Topic’s I updated Author IDs, Parent, and _bbp_forum_id

    After a successful import for these two post types,
    bbpress recalculate will completely break the posts’ hierarchy.

    I’ve yet to find a way to get replies to import successfully due to the shear number of replies and _bbp_topic_id’s I’d have to update the new IDs for.

    siparker
    Participant

    @consultjoseph I think this is down to the id not being available.

    We are trying various dfifferent ways of doign this now with different url structures. Once we have a solution we will release it as part of the Coffeeblack BBpress extended plugin.

    the default code still works for search engine friendly urls but there are a load of other bits i am working on too. like auto setup of urls to match default vbulletin, default kunena, default phpbb and so on. so you can just choose the format from the admin side and it will just work.

    Also looking at a sensible way to auto redirect all old urls to the new ones. Which is a harder propsective change but nonetheless it should be done so this solution can work for everyone.

    consultjoseph
    Participant

    @themichaelglenn I tried out your version but it brought problems which weren’t there in the original version.

    Now, when I go to a sub-topic and click on a new thread, it says “PAGE NOT FOUND” despite it having appeared on the previous version in GitHub.

    You can check it out here: http://startecareer.com/forum/say-hi/

    #178632

    Topic: Quote

    in forum Installation
    ico33
    Participant

    Hello. I ‘m new, and I am not a programmer, so please excuse me for the question.

    Is there a way to insert the “quote” option in a bbpress post? I mean a button (or something like that) on each post. When a user what to reply quoting that post, simply has to click there.

    There is a plugin, but If possible I would do it without a plugin. Is there a code to paste somewhere? If so, tell me the code and where (in a simple way so I can understand ๐Ÿ˜€ )

    Thanks a lot!

    #178627
    marissafairy
    Participant

    Problem 1:
    Using builtin importer, whole system is being imported by phpbb3. Anonymous users who does not have any accounts are allowed for posting but they are showing up as anonymous, in the system.
    I have collected the usernames_of_the_visitors from posts_from_current_users and created those users, using a query:

    INSERT INTO wp_current_visitors (using_the_login)
        SELECT DISTINCT usernames_of_the_visitors
        FROM posts_from_current_users

    Step 2:
    I am creating multiple tables (in this case:3), some of the code is:

    SELECT ID FROM wp_current_visitors 
    INSERT INTO current_live_posts(author_current_posts)
    WHERE current_live_posts(post_time_and_date) = posts_from_current_users(posted_time)
      AND posts_from_current_users(usernames_of_the_visitors) = wp_current_visitors(using_the_login)

    You can see this is not the correct way contain syntax errors. First I have to correct it. Second, I have to find a way to tell the mySQL that ID is connected with ‘using_the_login’ (see the first line). Am I right?

    Please help in this regard?

    Queries after up-gradation:

    SELECT ID FROM wp_current_visitors
    SELECT post_time FROM posts_from_current_users = post_time_and_date
    SELECT post_username FROM posts_from_current_users = using_the_login

    The are working in the correct way. But, I don’t know where to insert the WHERE information correctly.Only possible solution in my mind is to create sub-queries.

    Problem 2:
    I am installing bbpress on my own(for the first time on a client website, as an evaluation task). I am creating a simple forum, with necessary plugins for login and flow control. But, an important requirement, I am unable to configure is that client wants to create a new page for each directory page. And whenever a new page is added, he wants to add a forum page, automatically. Like, if the directory page is Directory page of militarybases – Cheyenne mountain Air Force base Colorado Springs Colorado. When, he made the page using wordpress, it’s forum page like website/forum/cheyenne-mountain-air-force-base-colorado-springs-co automatically created.

    Is this possible? If yes, how will achieve this? Please don’t tell codes other than javascript and php. Please only provide the full solution, in case of others.

    #178625

    In reply to: BBPress slowness save

    Stephen Edgar
    Keymaster

    I created http://wikoandco.com/topic/test-6, as noted in that topic most of the time wait from my posting appears acceptable, it is far less than 15 seconds, maybe 5 for the topic, and 3 for replies, but I see significant time Waiting for wikoandco.com which no doubt is caused by the connection time waiting from here where I am in Australia

    #178623
    Stephen Edgar
    Keymaster

    Thanks for the topic @fourmi ๐Ÿ™‚

    You are correct, looking at that code for forum subscriptions, if you successfully subscribe to a forum then true === $success so and then is_single() || is_page() would be true in your case the redirect should redirect to your page via get_permalink()

    Could you confirm that the user IS successfully subscribed when subscribing via your forum list page please @fourmi

    Ref: https://bbpress.trac.wordpress.org/browser/tags/2.5.10/includes/users/functions.php#L1203

    #178611
    Pascal Casier
    Moderator

    Hi,
    As you confirm your bbPress works fine with a standard theme, I propose that you indicate the strange behaviour on the support forum of the theme (https://wordpress.org/support/theme/hueman).

    Note that you can always copy and modify the standard bbPress templates to have them work within your theme. See https://codex.bbpress.org/themes/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/ starting somewhere step 5.

    Pascal.

    #178601
    jing2016
    Participant

    Hi,
    I installed bbPress for my site which uses hueman theme.
    But when I create the forums page including bbPress shortcode, the layout of the forums page is quite messy. But for another theme thentyfifteen, bbPress works fine.

    What can I do to solve this problem with hueman theme?

    This is the forums page: https://trainsova.pitt.edu/forums

    #178599
    Fourmi
    Participant

    Hi!
    I’m trying to change the URL of the redirection after subscribing to a forum, based on where I’m coming from.

    I have subscription buttons on both the forum pages and a page with a list of all forums. When I subscribe from the forum page I want to stay there (it works fine), and when I subscribe from the list I want to go back to the list but instead I am redirected to the page of the forum I just subscribed to.

    Looking at the comment in the code (“Redirect back from whence we came”) I feel like what I want to do is actually how it’s supposed to work but it’s not working for me (I fall in the last else).

    Any idea how I could achieve this?
    Thanks in advance!!

    #178584
    racfish78
    Participant

    Template hierarchy in detail

    This page is a great initiative to make explained each part.. but for me still has a problem…

    I can’t identify those parts in the layout… could someone do a visual scratch for elements over some “twenty” template?

    I really, really appreciate ๐Ÿ˜‰

    #178574
    Steveim
    Participant

    Hi. I have just converted a PHPBB v3.1.10 to BBPress using the 2.6 alpha version. I am unsure whether the user passwords are converted or not.

    In the codex https://codex.bbpress.org/getting-started/importing-data/import-forums/phpbb/ it says “Existing passwords are converted during the import so users can login to WordPress/bbPress as soon as the import and recounts have finished.”
    However, in the importer it says “Non-bbPress passwords cannot be automatically converted. They will be converted as each user logs in.”

    I don’t know if they have been converted or what is meant by “They will be converted as each user logs in.”

    Can you tell me what the status of the WP User passwords is and what the users can or need to do?

    Cheers

    #178572
    THWright
    Participant

    I can’t recall where I had found this code, fairly certain on the forums here, but here is a pastebin of the code:
    http://pastebin.com/J9whPuCV

    It shows category forums and then any forums beneath it, up to one level. It isn’t the entire hierarchical display but could be modified somehow, I would imagine, to show more. How I’m not sure.

    You will want to place this file in your child theme in the themes/childtheme/bbpress directory; you’ll want to name the file loop-forums.php

    Note: I did change the names of my forum’s columns to Topics, Posts, and Recent, for what its worth.

    #178564
    maegras
    Participant

    Hi all i’m new to bbpress. I read lot of docs but i was unable to solve this issue

    I’m setting up a forum for my website, i installed bbpress, created a forum, created a page with bbpres shortcode and now i’m able to see forum root clicking on the link in menu.

    I can create discussions from backend but when i try to create a new topic from frontend, logged in as admin, i got “you don’t have permission to post”.

    How could it be?

    #178528

    In reply to: BBPress slowness save

    Stephen Edgar
    Keymaster

    If it’s taking 15 seconds to do add a reply or a topic you most definately have a plugin or theme manipulating post queries, most likely pre_get_posts filter is running in a plugin, maybe a theme.

    Please disable ALL our plugins and test the speed again please.

    If the speed remains the same, try switching to the Twenty Fourteen theme.

    You’ll also notice here on bbpress.org it does not take 15 seconds

    #178512
    Robin W
    Moderator

    something is broken !

    can you tell me how your page is set up?

    see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/

    and which of item 3?

    contemplate
    Participant

    Hi All. Needed this exact behavior as well. It really should be the default behavior. But if you don’t want to hack the core here is the code to place in your functions.php or custom plugin:

    
    /**
     * Format the BuddyBar/Toolbar notifications
     * Fixed: https://bbpress.org/forums/topic/new-reply-notification-link-to-the-reply/
     */
    function bbp_format_buddypress_notifications_custom( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $item_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $item_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10 );
    add_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications_custom', 10, 5 );
    
    /**
     * Hooked into the new reply function, this notification action is responsible
     * for notifying topic and hierarchical reply authors of topic replies.
     * Fixed: https://bbpress.org/forums/topic/new-reply-notification-link-to-the-reply/
     */
    function bbp_buddypress_add_notification_custom( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $author_id = 0, $is_edit = false, $reply_to = 0 ) {
    
    	// Bail if somehow this is hooked to an edit action
    	if ( !empty( $is_edit ) ) {
    		return;
    	}
    
    	// Get autohr information
    	$topic_author_id   = bbp_get_topic_author_id( $topic_id );
    	$secondary_item_id = $author_id;
    
    	// Hierarchical replies
    	if ( !empty( $reply_to ) ) {
    		$reply_to_item_id = bbp_get_topic_author_id( $reply_to );
    	}
    
    	// Get some reply information
    	$args = array(
    		'user_id'          => $topic_author_id,
    		'item_id'          => $reply_id,
    		'component_name'   => bbp_get_component_name(),
    		'component_action' => 'bbp_new_reply',
    		'date_notified'    => get_post( $reply_id )->post_date,
    	);
    
     	// Notify the topic author if not the current reply author
     	if ( $author_id !== $topic_author_id ) {
    		$args['secondary_item_id'] = $secondary_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
     
     	// Notify the immediate reply author if not the current reply author
     	if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    		$args['secondary_item_id'] = $reply_to_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
    }
    remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10 );
    add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification_custom', 10, 7 );
    
    #178488
    Jon Fergus
    Participant

    r-a-y and Robkk, you can have a look on my staging site’s group topic to see the reply form location issue live. This is how it operates for me (using Robkk’s example above): Attempting to reply to Reply 1 will prompt the reply form to appear under Reply 3. Attempting to reply to Reply 2 will also prompt the reply form to appear under Reply 3. The only time the reply form appears where we want it is when replying to Reply 3 (i.e. the last reply of any column of replies, so long as there are no sub-replies).

    See here: http://staging-nexus.universaltheosophy.com/groups/test-group/forum/topic/test-group-topic/

    I think I remember seeing someone playing with the reply.js code trying to tackle this very issue, so will try to find that again. At the time it didn’t help me because I still hadn’t got reply.js to work at all.

    I’ll spend some time working through the visual tab issue. Thanks for the links.

    #178487
    Milan Petrovic
    Participant

    Hi,

    Does anyone know how to use bbPress conditionals when bbPress is used for group forums? None of the bbp_is_ functions is working outside of the bbPress templates, and the point of the conditional functions is to have them work outside of the bbPress own template so that some other piece of code knows what is the page context. I am trying to use these functions inside the page BODY.

    So, how to determine which forum is loaded as group forum, which topic is currently displayed, and anything else related to subpages for edit of topics and replies?

    Milan

    #178476
    Robkk
    Moderator

    One other little thing though. I notice that the reply form appears below all sub-replies of a reply, instead of directly beneath the intended reply.

    I think the reply.js code and possible other areas for threaded replies code can be improved to fix this. No idea how right now.

    When the reply form is at its default location in a bbpress topic, the Visual tab works fine. But when the reply form pops up after clicking โ€œreplyโ€ on a comment, the Visual tab fails to work (canโ€™t type in it or see the contents).

    I think this is another known issue. One of these tickets need to possible be reopened and include a patch for this issue.

    https://bbpress.trac.wordpress.org/ticket/2700

    https://bbpress.trac.wordpress.org/ticket/2646

Viewing 25 results - 5,851 through 5,875 (of 32,522 total)
Skip to toolbar