Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1,926 through 1,950 (of 13,958 total)
  • @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails

    If that works and you don’t want to keep the plugin, then the email stuff is in the plugin includes/functions_email.php

    @robin-w

    Moderator

    ok,

    Dashboard>tools>forums>repair forums and run the counts

    @robin-w

    Moderator

    try

    dashboard>settings>permalink and just click save – this resets the permalinks and sometimes fixes

    @robin-w

    Moderator

    ok, that should do it 🙂

    @robin-w

    Moderator

    ok, can you see topics and replies, but not forums?

    If so, are you admin and keymaster? check your profile in dashboard>users>

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    only show if user is logged out

    function bbp_goto_login_page() {
    if (!is_user_logged_in ()) {
    echo '<p><a href="/login"><div class="gotologin">You must be logged in</div></a></p>' ;
    }
    }

    But you should be seeing the login automatically – what theme and other plugins are you using?

    @robin-w

    Moderator

    you probably need to take this up with the eduma theme authors, as this is a paid theme

    @robin-w

    Moderator

    no problem, glad you are fixed !!

    @robin-w

    Moderator

    link to your forum page please

    @robin-w

    Moderator

    private and hidden forums will not show up on google, as bots cannot see them – in essence if you cannot see it without logging in then neither can google

    @robin-w

    Moderator

    Add this additional plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Theme Support and there is a box to tick to get bbpress to work with the new 2022 block theme

    @robin-w

    Moderator

    for the furst two, add this to your theme custom css

    .forum h1.page-title, .forum div.page-description p {
      display : none ;
    }

    for the last, install this additional plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Breadcrumbs

    @robin-w

    Moderator

    ok, I’ve found the problem, and this filter fixes

    add_filter ('bbp_after_has_search_results_parse_args', 'rew_search') ;
    
    function rew_search ($args) {
    	/*mods and above get permissions to see all from line 50 of \bbpress\includes\search/template.php which sets a list of $default['post_status']
    	//participants/spectators get $default['perm'] = 'readable' set instead of $default['post_status'].  
    	'perm' is a wordpress wp_query setting, and wordpress does not have 'hidden' status, so allows hidden forums to show
    	//so if $default['perm'] is set, we add a 'post_status' as well to restrict to statuses user is allowed
    	*/
    	if (!empty($args['perm'])) {
    		$post_statuses = array(bbp_get_public_status_id()) ;
    		// Add support for private status
    		if ( current_user_can( 'read_private_topics' ) || current_user_can( 'read_private_forums' ) ) 
    			$post_statuses[] = bbp_get_private_status_id();
    		}
    		// Add support for hidden status
    		if ( current_user_can( 'read_hidden_forums' )) {
    			$post_statuses[] = bbp_get_hidden_status_id();
    		}
    		// Join post statuses together
    		$args['post_status'] = $post_statuses;
    	}
    return $args ;
    }

    if you are using

    bbp style pack


    then this is included in version 5.0.8 just released

    Otherwise put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    I’ll update the bbpress trac ticket shortly

    @robin-w

    Moderator

    thanks – I can see the issue – suggest you change the keymaster pw to prevent this site being hacked

    I’ll now use my test site to see if I can work out what is happening

    @robin-w

    Moderator

    1. can’t see as I don’t have access
    2. when you say ‘blank bbpress’ did you do the full tests above?

    @robin-w

    Moderator

    A lot of mobile changes depend on the theme being used.

    These are the css changes that this site uses for smaller devices

    /* Do not fix #header for non-desktops */
    @media screen and ( max-width: 782px ) {
    	#header {
    		top: 0;
    		z-index: 99999;
    		position: absolute;
    	}
    	#wpadminbar {
    		z-index: 88888;
    		height: 56px !important;
    		position: absolute;
    	}
    	#wp-toolbar {
    		width: 100%;
    	}
    	#main {
    		margin: 100px 10px 40px 10px;
    	}
    	body:not(.trac):not(.home-page) #main {
    		margin-top: 140px;
    	}
    	#footer {
    		padding: 10px;
    		margin: 10px;
    	}
    	#footer div.links,
    	#footer div.details {
    		float: none;
    		margin: 10px 0;
    	}
    	#bb-menu-icon,
    	#mobile-menu-button {
    		display: block;
    		position: absolute;
    		right: 0;
    		padding: 33px 20px 33px 33px;
    		text-decoration: none;
    	}
    	#header #nav,
    	#wporg-header #wporg-header-menu {
    		margin: 0;
    		float: right;
    		overflow: visible;
    	}
    	#header #bb-nav,
    	#wporg-header #wporg-header-menu {
    		position: absolute;
    		width: 100%;
    		right: 0;
    		top: 81px;
    		border-bottom: 1px solid #aaa;
    	}
    	#header #bb-nav li,
    	#wporg-header #wporg-header-menu li {
    		width: 100%;
    		text-align: center;
    		margin: 0;
    		padding: 0;
    	}
    	#header #nav #bb-nav li a,
    	#wporg-header #wporg-header-menu li :link,
    	#wporg-header #wporg-header-menu li :visited {
    		display: block;
    		margin: 0;
    		padding: 20px;
    		color: #000;
    		text-shadow: none;
    		border-radius: 0;
    	}
    	#header #nav #bb-nav li.current a,
    	#header #nav #bb-nav li a:hover {
    		color: #fff;
    	}
    	#header #bb-nav,
    	#bbpress-forums .bbp-pagination-count,
    	.bbp-topic-meta,
    	#wporg-header #wporg-header-menu {
    		display: none;
    	}
    	#header #nav:hover #bb-nav,
    	#header #nav:focus #bb-nav,
    	#wporg-header #wporg-header-menu.toggled {
    		background-color: #eee;
    		display: block !important;
    	}
    	#wporg-header #wporg-header-menu.toggled {
    		background: #eee;
    	}
    	#header #nav:hover #bb-menu-icon:before,
    	#header #nav:focus #bb-menu-icon:before,
    	#wporg-header #mobile-menu-button[aria-expanded="true"]:before {
    		color: #fff;
    	}
    	#wp-admin-bar-my-account img.avatar {
    		height: 38px !important;
    		width: 38px !important;
    	}
    }
    
    /* Mobile */
    @media only screen and (max-width: 480px) {
    	#bbpress-forums div.bbp-topic-author img.avatar,
    	#bbpress-forums div.bbp-reply-author img.avatar {
    		width: 72px;
    		height: 72px;
    		margin: -5px 0 0 -5px;
    		transform: rotate(-5deg);
    	}
    
    	#bbpress-forums .bbp-author-role {
    		border: none;
    		background: transparent;
    		padding: 0;
    		margin: 0;
    	}
    
    	#bbpress-forums p.bbp-topic-post-date,
    	#bbpress-forums p.bbp-reply-post-date {
    		position: absolute;
    		right: -13px;
    		top: -17px;
    		font-size: 10px;
    		margin: 0;
    	}
    
    	#bbpress-forums div.bbp-topic-author .bbp-author-avatar + br,
    	#bbpress-forums div.bbp-reply-author .bbp-author-avatar + br,
    	#bbpress-forums div.bbp-topic-ip,
    	#bbpress-forums div.bbp-reply-ip {
    		display: none;
    	}
    
    	#bbpress-forums li.bbp-body div.type-topic span.bbp-admin-links,
    	#bbpress-forums li.bbp-body div.type-reply span.bbp-admin-links {
    		display: block !important;
    		border-top: 1px dotted #ddd;
    		margin: 10px 10px 0 10px;
    		padding: 5px 0;
    		position: relative !important;
    		top: 0;
    		left: 0;
    	}
    }

    You can play with them to get your site looking nicer

    either add them to the custom css part of your theme, or use

    Code Snippets

    @robin-w

    Moderator

    contact me via

    Contact me

    In reply to: blank Screen

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    I see this has been fixed on the bbpress-notify support page.

    https://wordpress.org/support/topic/error-regarding-roles-on-all-pages-of-learndash-site/

    The next sentence I am saying in a very nice way, so please do not take offence. Free software comes with free support offered by unpaid volunteers, so if you get a problem fixed, please make sure you post back if it gets fixed – 10 mins of my life I won’t get back in looking at this problem.

    @robin-w

    Moderator

    if you have upgraded, then you should see this as text in the theme support tab

    You are using the theme Twenty Twenty-Two or a Twenty Twenty-Two child theme – enable this section to get bbpress to display correctly

    @robin-w

    Moderator

    I took it from

    BBpress keeps loading the empty index.php in the TwentyTwentyTwo Child theme

    that you were using a child theme.

    what thene are you using?

    In reply to: Editor autoresize

    @robin-w

    Moderator

    wish I had time, but this looks like a js approach

    https://wp-qa.com/tinymce-autoresize

    In reply to: Editor autoresize

    @robin-w

    Moderator

    also this?

    https://www.tiny.cloud/docs-4x/plugins/autoresize/

    suggests just using autoresize rather than wp version?

    It would be a neat feature to have, but I don’t have the time.

    If you crack it, do come back

    In reply to: Editor autoresize

    @robin-w

    Moderator

    Not even looked at it, but does this plugin have any answers?

    Advanced TinyMCE Configuration

Viewing 25 replies - 1,926 through 1,950 (of 13,958 total)