Forum Replies Created
-
Author
-
dannicastanheiraParticipant
Hi 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." #61875dannicastanheiraParticipantThanks once again for your quick response!
dannicastanheiraParticipantdannicastanheiraParticipantLast 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 );dannicastanheiraParticipantChange 10, 20, 30, 40 in the code to the order of fields you want to show up first. 10 = media and so on
dannicastanheiraParticipantForgot 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 );dannicastanheiraParticipantAlvin 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’;dannicastanheiraParticipantHey 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? 🙂
dannicastanheiraParticipantSorry Laura, Seems that posted on the wrong theme =D You are right, it’s Kleo
dannicastanheiraParticipantHey 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
dannicastanheiraParticipantRadu, your suggestions end up to solve the problem. Really appreciate the time you took help.
Cheers to you!dannicastanheiraParticipantNow 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!
dannicastanheiraParticipantOkay, So where’s the translation file root directory then? I have digged in some of them and don’t get to find the match! 🙁
dannicastanheiraParticipantThanks Sharmstr! But I don’t want to translate, only know in what root directory is that file.
dannicastanheiraParticipantAlready 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.dannicastanheiraParticipantHi 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!
dannicastanheiraParticipantHi Sharmstr! I have checked botH topics before and applied the code both nothing happens. 🙁
dannicastanheiraParticipantSharmstr thanks for the follow up! It’s working back again and possible may have been a plugin conflict, although i am not sure!
dannicastanheiraParticipantHello,
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
dannicastanheiraParticipantHi Laura! I really appreciate your answer, I’ll try some of the options you suggested 🙂
Have a great day,
DanieldannicastanheiraParticipantWorked like a charm sharmstr! Really appreaciated your fast feedback.
Have a great day!dannicastanheiraParticipantHave 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.
dannicastanheiraParticipantHey 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!
dannicastanheiraParticipantProblem 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