Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 27,176 through 27,200 (of 31,072 total)
  • Author
    Search Results
  • #54960
    Nightlyfe
    Participant

    Cant wait to test! Keep us posted, jjj.

    #54946
    flynn
    Participant

    Wow.

    Talk about timely and helpful responses, you’re a hero!

    Thank you for your detailed explanation. I’ve been working away at the theme, but i have another quick question: The code there, what file should I put it in? Having a bit of trouble tracking down where to stick it.

    Thanks for your help!

    ~ Aaron

    #54942

    In reply to: Settings gets 404

    stc-043
    Participant

    Hey @socialpreneur could you share how you modified the theme? Really liked your implementation?

    #54938
    Anonymous User 96400
    Inactive

    You should never modify the parent theme. When you update buddypress and with it the parent theme all your modifications will be lost.

    A good tutorial source for PHP and WP is net.tutsplus.com. And of course the codex here and on wordpress.org. As for writing functions, you do that exactly like I referenced in the comment above.

    #54936
    Jeff Sayre
    Participant

    Make sure that you have moved the default BP parent-child theme files into /wp-content/themes/. That means that the “bp-default” and “bp-sn-parent” folders should reside right under the /themes/ directory.

    Then make sure that you have activated them as described in point 5 of the section entitled “Installing BuddyPress” in the link you provided above.

    #54931
    ex1234
    Member

    Same thing here. Downloaded latest WPM (version 2.8.4a) and installed. Next up I installed BP. Followed the instructions here: https://codex.buddypress.org/getting-started/setting-up-a-new-installation/ to the letter, but now have the following showing under Buddy Press->General Settings:

    Your currently active theme is not BuddyPress enabled.

    Visit https://buddypress.org/extend/themes/ to browse themes that include support for BuddyPress features.

    Regs.

    #54929
    Sven Lehnert
    Participant

    I don’t know, but for me it looks like this could be the same error I have with the forum directory.

    I posted my question hire, but no replay till now.

    https://buddypress.org/forums/topic/bp_has_site_groups-typemost-forum-topicsmax6-outside-the-directory-forums

    #54925
    Detective
    Participant

    I decided to release the theme. More news this weekend :)

    Paul Wong-Gibbs
    Keymaster

    It needs to be loaded before the bp-core.php file is. AFAIK that is either wp-config.php, /plugins/bp-custom.php and I suppose a plugin that loads before BuddyPress.

    #54914
    madyogi
    Participant

    Alright, this is starting to congeal. Only thing is, I”m about 80% confident with what you’re saying regarding the creation of actions in the functions.php file and those actions hooking into a do_action call in the parent theme.

    2 questions:

    1) If I create an action in the child functions.php that does not exist in the various templates of the parent theme, is it better practice to fiddle with the template file(s) of the parent theme, adding the do_action call there, or to move the template file to the child theme before making any changes?

    2) Do you or anyone else have any suggestions for references a semi-savvy-newbie might use to gain a more complete understanding of how to write actions in the functions.php file? I assume there’s some fairly complete documentation in the wordpress codex, but perhaps there’s a link or two to some nice tutorial-type blog entries? I probably need to spend some more time with PHP coding anyway :-)

    Thanks everybody.

    Russ Williams
    Participant

    We are talking the only wp-config.php file that exists on the root level correct? I’m assuming that it can be added in anywhere?

    #54912
    Anonymous User 96400
    Inactive

    Most of the do_actions you find within the default theme don’t have any actions hooked to them. I guess they are mostly there for plugins and for child themes.

    Yep, any template file you copy from the parent theme to the child theme overrides the one in the parent theme. With all these actions, though, you won’t need to do that much. Say you want to add a terms of service checkbox to your register page. So, rather than copying registration/register.php to your child theme and adding the checkbox manually, for example, you could just write a function in your child theme functions.php that hooks into a do_action call at the end of the form and adds a terms of service checkbox for you.

    Makes it really easy updating the parent theme.

    To find out what an action does, if anything, just copy the name of the action and do a search with it in the buddypress plugin folder. That should list you all functions that are hooked to that action (add_action).

    #54911
    madyogi
    Participant

    Secondarily, regarding the actions in BuddyPress, what are the effects of leaving out an action that is found in the default theme? Say, for example, leaving out:

    <?php do_action( 'bp_before_search_login_bar' ) ?>

    and then

    <?php do_action( 'bp_after_search_login_bar' ) ?>

    Finally is there some reliable documentation detailing what these actions actually do within the theme/template/plugin?

    Thanks again!

    #54910
    madyogi
    Participant

    Thanks so much for the reply, travel-junkie! Very helpful. One question, though:

    You said:

    The best way to start with a theme for BP is to start off with the bp-default theme. Then copy files across from the bp-sn-parent theme if you need to modify a file. If not, then you can leave that file in bp-sn-parent, cause WP will get that automatically for you.

    From what I’ve read about parent/child relationships, the only files that are functional in child themes are style.css and functions.php. Has this changed in 2.8? Am I able to override parent template files by placing a revised template file in my child theme’s directory?

    #54909
    Anonymous User 96400
    Inactive

    The best way to start with a theme for BP is to start off with the bp-default theme. Then copy files across from the bp-sn-parent theme if you need to modify a file. If not, then you can leave that file in bp-sn-parent, cause WP will get that automatically for you.

    Of course, you can add all the functions later. The codex here is a great starting point on what functions are available to you. You can also go through the bp-sn-parent theme and have a look what’s in there and move it across, if you don’t want to use a parent/child theme structure.

    You can place div#search-login-bar anywhere you like.

    do_action functions cannot be reversed. They happen at exactly that spot in the template files. There’s so many, though, that you won’t have a problem finding one that suits your needs. Basically, you can write some custom functionality and add that to a certain hook by calling the add_action function. Here’s an example.

    Somewhere in a template you might have this:

    do_action( 'your_action_name' );

    Then in your theme’s functions.php file you could put the following:

    function your_function_name()
    {
    //some stuff happens here
    }
    add_action( 'your_action_name', 'your_function_name' );

    That’s basically it. Sometimes the action passes along a variable with which you can then work.

    Hope this helps you along a bit. The codex at wordpress.org is pretty extensive as well and you’ll find loads of stuff on actions.

    #54908
    abcde666
    Participant

    Hi Marius,

    Do you have a Demo-website online to test your plug-in ?

    Another thing: is there a chance to have something like the following, but not on a Group-Blog, but just a normal User-Blog ?

    https://apeatling.files.wordpress.com/2008/06/blog.jpg

    Many thanks,

    #54907
    Mariusooms
    Participant

    I answered this in another post, https://buddypress.org/forums/topic/new-blog-theme-available-for-the-groupblog-plugin, however that addresses only the dashboard link.

    If you would like to also display additional links, e.g. new post, edit posts, new page, edit pages, new link, etc. Send me a pm message and I will send you a drop in code for both your buddypress group template and bp-groupblog theme template.

    It is almost the same as the code mentioned in the post above, but also pulls in user roles and set some conditional values based on that.

    #54906
    abcde666
    Participant

    yeah, but it is awesome that the Blogs are internal and directly visible at the page and not linking to an external-Blog-page as we do have currently.

    Also, as you say it it same same theme, not the ugly WP-theme or any other.

    This makes the page a coherent system.

    This is actually the solution I have been looking for !

    #54905
    Mariusooms
    Participant

    Does the bp-groupblog have support for child themes? If so, can I copy my BP child theme, set it as a child theme for Group Blogs, and (hopefully) not have to re-theme bp-groupblog?

    It has support for child themes, however in order for buddypress group related content to show you will need to set some function to pull in the group id. It should not be hard for you to adjust your bp child-theme. Just make a copy of it and do a quick study of the groupblog theme on how I pull in the group id belonging to the blog.

    The readme instructs custom bp-groupblog themes to be put into the BP child theme folder and modified. Is there a bit more specific info on that?

    If I understand you correctly, this has to to do with the theme pages that actually load inside the group component. Namely the two files blog.php and blog-latest.php. Both are loaded within the group context. Also both these files use the bp template plugin to make installing the plugin easier. However, if you wish to customize this, I encourage to move that folder to your active buddypress theme and adjust them as necessary.

    So, just to be clear, these two files are not related to the blog theme, but belong to the group and active buddypress theme.

    is there a way to add a link to the group’s blog’s dashboard under the “Blog” link the group side bar?

    Sure there is, something like this might work:

    <?php if ( bp_group_is_member() ) :?>

    <?php
    if ( get_groupblog_blog_id() ) {
    $blog_details = get_blog_details( get_groupblog_blog_id() );
    } else {
    global $current_blog;
    $blog_details = get_blog_details( $current_blog->blog_id );
    }
    ?>

    <a href="<?php echo bp_core_get_root_domain() . $blog_details->path ?>wp-admin"><?php _e('Dashboard', 'buddypress') ?></a>

    <?php endif; ?>

    This checks the member is part of the group. Then get the blog id and parse it in to get the blog details. Alternatively if we are on a blog page we pass in the current blog id. Now we can use that to fetch the blog path. So wether you are on a group page or a blog page the link should always point to the dashboard, but only show for members of the group.

    You can further enhance this code to pull in the user role and show post links depending on their role cap.

    Let me know if you need more help…I will do my best to help when I can.

    Looking at this code, we may actually create some more template functions to make constructing relevant blog links easier, but go ahead if you feel comfortable with juggling some code around.

    #54904

    In reply to: 'empty' group members

    Mark
    Participant

    @DJPaul, thanks for the feedback and the info you offer. My basics:

    1. wpmu 2.8.4a

    2. subdomain

    3. n/a

    4. upgraded WPMU regularly since 2.7

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? yes

    6. BP 1.1.1

    7. Did you upgraded from a previous version of BP? last week when the current version was released.

    8. Do you have any plugins other than BuddyPress installed and activated? Yes, 2 were activated on the main admin when and since this has occured:

    a. Group Forum Subscription for BuddyPress

    b. BP Groupblog

    In mu-plugins directory:

    akismet-credit-inserter

    akismet

    sitewide-tags

    wordpressmu-favicon

    9. Are you using the standard BuddyPress themes or customized themes? Standard

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Using built-in bbPress

    13. The errors that occurred during the period these member place holders ’empty’ were created are at the link. The IDs # were different. With bp-groupblog activated this error is generated any time any group is visited (the group doesn’t need to have a groupblog). Prior to this ‘event’, Groupblogs were activated when members joined other groups without any ’empty’ members being added to the group:

    https://wordpress.org/support/topic/319417

    Some blogs (not home blog) have feedwordpress plugin activated. It’s use generates errors/warnings. The ‘Failed to fetch’ started yesterday and the plugin is no longer functioning. Neither of these errors are logged around the time the ’empty’ members were added to groups:

    [20-Oct-2009 17:15:32] PHP Warning: Illegal offset type in /home/xxxx/public_html/wp-includes/rss.php on line 1459

    [20-Oct-2009 17:34:20] MagpieRSS: Failed to fetch (HTTP Error: <url> malforme)

    #54903
    flynn
    Participant

    On themes,

    Does the bp-groupblog have support for child themes? If so, can I copy my BP child theme, set it as a child theme for Group Blogs, and (hopefully) not have to re-theme bp-groupblog?

    The readme instructs custom bp-groupblog themes to be put into the BP child theme folder and modified. Is there a bit more specific info on that?

    Also, as I got a bit ahead of myself and posted in troubleshooting, is there a way to add a link to the group’s blog’s dashboard under the “Blog” link the group side bar? It seems the blog’s “My Sites” menu options only show up to contributes (default role of group members) after they have visited the group blog dashboard once. While not the end of the world, it might be confusing for less tech-savvy members.

    Thanks for all your hard work! This plugin is a major hit for our network

    ~ Aaron

    #54902
    stc-043
    Participant

    Hey jjj has the porting process completed? Im very excited and would love to help you out (although im not a coder )!

    #54900
    Bowe
    Participant

    It doesnt have to be exactly like this.. just a wordpress theme that has a look that suits with the normal BuddyPress layout.. I’ll try to look into this, and hopefully I can make something, but some help would be needed!

    #54899
    abcde666
    Participant

    the theme per your screenshot is very very nice.

    Sad that this is gone.

    Anyone able to replicate ?

    #54898
    Bowe
    Participant

    Does that mean that it’s extremely complicated to make something like this, or would it mean massive amounts of hacking/extending the existing core? I still think a lot of users would love to see this happening and it’s not showing up on the roadmap or anything :)

Viewing 25 results - 27,176 through 27,200 (of 31,072 total)
Skip to toolbar