This is the P2PU Archive. If you want the current site, go to www.p2pu.org!

WordPress Development

My recent threads

You haven't posted any discussions yet.

Recently updated threads

Week 3 Assignment

Go back to: General discussion

This week's assignment is very easy. Let's get everyone to write a plugin:

http://bit.ly/eMdAGF

Enjoy!

Aashvi Vyas's picture
Aashvi Vyas
Fri, 2011-02-18 06:15

Nuno,
Please confirm my assumption for assignment3
- Create plugin for admin panel
- Using this plugin wordpress admin can send mail (with subject and mail content) to plugin developer (to me)

let me know if i miss anything

thanks

Aashvi Vyas's picture
Aashvi Vyas
Sat, 2011-02-19 06:55

Nuno,
Please reply my assumption so i can start plugin development

Alexey Polarny's picture
Alexey Polarny
Sun, 2011-02-20 07:32

that's how i understood the task too.

Olga Cuevas's picture
Olga Cuevas
Sun, 2011-02-20 18:46

Me too!

Matej Rokos's picture
Matej Rokos
Sun, 2011-02-20 20:11

Here is my assignment. Get the source code, try it :)
http://p2pu.marblenews.net

Núria Ramoneda Aiguadé's picture
Núria Ramoneda Ai...
Mon, 2011-02-21 04:22

Hello, here is my assignement in a zip file for download and test if you want, and also some comments about it.
http://tresxnou.cat/beta/2010curswp/general/p2pu-assignement-4/

Matej Rokos's picture
Matej Rokos
Mon, 2011-02-21 09:25

Check out this site about WordPress hooks:
http://adambrown.info/p/wp_hooks

Very informative ;)

Olga Cuevas's picture
Olga Cuevas
Mon, 2011-02-21 09:27

Hi all,

my assignment 3 is in this zip file: http://pirineuweb.com/p2pu/wp-content/uploads/2011/02/help.zip

It's run in the same url than the others assignments: http://www.pirineuweb.com/p2pu

Herbert Nerder's picture
Herbert Nerder
Mon, 2011-02-21 13:07

Here's my work for week 3:

http://p2pu.herbnerder.com/wp/adminhelp/latest.zip

I made a plug-in separate from the theme that adds a form widget to the admin dashboard (similar to 'quick press'). The form result is then sent as an email to the theme author or whoever with the subject, message, site-sent-from, and date sort of like a support ticket.

To me, it seems like the type of thing that would be better built directly into the theme rather than an external plug-in. But, I realize that the point was probably just to get us to start using actions and filters etc.

Danny Smith's picture
Danny Smith
Mon, 2011-02-21 17:43

I took a similar approach as everyone else. I used wp_email, nonces and data validation. I also created a separate plugin to remove most of the unused widgets on the dashboard page.
http://assignment4.riskiii.me/wp-contents/plugin/dgs-iweb-dashboard-cont...
http://assignment4.riskiii.me/wp-contents/plugin/dgs-remove-dashboard-wi...