Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,226 through 1,250 (of 6,788 total)
  • Author
    Search Results
  • #189416
    richterd
    Participant

    Hi,
    if I click on “reply” for a comment I would expect the form to appear below that comment. This currently does not work due to a bug in reply.js (bbpress/templates/default/js/reply.js) in line 19.
    reply.parentNode.appendChild(respond);
    If you change it to the following, everything works fine:
    reply.parentNode.appendChild(respond, null);

    Best Daniel

    PS: Would be great to see development happen on github… 😉

    #189401
    Stephen Edgar
    Keymaster

    Apologies @tesicg, I presumed you were using IIS because Windows 2008 Server R2 😉

    Ignore the IIS suggestion I made, you’re using XAMPP so they would be useless.

    For translations check your WordPress updates page for any available translation updates, both bbPress 2.5.x (the current release) and upcoming 2.6.x releases are 100% translated into Russian: https://translate.wordpress.org/locale/ru/default/wp-plugins/bbpress

    There might have been a fix for “port conflicts” in the upcoming bbPress 2.6, could you try that and see if it is fixed please? https://bbpress.org/download/

    If 2.6 doesn’t fix it could you add details on whats different between your 2008 Server and Windows 7 install, strange that XAMPP works on one and not the other

    #189390
    DaniClemente
    Participant

    Hi,

    I need to change path URL to load bbPress resources because default domain is not “real” domain for users. For example:

    To admin bbPress I have to go to http://www.my-admin-domain.com/wp-admin/ but, for the users, website is http://www.users-domain.com. The problem is that bbPress want to load resources from admin domain instead of users domain and first one is not accesible to load them.

    How can I change this and configure it with users domain??

    Thanks!

    #189358
    Robin W
    Moderator

    ok, I worked out an easy way to do that

    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

    so replace line 61 which reads

    <div class="bbp-reply-content">

    with

    <?php
    	//now check if it is the topic author
    		$author = bbp_get_reply_author_id(bbp_get_reply_id()) ;
    		$current_user = get_current_user_id() ;
    		if ($author == $current_user) {
    			echo '<div class="bbp-reply-content bbp-author">' ;
    		}
    		else echo '<div class="bbp-reply-content">' ;
    	?>
    

    then just add the bbp-author css styling to your theme’s custom css

    eg

    .bbp-author {
    background : green ;
    }

    you might require

    .bbp-author {
    background : green !important;
    }

    depending on where you put the css.

    #189291
    Darko Dinic
    Participant

    Hi dear support,

    we have installed your plugin on our website and apparently it’s not working properly.

    If we use the shortcodes to place it on some page:

    Forum TEST

    It shows list of forums but once you try accessing some forum it shows empty page:

    Muske Carape

    Also, the default forum page is not working:
    http://jadran.paprikart.rs/forums/

    We already tried disabling all the plugins to rest assured that plugin conflict is not making some conflict there and it’s still not working.

    WP version 4.9.1.

    Can you please take a look at it and advise?

    Thanks in advance!

    #189269
    sdeeds
    Participant

    SMF to BBPress – error utf8mb4

    SMF to BBPress – error utf8mb4

    I am getting the same error as this post identifies:

    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default '0', meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

    But for Vanilla. It looks like an update to the importer is all that it took to fix this,


    @netweb
    , @johnjamesjacoby

    Thoughts?

    Thanks for your time!!

    — sdeeds

    WP Version 4.9.1
    Vanilla Version 2.3.1
    bbPress Version 2.5.14

    #189265
    Robin W
    Moderator

    ok, no idea why this is happening – 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.

    Then come back

    #189254
    bstephenmitchell
    Participant

    Hi all – I am not having any luck getting my forums page to work full width. Have tried all sorts of css and function.php and nope – no luck.

    See the forums page here:

    https://hopevisionaction.org/forums/

    … and any help would be very much appreciated.

    Using 2017 default theme. Also using BuddyPress now.

    Thanks.

    Steve

    #189251
    makingcircuits
    Participant

    I have found a way of implementing this, in fact this facility becomes readily accessible once you install and activate the plugin “bbpress topics for posts”.

    here are the procedures to migrate your existing wordpress comments into bbpress forum interface, below each posts 🙂

    install and activate plugins: bbpress, and bbpress topics for posts

    go to settings > Discussions > bbPress Topics for Posts Defaults
