Forum Replies Created
-
in the meantime, you can move it in your style.css
In reply to: I can't get my forum to functon at all.great, come back with your next query !
In reply to: starting a new forum topicYes,
If you have a forum page ie a wordpress page that has [bbp-forum-index] in it, (ie you’ve use method 2 rather than method 1 in this link
then go into edit on your forum page
Switch to text from visual and put
Create a new topic before the [bbp-forum-index] to get it at the top or after it to put it at the bottom.
or you could use
[bbp-topic-form] after the [bbp-forum-index]
or
[bbp-topic-form forum_id=$forum_id] to display a single forum topic form.
Lots of possibilities.
If you don’t have a set wordpress forum page, then you can create one, see method 2 in the link above
In reply to: Forum landing page not showingGreat – thanks !
In reply to: Forum landing page not showing@zdev1 – yes thanks, I’ve responded to you on my plugin page.
Any testing help you can give me to resolve would be appreciated !
Let me know if you can help !
In reply to: I can't get my forum to functon at all.ok try
Deactivate bbpress tweaks
Dashboard>plugins>bbpress tweaks>deactivateGo into widgets
Dashboard>appearance>widgetsAnd look at the bottom of the left hand side. You’ll see an “inactive sidebar”, with your entries on
Below this is an “inactive widgets”
Drag all the entries from the inactive sidebar to the inactive widgets area.
This then allows wordpress to delete the sidebar
I normally log out and in again at this stage – probably not needed, but I’ve never bothered to check
Then basically reverse the above
Re-enable bbpress tweaks
You see the bbpress sidebar returns
Drag the entries back from the inactive widgets area to the sidebarAs soon as you’ve got the site vaguely going again, you need to STOP !!!! YES STOP!!!!!!!!!!
Then take a breath, and create a test site – you cannot continue to develop your site in live, and you need a child theme. So you’ll need to read.
https://codex.bbpress.org/creating-a-test-site/Once you have a test site, you can change things there first and then when you are happy put it into live.
In reply to: Sidebar not appearingThe problem is that there are so many themes out there, all of which do ‘clever’ things with layout that it is impossible to give a set of instructions.
However you are using a paid theme with support, so you need to refer to them.
You question should look like
I’ve just installed bbpress forum software, and I want to use this in a page with a sidebar. To do this I need to copy and rename a theme page template that has a sidebar – basically I need to rename it bbpress.php and put it in my themes folder.
Can you either let me know which template file in your theme has a sidebar, or where within an existing template (having copied and renamed it) I would put something like
<?php get_sidebar(); ?>
In reply to: How to add a @usernameok, put the css in your style.css.
then maybe try this code in your functions.php file
add_action( ‘bbp_theme_after_reply_author_details’, ‘mentionname_to_bbpress’ ); function mentionname_to_bbpress () { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo '<ul><li><font class=bbp-user-nicename>' ; echo “@”.$user_nicename.’</font></li></ul>’ ; } }
In reply to: Per Forum Permissions by Groupummm, yes it doesn’t make a difference.
So now I’m not sure if running my bit is causing the blank screen, or running a wp-query that large with any ‘post__in’ or ‘post__not_in’ causes an issue. I could prove that by breakimng the execution at that point, but am struggling to see how it breaks it. Another think time I feel ! I’ll come back when I’ve done that.
Or we could return to limiting the number displayed. ok so your pagination will be out, ie it’ll say ‘1-20 of 1550’ topics not ‘1-20 of 155000 topics’, but who does a topic list and goes beyond the first say 4 pages???
what do you think?
In reply to: I can't get my forum to functon at all.no problem in deleting, but de-activate for a while first, then clean out when you’re sure you don’t need !
In reply to: I can't get my forum to functon at all.I somehow suspect that what you’re calling the admin bar may well have been what login/logout was displaying.
was this admin bar at the top or bottom of you screen, and what did/does it display ?
Try adding them back one at a time and see if it comes back.
and next time don’t delete, just deactivate, then you can go back if needed 🙂
or note down exactly what you have taken away so that you can add it back !
In reply to: I can't get my forum to functon at all.so is your admin bar missing for all users or just you?
was the admin bar present when the plugins were there, and was it present for all users or just you?
do you know the exact names of the plugins you were using?
In reply to: bbPress Mods Wishlistyes there’s lots to learn, my css is probably at your php level !
I found a way to have a search box that is persistent on every level of the bbPress forums. Now I have to get rid of the second search box that is at the top of the forums. I can’t find where that is in the code to remove it.
You could try just turning off the forum search
dashboard>settings>forums and look for allow forum wide search
Is there anyone that comes around regularly that would either donate the time for these couple of tweaks or let me pay them over time?
you can put an ad on wordpress jobs
just post it as a project and detail what you want
But I’d play with the css first, as I think much of what you want is stylable.
In reply to: I can't get my forum to functon at all.no problem, using the wordpress editor will not work, you’ll need to use ftp or cpanel
see the following
on FTP and notepad++ which will get you the tools.
then you want to
ftp the file to your pc
open it using notepad++
then save it to your pc as the new filename
the edit it for the sidebar
then save it on your pc
the ftp the file back to your hostlots to learn, but you’ll find this useful for future as you customise you site
In reply to: starting a new forum topicIt’s at the end of the forum, unless your theme is having an issue (sometimes they do)
I add it to a forum sidebar – if you’re using a sidebar then come back and I’ll post how
In reply to: How to add a @usernamebasically you’d use the same css as @robkk into your stylsheet, and then the code would be
/** * Add @mentionname after bbpress forum author details */ add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' ); function mentionname_to_bbpress () { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo '<p class=bbp-user-nicename>' ; echo "@".$user_nicename.'</p>' ; } }
In reply to: How to add a @usernameto do the second you need to put the following in your functions file:
//take away the role display function hide_role ($args) { $args['show_role'] = false ; Return $args ; } add_filter ('bbp_before_get_reply_author_link_parse_args', 'hide_role') ;
this removes the existing text,
then you’d need to add some image depending on role, so something like
add_action( 'bbp_theme_after_reply_author_details', 'add_image' ); function add_image () { $role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ); if ($role == 'keymaster') { echo "<img src='/snippet_theme/img/error.gif' title='Error' alt='Error' />"; } if ($role == 'participant') { etc. }
This is not tested – sorry but limited time !!
In reply to: How to add a @usernameor put
/** * Add @mentionname after bbpress forum author details */ add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' ); function mentionname_to_bbpress () { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo "@".$user_nicename; } }
in your functions file.
both methods are valid, if you use @robkk’s method, remember to create this as a separate file within your theme
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3In reply to: I can't get my forum to functon at all.ok, use this template, but follow the instructions in https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#8-make-sure-bbpress-uses-the-page-template-we-want
in the copy that you have renamed bbpress then remove
<?php if ( ! is_active_sidebar( ‘sidebar-2′ ) && ! is_active_sidebar( ‘sidebar-3′ ) && ! is_active_sidebar( ‘sidebar-4′ ) && ! is_active_sidebar( ‘sidebar-5′ ) ) return; ?>
and replace it with
<?php get_sidebar(); ?>
and then ensure that bbpress tweaks is saying to use bbpress.php
In reply to: new topic doesn't appear in forum@jesspetrohoy it is highly likely that the cause of your issues is different (different plugin conflict or different theme) , and you need to take the same action above to find out which plugins or whether your theme is affecting.
In reply to: new topic doesn't appear in forumprobably a theme or plugin problem
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
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, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Per Forum Permissions by GroupI believe this is an issue for anyone since even non-logged-in users would be able to see this topic if they had the URL for it, which could be generated from a sitemap or something – yet to be confirmed.
just re-tested this, and no they get a 404 error or whatever page you send then to in the settings
wordpress is post software and has posts and comments
bbpress is forum software, so it has forums, topics and replies
so people will reply to topics, not comment on them !
so I would
1. deactivate buddypress
2. switch to a default theme such as twentytwelve and see if people can now reply to topics, you are only doing this to see if your theme has an issue with replies.
3. let us know whether you are allowing anonymous posting, or whether you onlt want topics/replies from registered users?Also, how do I just let people see the topics and not the forum?
umm, not sure what you mean, either you have a forum or your have posts and comments, you can’t have forum topics with post comments 🙂
In reply to: Per Forum Permissions by Group@trymedo – ok try this version, it should determine if it is the resultant list being queried, or the process of getting to the list that is causing issues. Basically it does your suggested post__not_in.
This is only for Tom, and is just a testing version
latest live version is here
In reply to: Per Forum Permissions by GroupTom, what version are you currently on, V1.9.1 fixes a bug for people with moderator privilege that was causing display issues. Just need to check that your issue with what people are seeing is still current with this version.
The white screen of death – I’m not sure if the memory issue is with the post__in result being big, or the need to process each one, so yes I’ll work on a post not in to see if this makes a difference, or if I can reduce the check. Can you remind me if this was just with http://www.mysite.com/topics, or whether it cropped up elsewhere, eg searches, or seleting forums etc.