General developer forum

Creating a forum remotely

 
Picture of Jitendra Gaur
Re: Creating a forum remotely
 

Hi Gregory,

I have given this ans in following link,  look into that.

Hope it will help you.

http://stackoverflow.com/questions/12959507/create-forum-in-moodle-via-external-php/13762266#13762266

 
Average of ratings: -
Picture of Gregory JB
Re: Creating a forum remotely
 

Thank you! I will use this code to implement my function, as soon as I find out where to add it.

 
Average of ratings: -
Picture of Gregory JB
Re: Creating a forum remotely
 

Do you by any chance know what the path field in the context table represents?

 
Average of ratings: -
Dan at desk in Moodle HQ, Perth
Re: Creating a forum remotely
Core developersMoodle Course Creator Certificate holdersMoodle HQParticularly helpful MoodlersPlugin developersTesters

It is the hierarchy of contexts (parent context id, the parent of that parent context id etc, e.g. /sitecontextid/categorycontextid/coursecontextid/modulecontextid). Its used for speed optimisation of permission checking.

 
Average of ratings: -