I've created a lot of Drupal module for my company and only for my company to re-use it in case of similar client request. Recently my company has change it's policy, enabling me to release my modules to the community.
Some modules I've been working on are:
- Vocabulary Hierarchy (enabling native Drupal Vocabulary to have hierarchial structure)
- Web Hosting (contribution module for Ubercart, enabling monthly and pro-rata billing and cPanel/WHM account creation using Ubercart API)
- User Wall (Facebook-like Wall-to-Wall feature, with additional comments and like/dislike module), I realize that project user_wall alerady existed and discontinued, i want to maintain it
- Job Search (for drupal 6)
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | uc_hsbc.zip | 9.97 KB | eqock |
| #16 | uc_hsbc.zip | 9.76 KB | eqock |
| #13 | uc_hsbc.zip | 10.09 KB | eqock |
| #9 | uc_hsbc.zip | 10.08 KB | eqock |
| #5 | uc_hsbc.zip | 10.08 KB | eqock |
Comments
Comment #1
eqock commentedI attach a simple module I wrote to provide Facebook-like Wall-to-Wall feature for Drupal User. This module is still under development.
Comment #2
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.
As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module, and it should include also a comparison with the existing solutions.
Comment #3
eqock commentedHi, please ignore my first post, the module I attach in my first post is decided to be discontinued in courtesy of facebook-style status module.
Here I attach two recent modules I developed for Ubercart:
- uc_hsbc: A Payment Method for Ubercart 2.x on Drupal 6.x using HSBC CPI. (I attach the specs as well) To configure this module after enabling it, simply go to admin/store/settings/payment/edit/methods
- uc_paylater: A Module which allows customer to pay later on check-out for Ubercart 2.x on Drupal 6.x, the customer will be able to pay later from a link provided in the invoice using. This module is compatible to all ubercart payment method. To configure this module after enabling it, simply go to admin/store/settings/payment/edit/basic
Those two modules isn't available in the community yet. You can try these module on http://www.secure-check-out.co.uk/hsbc/
My primary motivation is to give back what I have learn from Drupal Community, developing modules that is not available yet and add more feature to some existing module.
Please review it, thank you very much in advance.
Comment #4
eqock commentedHere I attach HSBC CPI Specification Guide (adhered by my uc_hsbc module)
Comment #5
eqock commentedHi there is a minor update on uc_hsbc and uc_paylater modules I posted earlier
here I attach the updated module.
Comment #6
avpadernoWe just review a module per applicant; the description does not report a comparison with existing solutions.
Please let us know which module you want reviewed.
Comment #7
eqock commentedIn that case, please review my "uc_hsbc" module, (this module doesn't exist yet, and there is no solution yet) thank you very much in advance.
Comment #8
avpadernoComment #9
eqock commentedthere is a recent update for uc_hsbc about a bug fix regarding two decimal places on order total
Comment #10
avpadernoI will review the code within 6 days; for sure, I will not review it in the next 2 days.
Comment #11
eqock commentedthank you very much kiamialuno, very much appreciate it
Comment #12
avpadernoThe call to
watchdog()is not correct. The second argument is a not translated string (the translation is done fromwatchdog()).Rather than concatenating translated strings, it is better to translate a single string; in this way, translator users have more context to translate the sentence correctly. In example, in some languages the preposition could be translated in different ways, basing on the context.
If you use a single string, remember to not use
l()for the link. The correct code is something similar to the following (taken from the documentation fort()):It is better to use
t()-placeholders, rather than concatenating strings. The strings provided in$cpiresultscodeare not translated.That code would delete variables of other modules with a name starting with ; it is better to delete each single Drupal variable (the name of each variable is well known, when the code is complete).
Comment #13
eqock commentedHi, thank you very much for your review and comment, I've fixed all those items in my code, here I attach the updated version, thank you.
Comment #14
avpadernoComment #15
avpadernoIt doesn't seem the message is translated.
See what I reported in my previous comment. See also the point about the code formatting.
Comment #16
eqock commentedHi, I see, now I understand how the placeholder and t() as well as watchdog() should works, here I attach my updated code, thank you very much in advance.
Comment #17
avpadernoComment #18
avpadernoThe class
orderCryptodoesn't follow what the coding standards report about how to write a class. What is then the purpose of using a class that has only a public method, and that is only used once? In such case, it would be better to use a plain functions.Comment #19
avpadernoComment #20
eqock commentedHi kiamlaluno, I'm sorry I've been very busy lately, i'll fixed the class and follow your suggestion to plain php function instead of class, i'll update it the next couple of days, cheers!
Comment #21
eqock commentedHi kiamlaluno, I'm sorry I've been very busy lately, i'll fixed the class and follow your suggestion to plain php function instead of class, i'll update it the next couple of days, cheers!
Comment #22
tnfno commentedThank you for a great contribution! I was about to dig into how to make the HSBC integration when I found your work. Great!
I have installed the latest version and tried to run transactions, but I get the "Possible hacking attempt" error. The return code from HSBC is 12. Any suggestions where I should start to dig to track down the problem?
Comment #23
eqock commentedHi tnfno, thank you for trying out the module, are you redirected to hsbc page for about 1 second or not at all? what is the url of the site you are testing with? have you fill in the hsbc storefrontid details on ubercart payment methods?
Comment #24
mrconnerton commentedI started working on my own uc_paylater until my colleague found this. I am now testing uc_paylater from comment #5
Comment #25
avpadernoComment #26
eqock commentedHi kiamlaluno, I'm really sorry that I've been taken off this project for a while due to company's internal issue...
But now I'm back on this project, I've follow your advice to use a plain function instead of a class and I believe the new update (attached) will also fix problem that reported by tnfno...
You can test the module on http://hsbc.rad-inks.co.uk
You can use test card number: 4111 1111 1111 1111
You need to add exception for the SSL Certificate because the it's not assigned to that test domain.
please review this update and thank you in advance, any comment would be greatly appreciated.
Comment #27
avpadernoComment #28
jthorson commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
The status of this application will be put to "postponed" and by following the instructions in the above link, you will be able to reopen it.
Or if your application has been "needs work" for more than 5 weeks, your application will be marked as "closed (won't fix)". You can still reopen it, by reading the instructions above.
Comment #29
eqock commentedHi, I have a question the module I'm applying for (uc_hsbc) apparently is already a full released module (http://drupal.org/project/uc_hsbc), it wasn't there when I first applied* and Drupal hasn't moved to GIT when I first applied*. There was some internal issue so the project got postponed.
Anyway, I've tested the module on http://drupal.org/project/uc_hsbc but it doesn't work if all products on the shopping cart is not shippable (HSBC CPI require billing and shipping address so it doesn't work if there is only shipping address on the checkout), but my version of the module solve that problem! what should i do to contribute on that existing module?
The other module I'm planning to applied for is uc_paylater but apparently there is already a sandbox project for that (which wasn't there when I first applied), the URL of the sandbox project is http://drupal.org/project/1072948/git-instructions and apparently it was created by mrconnerton (http://drupal.org/user/349968), interestingly on comment#24 on this page (http://drupal.org/node/743686#comment-3569788), there is a comment: "I started working on my own uc_paylater until my colleague found this. I am now testing uc_paylater from comment #5", which is posted by the same person who create the uc_paylater sandbox, so what should I do to contribute and be part of the developer of those modules?
*I first applied on on March 16, 2010 at 9:44am (see top)
Comment #30
mrconnerton commentedHey eqock,
For the first part, I would contact the module developer for uc_hsbc directly and point him to this post and the two of you can work out getting your features in his module, or his features in your module. If you find that they can be worked together, then I'm sure a drupal admin can give you git access to commit to those repos.
As far as uc_paylater, I did test out your module but it didn't quite accomplish what I was going for so I started over with a different approach. I created a sandbox, but I don't think I reserved a name or anything. I'm sorry I didn't post back her my findings as I should have, but the contractors life is a distracting one. I will schedule time next week to review my paylater and get all the code in the sandbox and I will review your paylater again to see why I didn't want to use it. Also please contact me via my contact page and we can start working together on it. Maybe we can promote a good module soon.
Comment #31
mrconnerton commentedAlso if you haven't already, go ahead and create two sandboxes for your two modules (per http://drupal.org/node/1075406). This will make it easier for other people to log in, see the code, and post and issue to it.
Comment #32
jthorson commentedHey eqock,
Contacting the authors of both modules and working with them directly would be the preferred approach ... both longwave and mrconnerton should have the ability to grant you commit rights on their respective modules without having to undergo a formal Drupal code review process (other than convincing the maintainer themselves). Even if they weren't willing to grant direct commit access, you can still contribute patches and bugfixes to those projects via their issue queues ... both of these approaches would be preferred over the introduction of a new module with similar functionality.
Regarding your application itself, I fully understand that you initiated it long before the Git migration. However, if you were to choose to continue with the application process, you need to follow the instructions in the 'Migrating from CVS Applications to (Git) Full Project Applications' link I provided; as folks are no longer actively performing reviews in this (the 'CVS Applications') queue.
Comment #33
eqock commentedthx for the reply, i'll contact both of them
Comment #34
suretec commentedHi,
Where did you post your module for:
"Web Hosting (contribution module for Ubercart, enabling monthly and pro-rata billing and cPanel/WHM account creation using Ubercart API)"
Thanks!
Comment #35
avpadernoThis application has not gotten back a reply in almost 2 years. If you still need to apply for being a vetted user, open an issue in the new queue we are now using for this purpose.