Search Results for 'theme'
-
AuthorSearch Results
-
March 12, 2016 at 10:32 am #251148
In reply to: Registration page does not work
Manuel5cc
ParticipantFunctions.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
March 12, 2016 at 9:00 am #251144In reply to: Registration page does not work
Manuel5cc
ParticipantI tried the plugins thing with my theme and with Twenty Fifteen but still happens.
March 12, 2016 at 8:57 am #251143ngoegan
ParticipantAnd just to make sure I cover all my bases, here are my answers:
1. Which version of WordPress are you running?
4.4.22. 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 think4. Did you upgrade from a previous version of WordPress? If so, from which version?
No5. 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.17. 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 SMTPI 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 Twelve10. Have you modified the core files in any way?
I modified Footer.php on WordPress to edit copyright11. Do you have any custom functions in bp-custom.php?
I don’t know12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.5.813. 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?
Hostgator15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Basic Trouble Shooting:
I don’t know. Maybe Apache?March 12, 2016 at 1:45 am #251133valuser
ParticipantHave 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’}
March 12, 2016 at 12:56 am #251130In reply to: Registration page does not work
Henry Wright
ModeratorIn that case it could be your theme?
March 11, 2016 at 9:45 pm #251127In reply to: How to display additional member directory.
shanebp
ModeratorPlease 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-usePut your members-loop code in that page.
Also includeget_header()andget_footer()calls.March 11, 2016 at 8:45 pm #251126In reply to: How to display additional member directory.
kamarr
ParticipantThanks 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.
March 11, 2016 at 8:43 pm #251125In reply to: Avatar Upload ‘Wrong Size’ Message Is Wrong
dsnic
ParticipantHi @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.
March 11, 2016 at 2:02 pm #251104In reply to: How to display additional member directory.
valuser
ParticipantThe two files in /wp-content/your-theme/buddypress/members – folder
(however – bespoke multi-network bits & pieces like “genre” not really relevant to the instant query)
Cheers
March 11, 2016 at 12:49 pm #251101In reply to: How to display additional member directory.
valuser
ParticipantCan 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!
March 11, 2016 at 12:14 pm #251099Topic: Registration page does not work
in forum How-to & TroubleshootingManuel5cc
Participant1. 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? No8. 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 theme10. 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.
March 11, 2016 at 12:09 pm #251098In reply to: How to display additional member directory.
kamarr
ParticipantThank 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?
March 11, 2016 at 11:08 am #251092In reply to: How to display additional member directory.
valuser
ParticipantTry 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!!!
March 10, 2016 at 9:16 pm #251006jessicana
ParticipantHello
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
March 10, 2016 at 6:38 pm #250999In reply to: Buddypress issue
invisibleland
ParticipantStill 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/
March 10, 2016 at 5:31 am #250957paddy33
ParticipantI’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.
March 9, 2016 at 10:43 am #250905In reply to: Members page only displays online users
Henry Wright
ModeratorThis 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?
March 9, 2016 at 10:41 am #250904Henry Wright
ModeratorYou mentioned you’re using a customised theme. Can you check if you still see the problem when using Twenty Fifteen?
March 8, 2016 at 1:24 pm #250866In reply to: Adding line to Buddypress registration page
Hugo Ashmore
ParticipantYou 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).
March 8, 2016 at 1:22 am #250845In reply to: ‘bp_email_use_wp_mail’ Causing Issues
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 😀
March 7, 2016 at 9:45 pm #250836In reply to: ‘bp_email_use_wp_mail’ Causing Issues
Paul Wong-Gibbs
Keymaster2.) 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.
March 7, 2016 at 11:18 am #250789In reply to: Adding line to Buddypress registration page
Henry Wright
ModeratorThat 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/
March 6, 2016 at 1:22 pm #250756danbp
ParticipantHi
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. 😉
March 5, 2016 at 7:10 pm #250717In reply to: BuddyPress + bbPress Breaks bbPress Search Widget
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.
March 5, 2016 at 5:12 pm #250705In reply to: Activation mails not send after update
fidelleon
ParticipantHello,
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.
-
AuthorSearch Results