Search Results for 'theme'
-
AuthorSearch Results
-
September 23, 2010 at 2:55 am #93167
muchad
Participantput this in your functions.php in your theme
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=10’;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );you just change per_page option as you need…
it’s run for me, you can see here http://blog.uin-malang.ac.idSeptember 23, 2010 at 2:53 am #93166In reply to: per_page option in bp_has_activities()
muchad
Participantput this in your functions.php in your theme
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=10′;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );you just change per_page option as you need…
it’s run for me, you can see here http://blog.uin-malang.ac.idSeptember 22, 2010 at 11:39 pm #93161In reply to: Show Categories in tabs and drop down menus at top?
pcwriter
ParticipantAs @rogercoathup suggested, using a child theme is THE way to go. You’ll find all the info you need to learn how to create one (and why you should) here:
https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/(Watch out… shameless self-promotion coming up
)
Once you have your child theme up and running smoothly, may I suggest trying my plugin: Add All Nav Links to BP-Adminbar. The plugin allows you to add pretty much whatever you want to the adminbar, style it to match the overall look and feel of your theme, and even to replace the main theme navigation with your customized adminbar. (It only modifies the adminbar on the main site; sub-blogs remain as they are.) Check it out here:
https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/Hope this helps!
September 22, 2010 at 9:32 pm #93149In reply to: Show Categories in tabs and drop down menus at top?
Roger Coathup
ParticipantIf you want to modify an existing WP theme for BuddyPress, you can download the BuddyPress template pack plugin and follow the instructions.
If your theme doesn’t support the new WP3 menus (i.e. most of them!), you can create a child theme, and code whatever menu system you like (probably in header.php)
September 22, 2010 at 9:20 pm #93148In reply to: Show Categories in tabs and drop down menus at top?
dotman
MemberHey thanks for the tip. I currently just have the default BP theme enabled, and get “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”
Is this true with most of the BP themes? Are most WP themes compatible with BP, or do they need some customization.
Thanks,
DougSeptember 22, 2010 at 8:15 pm #93145modemlooper
ModeratorYou will need to install the BuddyPress template pack plugin and follow the instructions. There is some code editing that you will need to do to make it fit perfectly.
September 22, 2010 at 7:50 pm #93140In reply to: BuddyPress Template Pack
Nini
ParticipantI have just installed buddypress and it is not working properly, what am I doning wrong. For instance, there are no pages for posting updates like this, creating groups and forums post. What am I supposed to be doing. I installed on top of WordPress 2010 theme and used the compatibility pack… What am I missing. When user log on it does not show the My Account/ Notification menu at all, it still showing the login in /sign up menu strip on top of the page. What am doing wrong. Please help
September 22, 2010 at 6:07 pm #93134muchad
Participanti ‘ve success change buddypress activity stream default option with multiple option, you just put this in functions.php in your theme.
function blog_posts_by_default( $query_string ) {
global $bp;
if ( !$query_string )
$query_string = ”;
if ( ($bp->current_component == BP_ACTIVITY_SLUG || !$bp->current_component) && !strpos($query_string, ‘type=’)){
if ( strpos( $query_string, ‘action’ ) == 0 )
$query_string .= ‘type=activity_update,new_blog_post,new_blog_comment,new_forum_post&action=activity_update,new_blog_post,new_blog_comment,new_forum_post’;
}
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘blog_posts_by_default’ );you can see the result here: http://blog.uin-malang.ac.id
i hope it run well in your site..September 22, 2010 at 2:05 pm #93116In reply to: Community on wildlife
Hugo Ashmore
ParticipantIt’s an interesting and worthy community to build.
I would think perhaps about a few of the background colours the sharpish acid colours can be a bit hard on the eyes and will reduce the contrast between text and background so older eyes may struggle a little. I would remove the text shadow from the default theme on those footer links it just makes them very difficult to read.
September 22, 2010 at 1:25 pm #93109In reply to: Change start page to ‘Activity’ instead of ‘Home’
bojanski
Memberdefault theme, and BP is active.
Thanks, now I’m able to select activity as start page. It was just necessary to create a “dummy” page… to bring this option up!Thank you very much for your support!
BojanSeptember 22, 2010 at 1:18 pm #93108In reply to: Change start page to ‘Activity’ instead of ‘Home’
Roger Coathup
ParticipantWhich theme? Is BP activated and working? Activity appears as option with a BuddyPress theme
September 22, 2010 at 8:20 am #93074In reply to: How do you add/invite a friend?
Hugo Ashmore
Participant@pelleas You must start your own thread for your issues please you have posted to two diffrent and old threads that appear to relate to your issue
Seldom do other threads relate exactly to your own issue, and responding to two different posters in one thread is a recipe for confusion and considered bad practice. I also believe you responded to Boone’s question above via a update which further disjoints things as we could be staring at this thread awaiting a response not aware you have actually responded.
For now I suggest continuing in this thread, but for future issues please start a new topic.
A further question: Are you using a custom theme? If you are can you revert to the BP default theme and also disable any third party plugins that are not absolutely necessary for the operation of BP (basically that means any plugins other than BP itself) and then check again whether you see ‘Add Friends’ buttons on members directory listing or profile pages.
September 22, 2010 at 1:31 am #93066In reply to: 404 error after installing BP
@mercime
ParticipantRe: “incurred hnla’s dismissal?”
Do not take things personally. @hnla has assisted hundreds of users in this forum and some questions were out of this world compared to your questions.Re: “Page Not Found” errors
– Change Settings > Permalinks to other than default.
– Activate bp-default theme to check links to BP components. When that works, insatll/create child theme of bp-default theme OR use the BP Template Pack if you want to use WP theme.September 21, 2010 at 9:32 pm #93058In reply to: Change start page to ‘Activity’ instead of ‘Home’
Roger Coathup
ParticipantIs BP activated and running OK? Which theme are you using?
Also, paste a grab of your wp-admin.settings.reading screen
September 21, 2010 at 6:44 pm #93046In reply to: BuddyPress Template Pack
modemlooper
ModeratorToo get rid of theme notice, where is says this in style.css
Theme Name: Imbalance
Theme URI: http://www.wpshower.com
Version: 1.18
Description: Designed by WPSHOWER
Author: WPSHOWER
Author URI: http://www.wpshower.comadd this right below Author
Tags: buddypressSeptember 21, 2010 at 6:33 pm #93044In reply to: How do you add/invite a friend?
pelleas
MemberThe ‘Add friend’ button is not to be seen anywhere even in the bp-default theme.
September 21, 2010 at 5:39 pm #93043In reply to: BuddyPress Template Pack
pmoi
ParticipantHey, I’ve just installed BuddyPress and BuddyPress Template Pack on the “Imbalance” theme http://wpshower.com/free-wordpress-themes/imbalance-free-wordpress-theme/ It said the install was successful whilst I was setting it up but still displays “BuddyPress is ready. You’ll need to activate a BuddyPress compatible theme to take advantage of all of the features. We’ve bundled a default theme, but you can always install some other compatible themes or upgrade your existing WordPress theme.”
The main issue is that after I’ve installed the template package no options are appearing to create a forum or group, the only options coming up in the Buddypress dropdown in the dashboard are; General Settings, Component Setup, Forums Setup, Profile Field Setup and I can’t do anything with any of them except Profile Field. I’m thinking it might be because I don’t know if my ” bbPress tables are in the same database as my WordPress tables”, I don’t seem to be able to work it out.
Really really need help with this, hope someone can!
Thanks
September 21, 2010 at 4:55 pm #93041mtroche13
MemberAnyone?
September 21, 2010 at 11:44 am #93013Ben
ParticipantI think @pcwriter‘s code is the way to go – it’s just a question of putting it in the right files according to what you want to block. EG I wanted to block access to member profiles if user is not logged in, but I wanted them to see all the rest of the content on my site. So I copied the following files to my child theme:
members – single – home.php
members – single – member-header.phpThen in home.php I added the “is user logged in” check as shown highlighted here: http://pastebin.com/EyhRuwCq
This stopped the main profile content from appearing if the user is not logged in. You could stop there, but I wanted to remove extra data from the profile header and leave a message to the un-logged in user. So in header-message.php I added the log-in check as highlighted here: http://pastebin.com/mpxbkcCe
This cuts out all content in the header apart from the gravatar, the member name and a polite message. You can see it here: http://www.thebookboard.com/members/bookboard/
I’m not a coder, so I make no guarantees that this will work in all circumstances, but it works for me. Hope it helps others
September 21, 2010 at 11:15 am #93008In reply to: Custom add avatar form.
Boone Gorges
KeymasterAvatar upload forms appear in two places. One is registration/register.php, the other is members/single/profile/change-avatar.php. Create a child theme of bp-default (https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/) with those two files, and then edit the HTML to your heart’s content.
September 21, 2010 at 7:28 am #92992In reply to: SuperUser login disables most plugins
Hugo Ashmore
ParticipantTechnically the superuser/superadmin doesn’t log in to BP but to WP.
Not heard of this happening before, as for debugging, generally that is a case of reducing a setup back down to basics to finding a working state then re-introducing elements checking each time until an issue is replicated; in this instance you might start by disabling plugins one by one and check each time whether the issue still manifests, If you’re using a custom theme it might be wise to drop back to the BP default theme just to ensure that the custom theme plays no part in the problem.
If the issue is unresolvable and you need further assistance please post full details of your setup.
September 21, 2010 at 5:03 am #92983LPH2005
ParticipantGo to /wp-admin/edit.php?post_type=page then click on a page, look on the right side to see how the page attributes are set. There should be a pull down of the different templates.
Are you using the default theme, child-theme, or something else?
September 21, 2010 at 1:11 am #92978In reply to: Reply to first item in activity stream fails
LPH2005
ParticipantThank you. I copied the default theme _inc files into the child theme and now the activity stream is posting forum topics three times
Guess I’ll delete the _inc and files – to see if things return – and pick through the JavaScript from there.
September 20, 2010 at 10:25 pm #92974In reply to: categorys and groups. howto connect them?
Roger Coathup
ParticipantIf your groups and categories have exactly the same name, you could try modifying your group home.php file (groups/single/home.php in the bp-default theme), accessing the group name and using that in a query_posts / have_posts loop
If they have different names, you will have to look at extending your group, adding a parameter to capture the corresponding category id. Again, you would then add a query_posts / have_posts loop and use it your group home.php template.
This page gives some more information on the groups API, and may be of some help: https://codex.buddypress.org/developer-docs/group-extension-api/
September 20, 2010 at 9:00 pm #92964In reply to: I broke my site by disabling groups :(
Paul Wong-Gibbs
KeymasterIt ought to not break. Are you running a custom theme, widget or plugin that might rely on the groups component being active?
-
AuthorSearch Results