Search Results for 'theme'
-
AuthorSearch Results
-
August 28, 2010 at 6:45 pm #90740
In reply to: BuddyPress Template Pack
govpatel
ParticipantI am using latest wordpress 3.0.1 and default twentyten child theme and all i did was transfer folders using buddypress theme pack and go in menu and create a custom menu and use it as primary menu add all the pages in menu and than create custom links for buddypress like for /activity /members/ /forums and so on and they work fine.
August 28, 2010 at 6:06 pm #90736In reply to: BuddyPress Template Pack
pixelita
ParticipantAlso to get rid of that annoying message, the BP plugin clearly states that you must put the tag “buddypress” in the Tag: section of your theme’s stylesheet, AFTER you have made the suggested changes.
August 28, 2010 at 6:05 pm #90735In reply to: BuddyPress Template Pack
pixelita
ParticipantWhen you activate the template, it figures out which is your current theme. It puts its own theme files (found in the buddypress plugin subdirectory themes/bp-default) into your theme’s directory.
I downloaded the /themes/bp-default files to my hard drive, made the changes there, and then uploaded the files and folders in that directory to my theme, replacing what the BP Template plugin already placed there and it’s working fine and dandy.
August 28, 2010 at 3:00 pm #90711In reply to: Nested comments in default theme
dainismichel
Participantyeah, i’d like to do the same thing…
August 28, 2010 at 3:00 pm #90710In reply to: Nested Comments are not indenting
dainismichel
Participantyeah, nested comments don’t seem to indent in the default theme…
August 28, 2010 at 12:55 pm #90690In reply to: Comments Not Working, please help!
BillboardFamily
ParticipantThey work in the twenty ten theme, so it is definitely a theme problem. Can anyone help me figure it out, please?
August 28, 2010 at 12:43 pm #90689In reply to: Show comments on the activity related to that blog?
Roger Coathup
Participant@javipas – you need to be a little clearer on your setup. In the default setup / theme, the activity stream is a separate page, and not something that shows up on individual blogs / blog pages.
Are you using a custom theme with a custom activity stream, or an activity stream widget in your blogs?
The standard activity stream loop shows activity across your entire BuddyPress installation. If you want to filter the activity steam to just show comments relating to a specific blog, you can write your own custom activity loop:
Take a look at this documentation, in particular filtering on the primary_id to just show posts for a specific blog id: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
August 28, 2010 at 6:40 am #90674In reply to: Fatal error with MultiSite
Annemarie
ParticipantThank you for the fast reply!
I changed it to the default, and others I had installed and the error went away. Should I try to download the theme again or just avoid it all together?August 28, 2010 at 6:18 am #90672In reply to: Fatal error with MultiSite
r-a-y
KeymasterSounds like a problem with your “Suffusion” theme.
Can you switch to the BuddyPress Default theme to see what happens?
August 28, 2010 at 1:29 am #90660modemlooper
ModeratorYou have to create a new language file or edit the template file post-form.php. If you edit theme files you need to create a child theme so your changes do not get erased when upgrading BP. http://bit.ly/bp-child-theme
August 28, 2010 at 1:18 am #90656In reply to: I need ideas for theme creation.
modemlooper
ModeratorI agree 100% with @Travel-Junkie. Functionality should be a added via plugins however the default theme is a kitchen sink and some networks need to weed out some of the functionality built in.
“The only exception I can think of is a mobile theme.”
So true learning this the hard way with my mobile theme. The default theme just doesn’t work well on a mobile screen. It’s got too much functionality. Had to start from scratch and only pull out the content needed. Had to strip all the add actions otherwise any plugin not designed to work with it would break it.
August 27, 2010 at 11:14 pm #90641In reply to: I need ideas for theme creation.
Anonymous User 96400
InactiveI actually think that a (child-) theme should just be generic and not network specific. That should be the job of one or maybe even more plugins. If those plugins all use the normal BP default theme markup, you can use any kind of plugin to create exactly the kind of community you want with exactly the kind of look you want. A theme should stay away from adding functionality as far as possible. The only exception I can think of is a mobile theme.
August 27, 2010 at 10:22 pm #90631In reply to: BuddyPress w/ bbPress & WordPress
Paul Wong-Gibbs
KeymasterHmm it depends how you want your site to work. At the moment, it’s a one group to forum mapping. That means, for each forum (or sub-forum), you’re going to need a group.
How many (sub)forums on your existing site? If you have more forums than you want BuddyPress Groups created, we need to do some more work to configure your setup to integrate your WordPress into an external bbPress installation. This is not technically easy, and would involve you creating a separate theme for the bbPress site itself.
A benefit of this approach is that you have full access to a traditional forum look-and-feel (bbPress’).If, however, you’re happy with how the one forum to group mapping works with BuddyPress, you’ve already done the installation (i.e. clicked the button that said “use an existing bbPress installation”). What you’ll need to do next is move your users from the bb_users table into wp_users (and usermeta too if you want, but be careful and consider if you need to do that), create some groups and then edit their database entries to point to the existing bbPress tables.
August 27, 2010 at 9:51 pm #90626In reply to: I need ideas for theme creation.
Sofian J. Anom
ParticipantBuddypress theme as social bookmarking.
I am interested in the concept of the pressmark theme. I try to modify to make it as a child theme on BuddyPress, But so far not been successful
. It would be great if anyone can do it. Maybe you, @modemlooper,
. Not necessarily adopt the Pressmark theme . The point is to make a Buddypress theme for social bookmarking.
August 27, 2010 at 9:40 pm #90624Grakisaurus
ParticipantI’ve tried the header.php in budypress as well as the one in my Randy Candy theme…but they don’t seem to be there hummmm….
Stil vaguely new to buddypress as well
August 27, 2010 at 3:51 pm #90581In reply to: Links in Members Directory not working.
Paul Wong-Gibbs
KeymasterWp-load.php is where the AJAX requests are sent to. Have you included or customised the main js from bp-default? Might be worth stepping through an AJAX request on your theme vs default theme and see what’s up.
August 27, 2010 at 3:40 pm #90576In reply to: Custom profile field – how to use in theme?
zoltok
ParticipantOk, thought I’d follow up in case anyone tries to do the same thing.
Here’s the code that ended up working:
$user_id = $comment->user_id;
$isMember = xprofile_get_field_data( ‘Member’, $user_id );
if ($isMember == “”) {
} else {
?>Abonné<?php
}No idea how this would be done if you were testing for more than one checkbox though, but for my use (either checked or not), it worked just fine.
August 27, 2010 at 2:34 pm #90567In reply to: Comments Not Working, please help!
govpatel
ParticipantLooks like you have setup problem try default theme and see you have same problems.
August 27, 2010 at 2:19 pm #90566In reply to: Changing target of ‘register’ link on login page
govpatel
Participant@matt have you tried this Theme My Login plugin as it will redirect to login page on your own theme
August 27, 2010 at 2:13 pm #90565In reply to: Comments Not Working, please help!
Hugo Ashmore
ParticipantIt isn’t a BuddyPress site though, is it?
Support for themes such as that need to go to the relevant theme writer really. This site supports the BuddyPress plugin for WP/WPMS
August 27, 2010 at 11:35 am #90555In reply to: Is it possible to have two post forms in one page?
jimhellas
MemberI think I solved it!!! Here’s how, in case anybody else wants to do something similar:
Step 1: edit “wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js”
Step 2: Go to line #35 (/* New posts */) and simply copy and paste the the new posts section right after it (line #102)
Step 3: Change every single value that refers to ids of the original form (e.g. change #aw-whats-new-submit to #mini-aw-whats-new-submit)
Step 4: Go to the mini-post code on your template and replace the ids. Obviously you have to use the same ids as the ones you created on Step 3
To make a long story long, here’s my code:
global.js
/* MINI-POST */
/* New posts */
jq(“input#mini-aw-whats-new-submit”).click( function() {
var button = jq(this);
var form = button.parent().parent().parent().parent();form.children().each( function() {
if ( jq.nodeName(this, “textarea”) || jq.nodeName(this, “input”) )
jq(this).attr( ‘disabled’, ‘disabled’ );
});jq( ‘form#’ + form.attr(‘id’) + ‘ span.ajax-loader’ ).show();
/* Remove any errors */
jq(‘div.error’).remove();
button.attr(‘disabled’,’disabled’);/* Default POST values */
var object = ”;
var item_id = jq(“#mini-whats-new-post-in”).val();
var content = jq(“textarea#mini-whats-new”).val();/* Set object for non-profile posts */
if ( item_id > 0 ) {
object = jq(“#mini-whats-new-post-object”).val();
}jq.post( ajaxurl, {
action: ‘post_update’,
‘cookie’: encodeURIComponent(document.cookie),
‘_wpnonce_post_update’: jq(“input#_wpnonce_post_update”).val(),
‘content’: content,
‘object’: object,
‘item_id’: item_id
},
function(response)
{
jq( ‘form#’ + form.attr(‘id’) + ‘ span.ajax-loader’ ).hide();form.children().each( function() {
if ( jq.nodeName(this, “textarea”) || jq.nodeName(this, “input”) )
jq(this).attr( ‘disabled’, ” );
});/* Check for errors and append if found. */
if ( response[0] + response[1] == ‘-1’ ) {
form.prepend( response.substr( 2, response.length ) );
jq( ‘form#’ + form.attr(‘id’) + ‘ div.error’).hide().fadeIn( 200 );
button.attr(“disabled”, ”);
} else {
if ( 0 == jq(“ul.activity-list”).length ) {
jq(“div.error”).slideUp(100).remove();
jq(“div#message”).slideUp(100).remove();
jq(“div.activity”).append( ‘- ‘ );
}jq(“ul.activity-list”).prepend(response);
jq(“ul.activity-list li:first”).addClass(‘new-update’);
jq(“li.new-update”).hide().slideDown( 300 );
jq(“li.new-update”).removeClass( ‘new-update’ );
jq(“textarea#mini-whats-new”).val(”);/* Re-enable the submit button after 8 seconds. */
setTimeout( function() { button.attr(“disabled”, ”); }, 8000 );
}
});return false;
});
/* MINI-POST */and the form for the new “mini-post-form”
<form action=”<?php bp_activity_post_form_action() ?>” method=”post” id=”mini-whats-new-form” name=”mini-whats-new-form”><?php do_action( ‘bp_before_activity_post_form’ ) ?><textarea name=”mini-whats-new” onFocus=”this.value=”; this.onfocus=null;” id=”mini-whats-new” rows=”2″ cols=”40″>Got something to share?</textarea><div id=”whats-new-submit”><span></span><input type=”submit” name=”mini-aw-whats-new-submit” id=”mini-aw-whats-new-submit” value=”<?php _e( ‘Post’, ‘buddypress’ ) ?>” /></div><div id=”whats-new-post-in-box”><?php _e( ‘Post in’, ‘buddypress’ ) ?>:<select id=”mini-whats-new-post-in” name=”mini-whats-new-post-in”><option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘buddypress’ ) ?></option><?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) : while ( bp_groups() ) : bp_the_group(); ?><option value=”<?php bp_group_id() ?>”><?php bp_group_name() ?></option><?php endwhile; endif; ?></select></div><input type=”hidden” id=”mini-whats-new-post-object” name=”mini-whats-new-post-object” value=”groups” /><?php do_action( ‘bp_activity_post_form_options’ ) ?><?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?><?php do_action( ‘bp_after_activity_post_form’ ) ?></form><!– #mini-whats-new-form –><form action=”<?php bp_activity_post_form_action() ?>” method=”post” id=”mini-whats-new-form” name=”mini-whats-new-form”>
<?php do_action( ‘bp_before_activity_post_form’ ) ?>
<textarea name=”mini-whats-new” onFocus=”this.value=”; this.onfocus=null;” id=”mini-whats-new” rows=”2″ cols=”40″>Got something to share?</textarea> <div id=”whats-new-submit”> <span></span> <input type=”submit” name=”mini-aw-whats-new-submit” id=”mini-aw-whats-new-submit” value=”<?php _e( ‘Post’, ‘buddypress’ ) ?>” /> </div>
<div id=”whats-new-post-in-box”> <?php _e( ‘Post in’, ‘buddypress’ ) ?>:
<select id=”mini-whats-new-post-in” name=”mini-whats-new-post-in”> <option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘buddypress’ ) ?></option>
<?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) : while ( bp_groups() ) : bp_the_group(); ?> <option value=”<?php bp_group_id() ?>”><?php bp_group_name() ?></option> <?php endwhile; endif; ?> </select> </div> <input type=”hidden” id=”mini-whats-new-post-object” name=”mini-whats-new-post-object” value=”groups” /><?php do_action( ‘bp_activity_post_form_options’ ) ?>
<?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?> <?php do_action( ‘bp_after_activity_post_form’ ) ?>
</form><!– #mini-whats-new-form –>August 27, 2010 at 11:34 am #90554Paul Wong-Gibbs
KeymasterHmm. Looks like the plugin is active at the moment (I see a javascript include). I also see a lot of other plugins; if you’ve got a test server I suggest disabling all the plugins other than BuddyPress and seeing if it works. I suspect this is likely due to a conflict.
Another idea is, when you previously ran the BP Template Pack, did you restore your theme’s files to defaults? e.g. removed the BuddyPress stuff it added. Also, as far as I’m aware, you can disable the BP Template Pack — it’s a once-off thing.
August 27, 2010 at 8:43 am #90539In reply to: Security Protection and Community Blogging
Sam
ParticipantAugust 27, 2010 at 5:00 am #90535In reply to: Security Protection and Community Blogging
pcwriter
ParticipantThe s2member plugin can help you achieve much of what you have described.
http://www.primothemes.com/post/s2member-membership-plugin-with-paypal/August 27, 2010 at 4:27 am #90528In reply to: Security Protection and Community Blogging
Mark
ParticipantAll of it is possible. Most of it is done via custom theme code, but some might need some plugin code.
-
AuthorSearch Results