Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,501 through 7,525 (of 7,697 total)
  • In reply to: Menu link to Profile

    Robin W
    Moderator

    @robin-w

    Tested – 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 Profile

    Robin W
    Moderator

    @robin-w

    Just 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
    edit

    Just 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 Profile

    Robin W
    Moderator

    @robin-w

    Ok 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.


    Robin W
    Moderator

    @robin-w

    @justsayno1

    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 !


    Robin W
    Moderator

    @robin-w

    You 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;

    Robin W
    Moderator

    @robin-w

    It 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 Profile

    Robin W
    Moderator

    @robin-w

    Diggories,

    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 Profile

    Robin W
    Moderator

    @robin-w

    Which of the solutions above did you use?


    Robin W
    Moderator

    @robin-w

    Did 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 !


    Robin W
    Moderator

    @robin-w

    Nice piece of integration !


    Robin W
    Moderator

    @robin-w

    No I wasn’t able to check


    Robin W
    Moderator

    @robin-w

    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 !


    Robin W
    Moderator

    @robin-w

    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_avatarto display the avatar and

    bbp_get_reply_author_id
    to get the id – you’ll then need to play with maybe

    bbp_get_reply_author()
    putting the id in the brackets

    eg 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)


    Robin W
    Moderator

    @robin-w

    Can you post a link to your site?


    Robin W
    Moderator

    @robin-w

    Try this one, I haven’t used it, but seems to cover what you want

    https://wordpress.org/plugins/membership/

    In reply to: change forum sidebar

    Robin W
    Moderator

    @robin-w

    Ok.

    I’d suggest you create a page called “forums” and put the code

    [bbp-forum-index] in it

    You 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


    Robin W
    Moderator

    @robin-w

    first name & Last name are included in my bbpress profile, can you post a link to yours so we can see?


    Robin W
    Moderator

    @robin-w

    Good, I might give it a go, was on my list of things to try when I get a moment !


    Robin W
    Moderator

    @robin-w

    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 sidebar

    Robin W
    Moderator

    @robin-w

    ok, 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

    http://veppa.com/blog/forums/

    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 sidebar

    Robin W
    Moderator

    @robin-w

    Can you post a link please?


    Robin W
    Moderator

    @robin-w

    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

    https://codex.bbpress.org/shortcodes/

    In reply to: Display all forums

    Robin W
    Moderator

    @robin-w

    Vkymunir, you should really start your own topic, but as you’ve posted here, go to the following link

    Step by step guide to setting up a bbPress forum – Part 1

    In reply to: Display all forums

    Robin W
    Moderator

    @robin-w

    Unfortunately 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


    Robin W
    Moderator

    @robin-w

    It’s quite simple to get ti up and running – just work you way through the following resource

    Step by step guide to setting up a bbPress forum – Part 1

    If you are using a default core theme, it’ll be going in a couple of hours. if you have a custom theme, the functionality will be there, but the look and feel might be a little different from your theme, and you’ll need to style it – not that hard to do, but does require some knowledge of using FTP and a code editor.

    I’ll be finishing this article during the next week.

Viewing 25 replies - 7,501 through 7,525 (of 7,697 total)