Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,051 through 7,075 (of 32,519 total)
  • Author
    Search Results
  • Pascal Casier
    Moderator

    Hi,
    Try this in a child theme or functions.php (I didn’t really test it, but this could be a way to do):

    function casiepa_mention_gravatar() {
                echo 'Upload a profile picture on <a href="gravatar.com">Gravatar</a>';
    }
    
    add_action( 'bbp_theme_after_reply_author_details', 'casiepa_mention_gravatar' );
    add_action( 'bbp_theme_after_topic_author_details', 'casiepa_mention_gravatar' );

    Pascal.

    #171011
    Robin W
    Moderator

    you put this code :

    [bsp-display-topic-index show=’5′ forum =’10’]

    into the content section of your home page

    #171001
    ZivotsRS
    Participant

    Thank you for your response. Plugin looks great.
    Only too much for me in English and can not find where to adjust. Thus, the basic settings I can see, but I can not find out where to enter a shortcode to work. It is the most English 🙁

    #170998
    Robin W
    Moderator

    latest topics is in a shortcode in my plugin

    https://wordpress.org/plugins/bbp-style-pack/

    [bsp-display-topic-index show=’5′ forum =’10’]

    #170995
    Robin W
    Moderator

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

    #170993
    Birchwind
    Participant

    Hi –
    I’m running WordPress 4.4.1
    BBpress is the 2.58
    Theme is Optimizer

    I have successfully increased the font size of the forum itself. What I have not been able to do is figure out how to change the text that one sees to get back to the various Forum categories or Forum home – as shown in image below:
    https://i.gyazo.com/0882075309c65c8058da2fe97caea9aa.png

    I used this info here: https://codex.bbpress.org/bbpress-styling-crib/ and according to that, it is #8 I want to adjust, and on that ‘how-to’ it says that that area is:

    8. Breadcrumb and link colors
    Inherited from your theme

    Just wondering where to find this so I can make it larger in size.

    #170962
    grungyape
    Participant

    Sorry, I must have not set myself up to be notified of your reply.

    I’m not sure I understand you. The forum is working, as in the links go where they should and what not.

    So yes, well it was changed but in short yes, this link does work:

    http://fubar-alliance.com/comms/channel/test/

    The forum software says index is comms, and single forums is channel, but the index looks like it should have an image to represent the forum in question, otherwise the page is hard to read and understand…

    If you go here: http://fubar-alliance.com/comms/

    Notice the odd blocks that highlight when you find them, and have the mini round broken image.

    #170961
    vinstyton
    Participant

    Yes, two colors that I need to change.

    The author/date text color and the link colors of the forums.

    From the codex reference, I am trying to change the colors of #5 and #8.

    I tried the code above but it did not change those two color elements.

    Thanks.

    #170958
    Robin W
    Moderator

    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

    #170944
    Pascal Casier
    Moderator

    Hi,
    1) There is no pagination for the forum archive page.
    2) It is not limited to 50 forums, you can create as much as you want. It is just recommended that you use less than 50. You can use a filter to change the number to what you want. I haven’t tested it myself, so try it yourself in your child theme or functions.php:

    function casiepa_increase-forum-per-page( $args = array() ) {
       $args['posts_per_page'] = get_option( ‘_bbp_forums_per_page’, 100 );
    return $args;
    }
    add_filter( ‘bbp_before_has_forums_parse_args’, ‘casiepa_increase-forum-per-page’ );

    3) To order, Edit your forum (Admin Panels > Forums > All Forums) and on the right you will find ‘Forum attributes’, play with the ‘order’ attribute.

    Hope this helps,
    Pascal.

    #170943
    Aztix
    Participant

    Here is my research :

    I register the forum parent id with this :

    $parents = get_post_ancestors( $post->ID );
    $id = ($parents) ? $parents[count($parents)-1]: $post->ID;
    $parent_id = "forum_parent_".$id;

    and add it on my body class

    <?php body_class($parent_id." ".$style." ....) ?>

    and then i creat this little function :

    if (bbp_is_single_topic($parent_id === ‘forum_parent_11801’)){
    wp_nav_menu(array(‘theme_location’ => ‘primary’, ‘menu’=>’my-menu-name’ ));
    }

    It doesn’t work but i think that i’am not so far from what i want !

    #170936
    Soffiti
    Participant

    I have 63 forums located at soffiti.com, but only 50 are present in the forum index, the other 13 are not shown and only can be searched. I wanted to how I could add the 13 forums so that users can discover them just like the other 50 without running into them during search. I’d like to know if there is a plugin or theme that can solve this without me having to add/edit code (if necessary please give me directions on how I should add/edit the code). Also, I’m guessing that the topics and posts are presented in the same way so I’d like to know how to extend them as well.

    Note:
    1. Extend on the same page
    2. Extend to another page

    #170933
    Pascal Casier
    Moderator

    Hi,
    Check bbP Stylepack. It has a shortcode bsp-display-topic-index that should help you.
    Pascal.

    #170931

    In reply to: Forums Page Layout

    Pascal Casier
    Moderator

    Hi Brandi,
    Seems like you theme goes in conflict with bbPress. What theme do you use and can you confirm that switching theme solves the issue ?
    You will have to play with CSS if you want to stay with this theme:

    .forum {
      width: 100% !important;
    }

    Pascal.

    #170930
    Pascal Casier
    Moderator

    Limiting the keymaster ? Keymaster should be able to manage the whole system, so I would not touch that one. Think more of creating a new role like ‘myKeymaster’ and give the capabilities that you want: https://codex.bbpress.org/custom-capabilities/
    Pascal.

    #170929
    Pascal Casier
    Moderator

    If it’s really not working anymore, you could delete directly forums, topics and replies from the DB and then run the reset again. This will of course delete all your forum data ! Make sure to backup before !

    Change wp_ to your own prefix.

    USE WITH CAUTION

    DELETE a,b,c FROM wp_posts a
    LEFT JOIN wp_term_relationships b ON (a.ID=b.object_id)
    LEFT JOIN wp_postmeta c ON (a.ID=c.post_id)
    WHERE a.post_type IN ('forum', 'topic', 'reply')

    USE WITH CAUTION

    #170926

    Topic: Forums Page Layout

    in forum Themes
    internetgal
    Participant

    Hi –

    I’m using bbpress for a membership website I created. I’m having issues with the way the theme I’m using is laying out the list of forums.

    It looks like this, but I would prefer it to layout the forum in one row instead of columns.

    I’m learning CSS and PHP, but I know enough code to be dangerous right now. I’m looking for an easy fix.

    Any ideas on how I can fix it appearance of the forum?

    #170924
    DBGrover
    Participant

    Wordpress 4.4.1, bbPress 2.5.8, draftanimalpower.org


    @hotconductor
    , I found my way to this forum in search of answers to the same questions you’re posing. I found this recent topic which basically says that you may be able to achieve this result by editing the child theme, changing functions, or using an external search functionality like that of Google Custom Search.


    @Robkk
    , could you be more specific about what code we would need to add to the child theme in order to achieve the functionality we’re looking for? I am capable of very basic code but my ability level is low so I’m hopefully looking for something I can copy in.

    Help please?

    #170918
    Pascal Casier
    Moderator
    #170909
    Robin W
    Moderator

    Typically mods/admins close a topic to prevent more replies, but is users can simply re-open it, then it sort of defeats why it was written, so suspect you’d struggle to find anyone who has or would code this for free.

    There are functionsbbp_close_topicand bbp_open_topic which could be hooked to a cron function to close and a reply function to reopen, but it would take a little effort to code a plugin to do this.

    #170908

    In reply to: Sidebar issue

    Robin W
    Moderator

    Two approaches

    1. you are using Reden=pro which is a paid theme, so you should get paid support to fix this, quite often it is very simple, but it is theme dependant

    2. see this link on getting wordpress to use the template you want

    https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #170896
    Robkk
    Moderator

    Group forum feeds are having issues.

    https://bbpress.trac.wordpress.org/ticket/2888

    For just topics, you an for now use the original forum structure url and add this to the end.

    /feed/?type=topic

    #170872
    Pascal Casier
    Moderator

    Hi,
    According to the codex, only v4.x is supported (https://codex.bbpress.org/getting-started/importing-data/import-forums/)
    Can you maybe first upgrade from your v3 to v4 ?
    Pascal.

    Robin W
    Moderator
    #170839
    Robkk
    Moderator

    @razet93

    Follow the Set up group forums only section in this BuddyPress Guide.

Viewing 25 results - 7,051 through 7,075 (of 32,519 total)
Skip to toolbar