Forum Replies Created
-
In reply to: I can't get my forum to functon at all.
Now, can you explain what registration process you would like eg
user does this
what user info you want
emails goes from..to…saying
Site manager does that…etc. ie design your ideal process đ
In reply to: starting a new forum topicyou’re welcome
In reply to: I can't get my forum to functon at all.for no. 1, add this code to your functions file
//display last topic title in freshness for forums function display_title ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ) { $anchor = '<ul><li><a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $title) . '</a></li></ul><a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>'; return $anchor ; } add_filter ('bbp_get_forum_freshness_link', 'display_title', 10, 6 );
Having coded it, I like the way it displays, and will be adding to the forums on one of the sites I support – one of the reasons I support this forum is that I learn and get ideas from others đ
In reply to: How to add a notice when starting a topic?to your functions file see
In reply to: I can't get my forum to functon at all.for no. 2
add
#bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3, #bbpress-forums a.bbp-forum-title, #bbpress-forums a.bbp-topic-permalink { color: #666 !important; font-size: 16px !important; }
to your style.css
In reply to: How to add a @usernamegreat – glad you’re fixed !
In reply to: Where can I find the forum ID's (bbpress 2.5.4)great – glad you’re fixed !
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 3