Search Results for 'buddypress'
-
AuthorSearch Results
-
November 13, 2013 at 8:51 pm #174205
In reply to: need help stretching background image in IE
mattg123
ParticipantNo need…. I’ll just explain it slightly better you’re using a buddypress child theme, so you need to create a folder inside _inc called “js”. For me, this holds all my javascript files in this case, you’ll put backstretch.js here (make sure the name is backstretch.js)
Next step is putting the background image in the folder _inc as well, place your image inside “images” within _inc, name it background.(whatever)
Now we need to add the code so that wordpress uses these files – we can add it to our functions.php
function backstretch_script() { wp_register_script( 'backstretch', get_stylesheet_directory_uri() . '/_inc/js/backstretch.js', 'jquery', '1.8.3', true); wp_enqueue_script( 'backstretch' ); } add_action( 'wp_enqueue_scripts', 'backstretch_script' ); function backstretch_add() { ?> <script type="text/javascript"> jQuery.backstretch("<?php echo get_stylesheet_directory_uri()?>/_inc/images/background.jpg"); </script> <?php } add_action ('wp_footer', 'backstretch_add', 20);add that code as is – you may want to change the .jpg to .png or whatever file type your image is.
If for some reason you don’t want to place backstretch.js or your background image in those folders, you’ll need to modify these two lines to the new location.
wp_register_script( 'backstretch', get_stylesheet_directory_uri() . '/_inc/js/backstretch.js', 'jquery', '1.8.3', true);
jQuery.backstretch("<?php echo get_stylesheet_directory_uri()?>/_inc/images/background.jpg");Hopefully that’s slightly clearer
November 13, 2013 at 8:39 pm #174204fyreus
ParticipantIs the Groups > ‘Edit’ Function still broken? (Yes i’ve deactivated everything and activated everything 1 by 1) I can’t access anything like the picture posted by Aces.
*edit* Think i found something that works at the moment called BP Group Manager.
Although the plugin claims that it’s already been added, it’s obvious it doesn’t work properly, so this will have to do until the Edit link is fixed.
November 13, 2013 at 6:07 pm #174196In reply to: BP Buttons are unreadable
kwright
ParticipantThanks for your reply. I am assuming it needs buddypress.css but as I said I cannot find where to download this. I have searched the plugin directory to no avail. Can you tell me where buddypress.css is located so I can download and try it.
Thanks
KenNovember 13, 2013 at 5:51 pm #174195davaguco
ParticipantMy wordpress was working perfectly before installing buddypress. I installed buddypress, I didn’t upgrade it from another version.
November 13, 2013 at 5:29 pm #174193In reply to: BP Buttons are unreadable
modemlooper
Moderatorbuddypress.css is a basic style sheet for layout formatting. You will probably need to add more css to your style sheet to handle the extra html supplied by BuddyPress.
Henry
MemberYes, it’s possible and very easily done using:
https://wordpress.org/plugins/buddypress-followers/November 13, 2013 at 1:46 pm #174181In reply to: Nothing ever changes around here….
colabsadmin
ParticipantIts been a few weeks and was wondering if deleting the bbpress issues in the buddypress folder is still the fix for the spambot issue you were having. Thanks!
November 13, 2013 at 8:04 am #174170In reply to: Buddypress pages break the theme, where do I start?
Hugo Ashmore
ParticipantThe first place to start is with the BuddyPress documentation ( Codex ) Read the following two pages to familiarise yourself with BP theme compatibility and how to use custom files, if that isn’t sufficient to correct your issues you may have a theme that does not play properly with the WP template process and has a custom process for dealing with the loop in ‘pages’ which will need modifying in a custom bp file, however the theme author is best placed to be able to tell you what adjustments you need to make.
November 13, 2013 at 8:04 am #174169In reply to: Buddypress pages break the theme, where do I start?
@mercime
ParticipantNovember 13, 2013 at 1:49 am #174160In reply to: Remove User Activations
shanebp
ModeratorYou can avoid the need for activation email by using this code in bp-custom.php
function bp_disable_validation( $user_id ) { global $wpdb; $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) ); } add_action( 'bp_core_signup_user', 'disable_validation' ); add_filter( 'bp_registration_needs_activation', '__return_false', 100 );But the next screen will still inject this $title:
“Check Your Email To Activate Your Account!”Even with a template over-ride!
I think it’s reasonable that if this filter is applied:
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );That you shouldn’t need a database operation.
And the $title should not be injected.Currently, the only way I see to change that $title is to hack a core file.
Hacking core files is NOT recommended.
That said, see:
plugins\buddypress\bp-members\bp-members-screens.php and find Line 515.[ I’d love to be wrong about all this and hope somebody has an easier approach. ]
If you’d like to help BP and anyone else trying to solve this problem,
please submit an enhancement ticket at https://buddypress.trac.wordpress.org/
Use the same user / pw you use here.Now… a question for you… On your site http://causeanddesign.com you have a very nice help tour using overlay boxes. The first box says: “Welcome. Every nonprofit deserves good design and good technology.”
Did you write a custom script / plugin for this?
Or find an existing plugin?November 12, 2013 at 10:40 pm #174155In reply to: bp-legacy in bp-templates
marsh_lion
ParticipantThat is my point. I was confused by the term legacy (thinking those were the old ones and not being used) and by the fact that there was a bp-themes directory (thinking that was what was being used).
What I am suggesting is that the term legacy should not be used as it opens the door to confusion. I am not sure what the correct term is (as I am still learning the power of buddypress).
November 12, 2013 at 9:59 pm #174154In reply to: bp-legacy in bp-templates
Hugo Ashmore
ParticipantDon’t be confused by the term ‘Legacy’ those files in that directory section are the format for template files working under BP’s new theme compatibility layer, use those for any custom mmods you need to make copying them to a theme/child theme in a directory named either ‘community’ or ‘buddypress’ and observing the folder structure within that directory to maintain paths.
November 12, 2013 at 8:59 pm #174151In reply to: Cookie error after upgrading to WP 3.7.1 from 3.6.1
Pin
Participantfixed using: https://buddypress.trac.wordpress.org/changeset/7485
November 12, 2013 at 8:57 pm #174150Pin
Participantan alternative is to change few lines on the login form’s code as posted here: https://buddypress.trac.wordpress.org/changeset/7485
Cheers
November 12, 2013 at 7:04 pm #174145In reply to: Confirmation Message
@mercime
Participant@derock299 check out the answer at stackoverflow
November 12, 2013 at 6:35 pm #174142In reply to: Confirmation Message
Henry
MemberYou could use a language file. See this article for more info:
November 12, 2013 at 6:08 pm #174140In reply to: Error to add new group
Hugo Ashmore
ParticipantIt’s not good form to post a question in another thread it causes confusion. In your other threads I did mention basic trouble shooting so can you confirm you have tried deactivating your custom theme and trying with one known to work and that all components are activated and have pages existing for BP to use.
https://buddypress.org/support/topic/getting-help-for-this-forum/ a quick response to that thread would have been appropriate just to let us know that you understood those basic steps.
November 12, 2013 at 6:00 pm #174133In reply to: How can i delete my account
@mercime
Participant@shaunmacrae We don’t delete BuddyPress accounts which are tied to WordPress accounts. Just don’t use it.
November 12, 2013 at 5:59 pm #174131November 12, 2013 at 5:53 pm #174129In reply to: Buddypress pages show default sidebar only
Hugo Ashmore
ParticipantThat has been advised two posts up, please re-read and read the links. Creating a custom file named buddypress.php which is a copy of your themes page.php file will allow you to modify the markup directly so you can specify named get_sidebar() calls to include a new sidebar template file for BP screens only, however bear in mind how your theme deals with sidebar files and dynamic sidebars(widget calls) is something we have no knowledge of.
November 12, 2013 at 5:47 pm #174128In reply to: bp-custom.php vs. functions.php
Peter Kriegel
ParticipantEven I have the impression that the bp-custom.php do not run!
I have tried several codes inside the file Placed in /wp-content/plugins/.
for example I try to set the landing page for the users to Profile:
define( 'BP_DEFAULT_COMPONENT', 'profile' );
or Change the default tab opened when looking at a group to forum
define( 'BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
… Nothing happens!
I am realy newbee with that stuff! damm….November 12, 2013 at 5:21 pm #174126In reply to: Buddypress pages show default sidebar only
traviswaits
Participantsame issue, please advise how to change this so I can use a sidebar on my buddypress pages, thanks!
November 12, 2013 at 4:52 pm #174125shanebp
Moderator>- The ideal, which I’ve not entertained (as it does not seem possible at present) is that the activity stream is retained but correctly hidden from users who are not members of the group.
Easy to do. Take a look at:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\home.php>1. I don’t like customisations, the more we make the more we need to maintain and the more likely it is that an update will mess with one or more of them.
Do a template over-ride of home.php and you’ll have no problem with updates.
November 12, 2013 at 1:39 pm #174120In reply to: Buddypress pages show default sidebar only
Zanora
ParticipantHI Mercime,
Thanks for writing back, things look in tune as you directed
But what I noticed is, there is no sidebar.php in my theme.So whenever buddypress template call up a get_sidebar() it displays only the default sidebar.
Anyidea what to do when there is no sidebar.php?
November 12, 2013 at 1:22 pm #174119In reply to: Image gallery plugin with buddypress
-
AuthorSearch Results