Forum Replies Created
-
Author
-
Oscar570Participant
I forgot the screenshot…
Attachments:
You must be logged in to view attached files.Oscar570ParticipantI 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.Oscar570ParticipantPlease, 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.Oscar570ParticipantI’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
Oscar570Participantok 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 13:33 in reply to: Suggestion – Give us an option to disable the whole public message/@/all members #83702Oscar570ParticipantThis reply has been set as private.Oscar570Participantok Radu.
For me :
ID 1 = level SILVER
ID 2 = level GOLD
ID 3 = level PLATINUM.So I’d like the users from levels gold and platinum have an access for Cometchat and not users’ level silver.
So I deleted ID 1.
Is it correct ? Certainly not because nothing has changed…. 🙁——–
function CheckMemberships() {if(pmpro_hasMembershipLevel(array(2,3), get_current_user_id())){
echo ‘
<link type=”text/css” href=”/cometchat/cometchatcss.php” rel=”stylesheet” charset=”utf-8″/>
<script type=”text/javascript” src=”/cometchat/cometchatjs.php” charset=”utf-8″></script>
‘;}
}add_action(‘wp_head’, ‘CheckMemberships’);
——–
Oscar570ParticipantThis reply has been set as private.Oscar570ParticipantThnaks a lot for your help !
NathalieOscar570ParticipantHello,
I bought Cometchat yesterday for my website. But when I have installed it at this address:
http://www.lezgirls.fr/cometchat and tried to have an access to install.php files (http://www.lezgirls.fr/cometchat.install.php )I have this screen :So what’s wrong, please could you help me ???? So I can not do anything, nothing works.
Thanks a lot for your help.Regards
NathalieAttachments:
You must be logged in to view attached files. -
AuthorPosts