Forum Replies Created
-
In reply to: No toolbar available
can you open up your site again, and I’ll have a look with firebug to see if I can spot an issue
In reply to: Displaying a custom field in profile pageGreat glad you’re fixed !
“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?
In reply to: Any suggestions for redirects after mingle import?‘is there a simple way…’
to do what? do you want the new url to look like the old one?
In reply to: Forum QuestionYou 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 repliesIn reply to: Creating a new forumare you still in maintenance mode? The toolbar might come back in live?
In reply to: Sticky Posts not showing in correct orderSort 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_stickiessits in
\bbpress\includes\topics\functions.php
In reply to: Creating a new forumI 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
In reply to: how can i show latest thredSorry, 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
In reply to: how can i show latest thredok, 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 IssueGreat, glad you’re fixed !
In reply to: Freshness Date FormatNow available as a plugin on
In reply to: Displaying a custom field in profile pagequickest way would be for you to check out the code in the plugin bbp-user-information on my website.
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‘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 availableoh, and in
Dashboard>settings>forums> forum features have you ticked “Post formatting” to enable this toolbar?In reply to: No toolbar availableThanks 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?
In reply to: Printing threads (WP 3.8.1, bbPress 3.5.2)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.
In reply to: Forum IssueOk, I can see both the forums and topics.
So is the issue now resolved, or does it apply to logged in subscrtibers (apart from admins)?
In reply to: how can i show latest thredOk I have worked a way to do it.
But you will need to
a) add some code to your child theme’s function file and
b) add a line of code into the page template your home page is usingHow much capability do you have to do that?
In reply to: No toolbar availableApart from just posting a picture, please explain what your problem is.
I do not know if you are still talking about a toolbar or something else.
Please explain in detail what you issue is.
We are here to try to help you, but need proper requests please.
In reply to: Fatal errorTurn 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.
Ok, so this theme has an upmarket homepage.
Since this is a paid theme, with paid support, I’d suggest you go to their website for help, they should be familiar with bbPress and know how to get it to work with your theme.
http://themeforest.net/item/sahifa-responsive-wordpress-newsmagazineblog/2819356/support
In reply to: Remove IP Address From PostIf you are talking about the ip address underneath the avatar on topics and replies, this only displays for users with the keymaster role – so give your forum users the participant role and they’ll not see that bit.
In reply to: how can i show latest thredDo you want :
just the latest reply (or topic is no replies)
The title or all the content?In reply to: theme shortcode not working in forumOk, I think you’ve done everything right, so suspect it is the theme and bbpress not working together correctly. The solution will probably be very easy, but as I don’t have access to that theme I cannot really help further.
Given that you have a paid theme and are on wp-engine I’d use both these routes to get detailed support.
Firstly I’d go to the theme support site
http://themeforest.net/item/brooklyn-creative-one-page-multipurpose-theme/6221179/support
and if that fails then if needed to wp-engine, who have both experts and access to your site