carsjo
  •  carsjo
  • 53% (Neutral)
  • YAF Forumling Topic Starter
2008-11-20T21:09:57Z
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
2008-11-20T21:17:25Z
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
2008-11-20T21:43:41Z
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
2008-11-21T01:36:24Z
No problem... it's not that well documented.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved