Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,501 through 6,525 (of 32,562 total)
  • Author
    Search Results
  • shanebp
    Moderator

    If you switch to a WP theme like 2013, does the problem still occur?

    #248227
    shanebp
    Moderator

    You don’t need to touch the members-loop template file.
    Try putting this in your theme/functions.php or in plugins/bp-custom.php

    function 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' );
    #248209
    GreyWyvern
    Participant

    I 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?

    #248208
    shanebp
    Moderator

    I’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.php

    I 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.

    #248207
    GreyWyvern
    Participant

    Thank 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?

    #248206
    shanebp
    Moderator

    Unless 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.php

    There is no need to touch this file:
    \wp-content\plugins\buddypress\bp-members\bp-members-screens.php

    You can add your challenge to the overload template and then check it using the bp_signup_validate hook.
    Example: https://code.hyperspatial.com/all-code/buddypress-code/buddypress-signup-form-hook/

    #248197
    Tuomas Karhunen
    Participant

    PS. 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. šŸ™‚

    #248195
    Tuomas Karhunen
    Participant

    Thanks 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.

    #248189
    jscmal
    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

    #248188
    Mark
    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/.

    #248165
    Paul-tCGs
    Participant

    thanks @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.

    #248164
    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.

    #248163
    Joshua Blevins
    Participant

    I 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!

    #248161
    Hugo Ashmore
    Participant

    Explain 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.

    #248159
    shanebp
    Moderator

    What 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.

    #248156
    jscmal
    Participant

    @shanebp

    Here 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-lightbox

    #248155
    jscmal
    Participant

    Hi,
    – 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

    #248154
    shanebp
    Moderator

    Your 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?

    #248151
    Joshua Blevins
    Participant

    I 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?

    #248149
    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.

    #248136
    Joshua Blevins
    Participant

    Okay 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?

    #248089
    kostasbarkas30
    Participant

    hello 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

    #248066
    @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.

    #248065
    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.css

    I have also set the my register page to full width

    http://52.70.236.130/register/ is still not centered

    #248061
    shanebp
    Moderator

    When 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.php

    As 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.
Viewing 25 results - 6,501 through 6,525 (of 32,562 total)
Skip to toolbar