i FOUND the answer to this! it was buried deep in the boonex forums, posted there by some random guy. When i asked boonex about this, they said i could pay them to do it ... screw that.
here's the message i found. I've already done this on Dolphin 5.3 and it works beautifully.
===================
Once again here is a simple hack from TOOSQUARE:
Much requested hack to add the admin to the friendlist of a new user.
Use at your own risk, not meant for novices, and all that stuff. USE AT YOUR RISK. I am not a master PHP coder, but know how to get done what I need done. Dolphin is probably one of the most crazy php packages to figure out so that being said, this might affect other functions I am not aware of.
----------===== *
This is the simplest hack
In admin.inc.php
Look for the activation email function.
right before this line in the function ( this line calls the sendmail function, and sends the mail )
Code:
$mail_ret = sendMail( $recipient, $subject, $message, $ID, $aPlus );
add this..
Code:
// add admins to friend list
db_res("INSERT INTO FriendList SET `ID` = '$ID', `Profile` = 1, `Check` = 1");
This single line updates the friendlist of the current user with the profile # you want just before the activation mail is sent. This can be moved to any section of the code you like, I just wanted it here. In the section `Profile` = 1 change the 1 to whatever profile you want to be automatically added.
Bookmarks