Create an Block Plugin HELP!!

Create an Block Plugin HELP!!

by Marco exe -
Number of replies: 10
Hello everyone =) 
I need you help please. 

A little thing in my diplom is to create an blockplugin in moodle. 
This plugin should show each user who is in course. 

In the setting section of the plugin it should be possible to add assignments (Stack assignments) 
And for each assignment it should configurable to define a minimum points, an activation radio button and a 
Textfield for refer a specific link. 

So if the student made the assignment and reaches under the defined points in the plugin. 
It should show the assignment with the link in the blockplugin. That link refers the student to the theroie secotion of that assignment. 

How should i do that??? i have absolute no clue how to get that. The documantation cant help me, i need anyone how helps me. 

pls write me back if you are interessted to help me. I am also willing to pay. 
Average of ratings: -
In reply to Marco exe

Re: Create an Block Plugin HELP!!

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It's hard to tell exactly what you are trying to do from your description, but it looks complex, time consuming and expensive.I suggest reducing your ambition.
In reply to Marcus Green

Re: Create an Block Plugin HELP!!

by Marco exe -
thank you for your contribution, unfortunately these are the requirements for my thesis and i can't change them.
In my opinion it is hard to get into the plugin development of moodle.
But i try to make it. =D Thanks
In reply to Marco exe

Re: Create an Block Plugin HELP!!

by Michael Milette -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Marco,

It is not clear to me either what you are trying to accomplish. However, you might want to tame a look at the following plugins which sound like they may be related to what you are trying to do.

Level Up! Gamification
https://moodle.org/plugins/block_xp

Checklist
https://moodle.org/plugins/block_checklist

At the very least, you can take a look at their code to see how they accomplish some of the things you want to do.

Best regards,

Michael
Average of ratings: Useful (1)
In reply to Michael Milette

Re: Create an Block Plugin HELP!!

by Marco exe -
thank you for your contribution.
I will have a look at these plugins, I have already looked at plugins like activityresult, but could not understand at all how they were made. Maybe it is a little clearer with these plugins. thanks
In reply to Marco exe

Re: Create an Block Plugin HELP!!

by Benjamin Ellis -
Picture of Particularly helpful Moodlers

Hi,

For an introduction to developing blocks, I will send you an extract from my recently released book 'Introduction to Moodle 3.9+ Plugin Development' (https://mukudu.net/publishing/m39plugindevelopment/index.php)  to help.  Once you understand the basics of blocks, then you can examine the blocks mentioned in the other replies to find the functionality to use to get the data you require.  It would be useful to also check the APIs' documentation (https://docs.moodle.org/dev/Core_APIs) to find the functionality you need.

Good Luck



Average of ratings: Useful (2)
In reply to Benjamin Ellis

Re: Create an Block Plugin HELP!!

by Marco exe -
thank you for your contribution.
May you can tell me what API's i need for my project. It would speed it up a little :D
And i bought your book =)
In reply to Marco exe

Re: Create an Block Plugin HELP!!

by Richard Jones -
Picture of Plugin developers Picture of Testers
Hi Marco

Hmm, I'm going to assume you are an honest student who just wants to get a start on a project. There is a block here: https://github.com/richardjonesnz/moodle-block_modals that has a couple of functions you will find useful to get you started. One of them returns a list of the current students in a course and displays them in a block. I suggest you cut out the bits you don't need and see what happens. Also check out Michael's blocks for a different view of putting them together.

On the subject of payment, it's not a good idea to pay someone to write code for your project, the instructor almost always knows what you've done and plagiarism checkers are pretty good ;) Reference what you borrow to avoid suspicion.

Best wishes
Richard
Average of ratings: Useful (1)
In reply to Richard Jones

Re: Create an Block Plugin HELP!!

by Marco exe -
thank you for your contribution.
I will see if i can handle this =)