Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,676 through 13,700 (of 14,265 total)
  • @robin-w

    Moderator

    If some are getting and one is not, I’d strongly suspect that it is going into the junk mail of the recipient.

    They should be able to add your sites email address to their safe email addresses and the try again !

    @robin-w

    Moderator

    try a forum repair

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

    All the entries are in the posts table, they are custom posts, so you can’t break then out individually.

    @robin-w

    Moderator

    Great, glad you’re fixed, and I learnt some more about how bbpress works along the way, so was a good challenge !

    In reply to: TwitchTV Integration

    @robin-w

    Moderator

    hmmm… not sure you’re going to achieve this without some major coding and probably wordpress rather than bbpress related for sign in part.

    maybe try

    http://jobs.wordpress.net/

    You can post a ‘project’ on there and someone will offer to do it for you

    @robin-w

    Moderator

    Just one user, or all?

    I’d check the email address in users is absolutely correct.

    @robin-w

    Moderator

    suggest you start with the usual…

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    In reply to: Buddypress child theme

    @robin-w

    Moderator

    So you’re fixed, yes ?

    In reply to: Forum Question

    @robin-w

    Moderator

    ok, I’ll do some code tomorrow and come back !

    In reply to: No toolbar available

    @robin-w

    Moderator

    can you open up your site again, and I’ll have a look with firebug to see if I can spot an issue

    @robin-w

    Moderator

    Great glad you’re fixed !

    @robin-w

    Moderator

    “When you send out a link to a topic on the forum, you get “No Results Found” ” – sorry I’m being thick – how are you sending out a link – is this in a newsletter or otherwise?

    @robin-w

    Moderator

    ‘is there a simple way…’

    to do what? do you want the new url to look like the old one?

    In reply to: Forum Question

    @robin-w

    Moderator

    You could do this.

    Presuming you only want tutors to see the forum (not the general public), basically you would set the forum as private, this restricts visibility to logged on users with higher than spectator privaledge to see them.

    You would then create a new bbpress role, which has visibility but no access. I think that would be fairly easy – I know how to go about it but have never tested

    If you want to go down this route and test, come back and I’ll make a quick function to set this up for you.

    You would have full rights – keymaster
    Then your clients would have keymaster or moderator role – lets them create forums and new topics (and indeed replies for supplementaries to topics)
    You clients’ tutors would have say “tutor” role, which is the spectator role with visibility to private forums added in.
    Public would see no forums, topics or replies

    In reply to: Creating a new forum

    @robin-w

    Moderator

    are you still in maintenance mode? The toolbar might come back in live?

    @robin-w

    Moderator

    Sort of think that’s how it is designed to work, the idea being that you eye is drawn to the latest unstuck post, and then immediately above it is the latest stuck post, so it works
    sticky – early to late.
    unsticky – late to early.

    Suspect there’s a bit of code you can do to change the order.
    The function bbp_get_stickies

    sits in

    \bbpress\includes\topics\functions.php

    In reply to: Creating a new forum

    @robin-w

    Moderator

    I don’t directly have any experience of maintenance plugins.

    However creating a test/backup site, whilst requiring some further learning, is of great benefit, and discussed in the documentation here

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

    @robin-w

    Moderator

    Sorry, I failed to add the other bit of code you need !!

    The last paragraph should have read :

    …and then on your page template add this function where you want it.

    <?php if(is_front_page() ) { display_latest_topic () ; } ?>
    

    I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.

    If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !

    If any of that isn’t clear, do come back, but let me know what theme you’re using as well

    @robin-w

    Moderator

    ok, so drop the following into your functions file

    //  Display just latest topic
    function display_latest_topic() {  
    
    	$topics_query = array(
    					'post_type'           => bbp_get_topic_post_type(),
    					'post_parent'         => $settings['parent_forum'],
    					'posts_per_page'      => '1',
    					'post_status'         => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
    					'ignore_sticky_posts' => true,
    					'no_found_rows'       => true,
    					'order'               => 'DESC'
    				);
    				
    	$lt_query = new WP_Query( $topics_query );
    		
    	while ( $lt_query->have_posts() ) {
    			
    		$lt_query->the_post();
    			$topic_id    = bbp_get_topic_id( $lt_query->post->ID );
    ?>
    <h2> Latest topic </h2>
    <h3> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink"><?php bbp_topic_title($topic_id); ?></a></h3>
    		
    <div id="bbpress-forums">
    		
    		<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    
    	<div class="bbp-meta">
    
    		<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
    
    		<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id($topic_id); ?></a>
    		
    	</div><!-- .bbp-meta -->
    
    </div><!-- #post-<?php bbp_reply_id(); ?> -->
    
    <div <?php bbp_reply_class(); ?>>
    
    	<div class="bbp-reply-author">
    
    		<?php bbp_reply_author_link( array( 'post_id' => $topic_id, 'sep' => '<br />', 'show_role' => true ) ); ?>
    
    		</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<?php bbp_reply_content(); ?>
    
    	</div><!-- .bbp-reply-content -->
    
    </div><!-- .reply -->
    </div><!--div bbpress-forums--->
    
    	<?php
    		
    	} }

    and then on your page template add this function where you want it. I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.

    If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !

    In reply to: Forum Issue

    @robin-w

    Moderator

    Great, glad you’re fixed !

    In reply to: Freshness Date Format

    @robin-w

    Moderator

    Now available as a plugin on

    https://wordpress.org/plugins/bbp-last-post/

    @robin-w

    Moderator

    quickest way would be for you to check out the code in the plugin bbp-user-information on my website.

    bbp Profile Information plugin

    This adds 4 fields to the display under the forum role in topics/replies and in the profile (and make those field editable for later on), and you can see how these are set up and used.

    In particular under the /includes folder you’ll find the display.php shows how to create function to add this to the correct area via a filter.

    add_action ('bbp_theme_after_reply_author_details', 'bbp_user_information') ;
    

    and

    add_action ('bbp_template_after_user_profile', 'user_profile_bbp_user_information') ;
    

    and within this you’ll see the code

    $usermeta = get_userdata( $user_id, 'ui_label1' );
    			echo $usermeta->ui_label1;
    

    where ‘ui_label1’ is the metadata field and takes the data from the usermeta table and displays it.

    In reply to: No toolbar available

    @robin-w

    Moderator

    ‘I have probably checked 100 times if this is ticked’

    Thanks, but always worth asking.

    ‘This is the default bbPress theme. ‘

    No I meant the wordpress theme you are using. switch to one such as twenty eleven to see if that makes a difference

    In reply to: No toolbar available

    @robin-w

    Moderator

    oh, and in
    Dashboard>settings>forums> forum features have you ticked “Post formatting” to enable this toolbar?

    In reply to: No toolbar available

    @robin-w

    Moderator

    Thanks for the extra info, that was the part that my brain had not seen !

    Sorry to suggest this (given that this is a theme site), but have you switched to a default theme such as twentytwelve to eliminate a theme issue?

    @robin-w

    Moderator

    I can’t say that it has ever occurred to me that people might want to print whole threads !

    Normally they (or at least I do) just copy/paste bits they need

    I just tried a couple including print friendly, and neither worked !

    Don’t se any quick or easy way to do this.

Viewing 25 replies - 13,676 through 13,700 (of 14,265 total)