Hello,
I made my first drupal module in 2 days.
One of my client asked me for a website where he could share files easily and nicely with clients, without the hassle of learning ftp, access control etc etc...
He wanted a system where he could add himself users and shares files with them privately.
I used drupal for it's website, added the upload module and make my own module to let him choose to witch users he's gonna share the node.
My module add to the site a new content type.
When you add a node, you have to choose with witch user you want to share it, if no user is selected, the node is free to view to everyone.
You can also select more than one users of course.
Also, each users have a small control panel in their tab, where they can see wich files are shared with them and files they share with others.
The module uses it's own table.
This is my first module in drupal, I'll made some new in the next days but I needed to make something easy in the beginning :)
Here is the link to my module, I hope you'll like it! http://www.pol-dev.be/filesharing.tar.gz
I'm currently busy making the translation and polishing the code.
I need feedback ! What can I improve ?
Thanks !
Comments
Thanks for sharing, i like
Thanks for sharing, i like it~
Excellent
The node sharing concept is fantastic.
Very good.
Beautifulmind
Know more
Regards.
🪷 Beautifulmind
Hi buddy
Hi budddy i will like to invite you on our group Planet D,
Please feel free to discuss, support, submit issue, or any kind of help about DRUPAL,
so come and be one more alien of Planet D.
Great work
Great work - I'll give it a try
New version
This is a screenshot of the new version...
Tell me what you think!
Thanks
http://img523.imageshack.us/my.php?image=screen4wv2.jpg
-Pol-
-Pol-
https://not-a-number.io/
For Drupal 5.x
Is there a version for Drupal 5.x? I tried to install the module provided at the link. I got errors?
Thanks
MYSQL Error
I am getting mysql errors like those ones:
* user warning: Table 'db47359_drupal.filesharing' doesn't exist query: SELECT nid,uid FROM filesharing WHERE usersallowed=1 in /nfs/c03/h01/mnt/47359/domains/viniwine.com/html/drupal/modules/filesharing/filesharing.module on line 36.
* user warning: Table 'db47359_drupal.filesharing' doesn't exist query: SELECT nid,usersallowed FROM filesharing WHERE uid=1 ORDER BY usersallowed ASC in /nfs/c03/h01/mnt/47359/domains/viniwine.com/html/drupal/modules/filesharing/filesharing.module on line 50.
* user warning: Table 'db47359_drupal.filesharing' doesn't exist query: SELECT * FROM filesharing ORDER BY usersallowed ASC in /nfs/c03/h01/mnt/47359/domains/viniwine.com/html/drupal/modules/filesharing/filesharing.module on line 65.
Any idea why ?
Drupal 5
Hello,
I'm using D6, I never tried to install it on D5, I'm not planning a version of this module on D5 sorry.
-Pol-
-Pol-
https://not-a-number.io/
Updated today!
Try the new version ;-)
I think all is fixed in this version !
-Pol-
-Pol-
https://not-a-number.io/