Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 2,601 through 2,625 (of 6,788 total)
  • Author
    Search Results
  • #156976

    In reply to: Posting Youtube url's

    Robkk
    Moderator

    no idea if this is even a bbpress issue really??

    but see if its a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156937

    Topic: BreadCrumb

    in forum Troubleshooting
    FredericBegin
    Participant

    Hey guys! I need your help,

    actually, im bulding a web site with bbforum in my partage-dexpertise section
    (http://localhost/bibliotheque/pour-les-bibliotheques-gouvernementales/partage-dexpertise/)

    My breadCrumb work fine for all my website so I desactivate BBPress default breadCrumb.

    Now when I go to my forum I got this link(http://localhost/bibliotheque/sujet/test/)
    so my breadCrumb is(Services de bibliotheque>Sujets>test).

    But I want something like this (http://localhost/bibliotheque/pour-les-bibliotheques-gouvernementales/partage-dexpertise/sujet/test/).

    breadCrumb(Services de bibliotheque>Pour les bibliothèques gouvernementales>Partage d’expertise>Sujets>test)

    My question is: Can I change my topic(sujet for me) parent page or something like that.

    Thanks a lot fred

    #156961
    Robkk
    Moderator

    see if its a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156959
    Robkk
    Moderator

    are you talking about breadcrumbs??

    if so see if your theme author can help bring those back because bbPress displays this by default in a unmodified theme.

    #156944
    olesolo
    Participant

    I’m calling a login form by [bbp-login]
    As I understand it’s using a wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.php
    I want to rename “Username” label and remove “:”
    But my changes don’t appear on site. It seems that [bbp-login] uses a different template?

    #156943
    sha77ered
    Participant

    Hi there,

    Ive been searching all over for a solution to this problem and have tried extensively myself to solve it, but to no avail. Please if someone could offer some guidance i would really appreciate it.

    So on the forum root if one display the topics directly, I would need the option allow the user to sort the topics alphabetically or by date. Perhaps this should be considered a default feature in bbpress?

    Anyways, I realise that the ‘bbp_has_topics’ function in includes>topics>template.php needs to be hooked into and changed, but how to do that I dont know.

    Any support would be greatly appreciated.

    #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);
    Robin W
    Moderator

    I can only suggest that you go back to

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    and then come back.

    #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') ;
    
    
    #156849
    Robin W
    Moderator

    This is theme related, to prove as a test switch to a default theme such as twentytwelve, and see if this fixes.

    I suggest you start with the theme author and see if he can suggest how to fix.

    #156826
    Robkk
    Moderator

    see if its a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156823
    Robkk
    Moderator

    @sparkey

    yeah if you have the default settings in the permalinks section it would show a weird url like

    example.com/?post_type=forum

    try changing it to post-name

    #156821
    JulianK
    Participant

    Hi !
    hepdoll said (some times ago) that she couldn’t find page-front-forums.php file.
    I like bbPress, also Markdown Editor I’m using (WP plugin named : “WP-Markdown”, produced by Stephen Harris, as I saw there…). BUT I have problems with both bbPress and Markdown.

    It’s too chaotic there, hard to customize…
    (.. Now I’m writing here … Brrr, how ugly it is, and how slow the writing is)

    WELL, I give the path @hepdoll .. and others, and there one can modify.
    Suppose the WP blog is installed in folder BLOG and the “theme folder” (as it is written above in a comment) is named TH. Well, TH is useless here. So, the path :
    ../BLOG/wp-content/plugins/bbpress/templates/default/extras/ and here are those files…

    (Concerning Markdown, it’s SOOOOO difficult to modify. I’m “jealous” on those from SO = StackOverflow, who managed so well with their Markdown … and their Instant Preview show also Math formulas written in Latex (using MathJax), also instantly…)

    #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.

    Robin W
    Moderator

    ok, lets break this down

    A)

    I was having trouble with a theme so I deactivated and reactivated bb press, since then all my “private” forums take me to a 404 page

    and

    However all the pages which I embedded the private forums via shortcode are still working

    Can you explain further where you can and cannot see forums?

    1. Are they visible from the backend

    Dashboard>forums>all Forums and then ‘view’ a forum

    2. On the ‘the pages which I embedded the private forums via shortcode are still working ‘ – so you can view here – yes?

    3. when is the 404 page occurring – is it just the forum root page, and if so are these being listed but going to 404 when you click.

    B) I presume you are logged on, at what level and can you try different levels eg participant, moderator and keymaster and tell us if this is different or the same.

    c) You don’ tell us what trouble you were having with the theme, so it would be good to eliminate this and plugins so

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156774
    Robin W
    Moderator

    ok,

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156764
    Robkk
    Moderator

    see if its a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156757
    Robin W
    Moderator

    The template you’ll want to alter is

    loop-single-reply

    Would take a lot of altering

    create a directory on your theme called ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/%your-theme-name%/bbpress/loop-single-reply.php
    bbPress will now use this template instead of the original

    #156755
    Robin W
    Moderator

    Forums are stored in the database, so you will not find them using ftp

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #156708
    Nicolas Korobochkin
    Participant

    I’m sorry for few days of silence. My love in the USA, and I’m in Russia without the visa.


    @jeffacubed
    thank you for “спасибо”. I can publish the code. Also I can give you access to my private repo on Bitbucket.

    wp_signup_location – it’s the filter which returns the sign up page location (url) and WordPress redirect to this addres. So this address not using in wp-signup.php because you already on the signup page. Your example of grep result shows that this filter using in wp-login.php (this page have the signup link).

    My code
    All of this files a part of my mu-plugins for this project.

    Require necessary files — gist.github.com/korobochkin/06780b88118e35c3bfd1

    wp-signup.php — gist.github.com/korobochkin/9e4f9cd6502c4252d902 I use selena_network_signup_main function from this file on page-signup.php template in child theme.

    wp-activate.php — gist.github.com/korobochkin/765d0a5d4e028dc3001a I use selena_network_activation_page function from this file on page-activate.php template.

    And finally gist.github.com/korobochkin/a161718855b7784bfb10 file which sends notifications after you create an account and disable default WordPress notifications (return false at the end of the function). If you return true at the end of this function then user get 2 emails with different activation links:
    site.com/wp-activate.php?key=HASH
    site.com/activate/?key=HASH

    P. S. can’t post this reply with links (bbPress doesn’t allow post replies with links).

    #156707
    Nicolas Korobochkin
    Participant

    I’m sorry for few days of silence. My love in the USA, and I’m in Russia without the visa.


    @jeffacubed
    thank you for “спасибо”. I can publish the code. Also I can give you access to my private repo on Bitbucket.

    wp_signup_location – it’s the filter which returns the sign up page location (url) and WordPress redirect to this addres. So this address not using in wp-signup.php because you already on the signup page. Your example of grep result shows that this filter using in wp-login.php (this page have the signup link).

    Require necessary files https://gist.github.com/korobochkin/06780b88118e35c3bfd1

    wp-signup.php — https://gist.github.com/korobochkin/9e4f9cd6502c4252d902 I use selena_network_signup_main function from this file on page-signup.php template in child theme.

    wp-activate.php — https://gist.github.com/korobochkin/765d0a5d4e028dc3001a I use selena_network_activation_page function from this file on page-activate.php template.

    And finally https://gist.github.com/korobochkin/a161718855b7784bfb10 file which sends notifications after you create an account and disable default WordPress notifications (return false at the end of the function). If you return true and the end of this function then user get 2 emails with different activation links:
    site.com/wp-activate.php?key=HASH
    site.com/activate/?key=HASH

    MLH78
    Participant

    Hi all,

    I need help for programming a little feature for my forum.
    I’m willing to pay some money, after a more detailed discussion of price.
    But this should be somewhat “easy” for a programmer used to bbpress/wordpress, as most code already exists.

    If interested:

    Please, have a look at this page:
    https://www.tradingview.com/widget
    (They supply this for free by the way)

    Look at the top widget/stock chart, and look at the code supplied on the same page underneath the chart.
    Also notice how you can enter the stock-symbol of choice, in the top left corner of the chart, to search in Teamviewers own database, to load a new chart.
    NOTE: This method (from the user interface) does apparently NOT change the “SYMBOL” in the code, as seen on the page above.
    – For the “widget” to show another symbol by default, you’ll have to enter it and click “Apply” on the left side, to update the code with a new default SYMBOL.
    Please try it out, to have a feeling how it works.

    Now my questions:

    Q1:
    Is it possible to embed this script, in the text-area for bbpress, and run its output “live” when a user edits a new post?
    It could be called and embedded into the text area, by clicking a “check-button” labeled “Graf” (‘Chart’ in Danish).
    (And removed again unchecking this button – of course)

    Q2:
    Is it possible for the user, to enter directly on the user interface of the widget, a new symbol, and post it (correct chart) together with the topic?
    It would maybe require that the Post-button would need to update the “SYMBOL”-line in the script code, with the symbol the user have chosen and fetched from Tradingviews database, while also posting it all…Like you would do with an WYSIWYG editor

    I hope I made myself somewhat understandable 🙂

    Thanks in advance !

    Best regards,
    Martin L. Hansen – Denmark.

    #156679
    Robin W
    Moderator

    @geeorgegeorge

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    then come back

    #156671
    Robkk
    Moderator

    when i checked your feed on http://www.themxl.com/feed/?post_type=topic in Chrome it had this

    This page contains the following errors:

    error on line 262 at column 1: Extra content at the end of the document
    Below is a rendering of the page up to the first error.

    so there is an issue with your feed.

    you can deactivate your plugins one by one and try to find the issue , and also switch to a default theme like twentytwelve to see if it still shows the issue.

    i would check to make sure the error is in Chrome on your side.

    when i tried Firefox it showed up fine for some reason.

    #156667
    Robkk
    Moderator

    bbPress doesnt render shortcodes

    you will need to use a plugin like this

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

    Note: by default, only users with the ability to publish bbPress forums will have their short codes parsed. This can be changed by passing a different capability via the pw_bbp_parse_shortcodes_cap filter.

    so by this note keymasters/moderators for sure can post shortcodes.

Viewing 25 results - 2,601 through 2,625 (of 6,788 total)
Skip to toolbar