Search Results for 'theme'
-
AuthorSearch Results
-
March 13, 2009 at 12:40 am #39877
In reply to: Theme and plugin requests
Farms
ParticipantHi 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!
March 13, 2009 at 12:33 am #39876netspencer
ParticipantOrigionally, 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.
March 13, 2009 at 12:33 am #39875In reply to: Blogs Using BP Theme
sebastianmacias
ParticipantDoes 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
March 12, 2009 at 11:29 pm #39871halfpint
ParticipantOk I got mine working by moving the member-themes folder from wp-content/themes to wp/content as tekkie said above
March 12, 2009 at 11:17 pm #39870halfpint
ParticipantI am geting the exact same error. I will be trying all that has been suggested on here
March 12, 2009 at 9:11 pm #39867In reply to: Limit Amount of blogs a user can register
John James Jacoby
KeymasterI 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.
March 12, 2009 at 8:15 pm #39852In reply to: Really Simple – Adding Link to theme – Need Help
jeff-sayre
ParticipantHey 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.
March 12, 2009 at 8:03 pm #39850In reply to: Really Simple – Adding Link to theme – Need Help
John James Jacoby
KeymasterAwesome! Good job! Gonna green light this one.
You’re welcome.
March 12, 2009 at 7:58 pm #39849In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantTHANK 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.
March 12, 2009 at 7:46 pm #39847In reply to: Really Simple – Adding Link to theme – Need Help
John James Jacoby
KeymasterLets 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>March 12, 2009 at 7:39 pm #39845In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantThat 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?
March 12, 2009 at 6:24 pm #39842In reply to: Really Simple – Adding Link to theme – Need Help
John James Jacoby
KeymasterTry…
<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>March 12, 2009 at 3:53 pm #39828In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantI 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>
March 12, 2009 at 2:22 pm #39824In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantHere 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.
March 12, 2009 at 1:36 pm #39820In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantHere 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
March 12, 2009 at 12:11 am #39793In reply to: Really Simple – Adding Link to theme – Need Help
kennibc
ParticipantThanks Richs0914…
I did go in there, but it had echo … something or other.
I was hoping to fins something like
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.
March 11, 2009 at 8:44 pm #39783In reply to: Really Simple – Adding Link to theme – Need Help
Rich Spott
Participantif 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.
March 11, 2009 at 2:31 pm #39760In reply to: Avatar Cropping Issues
John James Jacoby
KeymasterI’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.
March 11, 2009 at 1:03 pm #39748Donnacha
ParticipantGood 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.
March 11, 2009 at 12:13 pm #39743In reply to: Login page before home theme
ngsonst
Participanthi!
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
March 11, 2009 at 9:43 am #39738In reply to: Login page before home theme
Ezd
ParticipantOkay 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.
March 11, 2009 at 6:56 am #39736In reply to: Buddypress theme for bbPress ?
felix2009
ParticipantI’ve deleted evrything, during the lack of good theme’s for both …
Suc6!
And Seeya
March 11, 2009 at 6:33 am #39735In reply to: I’m ignorant and i need help :) ( Post related )
rusted
Memberhmm… 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
March 11, 2009 at 4:45 am #39733John James Jacoby
KeymasterI 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.
March 11, 2009 at 3:41 am #39729Rich Spott
ParticipantI 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.
-
AuthorSearch Results