Forum Replies Created
-
In reply to: 404 error on css and js files
you can dequeue from bbpress and then reload as you wish
so for styles
add_filter( 'bbp_default_styles', 'rew_dequeue_bbpress_css' ) ; function rew_dequeue_bbpress_css ($defaults ){ unset ($defaults['bbp-default']) ; return $defaults ; }and re-enqueue it using your own function
In reply to: Login Leads Users To URL For Admin Loginok, thanks, but sorry I can’t really help further.
I will state again that WordPress handles both registration and login, and as long as you don’t use the login widgets or shortcodes then bbpress should not be involved.
I hope you get a resolution
In reply to: Topics Not Showing on bbpress forumit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
In reply to: Login Leads Users To URL For Admin Loginyes, but as far as I can see the activation of their account is not part of bbpress.
perhaps we can proceed further by three things.
1. give me the url of the registration on your site
2. tell me how you ‘changed the url for my administration login to hide from hackers’
3. list the plugins yo are using on your siteIn reply to: Login Leads Users To URL For Admin Loginbbpress doesn’t have a ‘your account is activated’ page – something in WordPress is doing this, not bbpress.
In reply to: Move “New Topic” element to the top of the page.great – glad you are fixed
In reply to: Move “New Topic” element to the top of the page.find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.phptransfer this to your pc and edit
you’ll see
<?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?>change this to
<?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>and save
then create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-forum.phpbbPress will now use this template instead of the original, and the topic form will now appear before the forums
In reply to: Topics Not Showing on bbpress forumreplies belong to topics
topics belong to forums or sub forums
forums can belong to categories (or are just top level forums)Categories cannot have topics
In reply to: Topics and Replies not showing after importok, can you go to
dashboard>topics>all topics and look at edit for any topic – does it show a forum ?
In reply to: Login Leads Users To URL For Admin Loginok, so where are the registering ? ie from what part of your site – I need to understand what is sening the ‘activated’ email.
the incorrect login is fixed by :
once activated go to
dashboard>settings>bbp style pack>Login Failures
In reply to: Change permalinks on bbPressIn reply to: URL/Permalinks on topicssee Milan’s response above
In reply to: Move “New Topic” element to the top of the page.are you able to use ftp?
If so, I can give you details on how to amend a template.
In reply to: Title “Archives: Forum” – change to read “Forums”?great – glad you are fixed !!
In reply to: Title “Archives: Forum” – change to read “Forums”?that is a question – you should only have it once, either in your theme function file or in code snippets not in both !
In reply to: Title “Archives: Forum” – change to read “Forums”?so have you got this is your functions files as well ?
In reply to: Login Leads Users To URL For Admin Loginthere is no separate bbpress login. If you login using WordPress on first login bbpress will allocate the role that you have set in
dashboard>settings>forums>roles.
so bbpress does not use a url for login.
so when you say ‘ However, bbpress is using this url for members to login. ‘ where are you seeing this ?
In reply to: How to find if um on a topic pageViewing a single topic
if (bbp_is_single_topic()) {...
and orCheck if current page is a bbPress topic
bbp_is_topic()and also
Check if we are viewing a topic archive.
bbp_is_topic_archive()and
Check if current page is a topic edit page
bbp_is_topic_edit()In reply to: How do I stop spam registrationsand this is also a useful discussion
How to Stop WordPress Registration Spam (Plugins and Tactics)
In reply to: How do I stop spam registrationsnot tested (I manually approve new users, but that is just because of the type of sites I run) but this might help
In reply to: Login Leads Users To URL For Admin Loginbbpress just uses WordPress login, so if you’ve changed the url, just use any WordPress login and ignore the bbpress one.
In reply to: Change font family in topic/reply editorIn reply to: I want to get the parent forum name/ID of any topicok, without getting heavily involved in coding a solution for you (which is my paid day job 🙂 ) I guess that you have hooked to ‘template redirect’ which fires on everypage, so when WordPress displays the test-page it looks again for a value of topic_id, which on the test page does not exist, so returns zero.
if your code is working in that it redirects to test page, then you could try appending the topic id and picking that up in $_REQUEST
eg (untested)
wp_redirect('/test-page/?topic_id='.bbp_get_topic_id());and then on test page use the code
if (isset($_REQUEST['topic_id'])) $topic_id = $_REQUEST('topic_id') ;In reply to: bbpress blockquote text color – how to change?ok, !important stops later css overwriting it, so it was a load order issue.
and yes style pack is my plugin 🙂In reply to: I want to get the parent forum name/ID of any topicyou’ll need to give me the context – ie what are you trying to do, and what code do you have so far