Search Results for 'theme'
-
AuthorSearch Results
-
December 31, 2015 at 2:19 pm #248229
shanebp
ModeratorIf you switch to a WP theme like 2013, does the problem still occur?
December 31, 2015 at 2:15 pm #248227In reply to: Display profile fields on members page
shanebp
ModeratorYou don’t need to touch the members-loop template file.
Try putting this in your theme/functions.php or in plugins/bp-custom.phpfunction add_age_to_members_loop() { $field_content = bp_get_member_profile_data( 'field=Age' ); if( $field_content != false ) echo "Age: " . $field_content; } add_action( 'bp_directory_members_item', 'add_age_to_members_loop' );December 30, 2015 at 8:16 pm #248209In reply to: Can no longer manually edit register.php
GreyWyvern
ParticipantI activated the twentythirteen theme and uploaded the edited register.php file here:
/wp-content/themes/twentythirteen/buddypress/members/register.php
I double checked to make sure that the register.php file I uploaded was from:
\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php
… and also that my challenge question code was included. It’s inserted at line 51 of the file as follows:
<!-- Test question --> <label for="signup_test">Challenge question? <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_test_errors' ); ?> <input type="text" name="signup_test" id="signup_test" value="" />After clearing any caching plugins, the challenge question DID NOT appear on the signup form while the twentythirteen theme was active. I have reverted back to the blackfyre template for now.
Any thoughts?
December 30, 2015 at 7:57 pm #248208In reply to: Can no longer manually edit register.php
shanebp
ModeratorIām not sure where I would put the bp_signup_validate code you linked. Some specific file?
It can go in your theme/functions.php or in plugins/bp-custom.php
Re overload register:
Make sure you start with this file:
buddypress\bp-templates\bp-legacy\buddypress\members\register.phpI just did an overload via this path:
/wp-content/themes/twentythirteen/buddypress/members/register.php
And the changes appear, so the overloaded template is being loaded.You might try switching to a WP theme like 2013 – if the issue disappears, that’s a clue.
December 30, 2015 at 7:34 pm #248207In reply to: Can no longer manually edit register.php
GreyWyvern
ParticipantThank you for the reply. Just so you know, I am an experienced PHP coder, but I’m quite unfamiliar with the WP and Buddypress plugin API, which is why I was adding the challenge question manually right in the PHP files before. So I’m not sure where I would put the bp_signup_validate code you linked. Some specific file?
I copied my edited register.php (with the challenge question) to the following folder of the theme we’re using:
/wp-content/themes/blackfyre/buddypress/members/
There was no file named register.php in this directory previously.
After clearing any caching plugins, the signup form still only displays the default questions. You can see it here: http://realmsunchained.com/user-registration/
There should be an additional field under the “Confirm Password” field. Before Buddypress 2.4.x just editing the files I mentioned in the OP caused instant changes to this page. Now the registration form seems to be drawing its code from somewhere completely different.
Am I going wrong somewhere?
December 30, 2015 at 6:46 pm #248206In reply to: Can no longer manually edit register.php
shanebp
ModeratorUnless you are explicitly using the bp-default theme, you should only be using a template overload of this file:
\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.phpThere is no need to touch this file:
\wp-content\plugins\buddypress\bp-members\bp-members-screens.phpYou can add your challenge to the overload template and then check it using the
bp_signup_validatehook.
Example: https://code.hyperspatial.com/all-code/buddypress-code/buddypress-signup-form-hook/December 30, 2015 at 9:59 am #248197In reply to: Extra line breaks on buttons
Tuomas Karhunen
ParticipantPS. The theme in question (Gonzo) doesn’t officially support BuddyPress, so I just removed the line breaks from the buttons via CSS. Case closed, at least for now. š
December 30, 2015 at 8:16 am #248195In reply to: Extra line breaks on buttons
Tuomas Karhunen
ParticipantThanks for the reply! I set up a test site and discovered that it’s my WP theme that’s causing the line breaks. (No clue how to solve it though, gonna ask WP support and the theme creator for help.)
So this is not a BuddyPress issue.
December 29, 2015 at 9:04 pm #248189jscmal
Participant@Mark … I tested it with Twenty Fifteen WordPress Standard Theme and the problem happens. Then it is not properly a theme problem
I use the woothemes Canvas Theme release 5.9.3 and 5.9.15 (the latest).
To make work properly rtmedia was necessary add a fixing in the child theme functions.php and it worked properly:
// BuddyPress - Fixing for rtMedia function rtmedia_main_template_include($template, $new_rt_template) { global $wp_query; $wp_query->is_singular = true; return get_page_template(); } add_filter('rtmedia_main_template_include', 'rtmedia_main_template_include', 20, 2);In any case, if with the standard wordpress theme the problem happens and then it could not be a theme problem, then rtmedia could have some conflict with another module.
Anyway, I will open an account on the rtmedia website and i will open a ticket, adding screenshots of the problem.
Kind regards
G. Aloe
December 29, 2015 at 8:52 pm #248188Mark
Participant@jscmal Do you by chance have any theme customizations via custom functions that you’ve added to your child theme’s function.php or your bp-custom.php file? I have a lot and noticed some weird things happening after upgrade, albeit unrelated to your issue. You may want to activate and test your site on a WordPress default theme if you have custom functions and haven’t already tested on the default theme. Turned out I had some custom functions that weren’t optimally coded and I have since replaced them with new ones. Just a thought. Hope this helps. If not, be sure to submit a ticket at https://rtcamp.com/my-account/.
December 28, 2015 at 9:38 pm #248165In reply to: Admin screen goes white on BuddyPress activation
Paul-tCGs
Participantthanks @shanebp
re: your suggestions..
Turn on wp-debug and then check error logs. < I believe I did this by editing the Wpconfig.php file.. but the debug.log shows file size of zero .. so maybe I did that wrong.
— — // Enable WP_DEBUG mode
— — define(‘WP_DEBUG’, true);— — // Enable Debug logging to the /wp-content/debug.log file
— — define(‘WP_DEBUG_LOG’, true);— — // Disable display of errors and warnings
— — define(‘WP_DEBUG_DISPLAY’, false);
— — @ini_set(‘display_errors’,0);— — // Use dev versions of core JS and CSS files
— — // (only needed if you are modifying these core files)
— — define(‘SCRIPT_DEBUG’, true);— — /* That’s all, stop editing! Happy blogging. */
Deactivate bbPress and all related plugins. ~ as indicated in my post, did this in several different ways to totally and entirely isolate buddypress as the problem plugin.
Test with ONLY a WP theme like 2013 and BP ~ perhaps I wasn’t clear, but did this too.. same problem.
—- —- interesting new note —- —-
Since the folks at GoDaddy did their memory maximization steps, the error messages have stopped.. but I remembered that when the WP-Admin/Dashboard screen goes white, the site doesn’t. so I added buddypress back in, activated, got the WP-Admin white screen and see that the forums are back up and the user icons are too. so I can’t tweak the interface from the dashboard, but functionality is working slightly.
December 28, 2015 at 8:38 pm #248164In reply to: Admin screen goes white on BuddyPress activation
shanebp
Moderator… a limit to the number of groups & users that BuddyPress can manage; something like 20k users
There is no limit – provided you have the necessary server resources available.
There is a difference between total users and # of concurrent users – meaning the # of users that are performing operations at any one time.It’s impossible to diag your issue without access to your server.
Some suggestions:- Turn on wp-debug and then check error logs.
- Deactivate bbPress and all related plugins.
- Test with ONLY a WP theme like 2013 and BP
White screens can be tricky to diagnose – but a decent developer can at least narrow down the possible factors.
December 28, 2015 at 7:41 pm #248163In reply to: About BuddyPress Templates
Joshua Blevins
ParticipantI copied the files that are located in bp-legacy/buddypress/groups to MyTheme/buddypress/groups. Hmmmm, I will have to look into that Hugo. So that would be why you never see get_header or get_footer, etc. in any buddypress templates. That makes a hell of a lot more sense!
December 28, 2015 at 5:52 pm #248161In reply to: About BuddyPress Templates
Hugo Ashmore
ParticipantExplain in detail! Exactly what file, copied from where to where and in what directory structure is it housed in the new theme location – there is no one index.php for BP and all files, if we’re talking theme compatibility, are NOT standalone template files despite the implication in naming i.e ‘index.php’ but are themselves just partials that get injected into the WP template API via the title & content tags, check the BP template hierarchy guides.
December 28, 2015 at 4:30 pm #248159shanebp
ModeratorWhat is the reason that make you think that can be a plugin?
Your issues may not be due to a plugin, but your error log shows entries that are usually caused by a theme or other plugins.
Start by deactivating plugins related to activity.
If all else fails, delete BP 2.4.3 and install BP 2.4.2
You can download prior versions of BP here.If the problems go away, you may have found a bug in 2.4.3
You can submit a ticket here with the same user/pw you use for these forums.December 28, 2015 at 4:00 pm #248156jscmal
ParticipantHere the list of plugins installed in this moment:
advanced-lazy-load
advanced-recent-posts
affiliates-manager
affiliates-manager-simple-membership-integration
akismet
bp-activity-autoloader
bp-activity-comment-notifier
bp-activity-shortcode
buddypress
buddypress-cover-photo
buddypress-first-letter-avatar
buddypress-followers
buddypress-media
buddypress-members-only
buddypress-sticker
cookie-law-info
ewww-image-optimizer
eyes-only-user-access-shortcode
favorites
fb-like-notification-for-buddypress
google-analytics-dashboard-for-wp
hashbuddy
invite-anyone
jetpack
mailchimp-for-wp
options-importer
options-optimizer
redirection
simple-ajax-chat
simple-membership
simple-membership-after-login-redirection
simple-membership-custom-messages
simple-membership-form-shortcode
simple-membership-mailchimp-integration
simple-membership-menu
simple-membership-wp-user-import
stream
testimonials-by-woothemes
user-role-editor
user-switching
woosidebars
wordpress-database-reset
wordpress-importer
wordpress-seo
wp-optimize
wp-postviews
wp-super-cache
wp-sweep
wp-symposium-toolbar
wp-useronline
wp-video-lightboxDecember 28, 2015 at 3:58 pm #248155jscmal
ParticipantHi,
– WordPress 4.4 – Upgraded from the previous release
– BuddyPress 2.4.3 – Upgraded from the previous release
– No customization in buddypress core
–I have added a new post where I explained all the things in a better way, giving all the details about wordpress, buddypress and the plugins. But I added it 2 times but in both cases it was not published, I don’t know why.
In practice is the Filtering that is not working for any user that is not admin. My admin account works properly.
Another thing that happens is that keeping the Activity Stream page opened, the bar that says “Load Newest” appear also if there is no new post in the stream.
I tested using the default WordPress Theme Tweenty Fifteen but the problem happens also there.
About the theme used. It is Woothemes Canvas 5.9.3 and 5.9.15 . Never had problems with these themes using BuddyPress.
The only customization that I did for BuddyPress are just CSS tags and when I upgraded to the new wordpress release and to the buddypress latest release, everything worked properly between buddypress, wordpress and the theme.
About the plugins, I didn’t changed them until now. I will make a test deactivating some plugins.
What is the reason that make you think that can be a plugin?
Kind regards.
G.Aloe
December 28, 2015 at 3:47 pm #248154shanebp
ModeratorYour error log suggests that the problem may be in some custom code, a plugin or your theme.
To confirm, try switching to a WP theme such as 2013.
If the problems go away, then there is an issue in your theme.If not, try deactivating your other plugins one at a time and then test for the problem.
Which versions of WP and BP are you using?
December 28, 2015 at 3:11 pm #248151In reply to: About BuddyPress Templates
Joshua Blevins
ParticipantI really should not have posted before testing. However I copied pasted the BuddyPress Template for index.php to my theme and It comes up as a blank page. Any ideas why this would happen?
December 28, 2015 at 2:53 pm #248149In reply to: About BuddyPress Templates
Hugo Ashmore
Participant@jblevins1991 Please check through the BP codex documentation we provide a few guides there that set out how BP templating is structured and how to overload the files to a theme or child theme, this is your first port of call for information thereafter if you still have questions not covered in our guides do ask back here.
December 27, 2015 at 11:47 pm #248136In reply to: About BuddyPress Templates
Joshua Blevins
ParticipantOkay because I was looking at bp-core-template-loader. I saw the many functions such as bp_register_template_stack and bp_get_template_stack. From the description of the function in the comments I infer these functions allow me to say “instead of bp-legacy use these folders instead”. Is there a way to get BuddyPress to use the files at my-theme/buddypress/groups instead?
Also is index.php the page that shows lists of groups or the groups profile page?
December 24, 2015 at 7:39 pm #248089In reply to: BuddyPress 2.4.3 – Maintenance release
kostasbarkas30
Participanthello guys,
just today i discovered a bug for buddypress groups (2.4.3). when i go to admin panel for a group (i am the group administrator it shows the button join the group (bug , i am the administrator, i didn’t had those problems with buddypress 2.3.5). i change the theme and still it shows the button. how can report this?
thank you in advance
December 24, 2015 at 1:39 am #248066In reply to: center buddypress register page
@mercime
Participant@mrunal2989 Then there’s something awry with your configuration or with the theme’s Full Width template. When I looked at the source code of the registration page, there’s a (left-column) div and a sidebar (aside) … so that’s not a full-width layout at all. I suggest you contact the premium theme author why the Full Width page template is showing up with sidebar and how to fix it as we have no access to the theme.
December 24, 2015 at 1:01 am #248065In reply to: center buddypress register page
mrunal2989
Participant@mercime … unfortunately its still not centered .. I added the new CSS
body.register #buddypress {
width: 90%;
margin-left: auto;
margin-right: auto;
} to my child theme’s style.cssI have also set the my register page to full width
http://52.70.236.130/register/ is still not centered
December 23, 2015 at 10:25 pm #248061In reply to: Question about bp_activity_action
shanebp
ModeratorWhen looking at the bp-default one
Unless you are explicitly using the bp-default theme, you should be looking at this file:
buddypress\bp-templates\bp-legacy\buddypress\activity\entry.phpAs for the function, it says:
* @uses bp_get_activity_action()So look at that function which you will find right below the one you looked at.
And you will see:* @param array $args { * @type bool $no_timestamp Whether to exclude the timestamp. -
AuthorSearch Results