Forum Replies Created
-
In reply to: User profile link, only show username.
Hey, Thanks for a great and detailed response, I’ll read it in detail later as off to earn a living, but I’ll be digging into it and the code tonight !
Thanks again – really helpful !
In reply to: Menu link to ProfileTested – I subscribed, but in profile it says
“subscriptions
You are not currently subscribed to any forums.”
So no that doesn’t seem to work.
@Stephen Edgar – any ideas 2.5 working in twentyten !In reply to: Menu link to ProfileJust upgraded my test site to 2.5, and with the twentyten theme I run, the profile link takes you to a page with
profile
topics started
replies created
favorites
subscriptions
editJust as it did before !
I use solution 1, so I have just added the oine to the new widgets file and uploaded it, and all works fine.
In reply to: Menu link to ProfileOk thanks I’ll take a look, but sounds like 2.5 has changed the way profiles are displayed
ie when you click an avatar it now goes to a smaller screen selection.In reply to: User profile link, only show username.I just followed the functions until I found these three filters:
🙂Ok, so given that loop-single-reply has
bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) );
How did you get from there to “I just followed…”?
I’ve never got into this area (have only been playing with wordpress since March this year, so am still a newbie), and would love to, but can’t find any tutorials that get you from a line on a display php to the backend function that creates it. I understand how a filter works (and that link is the best explanation I’ve seen so far!), but have you got a logical way to then backtrack to find out what you’re going to create a filter for? – I’ve looked through bbpress and there are lots of “function.php”s, the most obvious being bbpress/includes/common/functions.php, but a search for ‘bbp_get_user_profile_link’ comes up blank.
If you could explain how you get from a to b, I be really grateful !
In reply to: Change font type in forum-indexYou might need to play a bit, and come back if this either works or doesn’t, I’ve only had a quick look, and suspect there’s a much better way…but
You main theme uses ‘Helvetica Neue’,sans-serif and the forum is using Arial
I’m still on 2.4.1 so can’t tell you which lines you need in version 2.5
So in the bbpress.css file you’ve correctly copied to theme’s folder, do a search for “font-size” and where you find it, add a line
font: ‘Helvetica Neue’,sans-serif;
That will take it in common with the main theme’s font.
for instance
#bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 { background: none; border: none; font-size: 16px; line-height: 1em; margin: 8px 0; padding: 0; text-transform: none;
you’d alter it to say
#bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 { background: none; border: none; font-size: 16px; font: 'Helvetica Neue',sans-serif; line-height: 1em; margin: 8px 0; padding: 0; text-transform: none;
In reply to: Edit topic reply, changes post orderIt shouldn’t do – just tested with bbPress 2.4.1 and editing by admin in either the dashboard or in the options when viewing the post doesn’t change it’s “published” date, which is what the forum uses as it’s display order.
Have you got any plugins or changes you’ve made that could affect this.
And.. has this just started happening and what version of bbPress are you on?
In reply to: Menu link to ProfileDiggories,
Some great tips there.
mm, the upgrade will have overwritten the change – as per first post
Of course you’ll need to make a note of this change, as it is lost whenever you upgrade bbpress versions
I haven’t upgraded yet, let me know if putting it back fixes it !
In reply to: Menu link to ProfileWhich of the solutions above did you use?
In reply to: BBpress Integration ShowcaseDid you create a separate .ccs file – if so, could you post it here (surround it with the code button) so that others can see what you did, and I’ll maybe use it in the official documentation as an example !
In reply to: BBpress Integration ShowcaseNice piece of integration !
In reply to: Author Posts Position messsed upNo I wasn’t able to check
In reply to: Advanced user registration.I think the plugin talked about membership form -, have you actually tried it?
Personally I just use cformsII plugin – google it and a video on how to set it up as its flexible but not very friendly initially – just create a form and then create a “register” page and put the short code in, and hook your login widget to it.
It does mean manual registration – ie you need to set each user up, but that lets me check who’s joining !
In reply to: User profile link, only show username.This may look a bit messy but without spending a lot of time
In loop-single-reply.php (wp-content/plugins/bbpress/templates/default/bbpress)
change line 45 which uses
bbp_reply_author_link
and use
bbp_get_reply_author_avatar
to display the avatar andbbp_get_reply_author_id
to get the id – you’ll then need to play with maybebbp_get_reply_author()
putting the id in the bracketseg
bbp_get_reply_author(bbp_get_reply_author_id )
should give you the username rather than display name
you’d then need to play with
content-single-topic.php for the forum lists (wp-content/plugins/bbpress/templates/default/bbpress)
In reply to: Author Posts Position messsed upCan you post a link to your site?
In reply to: Advanced user registration.Try this one, I haven’t used it, but seems to cover what you want
In reply to: change forum sidebarOk.
I’d suggest you create a page called “forums” and put the code
[bbp-forum-index]
in itYou can then style this page to have no sidebar
Otherwise with widget logic, you would still have a sidebar, but could alter what is displayed in forums and your blog. As stated above, just add a widget to your sidebar, and use the codes above in the widget logic box
In reply to: "Last name" profile field in Edit Profilefirst name & Last name are included in my bbpress profile, can you post a link to yours so we can see?
Good, I might give it a go, was on my list of things to try when I get a moment !
yes, there’s a plugin that does this for you
https://wordpress.org/plugins/bbpress-notify/
Haven’t used it yet, let us know if it works for you
In reply to: change forum sidebarok, I can see your problem
Not sure why the plugin isn’t picking this up – would be worth a post on the authors support site
However lets also try a different approach.
Download “widget logic”
https://wordpress.org/plugins/widget-logic/
This plugin lets you specify conditions for when widget items are displayed.
You would then put all the widgets for both the blog page and the forum page in one sidebar
Against each of these you then specify whether you want it to appear on the forum page, on any page with a sidebar that is not the forum 9ie your blog), or on both forum and other sidebar pages.
you do this by putting the following code in the widget logoc box that you will see appears against each widget
For a forum sidebar you put :
is_bbpress()
ie is this page a forum page
For any other sidebar you put :!is_bbpress()
ie is this page NOT a forum page
For any item to appear on both, simply leave the logic blank.Give that a try and come back and let us know how it works
In reply to: change forum sidebarCan you post a link please?
In reply to: How to display Forum as a Menu Item?Create a page, and put the following shortcode in it
[bbp-forum-index]
or if you want to get more specific then look at all the shortcodes
In reply to: Display all forumsVkymunir, you should really start your own topic, but as you’ve posted here, go to the following link
In reply to: Display all forumsUnfortunately it’s css and php files that you will need to amend
Quickest change would be to add the following to your style.css
#bbpress-forums .bbp-forums-list li {
display: list-item !important;
font-size: 11px;
}or to amend the display line in wp-content/plugins/bbpress/templates/default/css/bbpress.css line 121
That’ll get your list vertical.
Add descriptions to your forums (dashboard>forums>edit and put something in content) and you’ll have the next part.
Then if you want to alter the display, you’ll need to look at loop-single-forum.php
or the main forum display loop-forums.php