Forum Replies Created
-
In reply to: how to add specific left/right sidebar
Starting from this can help : https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#26-creating-a-bbpress-specific-sidebar
Pascal.
In reply to: WordPress /author/ page and bbPress /user/ page$current_user = wp_get_current_user(); $user_id = $current_user->ID; if ( 0 == $user_id ) { // Not logged in. } else { // code from previous thread, use function like bbp_get_user_topic_count_raw($user_id) }
Not tested ! But should be in that direction…
In reply to: How to put the post box on top?Hi Johan, goede avond,
I suppose you can copy the content-single-forum.php to your own child theme and modify it accordingly.
https://codex.bbpress.org/themes/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/Pascal.
In reply to: vbulletin import…failsThanks for the update !
Something wrong on the client side then… Copy all your files, delete the local folder (so also the hidden files) and do a new, empty checkout from wordpress.org
Then add your files again to the local folder and commit them.In reply to: WordPress /author/ page and bbPress /user/ pageCorrect, you are not in the users environment. You will have to add the user_ID so the function knows what user you refer to.
In reply to: WordPress /author/ page and bbPress /user/ pageI’m afraid I won’t be able to help with that because you try to change the WordPress profile, and my knowledge is limited to bbPress profiles…
Did you checkout the empty structure before filling it ? It seems like your SVN (or other) client is not uploading correctly.
In reply to: WordPress /author/ page and bbPress /user/ pageSomething like this in your functions.php ?
add_filter( 'bbp_pre_get_user_profile_url', 'casiepa_custom_author_link' ); function casiepa_custom_author_link( $user_id ) { return get_author_posts_url( $user_id, '' ); }
screenshots go under /assets (top level folder), no longer under the trunk or tags like before. Check out a working structure like https://plugins.svn.wordpress.org/bbp-toolkit/
A lot of mistakes there…
– Rename README.txt to readme.txt
– You have stable tag:4.2.2, but that should be 1.0.1 (the version of your plugin)
– trunk is your dev environment, not prod !
– You don’t have your structure under tags (should have folders like 1.0.0 and 1.0.1)
– there are still no screenshots under ‘assets’But this is standard wordpress, so please re-read 16. WordPress.org on https://developer.wordpress.org/plugins/wordpress-org/
Pascal.
In reply to: Changing BBPress TemplatesHi,
For creating a child theme, check here: https://codex.bbpress.org/themes/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/For modifying the main templates, start here: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
Pascal.
In reply to: Allowing inline images uploads in posts?For uploading files, the 3 products I know of are ‘GD bbpress Attachments’, ‘Image Upload for BBPress’ and ‘bbPress Multi Image Uploader’. Have a look if it would fit your needs.
If you use BuddyPress as well, then there is also ‘BuddyPress Forum Editor’.
It’s not on the wordpress.org server for sure. You did not commit (or not correctly).
In reply to: Uploading images without placing the textYou can put any of these codes into your functions.php of your (child) theme.
OK, if you have it on a public site, just get back with a link and we can have another look.
Pascal.Hi,
That’s just a CSS from your theme. Can you give a link so we can help you out with the correct CSS to change ?
Pascal.In reply to: Login widget redirectHi,
check the different snippets and plugins I mentioned in this thread: https://bbpress.org/forums/topic/setup-login-for-private-forum/
Pascal.Not sure where you have put the screenshots, but I don’t see them : https://plugins.svn.wordpress.org/tk-bbpress-stats/
They should go into the assets folder there. I normally use png, but I suppose jpg is possible too. And as Robin says: all lowercase !
Pascal.
In reply to: How do I debug why is bbpress so slow?Hi, Thanks for this detailed test.
Performance is among the main improvements in 2.6, so if you are in testing phase, could you check that version ? https://bbpress.org/download/Thanks,
Pascal.Let me see later where you have placed them, I had issues in the beginning too.
In reply to: Remove left indentation when viewing topic?Thanks for the test. I have the same issue on 2016, so I created trac ticket https://bbpress.trac.wordpress.org/ticket/2921
Let see if something can be done, for now you will have to live with the CSS trick abovePascal.
In reply to: Remove left indentation when viewing topic?Anyway to switch to e,g twenty fifteen to see if it works fine there ?
In reply to: Create similar topics to several forums at onceIf you would go with bbp_insert_topic, just change the post_parent on every insert.
And to get the IDs, you will have to create a loop with ‘while (bbp_forums())’
In reply to: Performance after conversionAnd your toplevel is a category or a normal forum ?