Search Results for 'theme'
-
AuthorSearch Results
-
December 14, 2010 at 10:31 pm #100480
In reply to: Post Thumbnail in BP-Default Theme
Tammie Lister
ModeratorWhilst 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
December 14, 2010 at 10:07 pm #100476In reply to: Where did user interactions go?
cmccarra
ParticipantNo, 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.cssDecember 14, 2010 at 2:41 am #100438In 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.
December 13, 2010 at 8:51 pm #100414r-a-y
KeymasterThere’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 );
`December 13, 2010 at 7:47 pm #100407In reply to: Using the existing component in members theme
manimaranvel
MemberI figured out the problem it is because of “bp_core_get_userlink” image path
December 13, 2010 at 6:00 pm #100401In reply to: Using the existing component in members theme
manimaranvel
MemberJust 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
December 13, 2010 at 2:44 pm #100388In reply to: Using the existing component in members theme
manimaranvel
MemberThanks for the reply @mercime
I Will try this and come back If I hava trouble
December 13, 2010 at 1:59 pm #100386bobsie
MemberThanks 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?December 13, 2010 at 12:59 pm #100384guigoz
MemberIf 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
`December 13, 2010 at 3:42 am #100369@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
December 13, 2010 at 2:50 am #100367Kingpin JRela
ParticipantI can’t help you, but can I see your site?
I’m a suffusion theme user as well.
December 13, 2010 at 1:58 am #100364testador
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…December 13, 2010 at 1:54 am #100363In reply to: Is moving Buddypress easier/possible??
@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.
December 13, 2010 at 1:03 am #100360In reply to: Using the existing component in members theme
@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/
December 13, 2010 at 12:42 am #100359@mercime
Participant99% 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.
December 13, 2010 at 12:24 am #100357testador
MemberHave you tried the cityguide wootheme with buddypress?? it seems to be only for regular WP
December 13, 2010 at 12:07 am #100356testador
Memberthankyou, @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?
December 12, 2010 at 7:46 pm #100351In reply to: Where did user interactions go?
Paul Wong-Gibbs
KeymasterYou may not have edited the files, but were they copied into your child theme?
December 12, 2010 at 6:23 pm #100345In reply to: Using the existing component in members theme
manimaranvel
MemberPlease somebody tell me is it possible to use the main(activity, members etc..) component in members theme
December 12, 2010 at 6:18 pm #100344In reply to: Using the existing component in members theme
manimaranvel
Memberso sad no response
December 12, 2010 at 5:12 am #100324jianchung
MemberHi @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.
December 11, 2010 at 10:07 pm #100305In reply to: I want to remove the logout link from the sidebar
@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.
December 11, 2010 at 9:59 pm #100300In 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/December 11, 2010 at 8:50 pm #100286In reply to: WordPress/BuddyPress Facebook integration?
Jam
MemberI 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?
December 11, 2010 at 8:10 pm #100282In reply to: I want to remove the logout link from the sidebar
@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="”>` -
AuthorSearch Results