Published on September 2nd, 2018 by Prashant Chaudhari
Hi!
I want to hide all the columns (Posts, Topics, Voices, Freshness) except the Forum and Topic.
Everything is working fine except the column size of Forum column is not changing. Here is the css:
/* To hide VOICE, REPLY, POSTS and FRESHNESS columns in bbPress */
li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-forum-freshness {
display: none !important;
}
li.bbp-topic-voice-count, li.bbp-topic-reply-count, li.bbp-topic-freshness {
display: none !important;
}
li.bbp-forum-info,
li.bbp-topic-title {
float: left;
text-align: left;
width: 100%;
}
/* End */
Please help.
Published on September 2nd, 2018 by Babblebey
Hello there,
Firstly thank you for viewing this thread, really appreciate.
I am trying to create a topic loop to display in my in development theme. I have created a template part in my theme-directory/bbpress/omna-forumthreads see below:
<?php
/**
* Single Thread
*
* @package bbPress
* @subpackage Theme
*/
$threadURL = bbp_topic_permalink();
$threadTitle = bbp_topic_title();
$threadTIme = bbp_topic_post_date();
///////////////// Thread Author Avatar URL ////////////////////////
$user_id = bbp_get_user_id( $user_id );
$authorAvatarURL = get_avatar_url( $user_id, 300 );
///////////////////////////////////////////////////////////////////
$threadVoiceCount = bbp_topic_voice_count();
?>
<div class="swiper-slide-item">
<div class="icon-author" style="background-image: url('<?php echo $authorAvatarURL; ?>'); background-image: -webkit-image-set(url('<?php echo $authorAvatarURL; ?>') 1x, url('<?php echo $authorAvatarURL; ?>') 2x);">
</div><<?php echo $threadURL; ?>"><?php echo $threadTitle; ?></a></h2>
<time class="data" datetime="<?php echo $threadTIme; ?>"><?php echo $threadTIme; ?></time>
<span class="views"><i class="fa fa-comment-alt"></i><?php echo $threadVoiceCount; ?></span>
</div>
</div>
And i believe this should work, But currently i have issues with the loop that should display it by driving the content from the template part. Here is my loops:
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="swiper-slide-container">
<?php
if ( bbp_has_topics() ):
while ( bbp_topics() ) : bbp_the_topic();
bbp_get_template_part( 'bbpress/omna', 'forumthreads' )
endwhile;
endif;
?>
</div>
</div>
</div>
Now i get a pass error:
Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in C:\wamp\www\omna\wp-content\themes\omna\page-home.php on line 143
I have also tried the curly brace {} type of IF & WHILE expressions, still a parse error..
Please Help.
Published on September 1st, 2018 by josh.grisdale
Hello,
On my site (www.accessibletravelforum.com), if I post from Firefox or Edge and I copy in a hyperlink it will show up in the reply as a clickable link.
However, if I do the exact same thing in Chrome, the link remains as text and is not clickable after posting!
I have tried deactivating various plugins, but to no avail. But if it was a plugin, it wouldn’t be only for Chrome…
Any ideas?
Published on September 1st, 2018 by alriknijdam
I seem to have an error with the page previews as you can see over here. As you can see in the first reply in this link, page preview for WP pages works fine, the problem only occurs with BBpress related urls (second post). In the image below I marked it with red:

When I disable the GP Premium plugin the preview dissapears and it only shows the title as an url inside a blockquote. BUT looking at the source code the wrong preview is still there. Changing class wp-embedded-content position: absolute; to position: relative; makes it visable again.
Disabling all plugins, switching to another theme or deleting all custom css is of no influence. WordPress and all plugins are up to date.
Published on September 1st, 2018 by andrewfetterly@gmail.com
What is the best support ticket plugin or service available for WordPress that integrates well with bbPress
Published on August 30th, 2018 by eigodeasobo
Hi,
I added Customfields to BBpress reply form by this code:
//Input on BBP reply form
function bbp_extra_reply_fields() {
$custom = get_post_meta( bbp_get_reply_id(), 'bbp_custom', true);
echo '<fieldset class="bbp-form bbp-form-add">';
echo "<p><input id='bbp_reply_custom' type='text' name='bbp_custom' value='".$custom."'></p>";
echo '</fieldset>';
}
add_action ( 'bbp_theme_before_reply_form_content', 'bbp_extra_reply_fields');
//Register to Detabase
add_action( 'bbp_new_reply', 'bbp_save_reply_extra_fields', 10, 1 );
add_action( 'bbp_edit_reply', 'bbp_save_reply_extra_fields', 10, 1 );
function bbp_save_reply_extra_fields( $reply_id ) {
if (isset($_POST) && $_POST['bbp_custom']!='') {
update_post_meta( $reply_id, 'bbp_custom', $_POST['bbp_custom'] );
}
}
//Output to BBP reply
function inputBBPreply_outputBBPreply() {
$reply_id = bbp_get_reply_id();
$reply_custom = get_post_meta( $reply_id, 'reply_custom', true);
return '<div>'.$reply_custom.'</div>';
}
//Output to Buddypress activity
function inputBBPreply_outputBPactivity() {
//What should I write?
}
But this code dose not show at BuddyPress activity.
What should I write?
Thanks
Published on August 30th, 2018 by tommybc
І рut /fееd аt thе еnd оf thіs tоріс, but whеn І аdd іt tо mу rss fееd rеаdеr іt dоеsn’t аlеrt mе whеn nеw rерlіеs tо thе tоріс аrе mаdе, hоw dо І fіх thіs? http://theracingforum.co.uk/forums/topic/gingers-winners-2/feed/
Published on August 30th, 2018 by ketanco
How can i change the font size of main forum and subforum list?
Published on August 30th, 2018 by ketanco
Right now by default under a main forum category, the subforums appear together, only separated by comma. This is confusing for me. Is there a way to list each subforum one by one each on a separate line, under their main category forum, instead of them just separating by commas?
Published on August 30th, 2018 by ketanco
I created an uncategorized topic, then created a forum, and then assigned the topic under that forum. When i go into that forum category i am able to see the post
but when i view the main index of forums, for that category it still says zero posts, although i now assigned a topic under it
how can i fix ?