not without some code. I’m deep in creating a new website for a client at the moment, so whilst I would love to I can’t take time out to do this – sorry !
ok, sorry I’ve been busy earning a living !
Right I’ve been back through the code and I am fairly sure I’ve found the error.
Can you download one more time
bbp buddypress profile information
and come back and let me know if it works !
You don’t need to change any files, just add the code from Rob and the code from the link I posted to your functions file.
Check your themes FAQ or ask support for what template you should be using and then use that template to create the bbpress.php file.
If your using Akismet, Akismet may be blocking them, also check your moderation settings:.
Moderation and BlackListing
Currently phpBB ‘Topic Views’ are not supported as we do not include support in bbPress to track unread forums or topics.
There are a handful of plugins that add support for this to bbPress listed here, depending on which one you used and the method used a tweak to the phpBB import script could probably import those values.
I am almost sure, you have problems inside your theme’s FUNCTIONS.PHP!
find this phrase in your functions.php ( or maybe problem can be inside any other activated plugin):
add_action(‘pre_get_posts’,……………
there maybe set search query customizations, so if there is set/limited the post types, then bbPress post types maybe left out of scope. So, alter that code (i.e. change to something like this:
add_action('pre_get_posts','my_search_filterr');
function my_search_filterr($query)
{
if ($query->is_search()) //if ($query->is_main_query())
{
$arrs[]='post';
$arrs[]='page';
//and etc...
//Then bbPRESS types:
$arrs[]='topic';
$arrs[]='forum';
$arrs[]='reply';
$query->set('post_type', $arrs );
}
return $query;
}
i dont know about listing it but you might be able to highlight them either using this plugin to show only to keymasters or moderators, or modify it to show to everyone
https://wordpress.org/plugins/bbpress-new-topics/
or somehow edit this function from here to add labels to each topic post type
http://www.wpbeginner.com/wp-themes/how-to-highlight-new-posts-for-returning-visitors-in-wordpress/
PHP
function wpb_lastvisit_the_title ( $title, $id ) {
if ( !in_the_loop() || is_singular() || get_post_type( $id ) == 'page' ) return $title;
// if no cookie then just return the title
if ( !isset($_COOKIE['lastvisit']) || $_COOKIE['lastvisit'] == '' ) return $title;
$lastvisit = $_COOKIE['lastvisit'];
$publish_date = get_post_time( 'U', true, $id );
if ($publish_date > $lastvisit) $title .= '<span class="new-article">New</span>';
return $title;
}
add_filter( 'the_title', 'wpb_lastvisit_the_title', 10, 2);
// Set the lastvisit cookie
function wpb_lastvisit_set_cookie() {
if ( is_admin() ) return;
$current = current_time( 'timestamp', 1);
setcookie( 'lastvisit', $current, time()+60+60*24*7, COOKIEPATH, COOKIE_DOMAIN );
}
add_action( 'init', 'wpb_lastvisit_set_cookie' );
CSS
.new-article {
background: #feffdd;
padding: 3px;
border: 1px solid #eeefd2;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin-left:5px;
font-size: small;
font-weight: bold;
}
or i guess an alternative is get an unread posts plugin like
https://wordpress.org/plugins/bbpress-mark-as-read/
which lists all the unread topics in there profile.
check your wordpress themes stylessheet
look for blockquote { copy everything that has blockquote { then edit then add to custom css
Hi,
thank you robin
i checked this link:
https://codex.bbpress.org/import-forums/bbpress-1-x-buddypress-group-forums/
but it empty!
Do you know how i can find the importer plugin?
try adding something like this to your child theme css, this will give you a light grey box around the role title, but there does not seem to be a selector to differentiate roles and thus use different color per role
div.bbp-author-role {
background-color: #eee;
}
otherwise, you can use your browsers web inspector etc to examine any element and use that as starting point to alter appearance of bbpress
sam
Hi guys, I’m pretty new(bie) on WordPress, hope some1 could help me.
I’ve created a little test site here: http://www.elite-force.it/test
Then, I’ve installed bbpress and I’ve created menu entries with those magical-fantastic short codes.
Everything seems going fine, of course it will need some CSS adjustment but I don’t panic on that… else way I panic because I can’t reach profile page…
My forum is: http://www.elite-force.it/test/forum/
And profile for my user should be: http://www.elite-force.it/test/forums/user/goose/
When I go to my profile page, something strange happen… It seems that bbpress use my homepage php to build the page.. of course result in a home-similar, with a “THESE POSTS ARE BY: ” on top and any other infos…
I read that bbpress look for page.php if there is no bbpress.php on theme root folder, but if I also create a copy of my page.php or post.php doesn’t fix the problem.
Is because that template uses dynamic pages? there is no solution? I mean, There is no way to override bbpress page settings and make a different view for the profile page?
Please… help those noob
I’m attempting to log into the codex to help with documentation. I always show as anonymous on the codex pages and the log in link goes to BuddyPress. I log in there and end up on the BuddyPress support forum instead of being redirected back. If I come back manually and refresh the page, I am still not logged in.
I have tried logging in on WordPress.org to see if that carries over, but not luck. Obviously, I’m logged into the support forum now to post this.
I’ve also tried clearing cookies and tested with multiple browsers with no change either.
Hi Robin,
Not sure what was confusing about my questions? I’ll try and make them a bit more clear.
1. The only place within bbPress that says: “Sorry, this forum is for verified users only. Please Login or Register to continue” is on the page after clicking on a topic if you’re not logged in. This is what needs to be edited and I can’t find the php code to edit this.
I need to edit the text that’s contained in the yellow box because the default links to Login and Register take you to the default WordPress login and register screen. I don’t want that and would like to:
A. Remove the links altogether and just leave the text.
B. Edit those two links to lead to my front-end Login / Register pages instead.
In other words, If you go to the default forums page, after clicking on a forum you are taken to the discussions page. If you’re not logged in, at the bottom is a yellow box that says “You must be logged in to create new topics.” This is fine because it not only says exactly what I want it to say, it doesn’t have links to Login and Register.
Next step…
After clicking on any of the listed discussions, you are then taken to the topics within that discussion. If you’re not logged in, at the bottom is a yellow box that says “Sorry, this forum is for verified users only. Please Login or Register to continue. This is the text that I need to edit because the login and register links don’t take my users to the pages I want them to go to. Instead of the front end login and register pages that I’ve created, these two links go to the default WordPress login register. I can’t have this.
How can I:
A. Remove the links altogether.
B. Edit the links to lead to my front-end Login / Register page.
Thank you so much for your time!!
Cheers!
bbPress Geniuses! I need your help!
According to the theming docs, bbPress is designed to look for a series of layout templates in this order:
‘plugin-bbpress.php’,
‘bbpress.php’,
‘forums.php’,
‘forum.php’,
‘generic.php’,
‘page.php’
The standard way to change your layout is to build a layout, and name it one of those so that bbPress finds it and displays it. This is simple, but it does not work if you use the “Headway Theme (or others like it) because it does not use traditional page layouts. Instead, layouts are created dynamically and output to php (somewhere… working with Headway to figure out where). This means I have no static php to copy or modify.
HERE’S WHERE I NEED YOUR HELP
My idea to fix this is to change the way bbPress looks for template files. The easy way to do this is just modify the code, but then it would be overwritten every time I update.
I think the best way to do this is to write a little plugin or a function for my functions.php file that modifies that list above to look for a different file than page.php.
But… I’m not so good with php, and hoping someone could help me figure out how to write that function or filter or whatever it would be called. 🙂
Hello
I’ d like to change my font size in bbpress, because its to small. I found a lot of stuff and I could change the most of the fonts but there are some fonts left:
user role is still very small
the topic descriptions are still small
Like:
Topic title (i could change this size)
startet by: Findolfin (this text is still very small)
Which is the right atribute?
Actually my code looks like that:
/*bbpress Forum Text fix – text ist lesbar*/
#bbpress-forums { font-size: inherit !important; }
div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; }
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; }
#bbpress-forums .bbp-forums-list li { font-size: inherit !important; }Â
#bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content p {
font-size: 18px;
}
span.bbp-admin-links a {
color: #bbb;
font-weight: normal;
font-size:14px;
text-transform: uppercase;
text-decoration: none;
}
div.bbp-template-notice {
border-width: 1px;
border-style: solid;
padding: 0 0.6em;
margin: 5px 0 15px;
border-radius: 3px;
background-color: #ffffe0;
border-color: #e6db55;
color: #000;
clear: both;
}
ok, that’s most of the way there
what the code does next is to look in wp_bp_xprofile_data for the value where data type 20 (‘city’) and the user_ID exist.
select VALUE from $xdata where ID = '$xpid' AND user_id = '$user_id'
so either the $user_ID is not correct or there is no data in there
I can cut another test version to look further, but in case I can shortcut it, arr you any good at being able to look at the mtsql database?
If so I’ll come back with further instructions, if not, I’ll cut a further test.
So, this is my forum http://mmo4teen.com/forum/topic/still-another-testing/
and as you can see. The quote color is not very good. Does anyone know any css code I can use to make it look better, like normal grey in other forum ?
sorry, but very long and quite confusing questions.
you url would be very helpful so that we can see what your issues are.
on # 1 – where are you seeing these? – on shortcodes, widgets or where. Please describe current process, and what you would like to happen.
on #2 – need a url so that we can see
your emoticons look squashed
try this
img.wp-smiley {
max-height: 25px;
margin: 0;
padding: 0;
border: 0;
background: transparent;
}
i just saw a quoted emoticon , and it seemed fine after i added this code,
does this fix your overall issue??
Use the ‘Views’ widget in a sidebar or shortcode [bbp-single-view id="no-replies"]
https://codex.bbpress.org/widgets/ https://codex.bbpress.org/shortcodes/
Wow, this is unexpected. Changing them to html and then change back to bbcode worked. Thanks alot Robkk.
only thing i could think of is changing your quote method to bbcode.
or deactivate your plugins, and activate them one at a time to find if there is a plugin issue.
but yeah not sure at all, you could also contact wp-monalisa support too
https://wordpress.org/support/plugin/wp-monalisa
but yeah its more of getting support from gd bbpress tools.