Search Results for 'theme'
-
AuthorSearch Results
-
October 31, 2010 at 11:03 pm #97082
In reply to: Pagination for Users doesn’t work
@mercime
ParticipantWhat theme are you using? bp-default or child theme of bp-default? Is BP installed in main site or secondary blog?
October 31, 2010 at 8:06 pm #97079In reply to: html on profile page? can it be done?
r-a-y
KeymasterYes, it can be done, but do you want to risk exposing your site to vulnerabilities?
If you still want to do this, add the following code snippet in your theme’s functions.php:
`remove_filter( ‘bp_get_the_profile_field_value’, ‘wp_filter_kses’, 1 );`
October 31, 2010 at 6:08 pm #97070In reply to: “Log in” in Admin bar: Page not found
Jeff Lambert
MemberDid you ever figure this out? Just started playing with BuddyPress and have the same issue.
I should add:
WP 3.0.1
BP 1.2.6I’m using child theme of TwentyTen but also tried default BP theme. Issue is definitely with the install directory not being included in the wp-login path.
Thanks
October 31, 2010 at 4:55 am #97041In reply to: Not all themes showing buddypress bar
momsnet
MemberThanks r-a-y – THAT fixed it
October 31, 2010 at 4:35 am #97040In reply to: Users can’t register through BuddyPress home page
Cosmin Z.
Participanthi! do you have a resolution for this issue? It is happening to me too!
I can add a user from my admin WP panel, but cannot register using the /register page: I enter all the data (name, username, etc) click on “Complete Sign Up” – > I’m back to the /register page (all the entered data disappeared)
– I’m using the default theme
– the “allow anyone to register” option IS selected.
– tried it with ALL the plugins disabledthanks
October 30, 2010 at 11:07 pm #97034In reply to: Custom CSS Changes
Boone Gorges
KeymasterAre you sure that your custom-sample.css file is actually being included? With a file name like ‘custom-sample’, I’m guessing that it might not be. Check out the theme’s main style.css, and see if there’s an @import rule for custom-sample.css (or if there is a rule in any other imported stylesheet).
I’m not sure how bp-social works (it appears to be a premium theme so I can’t look at the code) but if it is a child of bp-default, then you won’t be able to create a “grandchild” theme so that your changes won’t be overridden – WP doesn’t support that. However, you could fake it by dropping a snippet in your bp-custom.php file that looks something like this:
`function bbg_custom_style() {
$myStyleUrl = WP_PLUGIN_URL . ‘/custom.css’;
$myStyleFile = WP_PLUGIN_DIR . ‘/custom.css’;
if ( file_exists($myStyleFile) ) {
wp_register_style(‘myStyleSheet’, $myStyleUrl);
wp_enqueue_style( ‘myStyleSheet’);
}
}
add_action(‘wp_print_styles’, ‘bbg_custom_style’);`(See https://codex.wordpress.org/Function_Reference/wp_enqueue_style for more info on how to enqueue styles)
Just make sure that you have your custom styles in a file called custom.css in your plugin directory. That should make sure that your styles get loaded, but that they don’t get overwritten by future upgrades to your main theme.
October 30, 2010 at 10:26 pm #97030In reply to: Not all themes showing buddypress bar
Hugo Ashmore
ParticipantOne would have assumed that was the case, partly due to the lack of information provided to us.
I would still not waste the time fixing a theme that wasn’t following a general WP convention.
October 30, 2010 at 8:52 pm #97024In reply to: Not all themes showing buddypress bar
r-a-y
KeymasterYou have to make sure the “ call is in the theme’s footer.php.
If it messes up your layout, try putting it at the very end before the closing “ tag.
October 30, 2010 at 8:50 pm #97022In reply to: Remove TAB in Buddypress for newly created pages
r-a-y
KeymasterYou’ll need to modify wp_list_pages() in your theme’s header.php to exclude the page ID of the classifieds.
If you don’t like messing around with theme files, you could probably try this plugin:
https://wordpress.org/extend/plugins/exclude-pages/October 30, 2010 at 8:50 pm #97021In reply to: Not all themes showing buddypress bar
momsnet
MemberThanks – I think you are right… we still have many themes to choose from and the themes that don’t work all seem to be from the same company.
Thanks for your time.
October 30, 2010 at 8:47 pm #97020r-a-y
KeymasterYou need to change the_content() to the_excerpt() in your theme’s index.php:
https://codex.wordpress.org/Function_Reference/the_excerptOctober 30, 2010 at 7:36 pm #97017In reply to: Default theme with widgetized home page
open flips
Participant@modemlooper Thanks for answering, the column height issue seems to happen on all modern browsers and OS. Don’t you have this problem ?
I use latest Firefox under Ubuntu and a friend tested on IE 7 and 8 under Windows XP.
October 30, 2010 at 7:02 pm #97016In reply to: Not all themes showing buddypress bar
Hugo Ashmore
ParticipantDidn’t really mean you couldn’t ask but that certain issues might prove awkward to clear up or fall slightly outside the purvue.
Still the fact remains that we have little to work with here, that you say the BP adminbar works once you get the correct WP hook in place is good, however there is little that can be said for why the theme presents other problems with the footer.
There are countless number of badly written themes for WP some of these may work with BP some may not, not all themes, good or bad, will necessarily work with BP or at least will take some work to bring up to the level BP needs.
Rather than waste time trying it might be better to simply discard those that don’t work and only keep ones that do or at least have fewer issues.
October 30, 2010 at 6:50 pm #97014In reply to: Not all themes showing buddypress bar
momsnet
MemberThanks – I had pasted in the code I used but it didn’t show up in here…. What I had found on the forum here from someone was using “ so I put that in and that made the buddypress bar show fine but the rest of the footer was gone.
Sorry if my question is outside the focus of the boards – I’m new to this and I had seen a few other people ask about it and people offering a fix, so I assumed that is was ok to ask. Is this not a place for buddypress working with wordpress multisite questions?
October 30, 2010 at 5:52 pm #97013In reply to: Not all themes showing buddypress bar
Hugo Ashmore
ParticipantYou’re not really supplying any information of any detail, helping out with custom themes or WP themes is slightly outside this sites focus really and is very difficult regardless without good info.
I assume you meant to say you had ensured that wp footer hook was in each theme but why adding that should upset the themes original footer would be speculation other than to say that the theme sounds like it maybe breaks with WP conventions on template tags/hooks.
October 30, 2010 at 5:50 pm #97012Tammie Lister
Moderator@GUAP: There is an update out for that theme or alternatively you can follow the theme changes from 1.2.5 > 1.2.6 in the codex on this site if you are no longer a member at BuddyDress so don’t get updates. If you are though updates are free to any member it’s up to you which route you go. I can’t though replicate any issues with a vanilla (nothing else) install and updated Daily theme so that could be the problem. Now, whether there is something going on with followers plugin or not.. that could only be seen once the theme is updated really to be fair to your installation.
October 30, 2010 at 5:13 pm #97011In reply to: Not all themes showing buddypress bar
momsnet
MemberAny ideas on this? I searched here and tried the fix of putting in and that got the buddypress bar showing BUT then the regular footer of the theme wouldn’t show
October 30, 2010 at 4:52 pm #97009suman
Participantany one guide me
i m using bp-columns 3 column themes, plz guide me sir, how can i show summery blog in my site.
thankswhile i post in blog the full text shows in my buddypress site. , I want to show only title and some text in front pages,
plz guide me, which code i amend to show blog post in summery in front page.
Thanks in advance
October 30, 2010 at 4:51 pm #97008suman
Participanti m using bp-columns 3 column themes, plz guide me sir, how can i show summery blog in my site.
thankswhile i post in blog the full text shows in my buddypress site. , I want to show only title and some text in front pages,
plz guide me, which code i amend to show blog post in summery in front page.
Thanks in advance
October 29, 2010 at 6:03 pm #96937anindyaray
Memberyes now I understand a bit
A lot of thanks to you @hnla
October 29, 2010 at 5:43 pm #96935In reply to: Header image on network site
A Weathers
Participantok…i gave this a try…
example.com – primary site – enabled edublogs theme – expected edublogs theme to work – functioned as expected
example.com/site1 – activated buddypress default theme on site – worked as expected
example.com/site2 – activated buddypress child theme on site – worked as expectednow, i wanted to customize the header on example.com/site2. i logged in with the admin for example.com/site2 but was unable to customize header, so i logged into example.com with superadmin and went to example.com/site2 backend. I updated the header to a customized image, but it doesn’t show up anywhere!
October 29, 2010 at 3:48 pm #96927Hugo Ashmore
Participantthinking about it it does need to be ‘!’ not otherwise the add_action will only run when that function returns true and we don’t want it running if true
October 29, 2010 at 3:06 pm #96918anindyaray
Member
ThanksOctober 29, 2010 at 2:59 pm #96917Hugo Ashmore
Participant! == ‘Not’
and isn’t really needed the function is either true or false 1 or 0 on it’s own it answers it’s own question – remove the ‘!’ and test again that it works as expected.
Cool well done had a feeling it was better to simply not run function if user logged in
October 29, 2010 at 2:35 pm #96915anindyaray
MemberYes atlast … Thanks a lot @hnla and also @rogercoathup

`
function cancel_header_padding_for_no_adminbar() {if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar == false) ?>
body {padding-top:0;}
<?php
}
if (!is_user_logged_in())
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`but One stupid question :
what is the difference between `!is_user_logged_in()` and `is_user_logged_in()` ? -
AuthorSearch Results