Forum Replies Created
-
In reply to: Loving BBPress – Been Playing Around…
Lol yea I don’t play too much Minecraft, but it is certainly fun.
You could add a new role for your site: https://codex.wordpress.org/Function_Reference/add_role
In reply to: Couple small forum index issues, need help.Inside wordpress, go to pages and then locate the page you are using as your homepage content. (It is probably called sample page?)
Rename the title in this page and change the url just below the title by clicking edit.
This should resolve that first issue.
I have noticed that you have resolved the other issue.
Good luck!
In reply to: Topics all open as a 404 pageFirst thing to try is changing and updating your permalinks and then changing them back again.
In reply to: SideBar is not on the sideHave you fixed this issue as I can’t see anything wrong?
In reply to: Can anyone please help…You need to try and customize your theme a little further.
bbp-reply-author { width: 150px; }
This will sort out the author box being to large.
In reply to: Help with themeYou can make CSS changes inside bbpress.css inside the bbpress plugin.
I suggest getting hold of FireBug for firefox, you can right click on the page and inspect an element to see where you need to edit it.
All the best.
Lynq.
In reply to: 2 link to forums created automaticallyHi,
What is the issue? That you have page and the page number after the forum? I am guessing this is pagination.
In reply to: Unable to find forumYou might need to do some of the following to troubleshoot your issue.
A) Update your permalinks
Disable Plugins 1 by 1 to see if one is conflicting
C) Check the theme is appearing correctly.
Best Regards
Rob.
In reply to: forums/forum URL, shorter URL possible?Have you had a look at the Settings > Forums section inside wordpress.
This should help.
In reply to: posting php and html codeI found this: http://en.support.wordpress.com/code/posting-source-code/
If you look down the bottom they are using: https://wordpress.org/extend/plugins/syntaxhighlighter/
You could use this to allow you to use a shortcode.
You could then create a bit of javascript to replace the currently highlighted text with the shortcode with the text inside.
Good luck!
In reply to: I want the freshness in daysDo you have a link to your forum at all so I can see the months issue? I am only getting days on my forum (because it is fairly new).
If you switch the theme over to a default theme like twentyten do you still get the same issue?
In reply to: Mobile Forum with Formatted TablesI am using jQuery Mobile on my wordpress site which works pretty nicely (I still have some work to do on it).
You could look into that, you would need to do some customization to get a forum working though as of course width can be restricted on mobile devices.
In reply to: Just display Forum Name and Topic Title?You could create a new loop-topics.php inside your theme file, then edit that and give it a new name like “loop-new-topics.php”.
bbp_get_template_part( 'bbpress/loop', 'new-topics' );
Then edit that file to get the look that you want.
In reply to: posting php and html codeDoes
<pre></pre>
work?In reply to: "/forums" url 404 page not foundWhenever I have a fairly serious issue like this I follow these three steps first:
– Switch to a default theme like twentyten
– Disable plugins
– Update permalinks
Give that a go then see what happens when you disable each individual plugin.
In reply to: RSS feed and search enginesYou could add your RSS feed to a robots.txt file.
Something like…
Disallow: /forum/feed
Or whatever your RSS link is.
Good luck!
There could be a few issues or enhancements needed with this.
Can we see an example page at all?
At the moment I have no idea so these are just guesses.
– You might of hidden notices with CSS which causes the notice not to appear when a user registers.
– You might need to manually catch the returned get or post and then display a message
– Your theme could not be setup to display the messages correctly.
I am not sure really.
In reply to: I want the freshness in daysIt looks as though it is just grabbing the freshness from
get_post_field
and assigning it to$last_active
and then returning the following filter:return apply_filters( 'bbp_get_forum_last_active', $last_active, $forum_id );
So you might need to try and catch the data on the way into the database and manipulate it there, then save it to the database.
Good luck!
In reply to: new forum for every post plugin ?If you var_dump your
$postmeta['forum_id']
does it contain a value?In reply to: new forum for every post plugin ?if ( bbp_has_topics( array( 'post_parent' => $postmeta["forum_id"] ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' );You see the part about
$postmeta["forum_id"]
you need to grab the post meta data with<?php $meta_values = get_post_meta($post_id, $key, $single); ?>
https://codex.wordpress.org/Function_Reference/get_post_meta
Then once you have all the post meta data in an array you can grab the forum ID and put it in the arguments.
Good job!
In reply to: How to start a new loop?Yes you can use bbp_has_forums() and pass it some arguments to filter the query. for example something like:
if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) )
bbp_get_template_part( 'bbpress/loop', 'forums' );This will filter the loop depending on what arguments you pass bbp_has_forums. I am not too sure on what filter or action you could use that to get that working on all queries.
Default arguments for bbp_has_forums.
// The default forum query for most circumstances
$default = array (
'post_type' => bbp_get_forum_post_type(),
'post_parent' => bbp_is_forum_archive() ? 0 : bbp_get_forum_id() ,
'post_status' => implode( ',', $post_stati ),
'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
'orderby' => 'menu_order',
'order' => 'ASC'
);No problem for helping btw, I try to help as much as I can, I may just get in the way sometimes :p
If you are not sure where the issue is coming from then I suggest activating a default theme for bbPress, like twentyten and then seeing if the issue still exists.
If it does then move onto disabling any bbPress plugins, one by one.
Good luck!