Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 23,501 through 23,525 (of 32,561 total)
  • Author
    Search Results
  • #89529

    Thanks for the answers which answered the same question for me. However I don’t get the message in an orange box – cut and pasted the code into widget in my theme but had to take a couple of bits out – do I need to put anything back in?

    <a href="”>

    <a class="button" href="”>

    <?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>

    <form name="login-form" id="sidebar-login-form" class="standard-form" action="” method=”post”>

    <input type="text" name="log" id="sidebar-user-login" class="input" value="” />

    <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="” tabindex=”100″ />

    <?php /* Show forum tags on the forums directory */
    if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>

    #89527
    Nahum
    Participant

    @modemlooper i’ve been starting working with a blog-as-forum theme, basically a QA theme. That could be something you could do. a Forum theme. I’m getting ready to leave the bb forums all together, because I’m not seeing a benefit in forums over a modified community QA theme blog.

    #89523
    Roger Coathup
    Participant

    @johnwinch42

    Yes, you’ll have to either modify the CSS for the BuddyPress page templates, and / or actually modify the template files (PHP / HTML), depending on how much you want to change the default layout.

    Don’t make the changes in bp-themes/bp-default though. Instead, it is best to create your own child theme: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    In the standard setup, the site administrator has to install the themes that will be available to the users for their own blogs. I don’t know if this can be overridden to allow the users to install their own themes directly.

    #89522
    lenasterg
    Participant

    If you want to display both usernames and display names you can use this version in your theme’s functions.php:

    /*Display Username and display name in Directory */
    function my_member_username() {
    global $members_template;
    if ( empty($members_template->member->fullname) ) {
    $members_template->member->fullname = $members_template->member->display_name;
    }
    $toReturn =$members_template->member->fullname .’ @’.$members_template->member->user_login;
    return $toReturn;
    }
    add_filter( ‘my_member_username’, ‘wp_filter_kses’ );
    add_filter( ‘my_member_username’, ‘stripslashes’ );
    add_filter( ‘my_member_username’, ‘strip_tags’ );

    add_filter(‘bp_member_name’,’my_member_username’);

    #89515
    John
    Participant

    @rogercoathup as you can see I use the term template/theme to talk about the same thing.
    Thanks you for the correct utilization of the term.

    Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.
    => So I’ll have to modify the template of the buddypres pages ? This mean the css “attached” to each buddypress pages. this way I could have a network who look totally different than the main blog.

    Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.
    => The users can choose by themselves the theme for their blog, no ?

    Best regards,

    #89514
    alex
    Participant

    if u don`t manage to rezolv your problem and u are tiered u can come at http://www.five-games.com and take a moment to relax by plaing one of the 4000 free online games ! is safe for kids too . hope to see u all there !
    website is willing to do link exchnage . and if u come u can get games and have them posted on your blog for your friends to play !

    regards

    #89497
    Roger Coathup
    Participant

    @johnwinch42 – I think it is a terminology problem:

    Each page in a WordPress / BuddyPress site can have it’s own template, so for example a template for posts (single.php), for categories (archive.php), etc.. You can even specialise it further, so that different types of posts have different templates and so on.

    BuddyPress extends WordPress in the same way, adding new template files for groups, activity, members, profiles, etc.

    A theme is a collection of template files, CSS, and javascripts, that are used together to give your site its design, look and feel.

    A BuddyPress site typically has one theme that contains the template files for both the main blog and the social network parts. Although it’s one theme, you can style each part uniquely (e.g. the main blog and social network can look different), because you have different templates within that theme for each part of the site.

    Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.

    Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.

    alcina22
    Participant

    thank you hnla for you kind answer! and for the link too, interesting :)
    I think you have right it’s not very important the home-seo-thing! but, I have yet a custom header.php in my theme, so maybe I’ll change the string… now you have reassured me, and try costs nothing ;)

    thank you again, ciao!
    alcina

    #89493
    John
    Participant

    @rogercoathup Thanks you very much for taking some of your time to help me !

    You can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)
    => They must use the same theme ? Can’t I attribute a different theme to the buddypress pages ? I’ve read it’s possible to attribute themee to category, even posts, isn’t it possible to attribute a template only to the buddypres pages ? (activity, members, etc…)

    Best regards,

    r-a-y
    Keymaster

    I forgot to mention that this won’t fix existing blog posts in the activity stream.
    See if new posts work.

    FYI, if you’re going to be making changes to the bp-default theme, it’s better to create a child theme:
    https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    zanzaboonda
    Participant

    @pcwriter

    Okay, I feel like a schmuck but I can’t seem to get this to work! I am using the MyBuddyPress child theme of the default, and whether I copy/paste all the code into a file called forums-loop.php and put it in the child theme folder or if I enter the code before the loop in the BuddyPress default theme files, nothing happens. :(

    Am I doing something wrong? I’m so confused and I really need this to work.

    I tried the s2Members plugin and it worked okay but I had some issues with it. Does anyone have any suggestions for me? I would be so happy if you do.

    Thanks and best wishes,
    Kristen

    #89478

    In reply to: EventPress

    PJ
    Participant

    @kunalb @johnjamesjacoby I get this error message in the wp admin side:”The plugin generated 294 characters of unexpected output during activation. If you notice ‘headers already sent’ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.” … I did but it keeps occurring.

    Also, it pushes my “Jooc” theme header down when I click on the Events link: http://i34.tinypic.com/15dnmnb.png and the word “Called” appears in the upper left of the screen. Anyone know how I can overcome this minor issue? Thanks. If I overcome this I’ll use it on my live site! :)

    #89477

    In reply to: Hide Number of Friends

    PJ
    Participant

    Are you asking if there is a way to have a user’s friends only available to him or her? Adult dating sites and consulting groups/companies find the end users like a layer of privacy that doesn’t let site users see their friend connections. I dont know if it can be done in buddypress.

    You could go line by line through the theme to remove pages that display friends, but I’ve never tried to see if it would work.

    #89473

    In reply to: Plugins required

    modemlooper
    Moderator

    I’d use post types instead of using custom fields for using as a shop. Custom fields was the old way but now that post types are available it’s better to use those. You can create admin panels that are user friendly.

    I’m creating a theme for ‘eshops’ that use post types. Basically a BuddyPress version of etsy.

    Tatiana
    Participant

    well… I added the code to the functions.php in bp default theme…(I use 1.2.5.2 ) …nothing happened. Where this function will be called? maybe it should replace something, not to be just added? is there a specific spot in the functions.php where to put it? I place it here, in between these two, that were mentioning the activity stream:

    /* Hijack the saving of page on front setting to save the activity stream setting */
    function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
    if ( !is_admin() || !is_site_admin() )
    return false;

    if ( ‘activity’ == $_POST )
    return ‘activity’;
    else
    return $oldvalue;
    }
    add_action( ‘pre_update_option_page_on_front’, ‘bp_dtheme_page_on_front_update’, 10, 2 );

    /* added function */

    function my_bp_blogs_record_activity_content( $bp_excerpt, $content ) {
    return $content;
    }
    add_filter( ‘bp_blogs_record_activity_content’, ‘my_bp_blogs_record_activity_content’, 1, 2 );

    /* Load the activity stream template if settings allow */
    function bp_dtheme_page_on_front_template( $template ) {
    global $wp_query;

    if ( empty( $wp_query->post->ID ) )
    return locate_template( array( ‘activity/index.php’ ), false );
    else
    return $template;
    }
    add_filter( ‘page_template’, ‘bp_dtheme_page_on_front_template’ );

    Sorry for being such a dummy, I am not a pro, just an end user..

    #89467
    intimez
    Participant

    Did you go to Appearance – BP Compatibility and then go through all steps to final page?

    #89458
    Roger Coathup
    Participant

    @john:

    Your option 1 is a standard BuddyPress install structure. (although themainblog is probably better referred to as sitename)

    Your second option is in two parts – nameofablog.sitename.com is again the standard BuddyPress / WP subdomain install.

    buddypress.sitename.com/members/ does not fit in though. It would be http://www.themainblog.com/members as per your option 1.

    Each blog can have their own theme. The BP admin bar can be shared across the top of all blogs, or removed on a blog by blog basis (a call in the blog’s template file – functions.php)

    So, to summarise, the standard BP / WP subdomain install is:

    http://www.sitename.com – the main blog
    http://www.sitename.com/members (etc.) – the social network elements – profiles, directories, etc.
    anotherblog.sitename.com – a member’s or other blog on the site

    You can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)

    Each additional blog can have it’s own completely independent theme

    The admin bar can be shared across the top of all blogs

    Hope that helps, Roger

    bb32
    Participant

    Try http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/
    I got it to work. Just download the zip file towards the end of the post and follow the instructions.

    #89455

    @hnla

    noted! Thank you! sorry about that!

    #89454

    hey yea thanks I tried that… I have it installed but when I try and click on My account or anything really on the main page is just goes to an “Not found “Page. I looked over all my stuff time after time making sure I wasnt missing a step or messing up my perma linking…. cant seem to get it!

    #89445

    In reply to: bp_nav item values

    erikshosting
    Member

    Anyway. Now that its all said and done. I’m still upset I cant affect the ‘posts’ bp_nav tab. I’ve got it down, I change the of any other tab and it works. just not the ‘posts’ tab.

    I have tried this in a /plugins/ file, a /mu-plugins/ file and the child theme functions… no luck.

    function erocks_change_bp_tag_position()
    {
    global $bp;

    $bp->bp_nav = 10;
    $bp->bp__nav = 20;
    $bp->bp_nav = 35;
    $bp->bp_nav = 40;
    $bp->bp_nav = 50;
    $bp->bp_nav = 60;
    $bp->bp_nav = 70;
    $bp->bp_nav = 80;
    }
    add_action( ‘bp_init’, ‘erocks_change_bp_tag_position’, 999 );

    #89441
    kaspr007
    Member

    Bingo. Default BuddyPress theme makes the “Join Group” button work. I totally forgot to put the default theme on. I’ve turned the “Early Morning” theme back on now.

    How would I go about figuring out what the problem is? Any suggestions?

    r-a-y
    Keymaster

    Notice how I’m linking to a specific post in the thread, rather than the beginning?

    The post I’m linking to should allow you to override the BP-truncated excerpt with the original content.
    I’ve updated the post above with a direct link to the code I’m referring to.

    Add the snippet to your theme’s functions.php.

    #89426
    rayd8
    Member

    I found this fix and it appears to be working for me:

    1. Open the index.php, save it to your theme as posts-page.php (or whatever template name you like).
    2. Edit the newly created posts-page.php file and place the following at the top to create a page template:

    `<?php
    /*
    Template Name: Posts Page
    */
    ?> `

    3. Now scroll down in the posts-page.php to the beginning of the WordPress loop and just before the line “ add this one line of code “ Note: (5 == the number of post to show you can change this to whatever you want.)
    4. Save the posts-page.php file.
    5. In your WordPress/BuddyPress admin panel create a new page called “Blog” (or something similar) and select “Posts Page” under Template.
    6. Publish page.

    You should now be able to go to your Settings -> Reading menu and set a static page and select your Posts Page to show your blog posts.

    #89423
    kunalb
    Participant

    @Mark: What kind of folder structure do you have? I had to do some trickery to pick up theme files from the plugin itself, without copy/pasting anything, and that seems to be causing a problem on your install.

Viewing 25 results - 23,501 through 23,525 (of 32,561 total)
Skip to toolbar