Hi there,
is there a function or a possibility to get all gorups and forums in an array?
Greetings
Alex
Hi there,
is there a function or a possibility to get all gorups and forums in an array?
Greetings
Alex
Assuming you mean outside of the scope of the forum then this should do it:
sp_forum_api_support(); $arrayVar = new spGroupView($ids, true);
If inside the scope then you probably wont need the first line.
This should give you an object/array with lots of relevant data. To see what you get with this you can always use the Data Inspector (Admin Toolbox) and turn on the spGroupView option and then just run the forum page.