Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,301 through 8,325 (of 14,141 total)
  • @robin-w

    Moderator

    ok, I can’t help you with winscp, but what you need to achieve is the following.

    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-forum.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-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so line 38 says

    <div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>

    delete this and in its place put these lines

    <div class="bbp-forum-content">
    		
    		<?php setup_postdata(bbp_get_forum_id()) ; 
    				
    		$excerpt = get_the_excerpt() ;
    		
    		echo $excerpt ;	?>
    		
    </div>

    This will then put the first 55 characters of your content.

    Once you have achieved that, come back and I’ll show you the second part.

    @robin-w

    Moderator

    ok, do you know how to use ftp to move a file to your website?

    In reply to: @mentions not working

    @robin-w

    Moderator

    We also see inconsistencies in this functionality throughout the site. Any suggestions?

    not unless you can give me something to work on like ‘it works on this but not on that’

    @robin-w

    Moderator

    that link just comes up with a 404 error – are you forums private ?

    @robin-w

    Moderator

    since bbpress just uses wordpress then anything that works in wordpress

    eg code

    https://stackoverflow.com/questions/21928355/list-currently-logged-in-users-wordpress

    or plugin

    WP-UserOnline

    There are probably lots more examples, I just googled ‘wordpress list logged in users plugin’

    @robin-w

    Moderator

    add this to your theme’s custom css section

    #bbpress-forums div.reply {
    width: auto !important;
    }

    @robin-w

    Moderator

    1. try

    dashboard>tools>forums>repair forums and run one at a time

    @robin-w

    Moderator

    great – glad to have helped

    @robin-w

    Moderator

    bbpress does not directly provide for image upload, so you’ll need to use a plugin such as

    GD bbPress Attachments

    Whatvere plugin you use, suggest you contact that plugins author for what works well with it

    @robin-w

    Moderator

    let me see if I can contact the author

    @robin-w

    Moderator

    This is hopefully close to what you want – play with the numbers

    #bbp-forum-76 {
    	padding-top : 10px ;
    }
    
    #bbp-forum-76 li.bbp-forum-info a.bbp-forum-title::before {
    	font-family: FontAwesome;
    	content: '\f058';
    	color: #6190C3;
    	font-size: 50px;
    	padding-right: 30px;
    	position: relative;
    	top: 15px;
    }

    @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.

    In reply to: Per-forum moderators

    @robin-w

    Moderator

    @shland01 – I’ve answered in the other link, so post that here for completeness

    Specific Moderator per forum?


    and I’ll only update the other one

    @robin-w

    Moderator

    Does the existing plugin still work?

    Old plugins can be very stable and not need much updating.

    If it works, I might contact the author.

    But I need someone to confirm it works first (big difference between updating a working plugin and getting a non-working one going again !)

    @robin-w

    Moderator

    I haven’t got 2.6rc3 live at the moment as I’m tied up supporting the live version. However I’d guess that moderator support per forum is front end only, as they’ll have a participant role when you access the backend.

    I presume that the user is participant and sees no options for topics and replies in the admin section – yes ?

    @robin-w

    Moderator

    Stills shows under User Roll

    even after this ?

    Anywhere in your theme (i put on a custom page template), use this:

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("bbp_role");
    In reply to: RKK Login Widget gone?

    @robin-w

    Moderator

    I presume Rkk has deleted.

    my styles pack plugin has a shortcode

    [Profile label=’This is the label’] will show

    which will let you add that as a text box beneath the standard bbpress login.

    bbp style pack

    once installed and activated – go to

    dashboard>settings>bbp style pack>shortcodes to find what the options are

    @robin-w

    Moderator

    try

    #bbp-forum-9 li.bbp-forum-info a.bbp-forum-title:before {
    	font-family: FontAwesome;
    	content: '\f058';
    	color: #6190C3;
    	font-size: 30px;
     }	

    @robin-w

    Moderator

    no problem, sorry we couldn’t help

    @robin-w

    Moderator

    the edit time is set in

    dashboard>settings>forums>forum user settings > disallow editing after

    default is 10 mins

    you can set this to as may 9’sd as yo like eg

    9999999999 to make it pretty well always editable !

    @robin-w

    Moderator

    Just wondering how the script makes the decision if I’m creating or editing a topic.

    not an area of the plugin I’ve yet delved into ! hense the quick and dirty !

    @robin-w

    Moderator

    is the code still in there – I can’t see it and you seem to have gone back to the original center alignment

    @robin-w

    Moderator

    that’s something that a plugin is adding – what email/bbpress additional plugins are you running?

    I know you are fixed, but this information will help someone else who later has the same problem šŸ™‚

    @robin-w

    Moderator

    this css should work

    #bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
    	max-width: 100%;
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }

    presume your theme has a custom css area you can put this in ?

    @robin-w

    Moderator

    plugin updates can do funny things.

    can you just say where exactly you did

    ‘switching from HTML email type to PLAIN text’

    Thanks

Viewing 25 replies - 8,301 through 8,325 (of 14,141 total)