thank you ! |
Hi I just put the code where you said and it still didn't add me (tom) a new profile that I just made this is the way it is return $aHiddenFields; function registerMember() $oZ = new BxDolAlerts('profile', 'before_join', 0, 0, $this->aValues[0]); $aProfile1 = $this->oPF->getProfileFromValues($this->aValues[0]); return array(false, 'Fail'); //--- check for couple profile if(!$iId2) {
Am I missing something ?
Danny my site is www.thevortex.co |
Works fine in 7.1. /inc/classes/BxDolJoinProcessor.php Night6000 it only works with new members that joins not the old one's |
in case someone is trying to extent it to auto friend after admins's approval of a new account here is the code File : /Administration/Profiles.php After line 59 createUserDataFile((int)$iId); Insert following code // Replace $profiles_friends array ID's with the ID you want new user to be friend with. this code also check it person is already friend or not and will only insert if not friend . $profile_friends = array('853','858','86','46','12','1746','215','106','8','9'); ------------------------------------------------------------------------------------------------------------------------------------------------------------------- In case you want to do the same for all existing members also . if you want all existing members to be friend of some ID or ID;s here is the code the that create a file in your /public_html/myfile.php insert code below is it save it and the run it like http://mywebsite/myfile.php
<? //these are the friends you want to make friends with every one
|
in case someone is trying to extent it to auto friend after admins's approval of a new account here is the code /Administration/Profiles.php After line 59 createUserDataFile((int)$iId); Insert following code // Replace $profiles_friends array ID's with the ID you want new user to be friend with. this code also check it person is already friend or not and will only insert if not friend . $profile_friends = array('853','858','86','46','12','1746','215','106','8','9'); ------------------------------------------------------------------------------------------------------------------------------------------------------------------- In case you want to do the same for all existing members also . if you want all existing members to be friend of some ID or ID;s here is the code the that create a file in your /public_html/myfile.php insert code below is it save it and the run it like http://mywebsite/myfile.php
<?
|