Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,701 through 12,725 (of 13,958 total)
  • @robin-w

    Moderator

    yes I’d seen that question and had a look – like all things it’s possible but not using css (or at least I’m not good enough at css to tell you how !)

    I’ll hopefully come back to it shortly when I get a moment !

    @robin-w

    Moderator

    Great – glad you’re fixed.

    In reply to: Newby a little lost

    @robin-w

    Moderator

    I suspect you got to full width by creating a page called forums and putting
    [bbp-forum-index] in it.

    You would then have set this page to full width on the right hand side of the page where it says template !

    @robin-w

    Moderator

    @robin-w

    Moderator

    It’s not listed as one that is known to be compatible with bbpress

    http://themeforest.net/collections/2997867-bbpress-compatible-themes

    Sorry but you’ll need to contact the theme author for a fix.

    In reply to: Missing Topic Intro

    @robin-w

    Moderator

    ‘make less of an assumption about the degree of tech literacy us ordinary users have?’

    I had assumed because you were able to look at wp-tables, you were techy !

    I try hard to match responses to authors, but it’s difficult sometimes to judge the degree of technicality, and I’m just a humble volunteer on this site who does this for nothing and has a day job and family, so please don’t shoot those that are trying (if badly sometimes :-)) to help !

    Are you techy enough to edit and ftp .php files, or add code to your functions file? If so then come back and I’ll try to help further

    @robin-w

    Moderator

    I haven’t taken a detailed look at your problem but you could try adding this to you functions file

    
    //This function adds descriptions to the sub forums
    function custom_list_forums( $args = '' ) {
    
    	// Define used variables
    	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
    	$i = 0;
    	$count = array();
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => ' (',
    		'count_after'       => ')',
    		'count_sep'         => ', ',
    		'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );
    
    	// Loop through forums and create a list
    	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
    	if ( !empty( $sub_forums ) ) {
    
    		// Total count (for separator)
    		$total_subs = count( $sub_forums );
    		foreach ( $sub_forums as $sub_forum ) {
    			$i++; // Separator count
    
    			// Get forum details
    			$count     = array();
    			$show_sep  = $total_subs > $i ? $r['separator'] : '';
    			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
    			$title     = bbp_get_forum_title( $sub_forum->ID );
    			$content = bbp_get_forum_content($sub_forum->ID) ;
    
    			// Show topic count
    			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
    			}
    
    			// Show reply count
    			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
    			}
    
    			// Counts to show
    			if ( !empty( $count ) ) {
    				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    			}
    
    			// Build this sub forums link
    			$output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
    		}
    
    		// Output the list
    		return $output ;
    	}
    }
    
    add_filter('bbp_list_forums', 'custom_list_forums' );
    In reply to: Missing Topic Intro

    @robin-w

    Moderator

    Where in the thread does it say this is a UAM issue?

    I did 7 posts ago ! – ‘Anyway one for the plugin author I’m afraid !’

    Did you do the checks that Stephen suggested ?

    I am pretty sure it is the same problem… If the plugin you are using marks the post ‘private’ (you can confirm this by looking at the post in the wp_posts table, if the post_status for the topic is private then this is the same issue.

    Not a definitive guide but if you are logged in and you are the topic author who authored that topic I expect you will find that they can see both the topic content and the follow up reply.

    and what results did you get?

    In reply to: Missing Topic Intro

    @robin-w

    Moderator

    sorry this is an issue with the UAM plugin, so as stated you’d need to refer the issue to them.

    @robin-w

    Moderator

    Integration is not an option for us, as explained in my original post.

    was just trying to help by giving you a test site that you could fix the issue in – only an option 🙂

    therefore yes you are doing wp and bbpress on a sub-domain, should work quite easily !

    @robin-w

    Moderator

    Do you want me to include the bbpress custom fields code?

    yes please !

    In reply to: Newby a little lost

    @robin-w

    Moderator

    ‘Do I have to change the format (ie: NOT full page) in order to see the sidebar?’

    Yes !

    @robin-w

    Moderator

    I’m sorry but I know nothing of buddypress, but I thought you wanted your page to look like the bbp profilepage, and that simply uses code to create the urls hence why I quoted them !!

    If you just type these urls in, they work, they don’t need any code.

    so what happens if you just rename the form-user-edit.php to settings.php and drop it in the right directory?

    In reply to: Sticky thread Issues

    @robin-w

    Moderator

    that was quick – glad you’re fixed !

    In reply to: Newby a little lost

    @robin-w

    Moderator

    Now you’ve got it full width, you may decide that actually you want a sidebar, but one for your forum that includes logon, register etc.

    see

    Step by step guide to setting up a bbPress forum – Part 1

    In reply to: Sticky thread Issues

    @robin-w

    Moderator

    yes,

    add this to your functions file

    //This function adds the words sticky before the title
    function bbp_sticky_display () {
    		if(bbp_is_topic_sticky()) {
    		echo '<span class="sticky-display">' ;
    		echo 'Sticky Topic' ; 
    		echo '</span>' ;
    		}
    	}
    		
    add_action ('bbp_theme_before_topic_title', 'bbp_sticky_display') ;

    and this to your style.css

    #bbpress-forums .sticky-display{
    background: none repeat scroll 0 0 #5BB75B;
    color: #FFFFFF;
    display: in-line;
    padding: 5px;
    }

    you can change the words and styling to suit !

    @robin-w

    Moderator

    Yes, we will get there, but I’m not totally clear on how you are doing your bit, so am struggling to help !

    ‘I’m not sure what you mean by calling each by their url. ‘

    Basically if you hover over the links in the profile page you get

    profile http://www.mysite.com/forums/users/%username%/
    topics started http://www.mysite.com/forums/users/%username%/topics
    replies created http://www.mysite.com/forums/users/%username%/replies
    favorites http://www.mysite.com/forums/users/%username%/favorites
    subscriptions http://www.mysite.com/forums/users/%username%/subscriptions
    edit http://www.mysite.com/forums/users/%username%/edit

    where %username% is the username

    so if in your coding you already know the username, then you can simply put these usls on your landing page.

    alternately you can just call the forum-user-edit.php from your page.

    What I still don’t understand is what ‘page’ you are trying to do this one.

    is this what you are describing as the template file? and which file is that and is it a php file?

    Sorry if I’m sounding thick, but come back and I’ll try and help further

    @robin-w

    Moderator

    @smileyriley21 did this do what you needed? latest version is at

    bbp Private Groups

    @robin-w

    Moderator

    ok, you could just call each by their url

    or if you know the username you could call the form from within a page using the ‘insert php’ plugin

    https://wordpress.org/plugins/insert-php/

    then

    [insert_php]
    $user_id = whatever you used to get the user-id
    $filelocation=”wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php”;
    include($_server[‘DOCUMENT_ROOT’].$filelocation);
    [/insert_php]

    @robin-w

    Moderator

    great, looks like a solution !

    In reply to: Newby a little lost

    @robin-w

    Moderator

    You nee to get bbpress to use a full width page template

    see

    Step by step guide to setting up a bbPress forum – Part 1

    @robin-w

    Moderator

    This looks like it would be really useful to some people.

    Can you post the whole solution, inc. the javascript? so that people can just copy/paste and then amend.

    @robin-w

    Moderator

    There should be no reason they won’t integrate.

    However the first thing you should do is create a test site see

    https://codex.bbpress.org/creating-a-test-site/

    The you can do everything without any pain !

    From what you describe, if you really want to go to a separate route, then the simplest route is for you to have two domains the primary and a subdomain. On the subdomain you would install wordpress, and the same theme as your main site and then add bbpress, put the files in there. As you then say, you’d just call this subdomain from your main site.

    @robin-w

    Moderator

    you will need to filter two functions

    1. bbp_get_forum_freshness_link

    2. You will need to amend the freshness function

    Layout and functionality – Examples you can use

    I have no idea how into coding you are, so come back and let me know so that I can help you further

    How much php do you know
    do you know how to edit files
    do you know how to ftp

    @robin-w

    Moderator

    https://wordpress.org/plugins/bbp-private-groups/

    would get you further than the members plugin

    With this you could have

    5 forums fully visible and useable
    by not setting any restriction on them

    1 forum set to restrict to say group 1 called ‘members’

    and

    all ‘members’ participant users of group 1 ‘members’
    all other users are just participants with no group set.

    Then set forum visibility

    All forum users would see that all 6 forums exist. They would also see all the topic listings, but if they clicked a topic, they would get a message (which you define, maybe sending them to say a sign up page).

    so it would make the forums and headings of topics visible, but not the content of topics.

    Best I can do without coding !

Viewing 25 replies - 12,701 through 12,725 (of 13,958 total)