-
Author
-
December 5, 2015 at 00:09 #91325
graphite
ParticipantHi,
Is possible to have a membership level that allows users view and join groups but NOT create a group?
Thanks.December 6, 2015 at 00:53 #91431Laura
ModeratorHello, its not available right now, but i could add a code that hides the create a group section fo specific level but this would require some php adjustments, i can do this for you if you share more details like:
– What level is restircted
– Admin credentials
– FTP credentialsHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 6, 2015 at 04:47 #91444graphite
ParticipantHi Laura,
Now I have 3 levels: Free, Romance, Money pack. I need ONLY Money pack can create groups.
Those levels are labeled for testing, if you could leave memo after adjustments that will be great.datingyo.com
FTP Username: john@datingyo.com
FTP Password: .d!USsV$1ITF
FTP Server: http://ftp.datingyo.com
FTP port: 21Thanks.
December 7, 2015 at 04:09 #91573Laura
ModeratorHello, logged in to ftp but didnt see any file.
If you can copy the header.php of main theme to child theme, then i can work using the theme editor of wordpressHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 7, 2015 at 04:36 #91580graphite
ParticipantHi Laura,
I copied the header.php to child theme folder. Thanks.December 8, 2015 at 22:40 #91968Laura
ModeratorHello, done, moneypack users will see the create group button, done by adding this to header.php
COPY CODE<?php if ( pmpro_hasMembershipLevel(array(3))) { ?> <style> form#groups-directory-form .button:nth-child(2n) { display: initial !important; } </style> <?php } ?>And this to style.css
COPY CODEform#groups-directory-form .button:nth-child(2n) { display: none !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2015 at 23:37 #91995graphite
ParticipantMay I ask if I want to create the membership levels later, should I just chane x?
array(x)
and leave other coding the same?December 10, 2015 at 08:08 #92312Laura
ModeratorHello, yes, exactly 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.