YAFLogo

carsjo
  • carsjo
  • 53% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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

Sponsor
carsjo
  • carsjo
  • 53% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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

carsjo
  • carsjo
  • 53% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Nevermind. I Solved it.

I guess next time I'm going to look around a little more :wink:

// C

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
No problem... it's not that well documented.