Jump to content


Photo

Modules Directory


  • Please log in to reply
67 replies to this topic

#1 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 24 July 2012 - 03:50 PM

I was supposed to have jury duty today, and they didn't need me. Since I'd already rescheduled today's client work, I decided it was a good time to finally get a start on the PW modules directory.

Here it is: http://modules.processwire.com

I just added that DNS host so may not be active everywhere yet.

There are only a few of my own modules and a couple admin themes in there at present. I need your help populating it (see below).

This is just a start, and I've only had a day to work on it. I've got plenty more planned for it and appreciate any feedback you have.

How to add your modules
For those that have created modules, admin themes or language packs, I need your help populating the directory. When you get to the directory, you can click "Add New Module" in the sidebar and it will take you to a screen where you can add it. You assign an email and password with each module you add so that you can return to make updates as often as you'd like. When you add a module, it puts it in a pending state just so that I can keep out the spam. It emails me when you add a new one, so I'll approve any modules you add asap. Though you view your own module page and continue to make as many edits as you want to regardless of whether it's approved.

Nikola and Soma: I put in one each of your admin themes for testing purposes. I've associated these with your email accounts. To modify your admin theme pages in the modules directory, click "edit" on it and scroll to the bottom in "Authentication" and click the link to retrieve your password. Enter your email address and it'll send it to you.

#2 renobird

renobird

    Sr. Member

  • Members
  • PipPipPipPip
  • 358 posts
  • 231

  • LocationGainesville, Florida

Posted 24 July 2012 - 03:59 PM

This is great!

#3 Soma

Soma

    Hero Member

  • Moderators
  • 3,188 posts
  • 1745

  • LocationSH, Switzerland

Posted 24 July 2012 - 04:08 PM

Awesome work Ryan! Will try to ad some of my soon.

@somartist | modules created | support me, flattr my work flattr.com


#4 Martijn Geerts

Martijn Geerts

    Sr. Member

  • Members
  • PipPipPipPip
  • 373 posts
  • 168

Posted 24 July 2012 - 04:25 PM

Fine work again Ryan !

#5 Nico Knoll

Nico Knoll

    The Boss.

  • Members
  • PipPipPipPipPip
  • 643 posts
  • 234

  • LocationBerlin, Germany

Posted 24 July 2012 - 04:36 PM

I've tried to add a module but after submitting I've got a 404...

#6 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 24 July 2012 - 04:42 PM

Nico, sorry about that. Can you tell me the module title and class name, exactly as entered?

[edit] so far tried lots of things, but can't duplicate a 404. I have a feeling it's tied to class name or title, but can't tell for sure. Let me know how to duplicate when you get a chance.

#7 Soma

Soma

    Hero Member

  • Moderators
  • 3,188 posts
  • 1745

  • LocationSH, Switzerland

Posted 24 July 2012 - 05:10 PM

  • would be nice to have a link to the author on "By soma"
  • would be nice to have a category "Admin Helper" or something like it.
I'll continue to add all my modules. :)

Edit: Also some number to see how many! ;)

@somartist | modules created | support me, flattr my work flattr.com


#8 Soma

Soma

    Hero Member

  • Moderators
  • 3,188 posts
  • 1745

  • LocationSH, Switzerland

Posted 24 July 2012 - 07:27 PM

Nico, sorry about that. Can you tell me the module title and class name, exactly as entered?

[edit] so far tried lots of things, but can't duplicate a 404. I have a feeling it's tied to class name or title, but can't tell for sure. Let me know how to duplicate when you get a chance.


It happened for me once I pressed enter before entering all. It throwed validation errors and after filling in and hit submit it showed a 404, so I had to enter all again, but so far 14 modules have been successful.

@somartist | modules created | support me, flattr my work flattr.com


#9 Pete

Pete

    Administrator

  • Administrators
  • 1,756 posts
  • 658

  • LocationChester, England

Posted 25 July 2012 - 01:32 AM

If you like Ryan I'll finally tidy up my forum integration module and you could have comments tied into the forums as well as be able to auto-link it to the current forum user? I use it to auto-create users in PW as well but I just need time to finish that bit off properly.

Or it could wait for a version 2.

#10 Nico Knoll

Nico Knoll

    The Boss.

  • Members
  • PipPipPipPipPip
  • 643 posts
  • 234

  • LocationBerlin, Germany

Posted 25 July 2012 - 06:24 AM

I've tried to add "GermanLanguagePack"...

#11 arjen

arjen

    Sr. Member

  • Members
  • PipPipPipPip
  • 337 posts
  • 125

  • LocationHoogeveen, The Netherlands

Posted 25 July 2012 - 07:23 AM

