Search Results for 'theme'
-
AuthorSearch Results
-
February 24, 2016 at 3:31 pm #250254
cybmeta
ParticipantOnce more test.
wp_registration_url()returnshttps://example.com/wp-singup.phpincorrectly.As soon I deactivate BuddyPress, it returns
https://example.com/wp-login.php?action=registercorrectly.With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.
I’m really stuck with this issue.
I said it is not a multisite installation, and it is not,
is_multisite()returnsfalse. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:if ( !is_multisite() ) { wp_redirect( wp_registration_url() ); die(); }But because
wp_registration_url()returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.February 24, 2016 at 1:52 pm #250248cybmeta
ParticipantI’ve made some more tests.
In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.
If I do this in the header.php of the theme:
var_dump( bp_get_signup_page() );I get the incorrect value `https://example.com/wp-singup.php
If I do this inside the function
bp_get_signup_page()(I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):var_dump( $page ); return apply_filters( 'bp_get_signup_page', $page );I get the correct value
http://example.com/register/.If I remove the filter
bp_get_signup_pageinsidebp_get_signup_page(), just to check if there is some filter altering the value:return $page;Then I get the correct value in the header.php of the theme, but if I go to
http://example.com/register/, the page doesn’t shows the registration form.It seems that there is some
bp_get_signup_pagefilter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value ofbp_get_signup_page(), the registration page doesn’t work.February 24, 2016 at 10:06 am #250238Paul Wong-Gibbs
KeymasterOoh. Hi @paddy33! Sounds like you’ve got yourself an interesting challenge. I’m very interested to keep in touch to learn about what it’s like to upgrade a site between these versions.
My initial thoughts:
1)
template-user-account.phpis not/has never been the name of a template part bundled with any version of BuddyPress, so we’re dealing with a custom theme integration, which will make things a bit trickier for us to help (since we can’t see its code).2) While the Original site might be BP 1.7.2, it doesn’t mean the templates were built with *that* version; it could have launched on 1.5 or 1.6, etc. In this case, it’s quite possible theme compatibility was explicitly disabled.
Does this line appear anywhere in your codebase?
add_theme_support( 'buddypress' );3) I think you’re going to have to debug (hopefully in a development environment or development server)
bp_core_load_templateand compare where its looking for a template vs. where the template actually is.February 24, 2016 at 9:56 am #250236In reply to: Error in Release Candidate 2.5
Paul Wong-Gibbs
KeymasterThe cause is most likely going to be some other plugin or some code in your theme. Was there any extra information in that error log? If there’s only what you provided, there’s not enough information to help. (Try toggling plugins on/off one at a time until the issue goes away?)
February 24, 2016 at 9:48 am #250233In reply to: Activity Stream Not Loading/Displaying
Henry Wright
ModeratorThanks for the screenshots. Those could be issues with the theme. I can’t reproduce the issue myself with Twenty Fifteen. Can you upload screenshots for Twenty Fifteen?
February 24, 2016 at 4:28 am #250230In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantFound it! I needed to make the change to my-child-theme-directory/buddypress/groups/single/members.php instead of the members-loop.php in my-child-theme-directory/buddypress/members/.
That took a while but glad I was able to find it. Now instead of the Activity information I want to display the Company field which is a custom field. I think I saw the code to do this and will try it tomorrow but it should be pretty straight forward right?
Thanks again for all your help!!
February 23, 2016 at 7:56 pm #250222In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantHere are the items that I’ve tried based on your previous suggestion:
– Add text to different parts of the members-loop.php file and it doesn’t show up
– Where it calls the page in the members/index.php I’ve commented that call out:<div id=”members-dir-list” class=”members dir-list”>
<?php /* bp_get_template_part( ‘members/members-loop’ ); */ ?>
</div><!– #members-dir-list –>– Checked the plugins/bp-custom.php that I created and removed the code in that file.
– Disable all the plugins that are attached to BuddyPress
– Renamed the members folders in the following locations to members2 to see if it affected displaying the members and it doesn’t seem like it references any of the locations: buddypress/bp-templates/bp-legacy/buddypress/members/, buddypress/bp-templates/bp-legacy/buddypress/members/ and my-child-theme-directory/buddypress/members/
– The last thing I tried was to copy the buddypress/ folder into the WP 2013 theme and run it through that completely and still I don’t see the changes. Even after I change the theme to the BuddyPress Default theme and update members-loop.php it still shows that information.Not sure what else to try :P. Thank you for all your help so far! I’m very stumped!
February 23, 2016 at 7:47 pm #250221In reply to: Activity Stream Not Loading/Displaying
aswain1
ParticipantProbably so, but since I can’t actually see the activity, I’m not sure.
It also disappears on the Buddy (child) theme that I was using originally.
The button disappearing has never happened on the front page Activity Stream, but like I said, it just never loads the older results. The first five activity items do display on the front page, which is more than I can say for profile pages or the Activity page itself.
February 23, 2016 at 6:51 pm #250218In reply to: Activity Stream Not Loading/Displaying
aswain1
ParticipantYes; just tested and still have the problem. In fact, it has the same problem as the profile pages, where nothing at all shows up. On Twenty Fifteen, the Load More button disappears after multiple clicks.
I should add that, for that theme, I have to go directly to http://gratitudeexpressions.com/activity/
February 23, 2016 at 5:42 pm #250212In reply to: Activity Stream Not Loading/Displaying
aswain1
ParticipantIt happens on all themes. I’m primarily running the Buddy theme, which I thought might be causing the issue, but after switching to the default themed like Twenty Fifteen, the Load More issue was still happening.
February 23, 2016 at 5:25 pm #250209In reply to: members-loop.php – Not Updating?
shanebp
ModeratorUsing WP 2013 theme, I can overload the members-loop and the changes are visible.
iow. I can’t duplicate your issue.Try adding some text to the top of your template overload.
Check your
plugins/bp-custom.php, if you have one, for functions re the members loop.Deactivate any plugins re members loop.
February 23, 2016 at 3:55 pm #250207In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantThat was great thinking! I tried to enable 2013 with the change made to members-loop.php with no luck. It still shows the Activity.
The theme that I am using is not a true BuddyPress theme. It’s just a normal WordPress theme but I know that shouldn’t really matter for what we are talking about I don’t think.
I’ve also tried changing it in the bp-themes/bp-default/ which I believe is not really used anymore correct?
Thank you so much! Any other suggestions?
February 23, 2016 at 3:47 pm #250205In reply to: members-loop.php – Not Updating?
shanebp
ModeratorIt could be that your theme is loading its own version of members-loop.
To confirm switch momentarily to a WP theme like 2013 and see if your edits appear.February 23, 2016 at 10:59 am #250198In reply to: Activity Stream Not Loading/Displaying
Henry Wright
ModeratorWhich themes does the problem happen on?
February 23, 2016 at 9:53 am #250196In reply to: Members connecting with eachother
@mcuk
ParticipantHi @dave8528,
Replying to your q in the other thread here. Firstly if you aren’t already doing so, make sure whatever changes/amendments to code are done in a child theme if you aren’t doing so already (Google search WordPress Child Themes).
Just checked the code and it seems to be working fine. You may not be seeing the button if you have cover images activated on your profile pages? If you do, the file you want is “cover-image-header.php” The member-header.php is used when cover images aren’t active. Was just using it as an example location.
February 23, 2016 at 5:21 am #250190In reply to: Missing Add Friend Button
dave8528
ParticipantSince I could not find bp-custom.php and I found out that it not a default file, so the directions here: https://codex.buddypress.org/themes/bp-custom-php/ says to create it manually – which I did and added the above code as you directed. Then I located member-header.php in following directory tree shown below and added your code:
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.phpBut, I don’t see it working! Did I get the files mixed up?
Thanks for all help.February 23, 2016 at 4:42 am #250187In reply to: Missing Add Friend Button
@mcuk
ParticipantHi @missgridiron,
Add this to your bp-custom.php:
function add_another_friend_button() { $user_id = get_the_author_meta( 'ID' ); $mybutton = bp_add_friend_button( $user_id ); if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) { echo $mybutton; } } add_action( 'button_here', 'add_another_friend_button' );Then add the code below to wherever you want the button to appear (e.g. in the member-header.php file of your child theme if you want a button in your profile page header):
<div id="another-friend-button"> <?php do_action( 'button_here' ); ?> </div><!-- #another-friend-button -->for reference: https://buddypress.org/support/topic/add-friend-button-everywhere/
February 22, 2016 at 7:29 pm #250179m1k3k
ParticipantThis is happening to me as well. I use Genesis as my theme. No custom cover photo sizes have been set either. I find it strange that the error is 0px.
February 22, 2016 at 1:44 pm #250167In reply to: pages are being redirected to groups directory
tolisp
ParticipantI have changed theme, disabled all plugins but the problem persists…
Anyone heard of something similar happen again? The buddypress is in a subsite domain/portal. I am thinking maybe the rewrite rules are the ones to blame.This is my htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]February 22, 2016 at 8:48 am #250157In reply to: Avatar Upload ‘Wrong Size’ Message Is Wrong
Mathieu Viet
ModeratorHi,
By default the avatar sizes are :
– 150x150px for Full size
– 50x50px for thumb sizeIf a message is asking for a different minimum size, then it’s meaning a plugin or a theme is using some of our filters/constants to edit these sizes.
You can search for this filter
bp_core_avatar_full_widthor this constantBP_AVATAR_FULL_WIDTHoutside of BuddyPress to find who’s setting the size to be 580x580px.February 22, 2016 at 8:35 am #250156In reply to: Using Buddy Press to create a media sharing site
Henry Wright
ModeratorYou can add functionality to BuddyPress using plugins. If a particular feature isn’t available as a plugin you could try implement it yourself or ask a coder for help. BuddyPress has a huge API that will help.
The look and feel of your website is governed by the theme you choose.
If you already have a dev site operational, try out some different plugins and themes to see which ones work best for your project.
Ref:
https://en-gb.wordpress.org/plugins
https://en-gb.wordpress.org/themesFebruary 20, 2016 at 9:46 pm #250130In reply to: Restrict Add Group Page by Membership
superbikerider69
ParticipantThanks very much for the reply
So trying to understand, I copy the create file from the buddypress to the theme buddypress then add a conditional at the top of that copied file to check membership level?
February 20, 2016 at 9:02 pm #250127In reply to: Restrict Add Group Page by Membership
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\create.phpAdd a conditional that checks user level at the top.
Or use the do_action hook ( read 2nd answer ) at the top of that file:
do_action( 'bp_before_create_group_page' );
and write a function in yourtheme/functions.phpFebruary 20, 2016 at 5:48 pm #250120danbp
ParticipantHi,
normally you have a filter upon the activity stream so you can sort it by different activities. By default, a stream use “anything”.
Settings > BuddyPress > Settings -> Activity Settings and make sure that “Allow activity stream commenting on blog and forum posts” is checked. And also “Allow search engines”.
While testing, i recommand that you use one of Twenty’s theme first. Just in case of… 😉
February 20, 2016 at 10:28 am #250106jake.carvey
ParticipantIn my own exploration, it seems as though Social Chef does NOT support cover images – there on none on the example site on themeforest.
I do intend to implement them myself in a child theme.
-
AuthorSearch Results