Search Results for 'code'
-
AuthorSearch Results
-
March 24, 2015 at 3:24 pm #160086
In reply to: Full width forum
gezginrocker
ParticipantThat’s strange. When I look at the style.css, I can see the code here.
I tried it in different browser as well but didn’t work I also tried width: 100% !important;
March 24, 2015 at 3:05 pm #160084In reply to: Full width forum
Robin W
ModeratorI’ve just looked and the code I suggested is not there, have you taken it away again?
I tested it on your site and it worked.
Are you sure you reloaded then site afterwards – some browsers remember style.css’s so the changes don’t always seem to have taken unless you refresh them, or shutdown/restart the browser.
March 24, 2015 at 2:47 pm #160080In reply to: Full width forum
Robin W
Moderatoradd this to your style.css
#bbpress-forums {
width: 700px !important;
}March 24, 2015 at 1:30 pm #160076In reply to: Search not finding results
Robin W
Moderatorno sorry – I can see nothing wrong with the code – it seems fine, so don’ know why it is doing this.
as long as you have tried
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
which you say you have, then can you list all the forum settings in dashboard>settings> forums in case there’s something in there.
March 24, 2015 at 11:51 am #160074In reply to: Import "Progress" image broken
wplove3268
Participant<img id="bbp-converter-progress" src="" style="display: inline;">March 24, 2015 at 11:50 am #160073Topic: Import "Progress" image broken
in forum Troubleshootingwplove3268
ParticipantI’m in the process of importing a phpBB forum into bbPress and found, during the import, that there was a broken image icon where the “progress” image should be.
Indicated in the code like this:
I’m importing a very large forum and it would be nice to know where I am in the process.
Any idea of why that would not be displaying correctly? I am using bbPress 2.5.6 with WP 4.1.1
Robkk
Moderatorusually its just copy loop-forums.php into your child theme in a folder called bbpress and edit this
<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>but since you have bbpress in another language maybe edit the .po file??
using something like Poedit might help if that is the case.
and also how to create a new one in this page for different forum topics.
well what exactly are you going for , show recent topics sitewide below that??
March 23, 2015 at 5:11 pm #160051In reply to: Sorting by freshness
Robkk
ModeratorTopics will display the most recent activity
yes
but you can’t click the ‘Freshness’ text/link to have it SORT
bbPress does not have table sorting like this below example
http://codepen.io/jakestuts/details/tGpju
it doesnt even have a tabled layout anymore , its all lists
i bet someone could develop this for you though
go post a job at http://jobs.wordpress.net/
March 23, 2015 at 3:00 pm #160040In reply to: Search not finding results
teamoo
ParticipantHey @Robkk – I added the code you provided to my child theme’s functions.php. At that point I was able to search my entire site, including the forum, with the main search. And if we cannot figure out what the problem is with the forum search that may be my only option.
But I’d like to keep the two search functions separate at the moment. @robin-w any idea what steps I can take next to get my forum search working? The plugins/theme don’t seem to be the problem at the moment after testing.
Thank you both very much for your help so far!
March 23, 2015 at 2:47 pm #160036Robkk
Moderatori think this does what you want.
add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' ); add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' ); function ja_return_blank() { return ''; }March 23, 2015 at 9:59 am #160016In reply to: Style Keeps Reverting
Robin W
Moderatorsorry the first should have been a link
March 22, 2015 at 3:40 am #159974In reply to: BBpress Forum Login Takes me to WordPress Admin Page
Robkk
Moderatoruse this plugin add your PHP code snippets to it.
March 22, 2015 at 3:35 am #159971In reply to: No option for people to register?
Robkk
Moderatorthey use the regular WordPress registration
which is http://example.com/wp-login.php?action=register
or you can put the bbPress shortcode [bbp-register] into a page for a frontend form
here is the rest of the supplied shortcodes
March 22, 2015 at 12:59 am #159966In reply to: BBpress Forum Login Takes me to WordPress Admin Page
darlookoka
ParticipantThank you so much, should this code be in the bbpress setting or the wordpress settings? thks
March 21, 2015 at 10:39 pm #159965In reply to: Edit forum homepage – where is it?
Sam Rohn
Participantclick on the “documentation” link on the top of this page, the info you seek is there –
template info – https://codex.bbpress.org/amending-bbpress-templates/
conditionals – https://codex.bbpress.org/bbpress-conditional-tags/
etc
sam
March 21, 2015 at 11:37 am #159953wenlujon
Participantin the notice text area of a forum, there’s message:
“This forum contains xxx topics, and was last updated by”
and there’s an avatar before the user, how to remove that?also, that’s the case for a topic, how to remove that?
“This topic contains xxx replies, has xxx voice, and was last updated by”BTW,
I managed to remove some avatars in other areas through this:.widget_display_topics .bbp-author-avatar { display: none ! important; } .bbp-topic-started-by .bbp-author-avatar { display: none ! important; } .bbp-topic-freshness-author .bbp-author-avatar { display: none ! important; } <code></code>reference:
March 21, 2015 at 8:39 am #159946In reply to: sidbar login avatar size
Robkk
Moderatorthis CSS should work add !important edit the width/height the way you want it.
.bbp-logged-in img.avatar { width: 80px!important; height: 80px!important; }March 21, 2015 at 8:34 am #159945In reply to: reply threading not working
Robkk
Moderatoralright when you get bounced to the normal reply form if you see a cancel link by the submit button thats when you know threaded replies is working.
just enter some content after your bounced from the reply link and hit submit the content should be under the post you hit the reply link.
the awkwardness im talking about is when the reply is on its 7th thread or more when you have a sidebar for bbPress, it makes the 7th on look squished.
Its best if you have full width for threaded replies.
other issue is when you are on about your 3rd thread or more of a reply on mobile devices , the replies content will look barely readable past that.
messing with this CSS and making the margin-left smaller for mobile device width would help out alot though. But making it look great on mobile would require some work.
#bbpress-forums ul.bbp-threaded-replies { margin-left: 50px; }if you really want to have a 10> threads , get inspired by reddit.com and how they do it.
March 21, 2015 at 6:04 am #159940In reply to: not displaying correctly
Robkk
Moderatorremove the CSS you added to your child theme (you can download it to backup if you made changes)
let the style go back to the normal 2013 then put back the CSS
it did this type of thing for 2014 for me one time and it was pretty weird.
this PHP snippet should remove the double Private wording
add_filter('private_title_format', 'ntwb_remove_private_title'); function ntwb_remove_private_title($title) { return '%s'; }other than that try these troubleshooting tips
General Issues
bbPress works with many themes and plugins, but it is impossible to test all combinations, and many issues are caused by conflicts with plugins and themes.
Therefore before posting, please test if your issue is resolved by the followingPlugins
Deactivate all but bbpress and see if this fixes. If it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
If the above produces an issue:
If it is a paid theme or plugin, please contact the authors for resolution.
If free, do ask here, we may know of workaround.
PLEASE tell us you have done the tests above when posting.OTHER COMMON FIXES
The following will do no harm, so are worth a try and can fix some issues
Dashboard>settings>permalinks. Don’t change anything, but just click save. This resets the permalinks, and can solve some 404 errors.
Dashboard>tools>forums>repair forums and run one at a time. Useful if you’ve got some stuff not showing – doesn’t often fix but occasionally does.March 21, 2015 at 5:34 am #159937Robkk
Moderatorthese might help unless you already read them.
https://codex.bbpress.org/import-forums/custom-import/
codex.bbpress.org/import-forums/only other thing i can suggest is contact @netweb on slack for help
follow this to figure out how to join the #bbpress slack channel.
March 21, 2015 at 5:24 am #159936In reply to: couple of questions
Robkk
Moderatormake sure you follow this so that you have everything set up correctly
March 21, 2015 at 5:20 am #159935In reply to: View Topic By
Robkk
Moderatormaybe this guide will help you with understanding.
but you can also put any PHP code snippets in a functionality plugin like this one
March 21, 2015 at 5:04 am #159932In reply to: Looking for a theme…
Robkk
ModeratorbbPress doesnt have themes anymore , it just uses WordPress ones.
you can customize it yourself to look kind of like that though , either following this
codex.bbpress.org/bbpress-styling-crib/
or using this plugin https://wordpress.org/plugins/bbp-style-pack/
you can also post a job at http://jobs.wordpress.net/ and hire a developer to develop this for you.
March 21, 2015 at 4:55 am #159931In reply to: Search not finding results
Robkk
Moderatorthe plugin only affects the normal WordPress search i think so just use the normal WordPress search for your site.
and disable the forum search in settings > forums in the back-end of WordPress
but like i said before you would have to probably enable each post type to be in the regular WordPress search.
add this to your child themes functions.php or add it to a functionality plugin.
/** * Include bbPress 'topic' custom post type in WordPress' search results */ function ntwb_bbp_topic_cpt_search( $topic_search ) { $topic_search['exclude_from_search'] = false; return $topic_search; } add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' ); /** * Include bbPress 'forum' custom post type in WordPress' search results */ function ntwb_bbp_forum_cpt_search( $forum_search ) { $forum_search['exclude_from_search'] = false; return $forum_search; } add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' ); /** * Include bbPress 'reply' custom post type in WordPress' search results */ function ntwb_bbp_reply_cpt_search( $reply_search ) { $reply_search['exclude_from_search'] = false; return $reply_search; } add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );when your done make sure you have search custom taxonomies in the search everything plugin settings maybe even the search every tag option too.
March 21, 2015 at 4:46 am #159930In reply to: topic-reply-count: starting at "1"
Robkk
Moderatorid say create a custom bbPress forum role
hopefully this guide will help you out.
as for the changing the bbpress count to start from a different number , that might cause some issues..
-
AuthorSearch Results