Any plans for Drupal 7 version of this module?

CommentFileSizeAuthor
#9 896576-9_ucreate_D7.patch16.55 KBJon Pugh
#6 896576-5_ucreate_D7.patch9.94 KBalex_b
#5 ucreate_drupal_7_port.patch9.98 KBAnonymous (not verified)
#4 ucreate_drupal_7_port.patch10.83 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alex_b’s picture

This should be easy to upgrade, I accept patches. My own plans are to upgrade it until the end of the year.

Anonymous’s picture

I've started the initial work on porting U Create to Drupal 7. Shouldn't be too much of a problem, here is the initial commit.

http://github.com/tristanoneil/U-Create

greggles’s picture

Title: Drupal 7 » Drupal 7 port of Ucreate
Anonymous’s picture

FileSize
10.83 KB

Here is a patch for the Drupal 7 port. Everything should work except for the organic groups sub-module.

Anonymous’s picture

FileSize
9.98 KB

I've stripped out all role assignment features as it is out of the scope of this module. Here is an updated patch for Drupal 7.

alex_b’s picture

Status: Active » Needs work
FileSize
9.94 KB

This is looking good.

A user_load_by_mail(array('mail' => $element['#value'])) should be user_load_by_mail($element['#value']). Same goes for user_load_by_name().
B Remove "Drupal 6.x compatible" altogether from README.txt instead of replacing it.

I have fixed an escaping issue with messages displayed in browsers, rerolling.

I have also merged all changes from DRUPAL-6--1 into the HEAD branch and removed ucreate_og from the HEAD branch, please roll patches against HEAD instead of DRUPAL-6--1 from now on.

klonos’s picture

Title: Drupal 7 port of Ucreate » Port U create module to drupal 7.
Issue tags: +D7 porting, +port to d7, +d7 ports

More than a year later, still the github project link gives a 404 and I don't suppose we have a viable solution here either. Is there any alternative project available for D7?

markwk’s picture

Good question... any updates on this?

Jon Pugh’s picture

FileSize
16.55 KB

Here's another patch, and, in addition, I made a sandbox: http://drupal.org/sandbox/gundalo/1431976

This patch removes ucreate_og completely, as the OG field is now added automatically with field_attach_form()

Jon Pugh’s picture

Assigned: Unassigned » Jon Pugh
Category: support » feature
Status: Needs work » Needs review
klonos’s picture

Category: feature » task

...this is more like a task. Thanx Jonathan, I'll check it out soon ;)

Did you think about becoming a (co)maintainer ...at least for the 7.x branch?

Jon Pugh’s picture

Yeah, sure... why not?

:)

Pasqualle’s picture

This project definitely needs a co-maintaner, please do contact febbraro if he does not show up here soon..

sisko’s picture

I am having issues applying any of the supplied patches.

Could you please attach a patched uCreate zip file?

I tried executing git clone http://git.drupal.org/sandbox/gundalo/1431976.git ucreate_7_x but that just returns an empty directory

clemens.tolboom’s picture

Status: Needs review » Needs work

The code from http://drupalcode.org/sandbox/gundalo/1431976.git/blob/refs/heads/7.x-1.... needs work as the changes from #6 are not incorporated into the git.

It would be great if patch from #9 got updated.

+++ b/README.txt
@@ -40,12 +44,12 @@ Drupal 7 will ship without the 'assign user roles' permission.
\ No newline at end of file

No eof

+++ b/ucreate.module
@@ -54,15 +46,34 @@ function ucreate_menu() {
+  ¶

White space

+++ b/ucreate.module
@@ -54,15 +46,34 @@ function ucreate_menu() {
+ ¶

Whitespace

+++ b/ucreate.module
@@ -170,6 +158,19 @@ function ucreate_user_form() {
+  ¶

Whitespace

+++ b/ucreate.module
@@ -170,6 +158,19 @@ function ucreate_user_form() {
+  ¶

Whitespace

+++ b/ucreate.module
@@ -170,6 +158,19 @@ function ucreate_user_form() {
+  ¶

Whitespace

+++ b/ucreate.module
@@ -177,11 +178,11 @@ function ucreate_user_form() {
+  if ($account = user_load_by_name(array('name' => $element['#value']))) {

See #6

+++ b/ucreate.module
@@ -193,10 +194,10 @@ function ucreate_validate_mail($element, &$form_state) {
+  elseif (user_load_by_mail(array('mail' => $element['#value']))) {

See #6

+++ b/ucreate.module
@@ -299,22 +288,22 @@ function ucreate_user_create($edit) {
-      $body .= $edit['welcome_message_body'];
+      $body = $edit['welcome_message_body'];

Why is this?

+++ b/ucreate.module
@@ -299,22 +288,22 @@ function ucreate_user_create($edit) {
-      $body .= t("\nHello !name,\n", $variables);
+      $body = t("\nHello !name,\n", $variables);
     }

Why is this?

+++ /dev/null
@@ -1,5 +0,0 @@
\ No newline at end of file

No eof

+++ /dev/null
@@ -1,9 +0,0 @@
\ No newline at end of file

No eof

Dret’s picture

Hi,

there's possibility for an official D7 version in a short time?

Thanks!
Bye.

zmove’s picture

subscribe. Or is there a drupal7 alternative ?

sk2013’s picture

+1 Subs