Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 901 through 925 (of 26,673 total)
  • Author
    Search Results
  • #230608
    alegalietta
    Participant

    Wordpress version 6.0.1
    BBpress version 2.6.9
    url: https://www.youplaygroup.it/forums/

    I don’t understand how to remove

    Archivi Forum <— THIS
    Forum bbPress <— THIS

    Casinò Show › Forum <— Casinò Show from the path (?)

    Thanks

    #230590
    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

    #230573
    WPSolr free
    Participant

    1. You can connect with participant/participant or keymaster/keymaster here

    2. I should have said “plain” instead: WP + bbPress + 1 hidden forum + 1 public topen in forum

    #230571
    WPSolr free
    Participant

    I did not see your answer. Sorry for that!

    I reinstalled a blank bbPress, with the same issue.

    You can see the hidden forum here with users keymaster/keymaster or participant/participant

    #230570
    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

    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.

    #230520
    n3wjack
    Participant

    According to the trac ticket, there’s a fix coming in v2.7: https://bbpress.trac.wordpress.org/ticket/3445

    No idea when 2.7 going to be released.

    #230450

    In reply to: Editor autoresize

    rinh
    Participant

    Thanks for the links 🙂 It’s not a necessary feature, but agree would be neat. I think one issue is that most scripts and functions are for when you have TinyMCE as the deafault WordPress editor, but this is inside bbPress.

    I’ll definitely let you know if I find a working solution.

    #230447

    In reply to: Editor autoresize

    Robin W
    Moderator

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

    Advanced TinyMCE Configuration

    #230443
    rinh
    Participant

    Hi
    First, thanks for all the help so far with functions and filters! The forum is done, but there is one feature I missed from the old forum and that’s having the editor autoresize with the content. I think this may be out of scope for this plugin, but perhaps someone knows something.

    I looked around and it seems WordPress TinyMCE have this feature, but it’s not enabled. I did some terrible attempt (you’re allowed to laugh) to add it. Not only did it break my toolbar 1, but it didn’t work either

    function bbp_enable_visual_editor( $args = array() ) {
    	
        $args['quicktags'] = false;
        $args['teeny'] = false;
        $args['tinymce'] = array( 
        'tinymce' => array(
                'toolbar1' => 'formatselect, bold, italic, underline, strikethrough, blockquote, link, forecolor, bullist, numlist, alignleft, aligncenter, alignright, outdent, indent, undo, redo',
    	    'autoresize_min_height' => 100,
                'wp_autoresize_on'      => true,
                'plugins'               => 'wpautoresize',
            ), 
        );
    	
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    #230407

    In reply to: Pictures

    silviach
    Participant

    We have the same problem: users cannot upload images to our forum. How can this problem be solved ? It would be best if users could upload images without admin intervention.

    forum: https://www.durecomemuri.it/
    WordPress 6.0.1
    bbPress: 2.6.9
    Buddypress: 10.3.0

    #230406
    Robin W
    Moderator

    add this plugin

    bbp style pack

    then go to

    dashboard>settings>bbp style pack and the tab will let you fix this issue

    #230404
    Robin W
    Moderator

    ok, given that I cannot access site (in effect you are sending me a photo of your car engine, rather than letting me see the car itself) I can only suggest 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

    #230392
    Robin W
    Moderator

    yes just tried ‘forum’ and it does not show

    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

    #230386
    WPSolr free
    Participant

    Opened ticket for this topic: https://bbpress.trac.wordpress.org/ticket/3473

    #230380
    Robin W
    Moderator

    bbpress is stil being maintained.

    It works fine with wordpress 6.x

    #230371
    rinde
    Participant

    Is bbPress no longer being updated?

    It shows Last Updated: 8 months ago Untested with your version of WordPress

    We are on WordPress 6.01.
    I want to buy a theme for bbPress but am afraid it won’t work since it hasn’t been updated in so long 🙂

    #230350
    Robin W
    Moderator

    no problem – do come back if I can help further.

    You might also want to look at

    bbp style pack

    It has loads of stuff that helps bbpress

    #230345
    Robin W
    Moderator

    ok, now that we have checked the permalinks and the slugs, then 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

    #230338
    Robin W
    Moderator

    theme is at

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base

    but it will still take some work to create a clone of this site.

    Using your existing theme, you can most of the sidebar stuff here using the widgets in

    bbp style pack

    #230306
    Robin W
    Moderator

    no easy solution – basically wordpress lets you login with your email so users can still login using email address if their have a different username. So if you need this as a solution then your registration process should not allow users to use their email as username or warn them that if they do it will be public.

    You can change any existing ones using

    How to Change a Username on WordPress

    Robin W
    Moderator

    ok,

    1. create a page called ‘profile’, it needs no content, but make sure the permalink is ‘profile’
    2. in dashboard>settings>wp members>pages>profile select the profile page

    then use this code

    add_action( 'template_redirect' ,'rew_profile' ) ;
    
    function rew_profile () {
    	update_option ('rewurl' , $_SERVER['REQUEST_URI']  ) ;
    	if ($_SERVER['REQUEST_URI']   ==  '/profile/') {
    	$user_id =get_current_user_id() ;
    	$url = bbp_get_user_profile_url( $user_id ) ;
    	exit( wp_redirect( $url ) );
    		}
    }

    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

    gtatar
    Participant

    Thank you, Robin. I added the snipped, and it partially worked. The anchor text “time ago” now reflects the time of the latest good post. However the URL is for the latest spam post.

    I started digging a bit through bbpress code. It looks like if the fix was inside bbp_topic_freshness_link() it would be much easier to test, as we would not need to wait for a new spam post to test the fix. And perhaps make decisions based on the wp_post status having the value “publish”. This way the solution would not be specific to Akismet. But I am really too new to WordPress coding and bbPress to be making this kind of changes myself.

    Robin W
    Moderator

    ok, give this a try – it may or may not do the trick !!

    add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ;
    
    function rew_spam_update_last_active ($topic_id) {
    	//this function tests if a new topic has been marked as spam by Akismet.  If so then the last active date will be wrong
    	//So we use topic walker to recalculate it
    	if (!empty (get_post_meta( $topic_id, '_bbp_akismet_user_result' ))) {
    	bbp_update_topic_walker ($topic_id) ;
    	}
    }

    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

    Robin W
    Moderator

    is this the free plugin here

    WP-Members Membership Plugin

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