-
Author
Tagged: Icons Profile
-
October 22, 2015 at 11:40 #83694
Oscar570
ParticipantHi,
First sorry for my english, I’m french…so I’m going to try explain my problem… 🙂
After congratulations for your job and for this theme “KLEO”, it’s wonderful!
Now my question :
I bought COMETCHAT. And I would like to change Icons Profiles… I saw your tutorial but I don’t understand how I can do this : Instead of “icon order” I’d like to put “icon-chat” for asking to a member to chat with him with a popup for an exemple? It’s possible???
I’d like to have these icons :
- ACTIVITY:Â activity-personal-li
- PROFILE:Â xprofile-personal-li
- CHAT : ask-chat-li
- NOTIFICATIONS:Â notifications-personal-li
- MESSAGES:Â messages-personal-li
- MEDIA: media-personal-li (rtMedia plugin)
- SETTINGS:Â settings-personal-li
Could you help me?
Thanks a lot for your help.
Best regards
Nathalie
October 22, 2015 at 14:30 #83715sharmstr
ModeratorWe cant help with the pop up code. You’ll have to find someone to code that for you.
But its important to understand that the icons in the profile are only used to load different profile screens (the section under the profile icons), not to launch things or direct you somewhere else.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2015 at 14:33 #83716sharmstr
ModeratorAlternatively, you could possibly use a plugin like this: https://wordpress.org/plugins/buddypress-custom-profile-menu/ and have it load a page with your chat icon if cometchat has a way to create a page with a launch button on it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2015 at 14:48 #83724Oscar570
Participantok Thanks a lot Sharmst.
In case I’d like to keep your menu’style.
Which file must I change for have :ACTIVITY: activity-personal-li
PROFILE: xprofile-personal-li
NOTIFICATIONS: notifications-personal-li
MESSAGES: messages-personal-li
MEDIA: media-personal-li (rtMedia plugin)
SETTINGS: settings-personal-liThanks.
Regards
NEOctober 22, 2015 at 14:55 #83727sharmstr
ModeratorI dont understand your question. Are you asking how to change the order of the icons? https://archived.seventhqueen.com/forums/topic/how-to-left-align-kleo-menu-and-add-logo-to-it#post-51738
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 23, 2015 at 11:59 #83845Oscar570
ParticipantI’m going to forget the idea of CHAT.
But In alternative, I’d like to have :
Activity I Profil I Medias I Messages I Notifications I Settings I and nothing else.
Where can I change the code ?
Thanks.
Best regardsNathalie
October 23, 2015 at 15:45 #83866Oscar570
ParticipantPlease, Delete my last message please.
Now I’d like to put “CHAT” instead of “FORUMS”. I contacted COmetchat and they gave me this code for the link :
Chat with meSo I just need now to know how I can change the name FORUM for CHAT and put the link.
Thanks a lot
Regards
NathalieAttachments:
You must be logged in to view attached files.October 23, 2015 at 16:53 #83875sharmstr
ModeratorYou cant change forum to chat. As suggested before, try using this plugin to add your new chat section: https://wordpress.org/plugins/buddypress-custom-profile-menu/
If you cant do it that way, then you’ll need to custom code the addition using buddypress functions: https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 24, 2015 at 13:29 #83985Oscar570
ParticipantI gave up the idea to add a function to my CHAT BuddyPress menu, it seems far too complicated I am not a developer.
I want simple things yet I can not find the solution.
If I use BP Custome Profile menu I can just add items but not replace them (please see screenshots ) . I added functions in functions.php in my child themes folder . I ask the media ‘s position as I would like but it does not work.
What can I do ?????? I ‘m desperate I can not count the number of hours searching trying to test solutions. Again thank you for your help.———-`
functions.php
———–// Change Profile menu/tab order
function my_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘activity’][‘position’] = 10;
$bp->bp_nav[‘friends’][‘position’] = 50;
$bp->bp_nav[‘media’][‘position’] = 30;
$bp->bp_nav[‘messages’][‘position’] = 40;
$bp->bp_nav[‘profile’][‘position’] = 20;
$bp->bp_nav[‘notifications’][‘position’] = 60;
$bp->bp_nav[‘settings’][‘position’] = 70;}
add_action( ‘bp_setup_nav’, ‘my_change_profile_tab_order’, 999 );add_action(‘bp_init’,’change_media_tab_position’, 9);
function change_media_tab_position(){
global $bp;
if( isset ($bp->bp_nav[‘media’])){
$bp->bp_nav[‘media’][‘position’] = 30;
}
}
function my_setup_nav() {
global $bp;$bp->bp_nav[‘orders’] = false;
$bp->bp_nav[‘forums’] = false;
}Attachments:
You must be logged in to view attached files.October 26, 2015 at 15:42 #84248sharmstr
ModeratorYou can remove “orders” by going to theme options > woocommerce > Manage Account in BP: Off
The rest of your changes can be done with this function. If you have your child theme enabled, put it in functions.php.
COPY CODEfunction bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['media']['position'] = 30; $bp->bp_nav['messages']['position'] = 40; $bp->bp_nav['friends']['position'] = 50; $bp->bp_nav['notifications']['position'] = 60; $bp->bp_nav['settings']['position'] = 70; $bp->bp_nav['groups']['position'] = 80; unset($bp->bp_nav['forums']); } add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 26, 2015 at 19:22 #84335Oscar570
ParticipantThank you Sharmst. The result is almost what I want . One last idea ?
Please could you tell me where can I change the subnav tabs under “Activity”. I’d like to delete “citations”…
Thanks a lot
Attachments:
You must be logged in to view attached files.October 26, 2015 at 19:56 #84349sharmstr
ModeratorA google search shows the following…
COPY CODEbp_core_remove_subnav_item($bp->activity->slug, 'mentions');
add it to the function I’ve already given you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 27, 2015 at 10:28 #84422Oscar570
ParticipantNot really the solution, see the screenshot.
Attachments:
You must be logged in to view attached files.October 27, 2015 at 14:53 #84442sharmstr
ModeratorYou didnt add it to the function. You just added it.
Put it right after the unset line.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 27, 2015 at 15:12 #84446Oscar570
ParticipantSorry but your answers are too brief and disjointed . I do not understand what you say.
I can not stand a botched job!
I think you might be a little nicer. Compare my questions and your answers.
In terms of profile icons look at the result … it does not match what I would like .
So thank you for the great kindness to send me a complete response that works .Best regards
NathalieOctober 27, 2015 at 15:21 #84448sharmstr
ModeratorI’m sorry you dont understand what I’m saying. I thought I was being clear by telling you were to add the line. Your function should look like this now.
COPY CODEfunction bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['media']['position'] = 30; $bp->bp_nav['messages']['position'] = 40; $bp->bp_nav['friends']['position'] = 50; $bp->bp_nav['notifications']['position'] = 60; $bp->bp_nav['settings']['position'] = 70; $bp->bp_nav['groups']['position'] = 80; unset($bp->bp_nav['forums']); bp_core_remove_subnav_item($bp->activity->slug, 'mentions'); } add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
Once you have that in place, if there is something that’s still not right, please explain and I’ll tweak it for you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 27, 2015 at 15:24 #84449Oscar570
ParticipantNo I do not understand when your answers are disjointed . Thank you very much for your answer. It will , I am sure that more effective! 😉
October 27, 2015 at 15:29 #84450Oscar570
ParticipantSo now please check the result.
“Mentions” is remove so THANKS a lot.How do I delete the last icons that I crossed on the copy screen?
Thank youAttachments:
You must be logged in to view attached files.October 27, 2015 at 15:33 #84452Oscar570
ParticipantLast question for this section…
Where can I find the file to translate MEDIA GALLERY please .
I need to translate it into FR .
thank you a lotAttachments:
You must be logged in to view attached files.October 27, 2015 at 15:53 #84455sharmstr
ModeratorI’m not sure where that last icon is coming from. It might be from the ‘groups’ command I put in there. Try this instead and see if the icon disappears
COPY CODEfunction bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['media']['position'] = 30; $bp->bp_nav['messages']['position'] = 40; $bp->bp_nav['friends']['position'] = 50; $bp->bp_nav['notifications']['position'] = 60; $bp->bp_nav['settings']['position'] = 70; unset($bp->bp_nav['forums']); bp_core_remove_subnav_item($bp->activity->slug, 'mentions'); } add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
You can translate anything that has to do with “media” by translating rtMedia. http://docs.rtcamp.com/rtmedia/translations.html
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 27, 2015 at 22:55 #84532Oscar570
ParticipantThanks a lot ! Everything is perfect for me.
;-))Best regards
NathalieNovember 6, 2015 at 09:15 #85895Oscar570
ParticipantHi Radu,
I’d like to remove “Settings” from Buddypress Profile’ menu.
I remove “$bp->bp_nav[‘settings’][‘position’] = 70;” from functions.php files into my kleo-child folder but no change. Have you an idea to remove it ?Thanks a lot!
Cheers——-
function bbg_change_profile_tab_order() {
global $bp;
$bp->bp_nav[‘media’][‘position’] = 30;
$bp->bp_nav[‘messages’][‘position’] = 40;
$bp->bp_nav[‘friends’][‘position’] = 50;
$bp->bp_nav[‘notifications’][‘position’] = 60;
$bp->bp_nav[‘settings’][‘position’] = 70;
unset($bp->bp_nav[‘forums’]);
bp_core_remove_subnav_item($bp->activity->slug, ‘mentions’);
}
add_action(‘bp_init’, ‘bbg_change_profile_tab_order’, 9999 );November 6, 2015 at 10:53 #85902sharmstr
ModeratorMerely removing the code wont remove the icon, you need to use the unset command
COPY CODEunset($bp->bp_nav['settings']);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 18, 2017 at 04:52 #153336migued
ParticipantHi Oscar,
Hope you already solve your issues regarding this post, I would like to ask your opinion about Cometchat, I am considering to buy it, I am also having a look in Arrowchat and both of them say they have integration with Buddypress.
Cordialement,
Miguel -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.