Re: Plugin development – please can you help
Ok, that’s very advanced level stuff – some quick answers below – BUT, please post your xprofile questions as separate threads – and give a better indication of the problem in the title (“plugin development – please help” is way too general, and unfortunately likely lead to your question being overlooked).
1. I don’t know of any book on BuddyPress plugin development – unfortunately, the codex as @lph2005 points out, is the best starting point, but it’s nowhere near developed enough to handle the questions you are asking re: xprofile_template_loop_end
2. Unless a core developer / xprofile expert can step in here, I don’t know of a better solution than tracking through the code and seeing if an earlier hook is called (and for 3. whether there is anything in the data structure passed to the hook that gives a more specific activity type). Ask these as separate threads.
4. We’ve done some work on this – if you post as a separate thread – I’ll dig through our work at the weekend, and see if I can post some pointers