Search Results for 'theme'
-
AuthorSearch Results
-
February 15, 2017 at 1:38 am #263781
In reply to: Hide members
shanebp
ModeratorYou need to create the code. Do so in bp-custom.php.
February 15, 2017 at 1:05 am #263780In reply to: Hide members
beforeplastic
ParticipantRe: Hiding admins from member list:
In looking back at all of these threads I realize we didn’t jot down the root path to the file we need to update with this code: $excluded_user=’1, 23, 267′;
Can someone provide the path to get to this file? I can’t seem to find it again.
example: wp-content/buddypress/bp-themes/otherfoldername/filename.php
February 13, 2017 at 10:35 pm #263752danbp
ParticipantFebruary 13, 2017 at 10:20 pm #263751In reply to: Need help! After Update the Image URL is Broken
danbp
ParticipantHi,
check your html and any other work you recently made in your theme.
To understand, see what you published in your latest post, above. You’re nesting two img tag! That’s wrong…
February 11, 2017 at 2:44 pm #263697In reply to: BuddyPress error with Styling
Slava Abakumov
ModeratorAlso, don’t forget to check the theme – switch to any default, like 2017, 2016, 2015 etc.
February 11, 2017 at 8:05 am #263691In reply to: Echo slug of custom nav component
maelga
ParticipantThanks @henrywright
Defining the slug withbp_core_new_nav_item()is not an issue.How can i get the slug to be echoed dynamically?
I’m currently usingecho bp_loggedin_user_domain(). '/mynavslug/';to show the hyperlink in my theme files but i don’ t want the slug to be hardcoded.
Maybe something like thisecho $bp->bp_nav[]['link']?February 10, 2017 at 10:28 am #263663In reply to: Email all users of updated Forums
Slava Abakumov
ModeratorSure, you will need to filter out the
$argumentsvariable in my code for the required by youactivity_type.You can put the resulting code into a separate custom plugin or in https://codex.buddypress.org/themes/bp-custom-php/
February 9, 2017 at 10:40 pm #263652Slava Abakumov
ModeratorSuper easy solution is to do like this:
1) find or create a
buddypress/activity/post-form.phpfile in your theme
2) find in that file atextareawithid="whats-new"and addmaxlength="143"to its attributes so it will become something like this:
<textarea class="bp-suggestions" maxlength="143" name="whats-new" id="whats-new" cols="50" rows="10"....
3) save and done.It will limit globally, though. If only in groups (not modifiying activity directory and profiles) – wrap it in a
p_is_group()like this
<textarea class="bp-suggestions" <?php echo bp_is_group() ? 'maxlength="143"' : '';?> name="whats-new" id="whats-new" cols="50" rows="10"....February 9, 2017 at 10:30 pm #263650Slava Abakumov
ModeratorTry this
add_filter('show_admin_bar', '__return_false');. Put it inbp-custom.phpor in your child themefunctions.php.The problem might be with styling for Admin Bar. Just a guess.
February 9, 2017 at 5:41 pm #263637Venutius
ModeratorThis sounds like it could be a conflict with other software loaded, have you tried disabling any other plugins? Also, it may be a theme conflict so you could try it running a default theme such as 2016.
February 8, 2017 at 6:38 pm #263620In reply to: ANOYING WARNING from call_user_func_array()
r-a-y
KeymasterCan you follow up on Paul’s suggestion?
Do you have
NOBLOGREDIRECTdefined anywhere? Checkwp-config.phpor check if a plugin or theme is defining it somewhere.I’ve added a patch that should fix this issue if
NOBLOGREDIRECTis defined, but is running from single site:
https://buddypress.trac.wordpress.org/attachment/ticket/7441/7441.01.patchCan you test this out and let us know if this fixes things for you?
February 7, 2017 at 10:32 pm #263609In reply to: BuddyPress Comment Button Not Working
shanebp
ModeratorTalk to your theme author.
February 7, 2017 at 8:48 pm #263603In reply to: Users can’t join group
eg
ParticipantIt’s not a theme issue, it’s a link issue ๐
Thanks anyways.February 7, 2017 at 8:13 pm #263602In reply to: BuddyPress Comment Button Not Working
sjacks01
ParticipantBingo!
Switched to 2015 and the comment button works.
Is there a workaround or do I need to have this fixed by my theme author?
Thanks for the quick response BTW!
February 7, 2017 at 8:05 pm #263600In reply to: BuddyPress Comment Button Not Working
shanebp
ModeratorIt may be due to a javascript conflict with your theme or some other plugin.
To check if itโs your theme, try switching momentarily to a WP theme like 2015 and see if the issue persists.
February 7, 2017 at 8:05 pm #263599In reply to: Users can’t join group
shanebp
ModeratorIt’s doubtful that anyone here will have a solution.
It’s probably due to a conflict with your theme or some other plugin.
To check if it’s your theme, try switching momentarily to a WP theme like 2015 and see if the issue persists.
February 7, 2017 at 6:57 pm #263594In reply to: Users can’t join group
eg
ParticipantHello Henry,
Thanks for your response. This is a recent issue though, so I’m doubtful if it’s a theme issue. If you go directly to the groups link in your personal profile you can join any group. However, if I click on Join button at the top of the group page, it redirects me to join the website. We really don’t know why this is happening.
Please take a look here: trinikidscorner.com/parents (facebook sign in required)
Click on any group in our right bar and try to join. You will be unable to. However, if you go to your profile and then click on groups, you can join from there. Any idea as to why this is happening?
Kind regards,
estherFebruary 7, 2017 at 3:39 pm #263589In reply to: Members page: Hide defaut search field
shanebp
ModeratorYou can remove it by creating a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\index.phpRemove this code:
<?php /* Backward compatibility for inline search form. Use template part instead. */ ?> <?php if ( has_filter( 'bp_directory_members_search_form' ) ) : ?> <div id="members-dir-search" class="dir-search" role="search"> <?php bp_directory_members_search_form(); ?> </div><!-- #members-dir-search --> <?php else: ?> <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> <?php endif; ?>February 6, 2017 at 6:17 pm #263573porubcansky
ParticipantNew information: the commenting issue seems to be theme related. The custom theme Lettermo exhibits the problem across multiple pages on the site, as does Agama Pro that we’re testing. The TwentySeventeen theme seems to bring the comments back into working order. Is it still worth checking to see if BadgeOS is the problem here?
February 6, 2017 at 5:10 pm #263569In reply to: Adding a link (button) on member directory page
Paul Wong-Gibbs
KeymasterNice work! That looks like it ought to work. Assuming you’re logged in. Assuming that user has that capability.
Have you tried adding text or something just output that PHP block, to double-check your edited template is actually being used? You might be touching the wrong file.
Failing that, it might be output, but just hidden by your theme’s CSS? Have you checked for this element inside the web browser’s inspector tools, have you found it?
Alternatively, you could use this code, but I don’t see why it would make any difference:
<?php if ( is_super_admin() ) : ?> <div>hello world</div> <?php endif; ?>^ That slightly different syntax for PHP in these template files (note the
{}are gone) makes the file slightly more readable/less prone to be accidentally broken.February 6, 2017 at 3:59 pm #263564In reply to: Adding a link (button) on member directory page
Paul Wong-Gibbs
KeymasterYou might be running a theme with BuddyPress-specific files. Have a hunt around your theme, look for a similar structure. etc
February 6, 2017 at 3:43 pm #263561In reply to: Pending Activation
kavsc2
ParticipantHi, I’m having the activation email issue as well. I’m running exactly the same install as I was on a another site 2 weeks ago (before upgrading to WP 4.72) that worked fine. This one I can’t even send messages manually. I’m a plug and play person; no coding skills. If these things don’t work, I don’t know where to begin. Guidance is appreciated.
WP 4.72
WP default 2017 theme
all plugins disabled except BPFebruary 6, 2017 at 2:07 pm #263555In reply to: Adding a link (button) on member directory page
Paul Wong-Gibbs
KeymasterGo to
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/. The four files —activate,index,members-loop, andregister— are templates used for the Members Directory. Ignore thesinglesubfolder; that’s used for individual member pages.You will want the
index.phpfile.In your theme, create a
buddypress/memberssubfolder. e.g./wp-content/themes/my-theme/buddypress/members/. You’ll need to create both directories if they’re missing. Copy thatindex.phpwe found earlier into this new directory.e.g. you’ll end up with
/wp-content/themes/my-theme/buddypress/members/index.php. You’ll want to play around in this file to find where you want to add your custom CSS, which I’ll leave to you to figure out.February 6, 2017 at 1:23 pm #263553In reply to: Adding a link (button) on member directory page
djmazi12
ParticipantHi Paul
Sounds great. Yes i know how to some basic HTML and CSS – not very good at PHP. But where would i have to edit this file? Am i right if its in the child theme, so it won’t be overwritten when i update?
February 6, 2017 at 1:07 pm #263552In reply to: Showcase forum not about showcases
Paul Wong-Gibbs
KeymasterNo, you’re not. It’s just not used very well. I’d like to get rid of it one day, but we’re trying to get a new theme for the website built first. Sorry for the inconvenience in the meantime.
-
AuthorSearch Results