Great work! I even spotted some I haven't noticed before. Thanks!
work will always be the curse of the drinking classes...

#12 yellowled

yellowled

    Sr. Member

  • Members
  • PipPipPipPip
  • 183 posts
  • 117

  • LocationEutin, Germany

Posted 25 July 2012 - 07:57 AM

I've tried to add "GermanLanguagePack"...


I already did add that this morning, seems like Ryan already approved my entry.

#13 diogo

diogo

    Hero Member

  • Moderators
  • 1,995 posts
  • 1073

  • LocationPorto, Portugal

Posted 25 July 2012 - 09:49 AM

Just submitted the pt-PT language pack and the Image Tags module. Everything worked well, they are just waiting for Ryan's approval.

#14 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 25 July 2012 - 10:47 AM

Thanks all for the feedback!


would be nice to have a link to the author on "By soma"
would be nice to have a category "Admin Helper" or something like it.


These have been added, along with some other updates.

It happened for me once I pressed enter before entering all. It throwed validation errors and after filling in and hit submit it showed a 404, so I had to enter all again, but so far 14 modules have been successful.


Thanks, this helped me to pinpoint and fix the problem. It just occurred when the first submission resulted in a validation error. Then the next submission would to go a 404. This has now been fixed!

#15 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 25 July 2012 - 10:57 AM

If you like Ryan I'll finally tidy up my forum integration module and you could have comments tied into the forums as well as be able to auto-link it to the current forum user? I use it to auto-create users in PW as well but I just need time to finish that bit off properly.


Thanks, I agree and am looking forward to working with you on this. I've been hoping to get some kind of forum integration into modules.processwire.com so that it can authenticate them automatically. Ideally, I'd just like some way to do this:

$username = ipboard_username(); 
if($username) {
  // user is logged into IPBoard and we let them edit any modules
  // that were created by the same username
} else {
  // user is not logged into ipboard
  // so we don't let them add/edit modules
}

Right now the 'add module' form collects their IPBoard username but they have to type it in. I figured we could use this for building more IPBoard->Modules site integration in the future.

This week I would like to be able to link to their IPBoard profile, if it's possible. So far I can't figure out how to do it, as IPBoard apparently requires not just the username but a numeric ID in a profile's URL? LIke this: http://processwire.c...lk/user/2-ryan/ (note the /2-ryan/). Are you aware of any way to link to a user profile when all we have is the user name?

Thanks,
Ryan

#16 Pete

Pete

    Administrator

  • Administrators
  • 1,756 posts
  • 658

  • LocationChester, England

Posted 25 July 2012 - 11:19 AM

I'll send you over something that does just that later on as that's relatively easy. There are a few internal
IPB functions along the lines of getMember that I think take an ID or name and return the user's details which is what I use to build those URLs myself. I can then leave out the other functions that I'm not quite happy with until I've properly checked them.

#17 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 25 July 2012 - 11:28 AM

Btw, I just wanted to mention to everyone that I would add your modules to the directory myself if I could. But currently it authenticates with the creator, so anything that I add, the author wouldn't be able to edit.

I just didn't want anyone to think I didn't value a module because I didn't post it in the directory. The reality is that I can only post my own modules, Soma can only post his own modules, etc. This is the only way I know of to give each module author control over their own listings.



@Pete: Regarding IPBoard, is it a problem that modules.processwire.com is running on a separate account and IP address? It's still running on the same server, but I've jailed it into it's own account, separate from the main PW site, just as a matter of good security practice. Does this create any challenges?

#18 Soma

Soma

    Hero Member

  • Moderators
  • 3,188 posts
  • 1745

  • LocationSH, Switzerland

Posted 25 July 2012 - 11:38 AM

Ryan would it be possible to have a webservice for all modules listed to be able to recieve a json or xml with some or all of the infos/links/version etc. This way I could get a modules manager running I'm trying to do.

@somartist | modules created | support me, flattr my work flattr.com


#19 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 25 July 2012 - 11:51 AM

Just to make sure I understand, are you asking for the modules directory to publish a JSON/XML feed, or import from one? I know you said "receive", which makes me think import, but you mentioned a modules manager (sounds awesome!) which makes me think you need a feed to read from. But the answer either way is yes. :) However, I could setup the directory to export/publish it's data to a feed a lot quicker than I could set it up to import it's data from another feed. If you need a feed to read from, I may even be able to get it going later today.

#20 Soma

Soma

    Hero Member

  • Moderators
  • 3,188 posts
  • 1745

  • LocationSH, Switzerland

Posted 25 July 2012 - 12:06 PM

No I mean just a feed one can read from.

@somartist | modules created | support me, flattr my work flattr.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users