-
struth replied to the topic Friends, messages & members list only shows two in the forum How-to & Troubleshooting 10 years, 2 months ago
Ow thanks for your quick help,
activating Twentyfourteen correctly shows all the members with the default pagination. Why didn’t I think of doing that, I feel a bit stupid now lol
I have not made any changes to the members-loop.php file that I can remember but I’m checking it out just incase, I’ll post back about this one
Hmm, not sure what to…[Read more]
-
struth replied to the topic Friends, messages & members list only shows two in the forum How-to & Troubleshooting 10 years, 2 months ago
Ow thanks for your quick help,
activating Twentyfourteen correctly shows all the members with the default pagination. Why didn’t I think of doing that, I feel a bit stupid now lol
Hmm, not sure what to fix? I’ll do some testing.
I might just start using Twentyfourteen lol
-
struth replied to the topic Friends, messages & members list only shows two in the forum How-to & Troubleshooting 10 years, 2 months ago
I will simplify the question & add some screen shots in the hope of better explaining my issue
Members list’s only showing pagination for two members in each page?
I’m unsure how this happened only up until a few days ago the members directory showed 20 members, I thought it might be the latest update though I now doubt it. Is anyone having…[Read more]
-
struth started the topic Friends, messages & members list only shows two in the forum How-to & Troubleshooting 10 years, 2 months ago
Friends, messages & members list’s only show two items in each list, I used to have 20 in each page.
The bb forum pagination works fine as there are settings to govern this behavior, the buddypress Friends, messages & members list does not have pagination settings or at least I don’t see any settings to change this behaviour.
Why has this…[Read more]
-
struth replied to the topic Member Directory CSS for 3 Columns in the forum How-to & Troubleshooting 10 years, 2 months ago
Hi abray,
including div#content in the css class did not work in my theme however…
Try the below code, it works for me without upsetting widgets#members-dir-list.members.dir-list li {
display:inline-block;
width:28%;
margin:6px;
}– JH
-
struth replied to the topic Member Directory CSS for 3 Columns in the forum How-to & Troubleshooting 10 years, 2 months ago
Hi abray,
including div#content in the css class did not work in my theme however…
Try the below code, it works for me without upsetting widgetsdiv#members-dir-list.members.dir-list li {
display:inline-block;
width:28%;
margin:6px;
}– JH
-
struth replied to the topic [Resolved] Logged-In User Profile Link URL in the forum How-to & Troubleshooting 11 years, 4 months ago
I was quietly hoping you would figure this out, well done Lars.
Will test it out in adminbarbegone tomorrow, looks good, Thanks for being open with you code and posting, this will help me alot. I couldn’t get this code to redirect not logged in users to the registration page but then, I’m a n00b with php; lol
s2Members uses ! a lot in short…[Read more]
-
struth replied to the topic [Resolved] Logged-In User Profile Link URL in the forum How-to & Troubleshooting 11 years, 4 months ago
I just hijacked Mr Jacoby code:
add_action('after_setup_theme', 'remove_admin_bar'); // remove admin bar for users
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}function redirect2profile(){
include_once( ABSPATH . 'wp-admin/includes/plugin.php'…[Read more] -
struth replied to the topic [Resolved] Logged-In User Profile Link URL in the forum How-to & Troubleshooting 11 years, 4 months ago
@jackreichert your a bloody genius Mr Jacoby, buddyPress just gets better & then some, thanks you mate!
Do you mind if I include your code in my “n00bish” wp plugin:
function redirect2profile(){
include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );
if($_SERVER[‘REQUEST_URI’] == ‘/profile/’ && is_plugin_active(‘buddypress/bp-loader.php’)…[Read more]
@struth
Active 5 years, 5 months ago