Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 31,576 through 31,600 (of 32,561 total)
  • Author
    Search Results
  • #39877
    Farms
    Participant

    Hi Guys,

    We’ve made some serious notes and are starting work on some of the larger ones, but here’s one to get you started – a nice, simple, configurable Terms of Service plugin freely available at our BuddyPress Plugins page over at WPMU DEV:

    http://wpmu.org/our-first-buddypress-plugin-terms-of-service/

    Enjoy – and you can also add your own BP plugins there to share with the community should you wish!

    netspencer
    Participant

    Origionally, BuddyPress was designed so the user profiles was one of the blogs…. user.domain.tld.

    and so that would go to todays equivalent of domain.tld/members/user. since that was the case, the theme for those blogs would be the member theme, and to access that users blog the url would be: user.domain.tld/blog. because of this, the users blog would be incorporated into their profile.

    Now, buddypress users profiles are completly unrelated to blogs and reside at a different URL. Therefore, for a user to create a blog, they would make one just like they would on a normal wpmu installation and choose from any installed (and enabled) theme.

    if you want the blogs to be incorperated into the theme, maybe you could modify the member theme into a standard blog theme, name the folder default and don’t enable any other blog templates for the site.

    this way, when a user creates a new blog, your theme (default) will be set for it. and it will load more seamlessly.

    BTW: i don’t think there is a way for u to get the exact theme from the picture and have it work but maybe you can ask someone about that.

    #39875

    In reply to: Blogs Using BP Theme

    sebastianmacias
    Participant

    Does anyone know what would be the best way to get this level of integration of blogs and buddy press?

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

    I found that screenshot here: http://apeatling.wordpress.com/2008/06/12/new-buddypress-theme/

    Thanks,

    Sebastian

    #39871
    halfpint
    Participant

    Ok I got mine working by moving the member-themes folder from wp-content/themes to wp/content as tekkie said above

    #39870
    halfpint
    Participant

    I am geting the exact same error. I will be trying all that has been suggested on here

    #39867

    I would do this by going into /member-themes/buddypress-member/blogs/create.php and doing…

    <?php if ( bp_blog_signup_enabled() ) : ?>
    <?php
    global $bp;
    $blogs = bp_blogs_get_blogs_for_user($bp->loggedin_user->id);
    if ($blogs['count'] != 9)
    {
    bp_show_blog_signup_form();
    }
    else
    {
    ?>
    <div id="message" class="info">
    <?php _e( 'Limit nine blogs per member. If you would like another, please contact an Admin for assistance.', 'buddypress' ); ?>

    </div>
    <?php
    }
    ?>

    <?php else: ?>

    <div id="message" class="info">
    <?php _e( 'Blog registration is currently disabled', 'buddypress' ); ?>

    </div>

    <?php endif; ?>

    Just remember not to overwrite the member theme if you do a BuddyPress update. ;)

    #39852
    jeff-sayre
    Participant

    Hey kennibc-

    I’m glad jjj got you down the path.

    I assume you’re placing this code in the header.php file. The reason that you need to set $bp as global is that without it, a call to the $bp object is out of scope–it has no way to reference the object’s fields.

    Here’s another way to accomplish your clickable image links. This way pulls in the user’s name and not the user’s id.

    <?php global $bp; ?>

    <a href="<?php echo bp_core_get_userurl($bp->loggedin_user->id); ?>blogs/create-a-blog" title="hi" ><img src="<?php bloginfo('template_url'); ?>/images/createblog.png" alt="Create a Blog" /></a>

    Two final notes:

    First, I removed the hspace=”4″ align=”right” attributes from the image tag. You don’t need them. Instead, position the images using CSS.

    Second, I included the title tag within the anchor tag. Replace the text with whatever you want it to say. Although it is a matter of choice among coders, in my opinion it is wise to make a practice of using the title tag. It is an accessibility aid on links and it allows browsers to pop up a nice tooltip when a user positions their browser over an image.

    #39850

    Awesome! Good job! Gonna green light this one.

    You’re welcome. ;)

    #39849
    kennibc
    Participant

    THANK YOU JAMES!

    It got me very close to what was missing. Here is the proper code (I assume since it works)

    <?php	global $bp; ?>
    <a href="<?php echo $bp->loggedin_user->domain; ?>blogs/create-a-blog">
    <img src="<?php bloginfo('template_url'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" />
    </a>

    I had to add the global and get the $bp. Then the call for loggedin_user->domain did the trick with the hard code path following it.

    Thanks James. You got me going in the proper direction. Hopefully others will find this useful when modifying/creating BP templates.

    #39847

    Lets try this? Might be a step backward but I’ll cross my fingers…

    <a href="<?php echo $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">
    <img src="<?php bloginfo('template_url'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" />
    </a>

    #39845
    kennibc
    Participant

    That code is much better, but returns this link in the page:

    http://engage.dearbornschools.org/members//blogs/create-a-blog

    It’s not pulling the user name.

    Any suggestions?

    #39842

    Try…

    <a href="<?php echo get_option('home') ?>/<?php echo MEMBERS_SLUG ?>/<?php echo $bp->loggedin_user->id; ?>/blogs/create-a-blog">
    <img src="<?php bloginfo('template_url'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" />
    </a>

    #39828
    kennibc
    Participant

    I am also trying this with no luck, but I think I am closer… Maybe this is a harder question than I thought since there is no quick reply.

    <a href="http://engage.dearbornschools.org/members/<?php echo ' . $bp->loggedin_user->id' ; ?>/blogs/create-a-blog"><img src="<?php bloginfo('template_directory'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" /></a>

    #39824
    kennibc
    Participant

    Here is a link to a photo of my theme and you will notice the 3 buttons in the upper right. That’s where I need to add these links.

    http://blog.dearbornschools.org/webmaster/files/2009/03/engagehome1.jpg

    Any help would be much appreciated. I am about 3 links away from introducing this to students and letting teachers know they can now make it a requirement that the student maintain a website/blog.

    #39820
    kennibc
    Participant

    Here is what I have for the links, but it is not working:

    <a href="<?php echo ' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog' '; ?>"><img src="<?php bloginfo('template_directory'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" /></a>

    I am no coding guru, can someone please help me with creating 3 links for images:

    One that takes you to the create a blog page

    One for the create a group page

    One for the users profile

    #39793
    kennibc
    Participant

    Thanks Richs0914…

    I did go in there, but it had echo … something or other.

    I was hoping to fins something like

    ><img> My Icon Image</img>

    The “something I don’t know here” is where I am having trouble. The adminbar.php has the links as part of a function I believe with echo before them.

    Any ideas, I cant get the links to work.

    #39783
    Rich Spott
    Participant

    if you don’t know what you’re doing…you could always go into bp-core-adminbar.php and take the code from there and just apply it where you want it.

    bp-core-adminbar.php (in bp-core) has all three of those links already.

    #39760

    In reply to: Avatar Cropping Issues

    I’ve found that customized themes tend to be where the issues with avatar cropping start, and am guilty of this myself.

    It usually comes from one of two things.

    1. A JavaScript error in something you’ve tried to add is causing the JavaScript for the crop tool not to function.

    2. Applying a CSS style to your theme that also ends up encompasing the crop tools position, so that it is out of the visible area of the photo container.

    Donnacha
    Participant

    @jjj

    Good points although I still think that if a user actually uses their blog, they will be aware of the difference between that and their wire. I mean, you have to consciously dip down into your blog, you are clearly no longer in the profile space.

    “Anyone familiar with Twitter doesn’t need help becoming comfortable with what’s going on.”

    Perhaps the comparison with Twitter is a little misleading, insofar as the visitor does not see the Twitter-style box, it is more a “QuickPress on steroids” for the blog owner.

    It is not so much a question of making the blog owner comfortable, rather it is about that box sitting there as a call to action, an inducement to “Just Do It”. We all need a little encouragement sometimes – not having to dive into the dashboard to post will inevitably result in more posts.

    “I think new users would relate more to a photo gallery type of layout than a twitter layout.”

    Photo gallery layouts have the disadvantage of looking like a deflated balloon until the user actually uploads some photos. I suspect that, six months down the road, we are all going to be struggling with the problem of encouraging users to even make their first post, nevermind getting them to upload photos.

    If getting people to use their blogs is going to be the problem, P2 could be the answer.

    #39743
    ngsonst
    Participant

    hi!

    @ezd

    here are some referenzes:

    http://bp-dev.org/phpxref/nav.html?index.html

    https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-component/

    https://codex.buddypress.org/developer-docs/create-a-buddypress-member-theme/

    if i understand you corectly your aim is make a simplified buddypress-home theme or a replacement for the standard home theme. right!? you may be want to take a look here: http://kommune.ngcorp.de – it is my own simplified home theme. i took the orginal home theme and striped it down. only for an example what is possible ;-)

    #39738
    Ezd
    Participant

    Okay thanks, that clears it up a bit. Im not that strong in php but I still managed to build a custom theme in WordPress using the inbuilt template tags.

    burtadsit > Do you know if there’s a similar page with template tags and a description for each tag for BuddyPress / The skeleton theme.

    Like an “Overview” page that maybe looks like this: https://codex.wordpress.org/Template_Tags

    That page helped me so much delveloping my own theme and understanding the function of each tag. :)

    #39736
    felix2009
    Participant

    I’ve deleted evrything, during the lack of good theme’s for both …

    Suc6!

    And Seeya ;-)

    #39735
    rusted
    Member

    hmm… i’m not sure how to explain this. I only want to but post’s into left colum area in buddypress themes. Not user’s post only mine. You know, like those are in default template in wordpress.

    Now i can but widgets into left colum ( post’s and blog’s ) but if i do that theres no “comment” link.So i suppose that i have to modify widgets code?

    Now even im confused :D

    I think this using this as the default theme might confuse the purpose of the wire.

    It’s a good idea to have something similar to this, but I think new users would relate more to a photo gallery type of layout than a twitter layout. Anyone familiar with Twitter doesn’t need help becoming comfortable with what’s going on.

    Again, just my opinion.

    #39729
    Rich Spott
    Participant

    I had this problem too when i attempted to adjust the buddypress-member theme. http://sportsblognet.com/members/rich

    It’s caused by the base.css in the the buddypress-member theme calling

    input, select, textarea {
    width: 100%
    }

    you can either adjust that in the base.css (not recommended)

    or you can place

    #wp-admin-bar input {
    width: auto;
    }

    below the previous call in the base.css, that way it will call the 100% width for other inputs, except for the wp-admin-bar.

Viewing 25 results - 31,576 through 31,600 (of 32,561 total)
Skip to toolbar