Forum Replies Created
-
Author
-
dannicastanheira
ParticipantHi Sharm! Thanks for the feedback but that way everyone could send and receive messages. The idea would be to able the paid members to send messages but to receive from every member as well.
June 10, 2015 at 20:05 in reply to: "Your current membership does not allow private messages access." #61875dannicastanheira
ParticipantThanks once again for your quick response!
dannicastanheira
Participantdannicastanheira
ParticipantLast reply, read carefully the other reply or change code:
function my_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 20;
$bp->bp_nav[‘media’][‘position’] = 10;
$bp->bp_nav[‘location’][‘position’] = 30;
$bp->bp_nav[‘activity’][‘position’] = 50;
$bp->bp_nav[‘friends’][‘position’] = 40;
$bp->bp_nav[‘notifications’][‘position’] = 60;
$bp->bp_nav[‘profile’][‘name’] = ‘Details’;
$bp->bp_nav[‘friends’][‘name’] = ‘Favorites’;
$bp->bp_nav[‘notifications’][‘name’] = ‘Inbox’;}
add_action( ‘bp_setup_nav’, ‘my_change_profile_tab_order’, 999 );dannicastanheira
ParticipantChange 10, 20, 30, 40 in the code to the order of fields you want to show up first. 10 = media and so on
dannicastanheira
ParticipantForgot 2 lines of code, you can post it anywhere in the file
// Reorder menus
function my_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘media’][‘position’] = 20;
$bp->bp_nav[‘location’][‘position’] = 30;
$bp->bp_nav[‘activity’][‘position’] = 50;
$bp->bp_nav[‘friends’][‘position’] = 40;
$bp->bp_nav[‘notifications’][‘position’] = 60;
$bp->bp_nav[‘profile’][‘name’] = ‘Details’;
$bp->bp_nav[‘friends’][‘name’] = ‘Favorites’;
$bp->bp_nav[‘notifications’][‘name’] = ‘Inbox’;}
add_action( ‘bp_setup_nav’, ‘my_change_profile_tab_order’, 999 );dannicastanheira
ParticipantAlvin i used the code below but in the functions.php file at the following directory path: /public_html/wp-content/themes/kleo
Last 3 lines of code is to changing name and the others position of the menus.
// Reorder menus
function my_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘media’][‘position’] = 20;
$bp->bp_nav[‘location’][‘position’] = 30;
$bp->bp_nav[‘activity’][‘position’] = 50;
$bp->bp_nav[‘friends’][‘position’] = 40;
$bp->bp_nav[‘notifications’][‘position’] = 60;
$bp->bp_nav[‘profile’][‘name’] = ‘Details’;
$bp->bp_nav[‘friends’][‘name’] = ‘Favorites’;
$bp->bp_nav[‘notifications’][‘name’] = ‘Inbox’;dannicastanheira
ParticipantHey Laura! It works great only in mobile it seems to dissapear most of the menus as u can check below.
http://alojamentouniversitario.com/members/dannicastanheira/
Any tips to fix this? 🙂
dannicastanheira
ParticipantSorry Laura, Seems that posted on the wrong theme =D You are right, it’s Kleo
dannicastanheira
ParticipantHey Laura! Once again thanks for take a time to answer back. Ended up to find the file after you poiting the direction.
If someone is looking for the exact file you can find it in the path below
wp-content/themes/kleo/buddypress/members/single/home.php
dannicastanheira
ParticipantRadu, your suggestions end up to solve the problem. Really appreciate the time you took help.
Cheers to you!dannicastanheira
ParticipantNow is the 2 ads in the side bar, the responsive is below the first! You can check in the link below. Thanks for your help and sorry for the late response!
dannicastanheira
ParticipantOkay, So where’s the translation file root directory then? I have digged in some of them and don’t get to find the match! 🙁
dannicastanheira
ParticipantThanks Sharmstr! But I don’t want to translate, only know in what root directory is that file.
dannicastanheira
ParticipantAlready checked the translation files but is not possible to find the menus from the profiles. Don’t know if we are talking about the same but leave you attached the file, marked up in red.
Attachments:
You must be logged in to view attached files.dannicastanheira
ParticipantHi Radu!
You can check at http://alojamentouniversitario.com/members/dannicastanheira/
Now it’s an AD in the side bar but it’s not responsive and they work. It’s a issue relate with this kind of advertise in specific, what’s more strange.
Thanks for your help!
dannicastanheira
ParticipantHi Sharmstr! I have checked botH topics before and applied the code both nothing happens. 🙁
dannicastanheira
ParticipantSharmstr thanks for the follow up! It’s working back again and possible may have been a plugin conflict, although i am not sure!
dannicastanheira
ParticipantHello,
When i want to reply back to a mention clicking on comment the page just refresh and doesnn’t allow me to answer it.
Any suggestions about what be the issue?
Appreciate all feedback, thank you!
Daniel
dannicastanheira
ParticipantHi Laura! I really appreciate your answer, I’ll try some of the options you suggested 🙂
Have a great day,
Danieldannicastanheira
ParticipantWorked like a charm sharmstr! Really appreaciated your fast feedback.
Have a great day!dannicastanheira
ParticipantHave some updates.
1. Installed your Plugin suggestions and works like a charm! “BuddyPress xProfiles ACL”
https://wordpress.org/plugins/buddypress-xprofiles-acl/2. Found a new user role plugin creator “WPFront User Role Editor”
https://wordpress.org/plugins/wpfront-user-role-editor/Now it’s just missing to relate the user role automatically as a user subscribes to the page or after fulfill some profile field.
dannicastanheira
ParticipantHey HouseQuake!
Thanks for your time to answer it back! 🙂 Have just a question here (i am new buddypress) but for what i could see from the plugin you may add different group profiles to different roles users in page.
The question is how can then atribute a different role during the register on the site?
Sorry if i am missing something here!
dannicastanheira
ParticipantProblem solved Laura! It was a time delay issue :))
Do you know anyway to prevent posting links in comments?
Thank you soooo much for your help! 🙂
-
AuthorPosts