Sounds like you’re further through hacking the code than most people get !
ok, just in case you haven’t already seen it, if you’re changing the template files, you should create a bbpress directory in the root of your (child)theme, and copy the files there. bbPress will then use these instead, and they won’t get overwritten by upgrades to bbpress. You should also have a child theme, and put them in there rather than someone else’s theme, and then theme updates won’t overwrite them either!
see
Step by step guide to setting up a bbPress forum – part 2
and
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3
I presume you’ve tried the code? That’s the other great thing about using the bbpress folder in your child theme, you can just delete the server version and it goes back to the default one.
If so where is it falling over?
can you copy the lines between
<?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
and
`<?php do_action( ‘bbp_theme_after_topic_started_by’ ); ?>
and paste them into here, and I’ll take a look
I’m out today, but if I get a chance later I’ll then run it and debug for you.
I’m not sure of the exact issue you are having a problem with!
The snippet of code you have looks correct via https://codex.bbpress.org/enable-visual-editor/
I have done a fair bit of testing of WordPress v3.9/v3.9.1 and bbPress v2.5.3 compatability with the above snippet to ensure things are not broken with the new TinyMCE v4.0.x in WordPress v3.9.
I have also used this plugin to test the above also https://wordpress.org/plugins/tinymce-advanced/
The repair tools will do each and every forum, so it should be an all of nothing scenario here.
That said this could be a theme issue also, make a copy of your themes page.php and rename it to bbpress.php (You could use page-sidebar.php or whatever template you’d prefer)
Let me know how that works for you and we can go from there.
Hello
I have a problem with the editor in bbpress .. the content is displayed with the html code ..
I am using Ultimate TinyMCE editor with the option of wpautop set off and I put this code in the functions.php of the theme to enable mce editor :
function bbp_enable_visual_editor( $args = array() ) {
$args['tinymce'] = true;
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
What could be the problem, I tried using Tiny MCE Advanced but the same problem occurred
is this a theme problem?
Im using :
Wordpress version 3.8.3
bbpress version 2.5.3
Ultimate TinyMCE version 5.3
Thanks
Have you tried using just %postname% rather than /index.php/%postname% ?
I have a sneaky suspicion this will be your issue.
If you are not able to remove the /index.php/ before %postname% check your “WordPress Address (URL)” and “Site Address (URL)” in Settings -> General. If these include the /index.php/ I’d suggest you contact your web host and have these updated.
(I only say contact your host as if you change these to something your web host doesn’t support you may lose access to your site)
This is done by putting some code into the footer.php
If you’re into coding, then google ‘wordpress post footer’ and you’ll find several examples of how to put posts into footers. You’d be looking to add a parameter of ‘post_type’ = ‘topic’,
Alternately you could try
https://wordpress.org/plugins/nurelm-get-posts/
and see if that works in your footer – no idea if it will !
the code would be something like
[get_posts post_type=”topic” numberposts=15 orderby=”post_date” order=”DESC”]
or maybe order = “ASC” !
When you use the ‘link’ here to post a link you need to include the URL and a title for the link.
<a href="http://www.mygameslounge.com/forums/topic/has-the-price-cut-come-too-late/#post-3880" title="Have a look here for an example"></a>
The above is the code in your original post…
You can just paste links directly into the textbox without using the ‘link’ button
eg. http://www.mygameslounge.com/forums/topic/has-the-price-cut-come-too-late/#post-3880
Or using the ‘link’ button with a title:
eg. <a href="http://www.mygameslounge.com/forums/topic/has-the-price-cut-come-too-late/#post-3880" title="Here is the title for that link"></a>
Argh…. It is broken, kind of, once you add the link using the ‘link’ your cursor will be placed just before the </a> html to give the link a ‘clickable name’
<a href="http://111" title="111"></a>
———————————————————-^
I will go and investigate this further and see if we can make this a little clearer, easier etc.
<a href="http://www.google.es"></a>
After much trial and error found that it was a plugin conflict with:
http://codecanyon.net/item/wp-moonlander-responsive-countdown-landing-page/7229549
Sorry for forum static :/
OK but the ticket is:-
“Allow Moderators and Keymasters to see private topic content from users”
… and strictly this issue is the converse, are you sure it’s the same problem?
I am pretty sure it is the same problem… If the plugin you are using marks the post ‘private’ (you can confirm this by looking at the post in the wp_posts table, if the post_status for the topic is private then this is the same issue.
Not a definitive guide but if you are logged in and you are the topic author who authored that topic I expect you will find that they can see both the topic content and the follow up reply.
I presume you mean the profile in the toolbar?
If so, I turn the toolbar off for all users apart from admin. It is ugly and takes away from your theme.
You can then put it as a menu item see
Layout and functionality – Examples you can use
for details
@landshark I wouldn’t say you were being ignored, we are all volunteers here and if and when people have the time to help others they do, myself included.
What is the BBCode for images on your SMF forum?
bbPress converts these default BBCode [img] to `<img src=”…”>
[img]http://www.google.com/intl/en_ALL/images/logo.gif[/img]
[img=http://www.google.com/intl/en_ALL/images/logo.gif]
If you have any custom BBCodes this will not work and you could either fix this in your SMF forum before importing or if your comfortable with MySQL you could update these in your database directly.
Try making a single sidebar eg sidebar-bbpress.php and call that from your bbpress.php file and use bbPress conditionals
bbPress Conditional Tags
eg
<?php if ( bbp_is_single_forum() || bbp_is_single_topic() || bbp_is_single_reply() ) : ?>
...primary sidebar code here...
<?php else : ?>
...secondary sidebar code here...
<?php endif; ?>
Hello.
I made some changes in localisation (via Codestyling Localization plugin) and suddenly disappeared all my BBPress widgets from administrator’s widget menu.
Please help.
Unites States and it’s territories and then one for “international” to start with.. so I’m looking at 57ish. If I get lots of members outside of the US I would eventually split the international section up as well (I don’t necessarily foresee this). I’m looking into doing what I need with s2member conditionals now. I’ll have to have people choose their state, then generate different paypal buttons for each one so they’ll get a proper s2member conditional and then I’ll set up a forum page that uses shortcode conditionals to show them just the forum I want them to see. I’m not sure this will integrate perfectly with my bbpress/buddypress setup (I’m concerned about the activity pages and such) but we’ll see. I’ll definitely watch for updates to your plugin–it sounds perfect for when it’s got an unlimited number of groups.
The bbPress shortcodes are:
[bbp-login] – Display the login screen.
[bbp-register] – Display the register screen.
[bbp-lost-pass] – Display the lost password screen.
I suspect some of your issues are more WordPress related rather than specificly bbPress
Have you tried copying and renaming your full width page template as per
Step by step guide to setting up a bbPress forum – Part 1
@buzzybee24 In your WordPress theme folder eg \wp-content\themes\mytheme
Look for a file named page.php and make a copy of this file and rename it to bbpress.php
Thanks @robin-w it is in fact a theme issue, I’m now guessing there is some snippet of code which i’ll have to insert into the theme, does anyone know by chance which code snippet is required, or have a link to another thread on here to help my boneheaded self out – thanks again for all your help 😀
ok thanks – I can only assume that this is related to how wamp deals with local urls, as I can neither see how the code could get to that stage, nor can I replicate on-line.
However leave it with me, and I’ll see if I can add some code that checks to see if it looks like a url.
If you leave these both blank, does it go to a login or 404 page as it should?
Hi community,
I’m trying to redirect all the register steps out of wp-admin or wp-login.php to finally hide completely wp-admin section to users. Since now I’ve succeed with registration and field errors, but now I’m trying to do the same with the help of [lost-password].
The shortcode above works properly but the problem comes when an email with the /wp-login.php?action=rp&key=Y4I9GCCGagXxiaWk&login=my_user redirects the user to the wp-admin/wp-login area. This area has two fields “New password” and “Confirm new password”. Is there a shortcode who shows the same two fields in a custom page without the need of use wp-admin/wp-login area?
Thank you in advance for your help and time.
Maybe not the most elegant, but this is quick and easy and should do it
In you theme, create a folder called ‘bbpress’ eg
wp-content/themes/your-theme-name/bbpress
then create a file called
content-single-user.php
into that put the following code
<?php
/**
* Single User Content Part
*
* @package bbPress
* @subpackage Theme
*/
?>
<div id="bbpress-forums">
<?php echo 'Sorry access not permitted' ; ?>
</div>
then save this file to the bbpress folder you created above
If you want to completely hide the page, you could just put say your homepage url into the echo line and they would just be taken to the homepage.
Ok so you’re a wordpress site – so see
Codex
for step by set how to install
I found this one: https://wordpress.org/support/topic/javascript-error-on-pages-without-sharebar
The hack proposed in that topic solved my issue which was caused by JS error. Hoping that plugin will be fixed at some point, so I don’t need to hack into its code with every update…