Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 4,751 through 4,775 (of 31,073 total)
  • Author
    Search Results
  • #251148
    Manuel5cc
    Participant

    Functions.php contains a lot of code that the theme needs to work. It includes explicit compatibility with buddypress since the theme is served with it and is intended to work together. I am talking about Powermag btw http://themeforest.net/item/powermag-the-most-muscular-magazinereviews-theme/4740939

    The functions.php of Twenty Fifteen is empty

    #251144
    Manuel5cc
    Participant

    I tried the plugins thing with my theme and with Twenty Fifteen but still happens.

    ngoegan
    Participant

    And just to make sure I cover all my bases, here are my answers:

    1. Which version of WordPress are you running?
    4.4.2

    2. Did you install WordPress as a directory or subdomain install?
    Not sure, but I think as a directory.

    3. If a directory install, is it in root or in a subdirectory?
    root I think

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes.

    6. Which version of BP are you running?
    2.5.1

    7. Did you upgraded from a previous version of BP? If so, from which version?
    Yes, the one before it.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes, Akismet, BBpress, Buddypress Edit Activity, Buddypress Forum Editor, Buddypress Group Email Subscription, Buddypress Like, Dynamic Widgets (deactivated), Events Made Easy, Events Made Easy Frontend Submit, Hashbuddy, InfiniteWP CLient, rtMedia, Theme My Login, Wanguard, Wordfence Security, WP SMTP

    I did deactivate all of them except wordpress and the register page worked, I then activated Buddypress and the redirect issue began.

    9. Are you using the standard WordPress theme or customized theme?
    Twemty Twelve

    10. Have you modified the core files in any way?
    I modified Footer.php on WordPress to edit copyright

    11. Do you have any custom functions in bp-custom.php?
    I don’t know

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.5.8

    13. Please provide a list of any errors in your server’s log files.
    The error log looks blank. Maybe I’m looking at the wrong thing?

    14. Which company provides your hosting?
    Hostgator

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Basic Trouble Shooting:
    I don’t know. Maybe Apache?

    valuser
    Participant

    Have revisted this interesting query!

    Consulted this similar query

    and have come up with another possible solution
    (so long as the main site has a different theme or child theme to the other sites.)

    in functions.php of sub-sites’ themes insert

    add_action( 'template_redirect', 'redirect_to_specific_page' );
    
    function redirect_to_specific_page() {
    
    if (is_page('Register') && ! is_user_logged_in() ) {
    
    wp_redirect( 'http://yourmainsite.dev/register/', 301 ); 
      exit;
        }
    }

    would not work with slug is_page(‘register’}

    #251130
    Henry Wright
    Moderator

    In that case it could be your theme?

    #251127
    shanebp
    Moderator

    Please don’t call out people individually.

    Create a Page – not a Post.

    Create a template and assign it to that Page.
    https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/#creating-custom-page-templates-for-global-use

    Put your members-loop code in that page.
    Also include get_header() and get_footer() calls.

    #251126
    kamarr
    Participant

    Thanks again.

    I’ve copied the files you provided to the files in the /wp-content/my-theme/buddypress/members – folder. To test it properly I’ve even named the target file local-members-loop.php. However, the page still produces a 404 page not found error.

    The site is running with WordPress 4.4.2 and Buddypress 2.5.2.

    The idea is sound, I wonder what the issue may be.


    @Valuser


    @henrywright


    @shanebp


    @danbp

    #251125
    dsnic
    Participant

    Hi @imath thanks for jumping in. I spoke with the theme developers and they said that the theme sets the “BP_AVATAR_FULL_WIDTH” to 580 px. But even so, the Buddypress message is still wrong, because I’m uploading a bigger image and the message tells me that it’s a smaller image.

    #251104
    valuser
    Participant

    The two files in /wp-content/your-theme/buddypress/members – folder

    http://pastebin.com/PWS7AAps

    http://pastebin.com/b3j6NGwz

    (however – bespoke multi-network bits & pieces like “genre” not really relevant to the instant query)

    Cheers

    #251101
    valuser
    Participant

    Can only offer this.

    My alternative members directory is “local-” as in “local-members-loop.php”

    I also have a copy of members-loop.php in the /wp-content/your-theme/buddypress/members folder

    But that was only (at least i thought!) so that i added a line in the main directory directing users to the local directory

    mysite.com/local-members/ gets the alternative directory and mysite.com/local-members-loop.php/ produces a 404

    While i am running bp 2.5.1 and wp 4.4.2 and a lot of plugins these bp pages are in a child theme and have not been updated for a while and so may not reflect recent changes to the bp-legacy theme BUT they work!

    #251099
    Manuel5cc
    Participant

    1. Which version of WordPress are you running? 4.4.1

    2. Did you install WordPress as a directory or subdomain install? Directory

    3. If a directory install, is it in root or in a subdirectory? Root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? No

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. YES

    6. Which version of BP are you running? 2.5.1

    7. Did you upgraded from a previous version of BP? If so, from which version? No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes (list is long so I’ll detail if needed)

    9. Are you using the standard WordPress theme or customized theme? Pro theme

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not running

    13. Please provide a list of any errors in your server’s log files.

    14. Which company provides your hosting? Quijost

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux

    Register page does not work, it just reloads and erases password data. I have to note that I’ve tried it in Chrome and Firefox. In the first one it works properly, in the second one does not.

    I have tried to reproduce this with the Twenty Fifteen theme and it seems to happen in the same way.

    #251098
    kamarr
    Participant

    @Valuser

    Thank you for your response and suggestion! After following the steps and visiting the page, the website produces a 404 page not found error.

    I’ve tried creating the page with in wordpress as a new post just in case, and that produces a blank theme style page with no member directory.

    The approach seems logical. Copying the member-loop.php file, renaming it, and pasting it in wp-content/my-theme/buddypress/members is probably not far from the mark.

    I wonder what should be changed?

    #251092
    valuser
    Participant

    Try this. It MAY work.

    In your theme folder add a folder named “buddypress”.

    In that folder place another folder named “members”

    Duplicate the file /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    Rename this new duplicate file to say “new-york-members-loop.php” and place it in /wp-content/your-theme/buddypress/members

    Obviously you will code conditions into this file so that it only turns up members from New-York.

    (conditions and name etc to your specs)

    The file should respond to the link http://yoursite.com/new-york-members/

    The mods you mention will surely refine this if not correct!!!

    jessicana
    Participant

    Hello

    I tried to redirect my subdomain registration page on [multsite] to the main domain site registration page. I used the following code in my child theme functions.php for the site which I want to redirect its registration page:

    //redirect to the registration page
    function MyRedirect() {
        if(is_page('register')) {
            wp_redirect( 'http://domain.com/register/', 301 );
            exit;
        }
    }
    add_action('template_redirect','MyRedirect');

    Interestingly, the above code did not work, .htaccess is not working as well. I am, for sure, missing something but I don’t know what! .htaccess code is:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^sub\.domain\.com$
    RewriteRule ^register/(.*)$ http://domain.com/register/$1 [R=301,L]

    Any help from you is highly appreciated as I am really stuck in this.

    Thanks in advance for all of you specially: @djpaul , @boonebgorges , @henrywright , @r-a-y , @danbp , @modemlooper , @imath , @shanebp .

    Jessica

    #250999

    In reply to: Buddypress issue

    invisibleland
    Participant

    Still White Screen of Death, error log isn’t show fatals, but I’ve got about 10 gigs of error_log of this sort of thing:

    [Thu Mar 10 13:34:26 2016] [warn] [client 141.101.81.74] mod_fcgid: stderr: PHP Warning: Missing argument 1 for ow_is_addon_group(), called in /var/www/vhosts/oneword.com/httpdocs/wp-content/themes/oneword/activity/activity-loop.php on line 21 and defined in /var/www/vhosts/oneword.com/httpdocs/wp-content/themes/oneword/functions.php on line 240, referer: http://www.oneword.com/members/gemmaflowers81/

    paddy33
    Participant

    I’ve setup 2 copies of the site locally to do a Before & After comparison. The attached image is a side by side comparison of Chrome’s Inspector when a link in the navbar is selected. https://i.imgur.com/2p6IU1l.png

    BEFORE – BP Version 1.7.2 (Everything looks fine, but BP needs to be updated)

    AFTER – BP Version 2.1.2 (Upon updating to this version, custom templates are not showing. After adding theme support for BP to functions file, custom templates load properly but the custom styling for BuddyPress navbar is lost).

    Spent quite some time trying to figure this out but can’t get to the bottom of it. Hopefully, an experienced set of eyes can spot the issue.

    Thanks for your help.

    #250905
    Henry Wright
    Moderator

    This might be due to a plugin you have activated or perhaps even the theme you’re using. Try disabling all plugins and reverting to Twenty Fifteen. Does the search return offline users now?

    Henry Wright
    Moderator

    You mentioned you’re using a customised theme. Can you check if you still see the problem when using Twenty Fifteen?

    #250866
    Hugo Ashmore
    Participant

    You don’t really need to be looking at that codex page, this ought to be a simple overload of templates, i.e copy register, from BP to your theme and edit as required. If you start to work with the extended advanced hierarchy templates you have to create full standalone templates i.e each must contain header and footer includes (hence why you appear to have lost styling, no head element for your document).

    #250845
    BackpackersUnion
    Participant

    @djpaul thanks for the updates!

    If you’re saying extra CSS is getting involved, I strongly suspect you have some other plugin or theme component adding extra junk.

    I think you’re right. My suspicion is it’s some caching issue within the “Google Gmail App”, but I’m not 100% sure. Unfortunately this invalidates a bunch of my tests, but also means crossing your fingers may have helped 😀

    #250836
    Paul Wong-Gibbs
    Keymaster

    2.) Then when altering configuration (i.e. adding add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ ); to BP_Custom), and testing again, the emails output a combination of WP Better Email and the default template with various CSS Styles altering different parts of the email with each new email sent.

    BTW, this is exactly what I expect to happen. The content from the plain text version of the email from BuddyPress into the template provided by, in this case, WP Better Email.

    If you’re saying extra CSS is getting involved, I strongly suspect you have some other plugin or theme component adding extra junk.

    #250789
    Henry Wright
    Moderator

    That would be buddypress/members/index-register.php. See the BuddyPress Template Hierarchy article for more details.

    Ref: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    danbp
    Participant

    Hi

    you can use this snippet from within bp-custom.php to change the default year range in the profile field datepicker (1902 – 2035). In the example, you will get 1950 – 2020

    function custom_bp_datebox($html, $type, $day, $month, $year, $field_id, $date) {      
        if($type == 'year'){
       
            $html = '<option value=""' . selected( $year, '', false ) . '>----</option>';
     
            for ( $i = 2020; $i > 1949; $i-- ) {
                    $html .= '<option value="' . $i .'"' . selected( $year, $i, false ) . '>' . $i . '</option>';
            }
        }
        return $html;
    }
    add_filter( 'bp_get_the_profile_field_datebox', 'custom_bp_datebox',10,7);

    Tested with BP 2.5 and a third party theme. Hope it helps you. 😉

    #250717
    Gretchen Louise
    Participant

    @shanebp I activated different themes on a test site, and replicated the issue with WP 2015, as Dan confirmed. However, the issue did not persist when using Genesis, 2013, or Flourish (Genesis Child Theme by Restored 316).

    The theme being used on the amongstlovelythings.com site is Beautiful, a Genesis Child Theme, albeit an older one.

    #250705
    fidelleon
    Participant

    Hello,

    I agree having more betatesters would be fine but sometimes it’s difficult when you just manage only one Buddypress site.

    I’m having the same problem, the activation mail is not being sent since I updated. I have activated full debug mode (E_ALL and Display_errors) but nothing shows in the error log.

    Besides, I had overriden the normal activation mail in my child’s theme’ functions.php. After it stopped working I did a grep and saw the function I was trying to use was in the v2.5 deprecated list, so I commented out all the overriding code.

    I’m using the Easy WP SMTP plugin, the sender mails are good ones both in the plugin and the main WordPress configuration, and it can receive mails.

Viewing 25 results - 4,751 through 4,775 (of 31,073 total)
Skip to toolbar