Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 8,201 through 8,225 (of 26,874 total)
  • Author
    Search Results
  • #156935
    Nicolas Korobochkin
    Participant

    One more thing. I found some “bug” in my solution. If you use wp_signup_location in MU Plugins directory you need to pass three arguments to add_filter, because mu-plugins loaded before plugins or themes.

    1. MU Plugins
    2. Plugins
    3. Themes

    In MU Plugins:

    add_filter ('wp_signup_location', 'selena_signup_page', 99);
    // You can set up any number greater than 10 (default value).
    // Otherwise your WordPress will be redirect users to wrong page.

    In Theme or Plugin:

    add_filter ('wp_signup_location', 'selena_signup_page');
    // or
    // add_filter ('wp_signup_location', 'selena_signup_page', 99);
    #156898
    Kelley
    Participant

    Fresh install of the latest bbpress and wordpress 4.1 – theme powermag 1.8.0

    When someone posts, the first post layout is fine. Any reply after though, the avatar and name is at the bottom of the screen?

    http://www.wisbechtownfc.co.uk/forums/topic/wednesday-at-histon/

    I checked it with live preview on twentyfifteen and its fine, perhaps I can override the them of just the forum ?

    any help would be appreciated

    #156883
    eurythmech
    Participant

    About one week ago, my bbPress forum stopped working. I get a 404 when trying to access the root folder of the forum. When I try to follow links to topics, they do work. But replying or navigating to the root via links does not work.

    I have bbPress 2.5.4 and WordPress 4.1

    How do I trouble shoot this?

    #156881

    In reply to: Category Tree

    Nekurahn
    Participant

    Alright, I’ve acquired the file you mentioned. How to I upload this into wordpress? I don’t see a file/folder structure in there anywhere.

    Thanks!

    #156878
    Robin W
    Moderator

    ok, I’ve had a detailed look, and there is no simple filter, so we just copy the function, rename it, and the hook back

    so post this in your functions file

    function change_root( $args = array() ) {
    
    		// Turn off breadcrumbs
    		if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) )
    			return;
    
    		// Define variables
    		$front_id         = $root_id                                 = 0;
    		$ancestors        = $crumbs           = $tag_data            = array();
    		$pre_root_text    = $pre_front_text   = $pre_current_text    = '';
    		$pre_include_root = $pre_include_home = $pre_include_current = true;
    
    		/** Home Text *********************************************************/
    
    		// No custom home text
    		if ( empty( $args['home_text'] ) ) {
    
    			$front_id = get_option( 'page_on_front' );
    
    			// Set home text to page title
    			if ( !empty( $front_id ) ) {
    				$pre_front_text = get_the_title( $front_id );
    
    			// Default to 'Home'
    			} else {
    				$pre_front_text = __( 'Home', 'bbpress' );
    			}
    		}
    
    		/** Root Text *********************************************************/
    
    		// No custom root text
    		if ( empty( $args['root_text'] ) ) {
    			$page = bbp_get_page_by_path( bbp_get_root_slug() );
    			if ( !empty( $page ) ) {
    				$root_id = $page->ID;
    			}
    			$pre_root_text = bbp_get_forum_archive_title();
    		}
    
    		/** Includes **********************************************************/
    
    		// Root slug is also the front page
    		if ( !empty( $front_id ) && ( $front_id === $root_id ) ) {
    			$pre_include_root = false;
    		}
    
    		// Don't show root if viewing forum archive
    		if ( bbp_is_forum_archive() ) {
    			$pre_include_root = false;
    		}
    
    		// Don't show root if viewing page in place of forum archive
    		if ( !empty( $root_id ) && ( ( is_single() || is_page() ) && ( $root_id === get_the_ID() ) ) ) {
    			$pre_include_root = false;
    		}
    
    		/** Current Text ******************************************************/
    
    		// Search page
    		if ( bbp_is_search() ) {
    			$pre_current_text = bbp_get_search_title();
    
    		// Forum archive
    		} elseif ( bbp_is_forum_archive() ) {
    			$pre_current_text = bbp_get_forum_archive_title();
    
    		// Topic archive
    		} elseif ( bbp_is_topic_archive() ) {
    			$pre_current_text = bbp_get_topic_archive_title();
    
    		// View
    		} elseif ( bbp_is_single_view() ) {
    			$pre_current_text = bbp_get_view_title();
    
    		// Single Forum
    		} elseif ( bbp_is_single_forum() ) {
    			$pre_current_text = bbp_get_forum_title();
    
    		// Single Topic
    		} elseif ( bbp_is_single_topic() ) {
    			$pre_current_text = bbp_get_topic_title();
    
    		// Single Topic
    		} elseif ( bbp_is_single_reply() ) {
    			$pre_current_text = bbp_get_reply_title();
    
    		// Topic Tag (or theme compat topic tag)
    		} elseif ( bbp_is_topic_tag() || ( get_query_var( 'bbp_topic_tag' ) && !bbp_is_topic_tag_edit() ) ) {
    
    			// Always include the tag name
    			$tag_data[] = bbp_get_topic_tag_name();
    
    			// If capable, include a link to edit the tag
    			if ( current_user_can( 'manage_topic_tags' ) ) {
    				$tag_data[] = '<a href="' . esc_url( bbp_get_topic_tag_edit_link() ) . '" class="bbp-edit-topic-tag-link">' . esc_html__( '(Edit)', 'bbpress' ) . '</a>';
    			}
    
    			// Implode the results of the tag data
    			$pre_current_text = sprintf( __( 'Topic Tag: %s', 'bbpress' ), implode( ' ', $tag_data ) );
    
    		// Edit Topic Tag
    		} elseif ( bbp_is_topic_tag_edit() ) {
    			$pre_current_text = __( 'Edit', 'bbpress' );
    
    		// Single
    		} else {
    			$pre_current_text = get_the_title();
    		}
    
    		/** Parse Args ********************************************************/
    
    		// Parse args
    		$r = bbp_parse_args( $args, array(
    
    			// HTML
    			'before'          => '<div class="bbp-breadcrumb"><p>',
    			'after'           => '</p></div>',
    
    			// Separator
    			'sep'             => is_rtl() ? __( '&lsaquo;', 'bbpress' ) : __( '&rsaquo;', 'bbpress' ),
    			'pad_sep'         => 1,
    			'sep_before'      => '<span class="bbp-breadcrumb-sep">',
    			'sep_after'       => '</span>',
    
    			// Crumbs
    			'crumb_before'    => '',
    			'crumb_after'     => '',
    
    			// Home
    			'include_home'    => $pre_include_home,
    			'home_text'       => $pre_front_text,
    
    			// Forum root
    			'include_root'    => $pre_include_root,
    			'root_text'       => $pre_root_text,
    
    			// Current
    			'include_current' => $pre_include_current,
    			'current_text'    => $pre_current_text,
    			'current_before'  => '<span class="bbp-breadcrumb-current">',
    			'current_after'   => '</span>',
    		), 'get_breadcrumb' );
    
    		/** Ancestors *********************************************************/
    
    		// Get post ancestors
    		if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    			$ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) );
    		}
    
    		// Do we want to include a link to home?
    		if ( !empty( $r['include_home'] ) || empty( $r['home_text'] ) ) {
    			$crumbs[] = '<a href="' . trailingslashit( home_url() ) . '" class="bbp-breadcrumb-home">' . $r['home_text'] . '</a>';
    		}
    
    		// Do we want to include a link to the forum root?
    		if ( !empty( $r['include_root'] ) || empty( $r['root_text'] ) ) {
    
    			// Page exists at root slug path, so use its permalink
    			$page = bbp_get_page_by_path( bbp_get_root_slug() );
    			if ( !empty( $page ) ) {
    				$root_url = get_permalink( $page->ID );
    
    			// Use the root slug
    			} else {
    				$root_url = get_post_type_archive_link( bbp_get_forum_post_type() );
    			}
    
    			// Add the breadcrumb
    			//$crumbs[] = '<a href="' . esc_url( $root_url ) . '" class="bbp-breadcrumb-root">' . $r['root_text'] . '</a>';
    		$crumbs[] = '<a href="/forums/">Forums</a>';
    
    		}
    
    		// Ancestors exist
    		if ( !empty( $ancestors ) ) {
    
    			// Loop through parents
    			foreach ( (array) $ancestors as $parent_id ) {
    
    				// Parents
    				$parent = get_post( $parent_id );
    
    				// Skip parent if empty or error
    				if ( empty( $parent ) || is_wp_error( $parent ) )
    					continue;
    
    				// Switch through post_type to ensure correct filters are applied
    				switch ( $parent->post_type ) {
    
    					// Forum
    					case bbp_get_forum_post_type() :
    						$crumbs[] = '<a href="' . esc_url( bbp_get_forum_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-forum">' . bbp_get_forum_title( $parent->ID ) . '</a>';
    						break;
    
    					// Topic
    					case bbp_get_topic_post_type() :
    						$crumbs[] = '<a href="' . esc_url( bbp_get_topic_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-topic">' . bbp_get_topic_title( $parent->ID ) . '</a>';
    						break;
    
    					// Reply (Note: not in most themes)
    					case bbp_get_reply_post_type() :
    						$crumbs[] = '<a href="' . esc_url( bbp_get_reply_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-reply">' . bbp_get_reply_title( $parent->ID ) . '</a>';
    						break;
    
    					// WordPress Post/Page/Other
    					default :
    						$crumbs[] = '<a href="' . esc_url( get_permalink( $parent->ID ) ) . '" class="bbp-breadcrumb-item">' . get_the_title( $parent->ID ) . '</a>';
    						break;
    				}
    			}
    
    		// Edit topic tag
    		} elseif ( bbp_is_topic_tag_edit() ) {
    			$crumbs[] = '<a href="' . esc_url( get_term_link( bbp_get_topic_tag_id(), bbp_get_topic_tag_tax_id() ) ) . '" class="bbp-breadcrumb-topic-tag">' . sprintf( __( 'Topic Tag: %s', 'bbpress' ), bbp_get_topic_tag_name() ) . '</a>';
    
    		// Search
    		} elseif ( bbp_is_search() && bbp_get_search_terms() ) {
    			$crumbs[] = '<a href="' . esc_url( bbp_get_search_url() ) . '" class="bbp-breadcrumb-search">' . esc_html__( 'Search', 'bbpress' ) . '</a>';
    		}
    
    		/** Current ***********************************************************/
    
    		// Add current page to breadcrumb
    		if ( !empty( $r['include_current'] ) || empty( $r['current_text'] ) ) {
    			$crumbs[] = $r['current_before'] . $r['current_text'] . $r['current_after'];
    		}
    
    		/** Separator *********************************************************/
    
    		// Wrap the separator in before/after before padding and filter
    		if ( ! empty( $r['sep'] ) ) {
    			$sep = $r['sep_before'] . $r['sep'] . $r['sep_after'];
    		}
    
    		// Pad the separator
    		if ( !empty( $r['pad_sep'] ) ) {
    			if ( function_exists( 'mb_strlen' ) ) {
    				$sep = str_pad( $sep, mb_strlen( $sep ) + ( (int) $r['pad_sep'] * 2 ), ' ', STR_PAD_BOTH );
    			} else {
    				$sep = str_pad( $sep, strlen( $sep ) + ( (int) $r['pad_sep'] * 2 ), ' ', STR_PAD_BOTH );
    			}
    		}
    
    		/** Finish Up *********************************************************/
    
    		// Filter the separator and breadcrumb
    		$sep    = apply_filters( 'bbp_breadcrumb_separator', $sep    );
    		$crumbs = apply_filters( 'bbp_breadcrumbs',          $crumbs );
    
    		// Build the trail
    		$trail  = !empty( $crumbs ) ? ( $r['before'] . $r['crumb_before'] . implode( $sep . $r['crumb_after'] . $r['crumb_before'] , $crumbs ) . $r['crumb_after'] . $r['after'] ) : '';
    
    		return apply_filters( 'change_root', $trail, $crumbs, $r );
    	}
    
    add_filter ('bbp_get_breadcrumb', 'change_root') ;
    
    
    #156875

    In reply to: Custom Sidebar Problem

    shootingtime
    Participant

    Check this link here.https://wordpress.org/support/topic/custom-sidebar-not-showing-up-2?replies=4#post-6429823

    Looks like you’re in the right track.

    #156873

    In reply to: Category listing

    Robkk
    Moderator

    i think you might need to go to http://jobs.wordpress.net/ to get this kind of feature.

    lflier
    Participant

    Over on the ticket page (https://bbpress.trac.wordpress.org/ticket/2523#comment:1) there is a ticket reporting a bug in which reply treading breaks pagination.

    I was about to report the same thing, until I saw a reply explaining that disabling pagination is by design. I had just spent the better part of a morning trying to figure out what happened to the pagination on my site. Turns out I had activated the reply threading.

    Several other members in another support thread have asked for a solution. It’s not clear to me why it isn’t possible to paginate replies where threading is enabled. A solution in which a top-level reply, along with all of its threaded sub-level replies, is counted as a single reply for pagination purposes would be acceptable — certainly better than the present situation, where you can choose threading or pagination but not both.

    And at the very least, this either/or choice needs to be made transparent to the user. Clicking an innocent looking check box on a configuration page shouldn’t disable another function on the same page without a warning. That’s just bad design. It wouldn’t be difficult, for example, to grey-out and disable the pagination controls when the threading check box is checked. That would get the message across.

    If my skills were up to it, I’d offer to help. As it is, I can only offer my feedback.

    #156866
    lflier
    Participant

    @netweb

    Over on the ticket page (https://bbpress.trac.wordpress.org/ticket/2523#comment:1) there is a ticket reporting a bug in which reply treading breaks pagination.

    I was about to report the same thing, until I saw your reply explaining that disabling pagination is by design. I had just spent the better part of a morning trying to figure out what happened to the pagination on my site. Turns out I had activated the reply threading.

    Several other members in this thread have asked for a solution. It’s not clear to me why it isn’t possible to paginate replies where threading is enabled. A solution in which a top-level reply, along with all of its threaded sub-level replies, is counted as a single reply for pagination purposes would be acceptable — certainly better than the present situation, where you can choose threading or pagination but not both.

    And at the very least, this either/or choice needs to be made transparent to the user. Clicking an innocent looking check box on a configuration page shouldn’t disable another function on the same page without a warning. That’s just bad design. It wouldn’t be difficult, for example, to grey-out and disable the pagination controls when the threading check box is checked. That would get the message across.

    If my skills were up to it, I’d offer to help. As it is, I can only offer my feedback.

    #156865
    Robkk
    Moderator

    As well is it possible to make Search widget available at ANY page? A looks it like forum search results (after searching something) or its just a regular search of WordPress?

    the search widget should be able to handle being on different pages as long as you have it in your sidebar.

    do you have an issue with it not being on some pages??

    and the bbPress forum search that displays on the forum archive and also the search widget should only show results of bbPress related topics/replies/forums based on what you searched.

    you can let the regular WordPress search show results of bbPress related topics/replies/forums if you follow this topic in the link.

    Plugin, snippet, hack to include bbpress topics in wordpress search

    Is it possible do detect in some ways that user subscribe only for particular “Forum” to receive ONLY noyifications (mail) for those “answers” …? Which function does it?

    i havent found a plugin that could do this , so this might be some custom development so you might need to post another job in jobs.wordpress.net

    #156864

    In reply to: Custom Sidebar Problem

    mvaneijgen
    Participant

    Hey what did you do to fix it? Cause im having the same problem with Custom Sidebars (from WPMU) Here is a screenshot

    #156861
    peetrike
    Participant

    Ok, thanks for your reply. But disabling all plugins didn’t fix the problem. The forum search was still not working. Somewhy it just shows only the most recent wordpress post in search results, no matter what I type in the search field. But when I switch themes (to twentythirteen or twentyfourteen, the forum search is working just fine.

    So it can’t be a plugin problem, it must be a theme problem.

    Or maybe it is some sort of database problem (as I recently migrated to another server)? But then how is it possible that it is working fine using other themes?

    #156848
    Robin W
    Moderator

    no that just gets you to the staring line !

    you could advertise it on wordpressjobs

    http://jobs.wordpress.net/

    #156845
    NewCo
    Participant

    Ok thx for the answers.

    Is it possible do detect in some ways that user subscribe only for particular “Forum” to receive ONLY noyifications (mail) for those “answers” …? Which function does it?

    As well is it posiible to make Search widget available at ANY page? A looks it like forum search results (after searching something) or its just a regular search of WordPress?

    #156844
    tglarsen
    Participant

    Awesome!

    I have created/copied that file over to the new directory and I see it in the wordpress eidtor.

    However, nothing changed on the forum pages themselves. I take it you got me to the starting line… and now come all the alterations, or should I see something of a change?

    Thank you for the help!!!!

    #156822
    Robkk
    Moderator

    @newco

    oh ok the zoom is probably just the app or maybe even some phone animations.

    and bbPress has custom post types forums, topics, and replies

    custom post types are just like regular WordPress Posts

    bbPress doesnt use WordPress comments , the replies are just like regular posts

    #156818
    peetrike
    Participant

    Still no replies? Finding the solution to the forum Search problem should be the main priority as twentyfifteen is the default theme of WordPress.
    I’m surprised that an issue as important as this has not yet been tackled.

    #156807
    NewCo
    Participant

    By ZOOM I meant when I loading a Mobile Version of the BBpress site via WEBview option of Android App… and want to type something its zooming in)

    One technical question:

    BBpress have structure:

    Forums AND Posts

    is it like

    Posts (in wordpress) and Comments (in wordpress)

    Robin W
    Moderator

    ok, suggest https://wordpress.org/support/ is the pace to go

    Robin W
    Moderator

    as far as I know it is a minimum of four

    see

    https://wordpress.org/plugins/network-username-restrictions-override/

    Whilst this hasn’t been updated it probably still works !

    Otherwise this is a wordpress thing rather than bbpress, so post in

    Support Forums

    #156786
    wei1031
    Participant

    Hi,

    I have translated bbpress into Chinese with poedit application. Could anyone help me to upload .po file to https://translate.wordpress.org/projects?

    thanks

    #156776
    Robkk
    Moderator

    these features you listed from what i can tell aren’t that bad im sure a developer at jobs.wordpress.net could develop this

    1. there is already a mobile device layout created from the bbPress stylesheet , but its not that great but it does the job. You can improve the layout with bbPress but that requires a lot of modifying bbpress templates in your child theme.

    1.1 It should be not ZOOM in when I push to post a topic\message answer

    please explain this so i can know if its a bug or not

    #156767
    Robkk
    Moderator

    you can disable the search form in settings>forums in the backend dashboard of WordPress so that you wont have to use the CSS anymore.

    and unless you already did you could remove the code that renders the title in your bbpress.php file.

    if you haven’t created a bbpress.php you should

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    if you still need help copy the first half of the bbpress.php file you have in a reply here.

    #156766
    Robin W
    Moderator

    As you no doubt already know, this is just a warning message, and bbpress say it is an issue with wordpress, and are waiting for wordpress to fix. Also as you know (but for others reading this), turning off debug fixes this.

    If you want it to disappear whilst you are developing (and so need debug on), then go to

    wp-content/plugins/bbpress/includes/core/sub-actions.php

    and comment out/change line 147

    _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
    
    

    to

    //_doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
    
    

    and change back after developing as well as turning debug off for the production environment

    #156762
    Robkk
    Moderator

    @nishant2hit

    use this plugin instead and see if it works

    https://wordpress.org/plugins/bbpress-do-short-codes/

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