Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 4,326 through 4,350 (of 32,481 total)
  • Author
    Search Results
  • #191606
    yusareba
    Participant

    I’m able to embed external sources into my forum with direct urls, which is nice.
    But they are HUGE. How can I change the size so that they don’t take up so much space?

    View post on imgur.com

    I’ve attempted to use:
    if ( ! isset( $content_width ) ) $content_width = 500;

    in child theme functions.php but it didn’t change anything.

    #191567

    In reply to: Single Forums

    Robin W
    Moderator

    you can create an index with particular forums using a shortcode in my style pack

    [bsp-display-forum-index forum= ‘2932,2921’ title=’main forums’] Displays the selected forum indexes

    bbp style pack

    Robin W
    Moderator

    my style pack has a shortcode

    [bsp-display-topic-indexforum =’101′ ] Displays the latest topics, optionally from a forum or forums

    bbp style pack

    #191562
    yanjuadmin
    Participant

    I would like my site to be completely user driven. I don’t want to create all the possible forums and only have users create topics, can I do this?

    Right now when I include the new forum shortcode, it forces users to select a “parent forum” which is not what I want

    luice
    Participant

    Now we have using a latest version of your plugin with buddy press.

    How to get latest 10 discussion based on forum id which on assign on buddy-press group.

    We need to custom code or suggestion for this. Please replay as soon as.

    Thanks

    #191546

    Topic: Single Forums

    in forum Installation
    Andrew Leonard
    Participant

    I can create a page with a single forum using the shortcode [bbp-single-forum id=19743] but I also want it this particular forum not to be seen in the main forum index where I use the shortcode [bbp-forum-index]
    Is this possible?
    Is there another way of achieving the same effect?

    I have:
    Wordpress version 4.9.5
    BBPress Version 1.4.1
    main Forum page
    specific forum page

    #191543
    mtclmbr
    Participant

    Wondering if there are any suggestions on where to start looking or what to do. Not sure if this is at all related to the below issue or not. But I have not looked once yet at the bbpress code to see if I can figure anything out myself so if there is any suggestions or pointers that would be great. This is currently the biggest pet peeve out there with our forums that our users always mention.

    Topics with +1000 replies do not add page numbers to reply permalinks

    #191535
    jishua
    Participant

    Hello,

    Sometimes when some of my bbpress pages render, they render with bbpress code above everything else in the source (even the doctype!). It breaks the page and a user needs to refresh to see the page correctly.

    For example:

    <div id="bbpress-forums">
    
    	
    	<div id="bbp-user-wrapper">
    		
    	
    	<div id="bbp-single-user-details">
    		<div id="bbp-user-avatar">
    
    			<span class='vcard'>
    				<a class="url fn n" href="http://example.com/forums/users/firstname-lastname/" title="firstname-lastname" rel="me">
    					<!DOCTYPE html>
    <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en-US" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->

    This doesn’t happen consistently. Does anyone have idea what might be causing this?

    #191530
    tylertervooren
    Participant

    Huh… looks like my link got stripped. Here it is: https://wordpress.org/plugins/bbp-profile-link-shortcode/

    #191528
    Stephen Edgar
    Keymaster

    I’ve just created the user testtest on the site

    I can login successfully using the following 3 methods:
    • Using Chrome on my desktop
    • Using Chrome emulating an iPhone 7+
    • Using my iPhone 7+ directly

    Using the above 3 methods worked successfully logging in at *both* these URLs:
    http://www.getswing.co.uk/wp-login.php
    http://www.getswing.co.uk/forums/

    The only other things I can suggest is checking with your webhosting if you have any firewall applications or rules that might be the cause of this.

    p.s Feel free to the delete the testtest account I created

    #191516
    Pascal Casier
    Moderator

    I have no solution unfortunately. And reminding is not chasing 🙂

    You don’t have any code snippets added in a function.php that you forgot to deactivate when deactivating all plugins?

    #191515
    michaellanfield
    Participant

    Hi. I would like to edit the search bar height and remove the grey border but not to cut off the text. What code do I add to custom css? Thanks.

    #191511
    Robin W
    Moderator
    $post_id = bbp_get_forum_last_active_id($forum_id)) ;
    $last_author  = get_post_field ('post_author', $post_id);
    #191509
    ico33
    Participant

    Hi guys, I can’t understand why but today the widget of the recent replies has a strange issue. And just in ONE topic.

    What does I mean? I have this widget going on for months. Everything was ok.

    It shows the 7 most recent replies, but when a reply is in a specific topic, there is the issue. You click on the last reply (of that topic!) and you are brought to the first page of the topic, and not to the last message. If in the 7 most recent replies there are other topics, wverything is ok and you get the last reply. I see that the issue is in the link the widget generates for that specific topic, and don’t know why the other topics are ok. Even this single topic was ok, but since 3 or 4 days, there is that issue with that topic.

    ES:

    Now my widget shows the 7 most recent replies. This is the link of the reply of the “problematic topic”

    mondolapdance.it/forums/topic/monella/#post-12435

    Here is the link of another reply of a different topic
    mondolapdance.it/forums/topic/pupa-club/page/20/#post-12434

    As you can see, the topic “Monella” doesn’t have the pagination in the link. Why? That topic is 67 pages. But clicking on it (it’s the link in the most recent replies widget) you go to the first page, not to the last replies as it happens for others replies.

    #191507
    Radzio125
    Participant

    Thanks for answer. Unfortunately I want to get only user ID number. I want use this to do something like this:

    $last_author = id_of_the_forum_topic_last_active_user
    $user = get_user_by('login',$last_author);
    if (is_user_online($user->ID)) {
    } else {
    }

    What do I need to put in place of the id_of_the_forum_topic_last_active_user?

    #191497
    Robin W
    Moderator

    $author = bbp_get_author_link( array( 'post_id' => bbp_get_forum_last_active_id($forum_id)) ;

    #191477
    Rakesh Roy
    Participant

    Is it possible to choose a reply of a topic as an answer or best reply?
    Nay plugin or code example
    Thanks in Advance

    #191473
    djhorne
    Participant

    @casiepa

    Thanks for coming back.

    So I my theme is mobile optimised – and have tested others

    I have run test using Google Inspect and I get

    Request URL: http://www.getswing.co.uk/wp-login.php
    Request Method: POST
    Status Code: 403 Forbidden
    Remote Address: 46.30.215.105:80
    Referrer Policy: no-referrer-when-downgrade

    When I run it on a responsive sit using Google Inspect – I get in

    Request URL: http://www.getswing.co.uk/wp-login.php
    Request Method: POST
    Status Code: 302 Found
    Remote Address: 46.30.215.105:80
    Referrer Policy: no-referrer-when-downgrade

    When I use http://www.getswing.co.uk/wp-admin/

    It works on mobile

    #191453
    Robin W
    Moderator

    bbpress uses the wordpress default avatar as set in

    dashboard>settings>discussion

    There are plugins that let you add additional defaults eg

    Add New Default Avatar

    or use code in your functions file or a snippets plugin (https://en-gb.wordpress.org/plugins/code-snippets/) such as

    add_filter( 'avatar_defaults', 'mytheme_default_avatar' );
    function mytheme_default_avatar( $avatar_defaults ) 
    {
        $avatar = get_option('avatar_default');
    
        $new_avatar_url = get_template_directory_uri() . '/images/default_avatar.png';
    
        if( $avatar != $new_avatar_url )
        {
            update_option( 'avatar_default', $new_avatar_url );
        }
    
        $avatar_defaults[ $new_avatar_url ] = 'Default Avatar';
        return $avatar_defaults;
    }
    #191439
    avaiya
    Participant

    Is there a way to have my main Forum page show up with my 3 Forums listed, but NOT show the subforums underneath each forum? Instead, I’d like to have people click through on Forum 1, for example, to see the sub forums within Forum 1.

    I’m using this shortcode to show my forums on the main forum page:

    [bbp-forum-index]

    #191438
    Robin W
    Moderator

    bbpress just uses the display name as set in

    dashboard>users>all Users>edit user

    so you could change your users to what you want.

    users can change their individual if you give them access to their wordpress profile or their bbpress profile.

    There are some plugins and code that can change stuff eg

    Quick Tip: Set the Default Display Name for WordPress Users

    I googled ‘wordpress change display name for all users’ and lots lots of stuff.

    #191433
    avaiya
    Participant

    I’m using bbPress for my membership site, and when people do things like use bold or italicized letters, add any of the custom things on the menu when they create a post, if they are subscribed to the post, they get a notification email that looks like this:

    Hi @ande!

    Thanks for checking on me. 😊 I worked through The Process and I do feel better. Here’s what I came up with. Am I doing this right?
    <div><span style=”font-size: 24px; font-weight: bold;”>The Process™ Worksheet:</span></div>
    <div></div>
    <div><span style=”color: #09afff; font-weight: bold;”>Step 1:

    How can we fix this so the emails don’t show up in code?
    Thanks!

    Editor Mike
    Participant

    add_filter( ‘bbp_number_format’, ‘rew_number_format’, 10 , 5) ;

    function rew_number_format ($number_format, $number, $decimals, $dec_point, $thousands_sep) {
    	$thousands_sep = '' ;
    return apply_filters( 'rew_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep );
    }
    Robin W
    Moderator

    can you post exactly what you put in the code snippets please

    Robin W
    Moderator

    probably easier to just add the plugin ‘code snippets’ into your site and put the code there.

    That way you will not risk breaking your site

Viewing 25 results - 4,326 through 4,350 (of 32,481 total)
Skip to toolbar