Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 5,901 through 5,925 (of 26,874 total)
  • Author
    Search Results
  • #172670
    Robkk
    Moderator

    @shadynicnack

    You are probably going to end up using this plugin, I do not really have much knowledge of setting it up for what you want though.

    https://wordpress.org/plugins/hyperdb/
    https://codex.wordpress.org/HyperDB

    #172644
    Pascal Casier
    Moderator

    It’s because you use the standard page that is generated on /forums

    Try to create a new page in WordPress, make sure the slug is /forums (give it any title you want) and then as only text put [bbp-forum-index]

    Pascal.

    #172640
    Robin W
    Moderator

    ok, given your answer, sorry but I don’t think you are going to achieve this.

    To do what you want would require a level of wordpress and PHP knowledge that you don’t have – don’t take this as a criticism, I know virtually nothing of say Joomla, or deep sea trawling, or brain surgery. That doesn’t make me stupid, I just don’t have the knowledge on these things to be able to do these things. Nor could someone talk me through this in a forum.

    I’d suggest you hire someone to achieve what you want.

    karlbenn73
    Participant

    Hi All

    I’m still new to BBPress and to WordPress if I’m to be honest…

    I am using the Woo Storefront Theme.

    I have created a new page on my website and called it “forum” and then used the
    [bbp-forum-index] shortcode on that page.

    1. I have installed a plugin that allows me to turn off my page title but for some reason BBPress seems to be overriding this feature which is working fine on all my other pages? How do I turn my page title off within BBPress?

    2. I have also set up a few forums, one of them called “School Community Discussion”
    Inside this “parent” forum I have created two child forums called “Michael Mount Waldorf School” and “Moore House Academy”

    When I click on one of the child forums to post a new topic, there is no “new post” window for me to add a new post. This window is only available at the parent forum level!? How do I resolve this?

    3. I must say that I’m dumbfounded that BBPress doesn’t have a “Post new Topic” button that will allow you to click and then select whichever forum you want to post into from a dropdown menu. I there any way to create a button like this?

    Thx
    Kb

    #172630
    Pascal Casier
    Moderator

    Hi,
    This is a known issue for the moment. A ticket has been opened: https://bbpress.trac.wordpress.org/ticket/2906
    Pascal.

    #172618
    shadynicnack
    Participant

    I’m a bit new and trying to get back into wordpress again. I have a wordpress website that needs to use the wordpress database that we first set up, and 2 external databases to obtain information and even at times to edit, and update information. Tried using external database but that is for one external database coming in. Want to use an external database to first set up login meaning when they enter username and password, it will find it through g h the external database. So my question is… What is the best way this situation? If it is coding, is there some tutorials that I can do this?

    Did some research, and someone said that I can use this code in the functions.php to help access another database… Is it functions pho in main or themes?

    $newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
    $newdb->show_errors();

    So I add this in the functions, but where do I put the second database’s info like host, username, password and etc? Where do I put the query code at?

    Will this work to connect to an external databases?

    Please Help!!!!

    #172612

    In reply to: forum page

    stussi
    Participant

    So it isn’t taking you to where you want it to also huh? I click on public discussion and it takes me to my post page, which I dont have any post since this is not a blog site. I have latest bbpress and wordpress.

    #172607

    In reply to: forum page

    bodybyloud
    Participant

    I’m having the same issue. I’m using divi theme and bbpress shortcode for forum index. http://bodybyloud.com/Bodybyloud%20LoudTalk%20Forums/forum/introduction/ the post page comes up when you click on the Introduction forum I created.
    wordpress- 4.4.2
    bbppress – 2.5.8

    Robkk
    Moderator

    @swstarone this could be bbPress theme compatibility/WordPress theme related issue, an seo plugin could possibly cause this, title tag updates in WordPress could cause this too.

    you can notice that there no username or nickname displaying on the page.

    This could be a bbPress theme compatibility issue/theme issue. The title could be outputted if the page is_single(), but the user profile pages do not do this.

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

    This php code snippet could help with the issue though.

    function rkk_add_title_to_user() {
        ?>
            <h1 class="entry-title"><?php bbp_displayed_user_field( 'display_name' ); ?></h1>
        <?php
     }
     add_action( 'bbp_template_before_user_details', 'rkk_add_title_to_user' );
    Pascal Casier
    Moderator

    Hmmm, strange. I will have to read https://make.wordpress.org/core/2015/04/02/the-utf8mb4-upgrade/ again, but if you only have 5.4.45 …

    LTCOllie
    Participant

    Here are the PHP/MySQL details of the server on which I am trying to access the existing forum database:

    Current PHP version: 5.3.3-7+squeeze13
    Server version: 5.0.51a-24+lenny4
    MySQL client version: 5.1.49

    It just so happens I get the following warning when I log onto phpmyadmin: ‘Your PHP MySQL library version 5.1.49 differs from your MySQL server version 5.0.51a. This may cause unpredictable behavior.’ Which could be a source of the problem?

    The server on which I am running my WordPress install and attempting to import the forum to is different and more up to date. Details below:

    Current PHP version: 5.4.45
    Server version: 5.5.45-cll-lve – MySQL Community Server (GPL)

    Thanks

    LTCOllie
    Participant

    Hi,

    I’ve been attempting to import a vBulletin4.2.1 forum to bbPress 2.5.8 (running WordPress 4.4.2) and initially had database connection issues causing no users/posts/etc being found to covert. Having resolved the problems with these server import parameters I am now receiving an unknown character set error as below:

    Starting Conversion

    No users to convert

    WordPress database error: [Unknown character set: ‘utf8mb4’]
    SELECT convert(user.userid USING “utf8mb4”) AS userid,convert(user.password USING “utf8mb4”) AS password,convert(user.salt USING “utf8mb4”) AS salt,convert(user.username USING “utf8mb4”) AS username,convert(user.email USING “utf8mb4”) AS email,convert(user.homepage USING “utf8mb4”) AS homepage,convert(user.joindate USING “utf8mb4”) AS joindate,convert(user.aim USING “utf8mb4”) AS aim,convert(user.yahoo USING “utf8mb4”) AS yahoo,convert(user.icq USING “utf8mb4”) AS icq,convert(user.msn USING “utf8mb4”) AS msn,convert(user.skype USING “utf8mb4”) AS skype FROM user AS user LIMIT 0, 100

    I’ve been trying the vBulletin importer rather than vBulletin3 having seen this advised elsewhere on this forum. Can anyone provide me with a solution/work around to prevent this issue?

    Thanks for the help!

    Ollie

    hotdogreen
    Participant

    Hello,

    I’m pretty new to the WordPress-World, but it makes a lot of fun.
    I’ve installed bbPress and an additional Social Login Plugin.

    I want to use the bbPress Login Widget but the Social Button appears like this:

    http://forcenews.de/wp-content/uploads/2016/03/fb_error.jpg

    Any Idea how I can change the alignment of the Button/Text?

    (Sorry for my bad english)

    #172542
    uschesch
    Participant

    After I activated bbPress in my WordPress site, my child theme styles were ignored – and now WordPress is using only the styles in my theme’s original style.css file. How can I ensure that my child theme styles are applied? I am using WordPress 4.4.2, and i installed bbPress 2.5.8.

    Thank you.

    #172535
    Robin W
    Moderator

    my plugin creates private groups and prevents search

    https://wordpress.org/plugins/bbp-private-groups/

    #172532
    Lars Henriksen
    Participant

    Hello,

    I have found a code snippet somewhere, that does a fine job by including forum topics in the ordinary WP search. The only problem is that I have now added some private forums on the site where teachers can share assignments and problem statements for use in class.

    So I would like to exclude private forum topics and replies from search results unless you are logged in as ‘contributor’ and up.

    Does anybody know how to code that?

    My code snippet is here:

    /**
     * Include bbPress 'topic' custom post type in WordPress' search results */
     
    function ntwb_bbp_topic_cpt_search( $topic_search ) {
    	$topic_search['exclude_from_search'] = false;
    	return $topic_search;
    }
    add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
    
    /**
     * Include bbPress 'forum' custom post type in WordPress' search results */
    
    function ntwb_bbp_forum_cpt_search( $forum_search ) {
    	$forum_search['exclude_from_search'] = false;
    	return $forum_search;
    }
    add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
    
    /**
     * Include bbPress 'reply' custom post type in WordPress' search results  */
    
    function ntwb_bbp_reply_cpt_search( $reply_search ) {
    	$reply_search['exclude_from_search'] = false;
    	return $reply_search;
    }
    add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
    
    

    Thanks.

    Current WordPress and bbPress

    Historielaerer.dk (a site for history teachers)

    braveheart1980
    Participant

    Hello there!

    We are in the proccess of migrating from a vbulletin v 4.2.3 forum to wordpress and bbpress
    BUT importing results in completely unreadable characters!
    For instance take a look here –> http://www.ninty.gr/home/forums/
    The text is like :
    Καταρχάς, μην είστ”
    The originating vbulletin forum is in Greek (http://www.ninty.gr/content.php) if it means anything btw
    Amy ideas?

    #172525
    pwonlineblog
    Participant

    I installed WordPress as an add-on to my webpage with Aabaco Small Business (formerly Yahoo), so I don’t have folders downloaded on my computer to access code. I want to make a couple of changes to the “Reply To” form in my forums. One box asks for “Mail” and I’d like to change that to “Email” to make it more understandable. I’d also like to eliminate the box for “Website” if possible since it wont be applicable to the people who will be responding on my forum.

    I’m not all that experienced with coding, but I have done a little of it on my website and I’m good at following directions! Is it possible to make these changes since I don’t have WordPress as a stand alone?

    #172516
    angeljs
    Participant

    I’m running a WordPress Multisite install and have bbPress setup on the main site. However, logged-in users can’t access the main forum. Admins and guests can see them, which doesn’t seem to make sense. Users can see group forums, but not the main page, they just get a page not found error. I’ve even tried creating the forums page and adding the shortcodes, but still get the same error.

    New users are supposed to have the participant roll, which I’ve checked. I’ve also tried repairing the forums, but nothing works.

    #172502
    Robin W
    Moderator

    my style pack will put a link on the forum top

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

    #172489

    In reply to: add a specific class

    Robkk
    Moderator

    You can also use this PHP function to add a class to the forum instead of doing it manually.

    function rkk_add_forum_classes( $classes ) {
     $classes[] = 'class';
     return $classes;
    }
    add_filter( 'bbp_get_forum_class','rkk_add_forum_classes' );

    Now I would like to change while loop_forums in index forums on loop-forums.php

    I do not know exactly what you are trying to do, but for just customizing it you can put the loop-forums.php file in a child theme in a folder called bbpress and then customize the file to your liking.

    https://codex.wordpress.org/Child_Themes

    _az_
    Participant

    @siparker thanks for posting the link to the Permalinks with id plugin. I have looked into it and the logic for adding text to a permalink seems less complicated than the logic for replacing parts of the permalink.

    However, good news may be: it is possible that i will work on that feature for a client.

    Probably not the full scope of https://bbpress.trac.wordpress.org/ticket/2258 but it may be a good start.

    If this is decided, then i’d like to propose its development on github as an public bbpress-plugin and i’d happily collaborate with other devs on the issue.

    #172467
    gptxffa
    Participant

    I have found out it is the Private Group Plugin.

    Here is that thread wordpress.org/support/topic/cannot-create-new-topic-from-forum-index?replies=1#post-8111216

    siparker
    Participant

    the Trac ticket that was opened for this is Here
    https://bbpress.trac.wordpress.org/ticket/2258
    It is 3 years sold and was moved to a future release to wait for the WordPress Permalinks page to be using the settings API, so that these settings were not under the forum page.

    Not quite sure putting off a fix of this type for 3 years so you can make it appear in a different page is really a good idea but that’s where we are now.

    Can it be moved back from a low priority? This is really a high priority for me / anyone wanting to use bbpress for a forum where URLs already exist and need rewriting, or for good SEO URLs.


    @robkk

    #172431
    Robin W
    Moderator

    the code you need is

    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') ;

    pulled from a thread I did long ago

    I don’t know how code aware you are to change this to what you want, so come back and let me know – it would take me a while to work out what to change, and I really don’t want to do this if you are capable !

Viewing 25 results - 5,901 through 5,925 (of 26,874 total)
Skip to toolbar