Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,726 through 1,750 (of 6,813 total)
  • Author
    Search Results
  • Schoelje
    Participant

    It took some time to make this topic visible on the forum. So, I’ve solved my own problem.

    Instead of writing an htacces file I chose to write an alternative viewtopic.php script that collects the appropriate new bbPress URL from the database.

    If your new bbPress forum is online, you place the following script in your old phpBB domain and save it as viewtopic.php (exactly where the old viewtopic.php used to be located) and don’t forget to replace the “my_xxxx” values with your information:

    <?php
      // If all else fails, use this url.
      $defaulturl = "http://my_domain/forums/";
      
      // Your new bbPress database credentials.
      $host = "my_host";
      $db = "my_database";
      $dbuser ="my_database_user";
      $userpwd = "my_database_user_password";
      
      // Build the query according to url parameters p or t.
      $query = '';
      if (!empty($_GET['p'])) {
          $query = "SELECT xkcom_posts.guid FROM xkcom_postmeta 
                    INNER JOIN xkcom_posts ON xkcom_posts.ID = xkcom_postmeta.post_id 
                    WHERE xkcom_postmeta.meta_key = '_bbp_old_reply_id' 
                    AND xkcom_postmeta.meta_value = '" . $_GET['p'] . "';";
      }else if (!empty($_GET['t'])) {
          $query = "SELECT xkcom_posts.guid FROM xkcom_postmeta 
                    INNER JOIN xkcom_posts ON xkcom_posts.ID = xkcom_postmeta.post_id 
                    WHERE xkcom_postmeta.meta_key = '_bbp_old_topic_id' 
                    AND xkcom_postmeta.meta_value = '" . $_GET['t'] . "';";
      }
      
      // Set the new url to the default url
      $url = $defaulturl;
      
      // Check if we need to make a database connection.
      if (!empty($query)) {
        // Make a connection
        $mysqli = new mysqli($host, $dbuser, $userpwd, $db);
        
        // Check the connection.
        if (!$mysqli->connect_errno) {
          // Run the query.
          $result = $mysqli->query($query);
          
          // Get the new URL.
          if ($result) {
    	$row = $result->fetch_array(MYSQLI_ASSOC);
    	$guid = trim($row["guid"]);
    	if (!empty($guid)) {
    	  $url = $guid;
    	}
          }
    
          // Free the result set.
          $result->free();
    
          // Close the connection.
          $mysqli->close();
        }
      }
      
      //var_dump($url);
      
      // Write the header.
      header("Location: " . $url, true, 301);
    ?>
    #175105

    Topic: Global Access

    in forum Installation
    sharmavishal
    Participant

    Hi @johnjamesjacoby

    the codex mentions this for Allow Global Access
    In a WordPress Multisite install bbPress is activated on individual sites. Allowing global access will permit all users from across the network to post topics and replies on the forums for this particular site.

    i activated bbpress per site on my 3 network sites. still i dont see any setings for global access? does global access happen by default?

    Also is there some similar setting for bbpress like buddypress’s define(‘BP_ENABLE_MULTIBLOG’, true);?

    i got define(‘BP_ENABLE_MULTIBLOG’, true); enabled for my wp+bp multinetwork. But forums on the root site dont show up on the sub sites like groups/members do with that setting enabled.

    Thanks in advance.

    #175102
    u_Oi
    Participant

    Thanks @Casiepa

    But I don’t want count the replies, I just wanna add a Label to Topics with 0 replies, and hide it if somebody reply the topic.

    I found the info here:

    24. Show status labels for bbPress Topics

    Any other suggestion?

    I think the label (no replies) should be on the documentation by default.

    #175058
    wbhcommish
    Participant

    I have done a lot of searching on this topic, and it seems that everyone wants to get rid of duplicate post titles. Apparently this is something bbPress now does by default (blocking posts with the same title).

    We, however, need to allow them, because we have posts on the same topics that are only separated by time. It’s become very frustrating, with people having to put junk characters in their titles just to get a post to work, and never knowing which ones are going to work.

    Is it possible to allow a forum to contain separate threads with the same title?

    (We have not changed the default bbPress settings with regard to url slugs and so forth.)

    Robin W
    Moderator

    suggest you try re-installing

    or

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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 twentyfifteen, and see if this fixes.

    Robin W
    Moderator

    you can still call loop single reply, but just amend that template and put it into in your theme.

    so if you wanted to amend loop-single-reply you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    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/themes/%your-theme-name%/bbpress/loop-single-reply.php

    bbPress will now use this template instead of the original
    and you can amend this

    #174942
    designbysue
    Participant

    Found out the problem – the forum was defaulting to “sidebar 1” so I set that up in the correct format and now it appears correctly. I could not find anyway to override this defaulting to that sidebar. Interested to know if others have seen this problem.

    Sue

    #174908
    Stephen Edgar
    Keymaster

    @haddly Thanks though it looks correct to me:

    A single topic and single reply so without plurals:

    Multiple topics and replies so with plurals:

    Also the German translations for this string for bbPress 2.5.x are here and for 2.6-alpha are here

    manik018
    Participant

    Hi,
    I’m a newbie bbPress user. I want to make internal links dofollow in Forum and all External links are nofollow. By default, All internal and external links are nofollow 🙁
    How can I do this?
    Here is my forum link http://www.techmanik.com/forum/

    justinh83
    Participant

    I have several bbPress forums in my WordPress site and I want to use a bbPress Forum List to show only certain forums. By default it shows all forums, but I just want to show a specific one or two in the Forum List. Any ideas on how to do this? Thanks in advance!

    Wordpress version: 4.5.2
    bbPress version: 2.5.9

    Pascal Casier
    Moderator

    Hi,
    It seems like a theme issue, please try to switch to another (default) theme.
    Pascal.

    #174790
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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 twentyfifteen, and see if this fixes.

    #174769
    fullmoonfriday
    Participant

    I have done a lot of investigation on this. Following some other dicssussion it seems a confused area.

    Hidden Groups and Forums not showing for members of them

    Basically giving the role to the subscriber to read private/hidden forums, will them show the private and hidden group forums onto their profile.

    This does however give the user to view all groups on bbpress site during the edit topic stage. Maybe direct url access too?

    Any private forums on the site are also no longer private.

    Seems strange that it isn’t default to show a user their topics / subscriptions ect from their groups on their profile. Is there any reason for this? I’m pretty sure it is just a query that is missing to include these from hidden and private groups…

    #174756
    Robin W
    Moderator

    without seeing the site it is impossible to say

    can only suggest

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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 twentyfifteen, and see if this fixes.

    #174728
    Anticosti
    Participant

    Greetings,

    I made some languages tweaks in my bbpress-fr_FR.mo and bbpress-fr_FR.po files to make sure that when the forums are browse on mobile (portrait), then the strings ‘Participants‘ and ‘Articles‘ would not overlap (horizontally) each other. I translated those to short and sweet: ‘Voix‘ and ‘Posts

    I used to edit the French language file with Loco Translator but now, for some reason I don’t understand, Trying to save the translation generates an “ERROR: Forbidden

    Also every time you upgrade bbpress language files and that I upgrade some plugins, the languages files are forced in and my French custom file gets overwritten. That is starting to be irritating. A chance I have a backup, but… this should not be the default behaviour. Isn’t it?

    Please note, I found this “Error: Forbidden” problem with some other plugins where the .pot file had a missing language header.
    Ref.:
    https://wordpress.org/support/topic/error-forbidden-8

    Kind Regards,

    Yves

    #174605
    David Tierney
    Participant

    I am assessing installing this for a client and am new to bbpress, but have 9 years with WordPress.

    What default user profile fields come with the basic single site installation of bbpress, and how customizable are they.

    Specifically, my clients wants to have name, company and a question answered (i.e. why are you here). And no other fields other than what is desired.

    And are their options to require fields if so desired?

    And as a side question: Is there any recommendation or advice on whether to install this in a client’s existing website or duplicate their theme and install that theme with WordPress and bbpress on a subdomain and have the forum there?

    Thanks so much,

    David

    alingrad
    Participant

    Hi,

    I just installed on a test domain WordPress, bbPress and WPML. All are updated to the latest versions. I don’t use any other plugins and the theme is also the default one, Twenty Sixteen.

    I setup 2 languages: german as default and english. So the URLs are like this.

    website.com
    website.com/en

    I posted some topics in bbPress in both languages and I can see them per language, which is what I want. On the german version I see only the german posts and on the english version I see only the english post.

    Of course, a problem may be with the bbPress slugs settings. I cannot translate them but I can live with them.

    What I noticed is that when I go to profile and try to see the “Topics Started”, “Favorites” and “Subscriptions”, I see only a message that I don’t have any of those, although on the main Profile page shows that I have started 11 topics.

    That might be also a problem because it counts the topics from both languages. But I can live with that also, for the moment.

    I switched the languages and I made english default. After doing this, everything worked fine in english but not anymore in german, because german became the second language.

    Basically, I can see the “Topics Started”, “Favorites” and “Subscriptions” only for the default language.

    Only “Replies Created” show up for both languages.

    I also attached some screenshots.

    I also changed the theme from Twenty Sixteen to Twenty Fifteen and also Twenty Fourteen. Same problem.

    I setup another test website as WP Multisite, without WPML and everything works properly. I had to install another plugin to connect both languages. But I would like to use WPML and a single website, if this is possible.

    I hope there is a fix for this. bbPress is the most used forum and WPML should be able to handle it.

    Thank you very much for your time.

    Best Regards,
    Alin

    #174460
    Robkk
    Moderator

    no, it wasn’t turned into von. It looks like this: http://screencast.com/t/FLR74UlGQaYp

    This almost looks like the default way bbPress displays the last post column and seems to be the default way in your theme for single forum post pages. The “by” could probably only be shown on the forum archive on your site. At least that is how I see it when I see a demo of your premium theme.

    One of the issues is that a multilingual single site requires a translation for forum posts for them to show up… You can imagine that it would not be feasible to translate every forum post…

    Yeah I can.

    I’m not sure though if I can create one community if I separate the installs for the languages.

    Your right it is probably better if you could just have a single forum for a small community of users (whatever is the minority of either English or German users). Maybe a theme/bbPress plugin translation switcher if the user comes from an IP in Germany. I am not sure just brainstorming.

    I see what you mean. I think I’ll check with the author of my theme (Buddy) and see what he says. Thanks for the tip!

    I kind of 90% think it is just something in the theme in a function or straight up in a forum archive template file. It could be a simple fix with a just a child theme and using the bbPress templates in your currently active theme.

    #174456

    In reply to: Comments on Topics

    Robkk
    Moderator

    I do not recommend trying to use WordPress comments with bbPress, just use the default replies.

    #174429
    Pascal Casier
    Moderator

    Hi,
    That’s typically a conflict with a theme or another plugin. Please switch to a default theme and deactivate all but bbPress. Test.
    Then switch on plugins one after the other to find the one blocking.

    Pascal.

    thingunderthestairs
    Participant

    Hi,

    I, attempting to import user posts, topics, replies, etc. from IPB to bbPress.
    The importer seems to be working, but eventually seems to die logging a lot of ——————
    to the end of log on the importer display.

    I imported the users on the 1st pass, then reset the rest back to default and started again. I’ve tried a few passes adjusting the batch size or rows processed, first decreasing the size in case it was a memory issue, and have now run a couple passes with increasing batch size. At first I was getting topics, but not replies, once I increased the batch size from the default it made it through the topics and started on the replies, but again finished short of all the replies logging a screens worth of hyphen characters. This seems to be after 24-36 hours of run time, so I am not sure if I am running across some sort of session expiration or what.

    Is it possible to re-run an import, picking off where it left off? I assumed not as it does not seem to do anything unless I do reset forums between attempts, but thought I would check as the start over option seems to indicate you can run it again without starting fresh.

    Any ideas what is happening when the display starts logging ——– , or any other place I should be checking for an indicator of what the problem might be?

    #174400
    arathra
    Participant
    	/**
    	 * Filter whether to trigger an error for _doing_it_wrong() calls.
    	 *
    	 * @since 3.1.0
    	 *
    	 * @param bool $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
    	 */
    	if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) {
    		if ( function_exists( '__' ) ) {
    			$version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version );
    			/* translators: %s: Codex URL */
    			$message .= ' ' . sprintf( __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
    				__( 'https://codex.wordpress.org/Debugging_in_WordPress' )
    			);
    			trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) );
    		} else {
    			$version = is_null( $version ) ? '' : sprintf( '(This message was added in version %s.)', $version );
    			$message .= sprintf( ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
    				'https://codex.wordpress.org/Debugging_in_WordPress'
    			);
    			trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) );
    		}
    	}

    Is the function, line 3901 is : trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );

    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict

    As Cherrypress is a paid theme – then contact the theme author for help.

    Robkk
    Moderator

    I used the plugin wp-members

    Is it this plugin??

    https://wordpress.org/plugins/wp-members/

    I cannot seem to figure out how you did the members area thing with this plugin (if it is the correct plugin).

    So I have done loads more searching and it is known problem which BBPress do nothing about

    Well there might be related issues to search redirecting to the home page, some had issues with the search query having a url structure and query different than intended by default, and some had issues with search plugins on their site, and I think some I tried to contact personally to help them since they had a premium theme and it is hard to just figure it out on premium themes that might have some kind of fancy ajax search having conflicts with the default bbPress search for example. Your issue could be somewhat related to the url structure.

    Do you have any steps that maybe I can try to replicate to find the cause of this issue, like explain how you set everything up?

    So you ditch the BBPress function, it does not work. And amend the normal search to include forums.

    Yes this can be a workaround for some, but since you may have private members only content this solution may not be practical.

    Does the default bbPress search work fine on a fresh installation with just your theme and no other plugins like wp-members?

    If you haven’t already known if bbPress search works by default with just your theme and bbPress activated, consider created a localhost setup to test the default bbPress search to see if it works on a default fresh installation, then we can work backwards and try to find the cause of this issue that you are experiencing.

    https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/

    #174367
    Robkk
    Moderator

    I’ve added a new site to my multisite installation, set the language to German and activated bbPress. The ‘by’ did not show.

    Was the word “by” turned into “von”, or was there an entirely different layout when you activated your theme on new site install? If it was “von” by default in the new site installation then, then maybe it could be a possible cache issue on your original site, so flushing the cache could then update the word to “von”.

    Could it be that the theme only causes the ‘by’ to show if two (or more) languages are active or that a plugin is causing it?

    Are you planning to have a multilingual single site? You might be on to something here if you are trying to run a multilingual single site.

    Just so you know, I thought the root issue could be the “by” not changing in your forums is because it might have outputted the text using code from a custom phpbb starter pack theme created by @lynq, here is an example of the custom forum freshness column from the starter pack.

    https://gist.github.com/ntwb/3133450

Viewing 25 results - 1,726 through 1,750 (of 6,813 total)
Skip to toolbar