Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 22,026 through 22,050 (of 32,562 total)
  • Author
    Search Results
  • #100480
    Tammie Lister
    Moderator

    Whilst I’m not familiar with the plugin I have another suggestion that you use built in featured images that comes with WordPress. Forgive me if you have other reasons for using that plugin but maybe this will work for you.

    You can add post thumbnails using featured posts like this for instance in functions.php (adjust size according to what you want):

    `if ( function_exists( ‘add_theme_support’ ) ) {
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 210,160, true );
    }`

    Then in the code:

    ` `

    There are many ways to skin the thumbnail cat though this link may help:

    https://codex.wordpress.org/Function_Reference/the_post_thumbnail

    #100476
    cmccarra
    Participant

    No, I don’t think so. These are the only files I have in the child theme:

    – _inc/images/whateverimages…
    – child-functions.php
    – footer.php
    – header.php
    – index.php
    – sidebar.php
    – single.php
    – style.css

    #100438

    In reply to: missing stylesheet

    @mercime
    Participant

    == hmmm I paid for this and get charged monthly somebody please give us the fix. ==
    @dougison WP and BP are free downloads, perhaps you mean you’re paying for your hosting?

    In any case, did you use the auto-install of BP? Then try to upload BuddyPress plugin again via FTP or cPanel. After activating BuddyPress, you should see the bp-default theme when you go to dashboard > Appearance > Themes.

    #100414
    r-a-y
    Keymaster

    There’s a bug in the ‘bp_get_the_profile_field_datebox’ that’s preventing overriding the date field.
    See – https://trac.buddypress.org/ticket/2947.

    @bobsie – To override the year value temporarily, you’ll need to patch /buddypress/bp-xprofile/bp-xprofile-templatetags.php:
    https://trac.buddypress.org/attachment/ticket/2947/2947.001.patch (only lines 457-534 are important).

    Once you’ve made those changes, add the following to your theme’s functions.php:

    `
    function my_datebox_field ($html, $type, $day, $month, $year, $default_select ) {

    // change your max year here
    $year_max = 2013;

    /* Check for updated posted values, but errors preventing them from being saved first time */
    if ( !empty( $_POST ) ) {
    if ( $day != $_POST )
    $day = $_POST;
    }

    if ( !empty( $_POST ) ) {
    if ( $month != $_POST )
    $month = $_POST;
    }

    if ( !empty( $_POST ) ) {
    if ( $year != date( “j”, $_POST ) )
    $year = $_POST;
    }

    $html = ”;

    switch ( $type ) {
    case ‘day’:
    $html .= ‘–‘;

    for ( $i = 1; $i < 32; $i++ ) {
    if ( $day == $i ) {
    $selected = ‘ selected = “selected”‘;
    } else {
    $selected = ”;
    }
    $html .= ” . $i . ”;
    }
    break;

    case ‘month’:
    $eng_months = array( ‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’, ‘October’, ‘November’, ‘December’ );

    $months = array( __( ‘January’, ‘buddypress’ ), __( ‘February’, ‘buddypress’ ), __( ‘March’, ‘buddypress’ ),
    __( ‘April’, ‘buddypress’ ), __( ‘May’, ‘buddypress’ ), __( ‘June’, ‘buddypress’ ),
    __( ‘July’, ‘buddypress’ ), __( ‘August’, ‘buddypress’ ), __( ‘September’, ‘buddypress’ ),
    __( ‘October’, ‘buddypress’ ), __( ‘November’, ‘buddypress’ ), __( ‘December’, ‘buddypress’ )
    );

    $html .= ‘


    ‘;

    for ( $i = 0; $i < 12; $i++ ) {
    if ( $month == $eng_months[$i] ) {
    $selected = ‘ selected = “selected”‘;
    } else {
    $selected = ”;
    }

    $html .= ” . $months[$i] . ”;
    }
    break;

    case ‘year’:
    $html .= ‘—-‘;

    for ( $i = $year_max; $i > 1899; $i– ) {
    if ( $year == $i ) {
    $selected = ‘ selected = “selected”‘;
    } else {
    $selected = ”;
    }

    $html .= ” . $i . ”;
    }
    break;
    }

    return $html;
    }
    add_filter( ‘bp_get_the_profile_field_datebox’, ‘my_datebox_field’, 10, 6 );
    `

    #100407
    manimaranvel
    Member

    I figured out the problem it is because of “bp_core_get_userlink” image path

    #100401
    manimaranvel
    Member

    Just now I have tested the plugin .

    Only the name field is working and avatar is not working proper

    please direct me how to fix this

    #100388
    manimaranvel
    Member

    Thanks for the reply @mercime

    I Will try this and come back If I hava trouble

    #100386
    bobsie
    Member

    Thanks r-a-y
    Sorry I’m new to this side of things.
    I’m taking your sample code and trying to add it to functions.php in my theme.
    I thought I need to take the apply_filters line and add it where the comment is? But that breaks everything. I’m unclear how/when to replace the $variables with actual values?
    Is it possible to give me the sample code complete with variables filled in so that the dateboxes all show the current year and an additional three years ahead. I.e. right now they’d show 2010, 2011, 2012, 2013?

    guigoz
    Member

    If anyone is concerned…

    1) In bp-custom.php

    `function My_Function ($user_id) {
    global $bp;
    $type_member = xprofile_get_field_data( ‘FIELD NAME’, $user_id );
    if($type_member == ‘FIELD VALUE’) {
    return true;
    } else {
    return false;
    }
    }`

    2) Somewhere in your theme to display something to this type of member :

    `
    loggedin_user->id)) : ?>
    HTML TO DISPLAY
    `

    @mercime
    Participant

    @testador thanks for elaborating on what you’ve done so far.
    – Check out the Ride Oregon site in BP.org showcase – https://buddypress.org/showcase/
    – I recall seeing a travel or tourism site here before – http://www.bpinspire.com/

    Re themes, I prefer to create my own themes – either child themes of bp-default theme or use BP Template Pack for a couple. It depends on a lot of factors. Here’s a simple walkthrough for BP Template Pack for reference – https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    Re media plugin, I’ve been using the BP Gallery plugin, (premium) since early 2010 to date. Preference is hosting own media rather than having it hosted at Kaltura/Cincopa servers.

    Good luck

    #100367
    Kingpin JRela
    Participant

    I can’t help you, but can I see your site?

    I’m a suffusion theme user as well.

    http://damatrixstudios.com

    testador
    Member

    @mercime, I agree with everything you say. I’ve installed and tested the BPtemplate pack, as well as others, and experimented with theming.
    I’m looking forward to find good examples of sites using BP as a cityguide. I’ve designed a concept that uses the elements outlined in the original post. Therefore, maybe some readers have experience with one or two points in there, or can think of an example of a site or a plugin that may help.
    Like I mentioned, it is a concept scenario, useful to see what BP users have done in the past, and continue experimenting and learning BP.
    It certainly is not a simple BPWP install. And I’ve been checking up plugins for several months now. Still searching for suggestions and experience that BP users have had with plugins related to the points i made on the original post. Thanks for your comments regarding themes. What has your experience with BP been like? any recommendation on plugins for reviews and media albums? I’ve been checking up the kaltura as well as the cincopa plugins, but still, I’ve not seen many options yet…

    #100363
    @mercime
    Participant

    @ddgdaily – on the Thesis theme, sorry, I don’t use it. I recall some Thesis users a while ago who mentioned getting info from Thesis support forums to get BP compatibility on using the BP Template Pack.

    Why not just backup database tables and server files then go maintenance mode for an hour to test BP in site? Use bp-default theme which has the regular WP template files but souped up for BuddyPress and see how it goes.

    Or, export XML from your site, and install WP with BP it locally in your computer to test it out.

    #100360
    @mercime
    Participant

    @manimaranvel BuddyPress can only be activated once in either the main site or a secondary blog of a WP Multisite installation – there is no BP multisite at this time. If you allowed your members to create own blogs and then want to show the member profile in his/her blog, you can use a plugin – https://wordpress.org/extend/plugins/bp-profile-widget-for-blogs/

    @mercime
    Participant

    99% who help out here in the BP forums are volunteers. On a very rare day, someone might come into the forums and make a long long list of all that they need for a BP site and get spoonfed with all the answers in one go, though I haven’t seen that happen totally. I know you expect answers that’s why you go to the forums but on our end, we expect that you did some research on your own as well. If you want simple BP/WP install, it’s all easy (assuming you have good server). But If you want fully customized BP install, the learning curve is medium high if you’ve got WP experience.
    BP Codex – https://codex.buddypress.org/home/
    BP compatible plugins – https://buddypress.org/extend/

    Back to Woo’s City Guide Theme, I only mentioned that theme because I saw it just before I saw your post here – CITY GUIDE. Also, as I mentioned before in post above, you would need to install BP Template Pack, make necessary changes, and if you have HTML/CSS/WordPress theming knowledge, it’ll be a breeze. You could choose whatever WP theme you want and install BP Template Pack or get a free BuddyPress theme or go for a premium BuddyPress theme with free support.

    testador
    Member

    Have you tried the cityguide wootheme with buddypress?? it seems to be only for regular WP

    testador
    Member

    thankyou, @mercime. It is nice that I got a reply. this forums don’t seem very active. do you know of a more active community?

    I’m checking out the templates, and possible modifications to them. My major problem is the quick posting, as I’d need people to stay in the frontend… still searching. anyone else has tried to make a city guide with Buddypress?

    #100351
    Paul Wong-Gibbs
    Keymaster

    You may not have edited the files, but were they copied into your child theme?

    #100345
    manimaranvel
    Member

    Please somebody tell me is it possible to use the main(activity, members etc..) component in members theme

    #100344
    manimaranvel
    Member

    so sad no response :(

    jianchung
    Member

    Hi @joescars, did you put the ‘404-handler.php’ in your root folder or in your themes folder? I tried putting it in my root folder but on creation of Groups it redirects back to my homepage.

    #100305
    @mercime
    Participant

    @jonnycardel so you want to delete that whole section with the avatar, login, AND logout? Open up sidebar.php https://trac.buddypress.org/browser/tags/1.2.6/bp-themes/bp-default/sidebar.php starting at line 8 where Is_user_logged_in to line 56 with php endif; deals with the avatars, login and logout. If you do not want them, delete the block.

    #100300

    In reply to: convert theme

    @mercime
    Participant

    @pakhermawan that would certainly be an interesting project. Install BP Template Pack plugin and follow instructions on screen. Some BP Codex articles might help you along the way:
    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
    https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    #100286
    Jam
    Member

    I am using Simple Facebook COnnect,. It DOES allow users to connect FB and WP, but I want them to be able to sign up using BuddyPress, not just WP. So when users hit “register” on my BuddyPress theme, there is a connect button, not just when they go to wp-login.

    Any ideas?

    #100282
    @mercime
    Participant

    @jonnycardel if you’re using a child theme of bp-default, then copy over sidebar.php from bp-default theme to child theme folder. If it’s only the Log Out link you want to delete, then delete this line from your sidebar.php
    `<a class="button logout" href="”>`

Viewing 25 results - 22,026 through 22,050 (of 32,562 total)
Skip to toolbar