Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 4,876 through 4,900 (of 32,481 total)
  • Author
    Search Results
  • #186884
    Robin W
    Moderator

    so what code are you using to pull the feed?

    #186881
    acpscommunications
    Participant

    This plugin does still work but apparently has no shortcode support for forum so still does not give me any way to adjust the subject line to start with which forum it’s coming from.

    #186869

    In reply to: bbp_after_main_content

    Robin W
    Moderator

    can you post your code please

    #186855

    In reply to: bbp_after_main_content

    Robin W
    Moderator

    which is back to my earlier post

    add_action( 'bbp_template_after_forums_index' ,'after_content_hook');
    

    There is </div> after this, but if you start you code with a close div and open a fresh one, then the one at the start of this sentence will then close yours

    #186840
    nwbus
    Participant

    Reply from MailChimp Support – I would agree this is a bbPress issue to address..

    “Thanks for contacting us here in Support. I can certainly understand the concern there, and I’m happy to help out in any way I can.

    In your forum post you mentioned that there is no issue when bbPress is not enabled. Based on that information, the issue seems to be related to a plugin conflict rather than an issue with pulling the RSS feed on our end. I recommend contacting bbPress’ support folks to see if they’re able to shed some light on how enabling the plugin will impact the feed. If not, I recommend trying out another plugin that would allow you to add a forum to your site. It’s possible that another plugin would not have this issue. ”

    I replied asking them if they were sure they were not going to help and they came back to me and said:

    “First, I’d like to clarify how MailChimp interacts with RSS feeds. When using an RSS campaign, MailChimp will pull the RSS feed shortly before the campaign’s scheduled sending time. The RSS merge tags pull content from the XML code for the RSS feed. The app cannot alter the appearance of the content in the feed. It will only display what appears in the code. If you’re not able to disable the plugin, it may be a good idea to consider another feed host to generate a URL that can be used in MailChimp.

    While we’re happy to troubleshoot however we can, we’re limited in our support of third party systems. The bbPress plugin is not developed WordPress, but by bbPress Community. They’ll be the best resource on how to troubleshoot any plugin conflicts between bbPress and the site.

    Please don’t hesitate to write back in if there is anything else I can help with, and I’ll be sure to keep an eye out for any replies.”

    The ball is in your court bbPress – can anyone help me please?

    #186837
    Robin W
    Moderator

    Try this

    a.bbp-fourm-link {
    color: #e4e4e4;
        background: #232323;
        padding: 1px 2px;
        margin: 2px 2px;
        line-height: 1.7;
        border-radius: 3px;
    }
    #186808

    In reply to: bbp_after_main_content

    Robin W
    Moderator

    in index, then

    add_action( 'bbp_template_before_forums_index' ,'after_content_hook');

    #186807
    Robin W
    Moderator

    untried, but try adding this to your functions file

    add_filter ('bbp_before_filter_anonymous_post_data_parse_args' , 'rew_remove_mail' ) ;
    
    function rew_remove_mail ($args) {
    	$args ['bbp_anonymous_email'] = true ;
    return $args ;
    }
    #186805
    denrocs
    Participant

    Hi all

    I’m using the ‘Kleo’ WordPress theme on WordPress 4.7.5 and BBPress 2.5.13, and am trying to change the standard links to forums in BBPress as they are too difficult to read currently, specifically the ‘bbp-forum-link’ class.

    What I’m trying to achieve is a background highlight on each link, with rounded corners, plus a little extra space between them using the following code:

    color: #e4e4e4;
        background: #232323;
        padding: 1px 2px;
        margin: 2px 2px;
        line-height: 1.7;
        border-radius: 3px;

    I have also put this image together of what I’m trying – https://imgur.com/OKO9pZ8

    How would I put this code into the custom style.css file of Kleo to stylise these links, please?

    No link to site as it is on my local host (MAMP PRO 4 if that helps)

    Many thanks

    #186804
    dgssaedfrhes
    Participant

    Hi,
    I want to remove “e-mail” field from the replay form of anonymous users.
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php

    I removed the website field and it works, I’m trying now to remove the e-mail field too but because it’s require filed it doesn’t work!
    If i press “submit” nothing happen at all.

    Okay from what I know i should remove this code

    <p>
    <label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    <input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" name="bbp_anonymous_email" />
    </p>

    after that what should I do?! 🙂

    #186782
    dgssaedfrhes
    Participant

    I have wordpress 4.8.1 + bbpress 2.5.13 with fresh installation. No plugin at all. When I click from control panel “All forums” it will redirect me to white blank page.

    What I have tried:
    Re-install the wordpress.
    Re-install bbpress.
    Deleting the whole website and the database and make another one.

    Also if I put the short code of the forum that I made inside any page it will show the forums. but if I clicked on any forum it will show white blank page! Any help here?!

    #186774

    In reply to: bbp_after_main_content

    Robin W
    Moderator

    this <div id=”bbpress-forums”> is used in several places – if you can describe where you want to add, I can probably find the right hook for you.

    Most of the hooks are in the templates, located in

    templates/default/bbpress/

    the main forum uses

    content-archive-forum.php

    which has an action hook of

    ‘bbp_template_after_forums_index’ so if it just the main forum list then

    add_action( 'bbp_template_after_forums_index' ,'after_content_hook');
    #
    would work

    #186767
    jon182
    Participant

    I am trying to add a hook after the <div id=”bbpress-forums”>

    when I try this hook it does not work..

    function after_content_hook(){
      echo "my content";
    }
    add_action( 'bbp_after_main_content','after_content_hook');

    is this hook only available for Twenty Twelve theme?
    can we add a hook after the id=”bbpress-forums” ?

    #186761
    Divvy
    Participant

    True, but not so powerful as this one.

    Does anyone know how to add a link in the badges to archivements tab page?

    I think that we need to change this line of code:
    $badge_output .= get_the_post_thumbnail( $achievement->ID, 'thumbnail', array('title'=>get_the_title( $achievement->ID ) ) );

    #186759
    Robin W
    Moderator

    @nwbus – the way open source software works is that we all try and code not to conflict with each other.

    However with thousands of themes and tens of thousands of plugins, conflict inevitably occurs.

    It is not anyone’s ‘fault’, just a fact of life.

    I don’t know mailchimp, so can’t comment on the issue you are having, but it is worth contacting mailchimp’s support to see if they know of this issue.

    #186758
    Robin W
    Moderator
    #186752
    Divvy
    Participant

    Hey,

    Sorry, I know that this topic have almost 3 years old, but I have a solution.
    I’m going to add here in case there is more people looking for the same.

    I have found this code to place badges (achievements) under user avatar in bbpress:

    add_filter( 'bbp_get_reply_author_link', 'my_append_badges_via_filter', 10, 2 );
    
    function my_append_badges_via_filter($author_link = '', $args) {
    
    	# Needed to get the user ID of the person intended to be displayed.
    	$user_id = bbp_get_reply_author_id( $args['post_id'] );
    	#Construct your output here.
    	$badge_output = '';
    
    	$achievements = badgeos_get_user_achievements( array( 'user_id' => $user_id ) );
    	if ( !empty( $achievements ) ) {
    			$badge_output .= '<div class="achievements">';
            foreach ( $achievements as $achievement ) {
    						if($achievement->post_type != 'badges')
    							continue;
                $badge_output .= '<div class="achievement achievement-' . $achievement->post_type . '">';
                //echo '<h2>' . get_the_title( $achievement->ID ) . '</h2>';
                $badge_output .= get_the_post_thumbnail( $achievement->ID, 'thumbnail', array('title'=>get_the_title( $achievement->ID ) ) );
                //echo __( 'Earned on: ', 'text-domain' ) . date( get_option( 'date_format' ), $achievement->date_earned ) ;
                $badge_output .= '</div>';
            }
    			$badge_output .= '</div>';
      } 
    		
    	return  $author_link . $badge_output;
    }

    To make badge smaller I added this CSS code:

    .achievement.achievement-badges{width:50px;}

    But the code is not perfect. Because is not showing badges only under avatar, is also showing at:
    – forums main page
    – forum page
    – above topic (information bar)

    Would be great too if have:
    – link in badges to archivements tab page

    Can someone help me with this? 🙂

    Thanks!!

    #186735
    u_Oi
    Participant

    Hi,


    @philipjohn

    Try this code in your function file, it shows only the titles (of topics) but no the content.

    //Restrict Topic and Replies Content For No-Registered Users
    function pj_hla_logged_in_topics($have_posts){
    if (!is_user_logged_in()){
    $have_posts = null;
    }
    return $have_posts;
    }
    add_filter('bbp_has_replies', 'pj_hla_logged_in_topics');

    Regards,

    #186715
    sovvyg
    Participant

    fdarn, i am using shortcodes to embed the forums but it doesn’t show on the core pages either. I have tried removing all of the forum shortcodes from the site and this doesn’t seem to make any difference.

    #186709
    Vinod Dalvi
    Participant

    @fdarn Are you using this [bbp-forum-index] shortcode?

    I have tested it on my test site using bbPress version 2.6-rc-3 and it is working fine for me.

    #186707
    Vinod Dalvi
    Participant

    Are you using the shortcode provided by following plugin?

    bbp style pack

    If yes then Could you please contact the plugin author here https://wordpress.org/support/plugin/bbp-style-pack

    #186703
    Vinod Dalvi
    Participant

    It seems to achieve this you have to use plugin like this https://wordpress.org/plugins/cbxuseronline/ and develop some custom code.

    #186698
    Robin W
    Moderator

    probably start here

    Custom Import

    I started with bbpress and a snitz database – here is what I wrote as I went along which whilst you can skip the access database stuff might help you

    Documented import from snitz access database

    #186697
    aleksandar100
    Participant

    Hello,

    Sorry if this question has already been asked.

    I have a WordPress website that has been custom developed on top of the Twenty Twelve WordPress theme. I want to migrate it to a new theme (on the same installation) and have been working out how to transfer the custom features to plugins.

    The final step is the forum and I want to give bbPress a try but have no clue where to begin with. The forum posts are using a custom post type and are stored in the wp_posts table in the database.

    I read about the custom importer, but I am not a developer and kind of got overwhelmed. Is there anyone who has done this before and can perhaps share their process step by step. I should be able to work it out from there.

    Thank you in advance.

    #186686
    Peter Raschendorfer
    Participant

    After further digging into the code I’ve found the principal reason. It makes no difference if a member has created topics or not. The problem is the main query which always queries for posts. The 404 error appears if the user has not created any posts.

    I’ve created a ticket: https://bbpress.trac.wordpress.org/ticket/3161

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