Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,851 through 8,875 (of 14,146 total)
  • @robin-w

    Moderator

    I have a plan to look at this plugin at some stage, but it’s not high priority at the moment as I’m tied up with paid work.

    sorry!

    @robin-w

    Moderator

    hard to judge as you only showed a postbox size image, but doesn’t look like bbpress

    @robin-w

    Moderator

    version 2.5.13 just released should fix this issue

    @robin-w

    Moderator

    wqhich is exactly what it should look like, and is the same as the hotfix you applied

    what is the exact error you are now getting?

    @robin-w

    Moderator

    thanks, yes I can now see the file.

    It ahs the required change in it.

    what do you see when you look at line 1851 ?

    @robin-w

    Moderator

    no problem – glad you’re fixed !!

    @robin-w

    Moderator

    are you using buddypress – looks like a buddypress box ?

    @robin-w

    Moderator

    Suspect you are using php 7.1
    so 3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6rc3
    3. in bbpress 2.5.12 change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    Since the next upgrade will fix that anyway, no issue in changing the bbpress file
    best I can offer I’m afraid

    @robin-w

    Moderator

    didn’t know that 2.5.13 had been released, where did you get a copy?

    @robin-w

    Moderator

    your filter reads

    add_filter( 'bbp_get_breadcrumb',mod_bbp_get_breadcrumb, 98, 2);

    it should read

    add_filter( 'bbp_get_breadcrumb','mod_bbp_get_breadcrumb', 98, 2);

    you need single quotes around the 2nd function

    @robin-w

    Moderator

    interesting question

    I think bbpress just uses the wordpress pretty permalinks, so might be worth trying this plugin to see if you can change the default

    Edit Author Slug

    I’ve only read the page above, not tried it !

    Please do report back if it works (or if it doesn’t)

    @robin-w

    Moderator

    Firstly, when a user registers,

    bbpress just uses wordpress, so it should work if qordpress is working.

    Can you try using http://www.mysite.com/wp-login and see if that works.

    Also, when a user logs in, in the login bbpress widget, it still shows the username and password login boxes, but if I go into a sub forum, the widget then shows the users details.

    not sure what you mean here. On what page or post do you have this first widget?

    @robin-w

    Moderator

    ok, a new page in a default theme has this

    <div class="entry-content">
    <div id="bbpress-forums">
    

    your page has this

    <div class="entry-content">
    <div style="clear: both"></div>
    <div class="the_champ_sharing_container the_champ_horizontal_sharing" super-socializer-data-href="https://www.lifeleap.org/community/">
    <div class="the_champ_sharing_title" style="font-weight:bold">Share:</div>
    <ul class="the_champ_sharing_ul">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    </ul>
    <div style="clear:both"></div>
    </div>
    <div style="clear: both"></div>
    <p>
    <br>
    </p>
    <div id="bbpress-forums">

    Don’t think it’s bbpress

    @robin-w

    Moderator

    so is this a page with

    [bbp-forum-index]

    in it?

    @robin-w

    Moderator

    seems to be something in your page layout within entry content.

    How is that page constructed?

    what puts the social icons in?

    @robin-w

    Moderator

    great !!

    In reply to: New update

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    without knowing how you are currently displaying them (what functions) then hard to say. I can probably do something if I know how it is done currently

    @robin-w

    Moderator

    if you need something bespoke, email me

    @robin-w

    Moderator

    ok, for bbpress roles, then my style pack plugin will let you change role names (and a whole lot more)

    bbp style pack

    go to settings>bbp style pack>forum roles

    @robin-w

    Moderator

    Subscriber is normally a wordpress role and probably isn’t viewed as ‘text’, it will be taken from a function.

    are yours showing on the forum pages?

    @robin-w

    Moderator

    contact me via my email address in

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    my whole site is breaking i.e the graphics are breaking

    ok, hard to work out what is wrong from the description.

    whole site = every page including home opage?
    graphics are breaking = what can you state exactly what is breaking?

    a link to a screen shot would be good

    @robin-w

    Moderator

    great – sorry I missed the 10,2 in my original post !!

    @robin-w

    Moderator

    ok, this is untested for functionality, but doesn’t error

    add_filter( 'bbp_get_topic_subscribers', 'rew_filter_subscrbers' );
    add_filter( 'bbp_get_forum_subscribers', 'rew_filter_subscrbers' );
    
    function rew_filter_subscribers ($users) {
    	$role = 'my_custom_role' ;
    	$filtered_ids = array();
    	foreach ( (array) $users as $user_id ) {
    		$user_info = get_userdata($user_id);
    		$user_roles = $user_info->roles ;
    		if (!in_array ($role, $user_roles)) {
    			array_push($filtered_IDs, $user_id);
    		}
    	
    	}
    return $filtered_ids ;
    }

    Do you know how to put this in to your child theme’s functions file?

    If so you will need to change my_custom_role in this line

    $role = 'my_custom_role' ;

    to the role name that you are using

    If you don’t know how to use functions file, then come back

Viewing 25 replies - 8,851 through 8,875 (of 14,146 total)