YAFLogo

Posted by: carsjo - Thursday, 20 November 2008 22:09:57
Hi! I'm trying to modify the YAF forum. Is there any feature list for the Stored Procedures? What they are supposed to do? I want to return all users who are admins in a particular board and mail them a message each time a user registers. I've set that users must be approved by admins before they can use the forum. And since it's tiresome to check the forum each day looking for new users it would be a nice feature to send a email to a admin whenever a user registers. Or do I have to build my own SP for this? // Carl

Posted by: carsjo - Thursday, 20 November 2008 22:17:25
I think I found it. DataView dv = new DataView(DB.user_list(PageBoardID, null, true), "IsAdmin = 1", "", DataViewRowState.CurrentRows); This would return a DataView with all users who are admins? // Carl

Posted by: carsjo - Thursday, 20 November 2008 22:43:41
Nevermind. I Solved it. I guess next time I'm going to look around a little more :wink: // C

Posted by: Jaben - Friday, 21 November 2008 02:36:24
No problem... it's not that well documented.