Forum Replies Created
Hi, Do you have any other solution for my problem? The notification number is always increasing and I do not do anything I will have hundreds messages in a couple of weeks.
Please, help me! Thanks
I did it, but the problem is still there!
I still use odl bp forum, maybe the problem is there?
I tried to move to new bbpress, but I did not manage to import old forum.
Thanks for your quick answer. I deactivated BP Template pack.. but the problem is still there… nothing has changed. I still have notification number with 5 items and if I click on it it doesn’t count down, it always tells me that I have 5 new messages.
Any other solution,
Hi dear, I successfully installed your private community for bp and I edited
private_community_for_bp-master/private-community-for-bp.php changing ‘test’ with the name of the page I want to be public.
I cannot figure out how to put more pages available for generic users.
I tried to copy this string
$bphelp_my_unblocked_pages = ‘page_name’;
many times changing the name of the page each time, but it always works only with the last page.
Can you please tell me how to put more pages?
Many many thanks,
Has someone found a solution to this issue? I also want to deny access to non-logged in users to group and members pages.
I tried private_community_for_bp but I did not understand how to customize code since I want to leave generic users to vist 3 pages that do not belong to bp installation since, like site homepage
I try to explain better: I need 3 pages available to all users. Those three pages are: home, radio-109, contatti (these are the short name of the pages).
I want to stop users from accessing bp pages like members and groups pages by hot links.
‘registrati’ is the slug that stands for ‘register’ page on bp.
I used private_community_for_bp-master, as you suggested me, and I edited private-community-for-bp.php in this way:
/* Prevent logged out users from accessing bp pages */
$bphelp_my_unblocked_pages = ‘ ‘; // Replace ‘test’ with the name of the page you would like to make available to logged out visitors EX: ‘activity’
$bphelp_my_unblocked_pages = ‘radio-109′; // Replace ‘test’ with the name of the page you would like to make available to logged out visitors EX: ‘activity’
$bphelp_my_unblocked_pages = ‘contatti’; // Replace ‘test’ with the name of the page you would like to make available to logged out visitors EX: ‘activity’
$bphelp_my_unblocked_pages = ‘registrazione’; // Replace ‘test’ with the name of the page you would like to make available to logged out visitors EX: ‘activity’
$bphelp_if_I_changed_my_register_slug_it_is = ‘registrazione’; // Replace ‘register’ if you have changed the ‘register’ slug for example to ‘sign-up’
if ( !is_user_logged_in() && !bp_is_register_page() && !bp_is_activation_page() && ( $bp_unfiltered_uri != $bphelp_my_unblocked_pages ) )
bp_core_redirect( get_option(‘home’) . ‘/’ . $bphelp_if_I_changed_my_register_slug_it_is );
add_action( ‘wp’, ‘bphelp_private_community’, 3 );
/* End Prevent logged out users from accessing bp pages */
I want that generic users can reach those pages, but at this time they are redirect to the ‘registrazione’ page. Where I wrong? What’s the name of homepage? Is it home, even if it doesn’t appear to the link?
Thanks for your help!
Thanks for your quick answer.
I read the readme file but I did not understeand whicj commented code I have to edit.
In my website I have 3 public page: ‘home’ , ‘radio’ , ‘contatti’, so I add these strings:
$bphelp_my_unblocked_pages = ‘home’;
$bphelp_my_unblocked_pages = ‘radio’;
$bphelp_my_unblocked_pages = ‘contatti’;
and put home in this string, since you can reach register page from home:
$bphelp_if_I_changed_my_register_slug_it_is = ‘home’; // Replace ‘register’ if you have changed the ‘register’ slug for example to ‘sign-up’
but those pages are still blocked.
Hey, no one can help to solve my issue? Pleas, I don’t want to start again from the beginning.
Avatars link are like the following:
I can see the folder and the file through filezilla; I cannot save the image from web page.
hi again, I found this
is this a solution to the problem?, may you please tell me ho to patch a php file? is the file to patch bp-core-avatars.php?
@mercime I up to date BP to 1.7.1 but the problem si still there. I also tried to switch to the default theme but nothing has changed. I still have broken link instead of avatar pics and i cannot upload a new avatar. Please, help me.
Hi, I have the same problem, even if I didn’t move the site. Many users of my social network have lost their Avatar and Gravatar. Instead of the original image I can see a broken link icon. If I try to upload a new image I cannot do it, It gives me back a black frame. The Avatar directory is the default one, wp-content/uploads/avatars. Should I change this directory and where?