Forum Replies Created
-
In reply to: Changing font size for simple mortals?
Try my style plugin
In reply to: Change Breadcrumb url linkIf you made different versions of this function, you could test which url you are on and do the appropriate one?
eg
function change_root_english ( $args = array() ) {..the code in here with English words....} function change_root_danish ( $args = array() ) {..the code in here with Danish words....}
then
if [site is English one] { add_filter ('bbp_get_breadcrumb', 'change_root_english') ; } if [site is Danish one] { add_filter ('bbp_get_breadcrumb', 'change_root_danish') ; }
I’m sure some googling would produce a test for which site you are on to go in the [].
In reply to: a few styling questionsok try my style pack
https://wordpress.org/plugins/bbp-style-pack/
then go to dashboard>settings>bbp style pack>forum display no.2
This old link talks about using templates
and suggests putting
if (is_bbpress()) { include 'bbpress.php'; exit; }
on top of index.php (for the forum-index) and single.php (for the topics) and then style the bbpress.php in the /themes/optimizePressTheme/ /themes/1/ (or whatever OP2 blog-theme you’re using) to your liking.
If you’re a bit techy, might be worth looking at.
In reply to: Impossible to read the post contentcan you give us a link to your site forum page?
In reply to: a few styling questionssorry hit publish a bit early meant to go to say
You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.
so if you wanted to amend loop-single-forum you would do the following
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
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend thisIn reply to: a few styling questionsIn reply to: Start Forum on my WebsiteIn reply to: User ranking system?I have just released a plugin for user ranking
In reply to: adding forum to a pagejust put
[bbp-forum-index]
in to the page
other shortcodes that might interest you
great – not sure what your problem was, but I gather you are fixed
ok, this is now a wordpress problem, so suggest you post a new topic there
what would the small notice say?
In reply to: Latest topics and posts on the homepageyou put this code :
[bsp-display-topic-index show=’5′ forum =’10’]
into the content section of your home page
In reply to: BBpress showing date as Jan 1970Can you just say which theme it is
In reply to: BBpress showing date as Jan 1970You’re welcome, and thanks for confirming that it works, it will help anyone reading this thread in future.
In reply to: Increase Link /Breadcrumb sizeIn reply to: Latest topics and posts on the homepagelatest topics is in a shortcode in my plugin
https://wordpress.org/plugins/bbp-style-pack/
[bsp-display-topic-index show=’5′ forum =’10’]
In reply to: BBpress showing date as Jan 1970If you know how to add stuff to css, this should do it
.type-forum .post_info {
display: none;
}If you don’t know how to do that, your theme may allow custom css – have a look in dashboard>appearance and see what theme changes you can see in there, or have a look at
https://codex.bbpress.org/functions-files-and-child-themes-explained/
Do come back if you need further help !
In reply to: Should there be an image?I would not expect an image to show
In reply to: BBpress showing date as Jan 1970It 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, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
although
`$forum_id = bbp_get_topic_forum_id($post_id);
or
$forum_id = bbp_get_topic_forum_id($post_id);
`would be quicker and easier to get the forum id
In reply to: Get parent forum id upon new reply submitYou’re welcome !
without looking further, I’d suggest
if (bbp_is_single_topic($parent_id) === ‘forum_parent_11801’){
or
if (bbp_is_single_topic(‘forum_parent_11801’){
but I’d need to look at the function further if that doesn’t work, do come back
In reply to: How to import bbpress users?The default role is set during login not during user creation (as that is done by wordpress) . Ie if a user doesn’t have a role, then this is set to the default role when the user first logs in.
So on import or indeed user creation, the database is not changed. As each user logs in for the first time it is set.