I have been testing arrowchat and it's awesome - well done and good work!! Before buying, I have some pre-purchase questions.
I want to use Arrowchat with Buddypress and Paid Membership Pro plugin (PMP) on a WP site.
The user will sign up for a membership account (e.g. level 1, 2 or 3) and I would like to restrict certain arrowchat functions according to the level membership level purchased.
So, for example, level 1 user will have access to chat. Level 2 user will have access to chat and video and level 3 would have access to all functions including file transfer.
My questions;
1) How can I test for PMP user level in arrowchat? The code provided by Paid Membership Pro plugin is this: http://www.paidmembershipspro.com/docum ... -function/
- Code: Select all
<!--?php
if(pmpro_hasMembershipLevel('12'))
{
?-->
//Place your HTML or PHP code here if the user is in the required membership level
...
<!--?php
}
?-->
2) So where would I add this code in Arrowchat??
3) If I make this code change to Arrowchat files - is there a "best practice" to avoid the app breaking when updating the core? E.g. does arrowchat have a "child theme" equivelent?
Any assistance would be greatly appreciated.
Thank you