.now select the forum which you have created under “Create a new bbPress topic in”

    and finally press SAVE at the bottom of the page.

    wait it is not yet over.

    go back again to bbPress Topics for Posts Defaults
    and click on the new option which asks: “apply settings to existing posts”.

    As soon as you do this all your existing wordpress comments will disappear, and you will see a bbpress forum box under each of the posts.

    DON’T PANIC!!!!!!!!!!

    Go to your wordpress dashboard

    click on posts > all posts > tick on the box named “title” just below “Bulk Actions”

    this will select all the posts on that page.

    now select “Edit” and Apply

    a new window will open (we all know about this)
now simply PRESS the “update” button at the right hand side corner of this window.

    Repeat this for each and every page in case you have a small number of posts on each page
.or if you want to execute this at once, make sure to first select all the posts on the same pageby going to the screen options and selecting the total number of posts you prefer to include on that page

    BINGO!!!!

    Go and check your posts you will find all your wordpress comments have been transferred into bbpress


    But will this have any SEO implications? I don’t know


    #189250
    makingcircuits
    Participant

    I have found a way of implementing this, in fact this facility becomes readily accessible once you install and activate the plugin “bbpress topics for posts”.

    here are the procedures to migrate your existing wordpress comments into bbpress forum interface, below each posts 🙂

    install and activate plugins: bbpress, and bbpress topics for posts

    go to settings > Discussions > bbPress Topics for Posts Defaults….now select the forum which you have created under “Create a new bbPress topic in”

    and finally press SAVE at the bottom of the page.

    wait it is not yet over.

    go back again to bbPress Topics for Posts Defaults
    and click on the new option which asks: “apply settings to existing posts”.

    As soon as you do this all your existing wordpress comments will disappear, and you will see a bbpress forum box under each of the posts.

    DON’T PANIC!!!!!!!!!!

    Go to your wordpress dashboard

    click on posts > all posts > tick on the box named “title” just below “Bulk Actions”

    this will select all the posts on that page.

    now select “Edit” and Apply

    a new window will open (we all know about this)…now simply PRESS the “update” button at the right hand side corner of this window.

    Repeat this for each and every page in case you have a small number of posts on each page….or if you want to execute this at once, make sure to first select all the posts on the same pageby going to the screen options and selecting the total number of posts you prefer to include on that page

    BINGO!!!!

    Go and check your posts you will find all your wordpress comments have been transferred into bbpress…

    But will this have any SEO implications? I don’t know…

    #189207
    brent0r
    Participant

    @kdelsimone
    If you want the link changed from the topic to the reply, I suggest copying loop-search-reply.php from /wp-content/plugins/bbpress/templates/default/bbpress to your child themes bbpress directory @ /wp-content/themes/theme-child/bbpress
    From there you can edit it and change line 25 from this:
    <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>

    to this:
    <a class="bbp-topic-permalink" href="<?php bbp_reply_url(); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>

    #189186
    Robin W
    Moderator

    I’ve been thinking this over, and can’t see a simple way to achieve this.

    To get something working would involve adding extra fields to a topics meta data, and then filtering the display to catch.

    With the forum visible in effect the code for a forum or set of forums would need to (by default) make a topic private using an additional field, and then all the display parameters would need to hide it unless made public. That means closing every back door in search, profiles, displays, freshness all widgets and other areas so that no-one sees it unless set to public, which is one hell of a lot of work, and a large re-write of many bbpress functions.

    I could modify my private groups plugin which makes forums (but not content) visible, so that certain topics are shown, but again it is a heap of code. Beyond free help I’m afraid, but if you want to look at that route contact me via my website http://www.rewweb.co.uk

    #189161

    In reply to: access control

    Robin W
    Moderator

    ok, thanks that helps.

    ONE

    you have set the forum to private in dashboard>forums>all Forums>do-i-quality>edit and visibility options on the right hand side in the forum attributes set to private.

    A private forum is one that is not public, so its existence is also not public. It therefore returns a 404 error to someone not logged in, as bbpress doesn’t know the difference between a user who is not logged in and any member of the public. Once logged in they see the forums. Most users click the remember me button and save passwords in their browser. When not logged in they will not see the existence of the forums. If you want the forums to be visible, then the private groups plugin above will do that.

    TWO

    This is simply a forum with dashboard>forums>all Forums>bylaws>edit and visibility options on the right hand side in the forum attributes set to public.

    THREE

    I’ll look through the wording again to see if I can make it better – I did write it some time ago, and probably due for a review but the settings are in there viz

    Forum visibility:

    Public – Anyone can see these forums
    Private – Only logged in registered users with a forum role can see these forums
    Hidden: Only Moderators/keymasters can see these forums

    Visibility is set for each forum, go into Dashboard>forums> and when you add/edit a forum, you will see visibility options on the right hand side in the forum attributes.

    By default forums are available to be publically viewed. If you set anonymous posting to be on (see 4. Above) then anyone can also post.

    Robin W
    Moderator

    in place of your code put back the original

    	<?php bbp_forum_freshness_link(); ?>
    

    and then add this to your functions file

    add_filter( 'bbp_get_forum_freshness_link', 'rew_freshness_last_three' , 100, 6) ; 
    	
    function rew_freshness_last_three ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ) {
    	//set up and run a query to get a list of all topics in this forum that this user can see
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Super admin get whitelisted post statuses
    	if ( bbp_is_user_keymaster() ) {
    		$post_stati = array( bbp_get_public_status_id(), bbp_get_private_status_id(), bbp_get_hidden_status_id() );
    
    	// Not a keymaster, so check caps
    	} else {
    
    		// Check if user can read private forums
    		if ( current_user_can( 'read_private_forums' ) ) {
    			$post_stati[] = bbp_get_private_status_id();
    		}
    
    		// Check if user can read hidden forums
    		if ( current_user_can( 'read_hidden_forums' ) ) {
    			$post_stati[] = bbp_get_hidden_status_id();
    		}
    	}
    	// Parse arguments against default values
    	$r = array(
    		'post_parent'         => $forum_id,
    		'post_type'           => bbp_get_topic_post_type(),
    		'post_status'         => implode( ',', $post_stati ),
    		'ignore_sticky_posts' => true,
    		'posts_per_page' => -1
    		);
    	
    
    	// Create a new query for the topic list
    	$get_posts = new WP_Query();
    
    	$topics = $get_posts->query( $r ) ;
    	
    	//var_dump ($topics) ;
    	
    	//now run through this list and get the last active date of each topic
    	foreach ($topics as $topic) {
    		$id = $topic->ID ;
    		$last_active = get_post_meta( $id, '_bbp_last_active_time', true );
    		$curdate = strtotime($last_active);
    		$show[$curdate] = $id ;
    		}
    	if (!empty ($show)) {
    		//so now we have a list of dates with topic ids, so we need to find the latest 3
    		arsort($show);
    		$count=0 ;
    		foreach ($show as $topic) {
    			$count++ ;
    			?>
    			<a href="<?php bbp_topic_permalink($topic); ?>"><?php bbp_topic_title($topic) ?> (<?php bbp_topic_last_active_time($topic); ?>)</a>
    		<?php
    			if ($count == 3) break ;
    		}
    	}
    	else echo 'No topics' ;
    
    	
    }

    It has to sort through all topics for all forums to work this out, so it may slow your forums index display and get worse as your forum content grows.

    #189109
    bertdy
    Participant

    Bonjour,
    j’ai supprimer l’ancien forum que j’utilisais. Puis tous les autres plugins liĂ©s Ă  BBPress.
    Puis réinitialisation, désinstallation de BBpress, réinstallation,
    création de nouveaux forums, installation de bbP Toolkit.
    Les utilisateurs “abonnĂ©s” dans wordpress sont bien par default “participant”.
    la fonction de l’Ă©cran utilisateurs pour modifier le role des forums ne fonctionne pas.
    Le méta données contienne t toujours les anciens forums.
    Comment purger les tables mises Ă  jour par BBpress et rĂ©soudre le problĂšme de l’affectation des roles ?
    Je vais re-tester l’utilisation des forums
    Merci pour votre aide
    Bertrand

    #189095
    finar76
    Participant

    Hi All,

    I have installed ppPress and so far so good… I have also installed “Ultimate Member” in order to manage membership and visibility of content…

    every page will have an option to be visible or not by registered members or not…

    I wanted to put a “membership restriction to the home page of the forums (by default /forums), but they I look in the pages I cannot find it(even if it is clearly there in the website: http://italiancrypto.it/forums/)

    anyone can explain where ti find it and how to “restrict the view to only registers members?

    many thanks

    Regads

    #189070
    fenomeno0chris
    Participant

    First of all Happy New Year to the whole bbPress community!

    Right now I can access my Forum start page on two different Urls.
    https://www.ps4source.de/archiv/
    https://www.ps4source.de/forum/

    How can I disable the default one (archiv)?

    #189041
    Robin W
    Moderator

    use this in your functions file and change the address to what you want

    add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email');
    function no_reply_email(){
        $email = 'noreply@yourdomain.com'; // any email you want
        return $email;
    }

    you can change that default to email address as well with :

    add_filter('bbp_subscription_to_email','my_bbp_subscription_to_email');
    function my_bbp_subscription_to_email(){
        $email = 'noreply@yourdomain.com'; // any email you want
        return $email;
    }
    #189032
    machank
    Participant

    ok. solved. First, a bug: when editing the super-admin in a multisite site instance, there is no field for editing/assigning a forum role. That line is just missing on the Settings->Forums page. Second, I did find a reference to a bug from a year ago that said that one could assign/edit forum roles for individual users but not on the Edit All Users page. That still seems to be the case. And finally I did find the settings entry for assigning all visitors a default forum role. So using all 3 of those considerations, my problem is now solved. (A pain, though, for assigning the super-admin. You have to make the default role what you want his to be, then “visit the site”, then change the default role back to what you want it to be for others.)

    dobosalina
    Participant

    This is the code

    
    function bp_redirect($user)
      $redirect_url = "";
    
    if (defined('ICL_LANGUAGE_CODE')) {
        switch (ICL_LANGUAGE_CODE) {
    		
            case 'fr':
                $redirect_url = "https://volunteerteacher.org/fr/enregistrement-avec-succes/";
              break;
    
    		  default:
                  $redirect_url = 'https://volunteerteacher.org/registration-successful/"';
              break;
    		  
    		  
        }
    	bp_core_redirect($redirect_url);
    }
    return $redirect_url;
    }
    add_action('bp_core_signup_user', 'bp_redirect', 100, 1);
    
    
    dobosalina
    Participant

    Hello,

    I have a issue, I want to have a code who works like this:

    If user registered on English version – redirect to custom English registered successfully page
    If user registered on French version – redirect to custom French registered successfully page

    So far I have made this below:

    function bp_redirect($user)
    $redirect_url = “”;

    if (defined(‘ICL_LANGUAGE_CODE’)) {
    switch (ICL_LANGUAGE_CODE) {

    case ‘fr’:
    $redirect_url = “https://mysite.com/fr/enregistrement-avec-succes/&#8221;;
    break;

    default:
    $redirect_url = ‘https://mysite.com/registration-successful/”&#8216;;
    break;

    }
    bp_core_redirect($redirect_url);
    }
    return $redirect_url;
    }
    add_action(‘bp_core_signup_user’, ‘bp_redirect’, 100, 1);

    Unfortunately it is not working and I do not know what do do more to make it work.
    Language plugin is WPML the language pages are http://www.mysite.com/fr , http://www.mysite.com/es etc,

    Please help me, I really need this script to be working.

    Thank you so much

    #188932
    finerdev
    Participant

    It’s available in the default theme. But my theme does not work.

    I try to fix it for a long time. But still not fix it.

    #188931
    Robin W
    Moderator

    ok, something is preventing this.

    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.

    Then come back

    #188923
    posemotion
    Participant

    I finally figured it out. No need to use the “Full Page Width” option or any other techniques found about the web. If you installed a bbPress forum and everything is set to its defaults. Just use the following…

    Select “Customize”
    Select “Additional CSS”
    Add/Paste the following…

    .bbpress #content-sidebar {      
    display: none;
    }
    
    #bbpress-forums {
      margin-left: auto !important;
      margin-right: auto !important;
      width: 170% !important;
    }

    Forum link in first post is incorrect now. A redirect is being setup though as that is my old link to another forum I use to use. New forum link is, http://www.posemotion.com/forums

    #188872
    Robin W
    Moderator

    can only think that you have a conflict

    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.

    Then come back

Viewing 25 results - 1,226 through 1,250 (of 6,788 total)
Skip to toolbar