Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 35 total)
  • Avatar of Tecca
    Tecca
    Participant

    @tecca

    WangGuard is a great plugin. I had about a dozen spam registrations every day before installing it. With it installed, I haven’t yet gotten a spam registration.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    The easiest way I can think of is to copy the needed files over from the BuddyPress plugin (members/single/something.php), and place them into your theme, removing its contents or placing a redirect into the files.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Here’s a great example of a large WP/BuddyPress/bbPress-made community:

    http://tamrielfoundry.com/

    I have a couple of sites I’m working on myself, though they’re not good examples as I haven’t fully completed them and zero advertising has gone in as of now (though they are live).

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    That’ll do it for ya. Sorry if my post wasn’t as clear as it should have been — I personally need to edit every file when I create my bbPress themes.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Put the bbPress theme files into your WordPress theme directory:

    wp-content/themes/yourtheme

    In yourtheme/css place the bbpress.css file
    In yourtheme/bbpress, place all of the files you need to edit. Most of them (I believe):

    bbpress/content-archive-forum.php
    bbpress/content-archive-topic.php
    bbpress/content-search.php
    bbpress/content-single-forum.php
    bbpress/content-single-reply.php
    bbpress/content-single-topic-lead.php
    bbpress/content-single-topic.php
    bbpress/content-single-user.php
    bbpress/content-single-view.php
    bbpress/content-statistics.php
    bbpress/content-topic-tag-edit.php
    bbpress/feedback-logged-in.php
    bbpress/feedback-no-access.php
    bbpress/feedback-no-forums.php
    bbpress/feedback-no-replies.php
    bbpress/feedback-no-search.php
    bbpress/feedback-no-topics.php
    bbpress/form-anonymous.php
    bbpress/form-forum.php
    bbpress/form-protected.php
    bbpress/form-reply-move.php
    bbpress/form-reply.php
    bbpress/form-search.php
    bbpress/form-topic-merge.php
    bbpress/form-topic-split.php
    bbpress/form-topic-tag.php
    bbpress/form-topic.php
    bbpress/form-user-edit.php
    bbpress/form-user-login.php
    bbpress/form-user-lost-pass.php
    bbpress/form-user-register.php
    bbpress/form-user-roles.php
    bbpress/loop-forums.php
    bbpress/loop-mysingle-topic.php
    bbpress/loop-mytopics.php
    bbpress/loop-replies.php
    bbpress/loop-search-forum.php
    bbpress/loop-search-reply.php
    bbpress/loop-search-topic.php
    bbpress/loop-search.php
    bbpress/loop-single-forum.php
    bbpress/loop-single-reply.php
    bbpress/loop-single-topic.php
    bbpress/loop-topics.php
    bbpress/pagination-replies.php
    bbpress/pagination-search.php
    bbpress/pagination-topics.php
    bbpress/user-details.php
    bbpress/user-favorites.php
    bbpress/user-profile.php
    bbpress/user-replies-created.php
    bbpress/user-subscriptions.php
    bbpress/user-topics-created.php

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    BP Default still comes packaged with BuddyPress, and it will for a while until it’s phased out. By then we’ll be seeing the theme on WordPress.org, though I believe there’s one already up.

    Add this to bp-custom.php to have it show in your WordPress appearances:

    add_filter( 'bp_do_register_theme_directory', '__return_true' );

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    I think we’re a bit confused because this is a native feature of one of BuddyPress’ default components. In Admin CP -> Settings -> BuddyPress Components you find one called Account Settings.

    Allow your users to modify their account and notification settings directly from within their profiles.

    The link should be, though there should be a tab in the profile itself:

    http://example.com/members/USERNAME/profile/edit/

    Replace example and USERNAME.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Yep. Though be sure to add the php tags in the file. So:

    
    <?php
    function custom_wp_mail_from( $email ) {
            $handle = 'laurentdesserrey';
    	$find = 'http://'; 
    	$replace = '';
    	$link = get_bloginfo( 'url' );
    	$domain = str_replace( $find, $replace, $link );
    	return $handle . '@' . $domain ;
    }
    add_filter( 'wp_mail_from', 'custom_wp_mail_from' );
    ?>

    Paste that into a file and you’ll be good to go.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Create a file called functions.php for your child theme. It’ll use the same name. What the quote above means is that the functions within that file should be named differently within the files (so you wouldn’t use the same two functions in both files, as it’ll cause problems).

    Since this code isn’t in your bp-default functions.php, you’re fine to paste it in your child theme’s functions.

    Or if you use Theme My Login, you don’t need to do this and can customize the emails.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    With the latest BuddyPress, you can simply add the My Profile link directly from the menu in your admin CP. Or am I reading what you want incorrectly?

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Does this plugin require the friend connections to function? If not, you can just disable the setting in your Admin CP. Settings -> BuddyPress -> untick “Friend Connections” in the Components tab.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    That works as well. Though I’m always skeptical about all browsers using the second property out of two identical selectors, so I end up using priority in other ways.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Also remember that CSS has priorities. Even if important! isn’t present, you can override CSS by being more specific, thus giving it a higher priority.

    Example. When viewing a user’s activity page:

    form#whats-new-form {
        width: auto;
    }
    .activity form#whats-new-form {
        width: 700px;
    }

    The second selector’s property would cancel out the first because it’s more specific.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    I found rtMedia to be great when I was testing it. I know you mentioned it’s not working, but it’s honestly the most quality media plugin I’ve found for BuddyPress. I think if you’re having this many problems with plugins, you might want to see if it’s your theme that’s causing these errors. Otherwise if you find other plugins, those may not work as well.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    You can do this by creating your own theme. For this to become core, I don’t see it happening. There’s just too much information to be shown on one page. Though if you provide some sort of mockup, that might give it a better chance of being considered.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Ah, sorry about that. I misread your question.

    This StackOverflow answer is perfect for your needs: http://stackoverflow.com/questions/13795283/fixed-header-while-scroll

    You basically need to use Javascript to do something like this, else your shadow will always show up.

    You can put that Javascript either in <script> tags in your template’s header.php or put it in a file and enqueue it in your functions.php

    Basically, change #my_fixable_table_header in the javascript to your own id, which would be #header #searchbar and change the myHeader.addClass(‘fixed’) to something like myHeader.addClass(‘scroll-shadow’)

    Add a class to your CSS called .scroll-shadow (which you’re now adding a class for based on your scrolling) and put your box-shadow in there. Make sure to remove it otherwise from your #header #searchbar.

    You can check the answer in that link to see a working example to toy around with.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    It seems to be working on my end with the latest versions of Firefox, IE, Chrome, and Opera. Are you still experiencing this problem?

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    I suppose it’s because Facebook, in many ways, does things right. I’m not on board with having a FB copy by any means, but some of their features are nice. Though I think many of those features should be left to plugins rather than being in core.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Have there been enough people to have a nice amount of data? I took the survey on the first day. Looking forward to more in the future.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    That works to add a tab, but I think the idea here is to show posts within the author’s BuddyPress profile.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    @rimoreno, I’m not sure if you’re willing to pay — especially since you just want one feature — but WP User Frontend allows something similar to this if you build a registration form (the free version doesn’t have the feature). The plugin might be useful to you for other reasons as well. I’ve been using it and I’m really happy with it:

    http://wedevs.com/plugin/wp-user-frontend-pro/

    There is likely an easier and free method of doing so, though I don’t have the time to dig around at the moment. Hopefully someone else can chime in on that.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    While this may not fall into your category of ~$20, it seems like the best one that I’ve seen — if these are the types of features you need. It’s $30 for a membership, but you get access to all of the plugins on the site.

    http://buddydev.com/plugins/buddypress-facebook-connect-plus/

    I cannot personally vouch for it, as I’ve never tried it. Seeing that it has the ability to import all sorts of Facebook data into your own BP fields looks great, though.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Ah, so that’s the reason. The if statement will work. Something like:

    <?php if(is_front_page() ) { ?>
        <style type="text/css">
            div.nav-wrap {
                height: 300px;
            }
        </style>
    <?php } ?>
    Avatar of Tecca
    Tecca
    Participant

    @tecca

    Is this because you want it to be inline with the “Inspire. Act. Succeed,” headline? If so, you can do something like this:

    .nav-wrap h6 {
        position: absolute;
        margin-top: -45px;
    }

    Use “positon: relative;” if you want all of the letters to stay inside of the brown background.

    If you need to change the height of the nav-wrap only on the homepage, I think the best thing to do is to add the <style> tags in your homepage’s template and add higher priorities for your classes.

    Avatar of Tecca
    Tecca
    Participant

    @tecca

    The problem is most likely because you don’t have a loop-archive.php. What I did instead was change some of the code to suit what I had prior: an author.php file that was already styled the way I wanted.

    In the plugin:

    function profile_screen_posts_show() {
    $theuser = bp_displayed_user_id(); 
    query_posts("author=$theuser" );
    if ( have_posts() ) :
    get_template_part( 'loop', 'archive' );
    else: ?>
    <div id="message" class="info">
    		<p><?php _e( 'Sorry, this user has not published any posts.', 'buddypress' ); ?></p>
    	</div><?php endif; ?>    <?php
    } 

    I changed it to:

    function profile_screen_posts_show() {
    query_posts( 'author=' . bp_displayed_user_id() );
    	if ( have_posts() ) :
    	get_template_part( 'author' );
    else: ?>
    	<div id="message" class="info">
    		<p><?php bp_displayed_user_username(); ?> has not published any articles or reviews. Want them to? Send a message or leave a wall post!</p>
    	</div>
        <?php endif; ?>    <?php
    }

    You’ll see in there: get_template_part( ‘author’ );
    – change “author” to whichever template part you want to call. Most installs, I believe, will have an archive.php file, so use archive.

Viewing 25 replies - 1 through 25 (of 35 total)