Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,501 through 4,525 (of 14,265 total)
  • @robin-w

    Moderator

    best I can do – sorry !

    @robin-w

    Moderator

    I took a look at that file, and I can’t see why it would be an issue, but clearly it was !

    Anyway glad you are fixed πŸ™‚

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    is this just you logging in as keymaster? can you set up a participant and see if they have the same issue ?

    @robin-w

    Moderator

    1. make sure that you have activated it -above item 1 in dashboard>settings>bbp style pack>unreda posts
    2. it will only show for logged in users

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    that’s no problem, happy to help if I can!!

    @robin-w

    Moderator

    ok, that all works, you just need to decide what size .em you want and put that in the custom css

    @robin-w

    Moderator

    so is this code ONLY in style pack, if it is also in the theme, please remove it from there

    @robin-w

    Moderator

    ok, so can you put the css above in the custom css part of style pack please

    @robin-w

    Moderator

    sorry that doesn’t resolve – ie doesn’t go anywhere

    Hmmm… can’t reach this page

    In reply to: User Last Login

    @robin-w

    Moderator

    suspect this is what you need – untested !!

    $user_id = bbp_get_displayed_user_id() ;
    $last_login = get_user_meta($user_id, 'last_login', true);

    so if you go down the route you have, you’d add a second shortcode

    function rew_lastlogin () {
    	$user_id = bbp_get_displayed_user_id() ;
    	$last_login = get_user_meta($user_id, 'last_login', true);
        $the_login_date = date_i18n(get_option('date_format'), $last_login);
       return $the_login_date; 
    }
    
    add_shortcode('bbp_lastlogin','rew_lastlogin');

    and then use

    <?php echo β€˜Last seen: β€˜. do_shortcode(β€˜[bbp_lastlogin]’) .’ ago’; ?>

    @robin-w

    Moderator

    ok, changing themes will not I think get you any further. Without being able to see your site, I can’t really help further, as I can’t examine what is being downloaded to your browser, and what is either not taking effect or being overridden.

    I take it you have been amending the 1.5em to see whether it changes – I just put a figure in there.

    as a last guess, you could try

    #bbpress-forums ul.forum-titles li.bbp-forum-info {
    	font-size: 1.5em !important;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-topic-count {
    	font-size: 1.5em !important;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-reply-count {
    	font-size: 1.5em !important;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-freshness {
    	font-size: 1.5em !important;
    }

    @robin-w

    Moderator

    @robin-w

    Moderator

    ok, I’d suggest that your browser is not refreshing – browsers download the css files, but to keep website speed up, then only do so every so often. phones are particularly bad at keeping old css files, and not updating them/

    Try closing your browser and reopening, or if you can accessing your site form a computer/phone that has not accessed it before.

    @robin-w

    Moderator

    you should not need to change theme !

    So you put this code in additional css – yes ?

    @robin-w

    Moderator

    it would go in then custom css area of your theme, normally

    dashboard>appearance

    then try ‘customise’ and look for ‘additional css’ or ‘custom css’

    or your theme may have its own are for setting in that part of dashboard

    @robin-w

    Moderator
    #bbpress-forums ul.forum-titles li.bbp-forum-info {
    	font-size: 1.5em;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-topic-count {
    	font-size: 1.5em;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-reply-count {
    	font-size: 1.5em;
    }
    
    #bbpress-forums ul.forum-titles li.bbp-forum-freshness {
    	font-size: 1.5em;
    }

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    the latest activity widget in

    bbp style pack

    lets you do this

    @robin-w

    Moderator

    suggest you contact the GD bbPress Toolbox Pro author to se if he can help

    @robin-w

    Moderator

    This will display emails in topics

    add_action( 'bbp_theme_after_reply_author_details', 'rew_author_email' );
    
    function rew_author_email () {
    	$id = bbp_get_reply_id() ;
    	if (bbp_is_topic( $id ) ) {
    		$author_id      = bbp_get_topic_author_id( $id );
    		$user_info = get_userdata($author_id );
    		$user_email = $user_info->user_email;
    		echo $user_email;
    		
    	}
    }

    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

    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

    add_filter( 'bbp_current_user_can_publish_replies', 'rew_do_not_allow_anon' );
    
    function rew_do_not_allow_anon ($retval) {
    	if ( ! is_user_logged_in() ) {
    		$retval = false ;
    	}
    return $retval ;
    }
Viewing 25 replies - 4,501 through 4,525 (of 14,265 total)