user registration

morton

Joined: 2005-09-19
Posts: 52
Posted: Mon, 2009-06-08 03:44

Where has User Registration gone? I think I have looked all over for it, but can not seem to find it. Is this something coming in the future?

Thanks,
Steve

 
westor

Joined: 2009-05-23
Posts: 21
Posted: Mon, 2009-06-08 14:55

really... gone with the wind? Can't find!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-09 04:21

It never existed in gallery 3. We'll probably write it eventually, but it's not on our roadmap for 3.0 if I recall correctly. Probably more like the 3.1 release.

---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
westor

Joined: 2009-05-23
Posts: 21
Posted: Tue, 2009-06-09 08:16

Only admin can create user? Hmmmmm :-(

 
morton

Joined: 2005-09-19
Posts: 52
Posted: Tue, 2009-06-09 19:04

Shounds like a good challange for me to see if I can learn about module programming. I'll give it a whack and see if I can contribute something other than my comments.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-06-10 02:24

Awesome!
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-11-04 03:59

http://codex.gallery2.org/Gallery3:Modules:register

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Tue, 2010-01-05 21:34

Hello,
I am also having issues w/ the registration code. Just installed gallery 3b3 and added development tree f97fe8d modules and web_client (themes seems to have issues, so I've skiped it)
I activated the registration module and when I attempt to use Settings > User Registration, I get a 500 error http://www.slash-temp.com/gallery3/index.php/admin/register
I am able to change settings on other modules.
Nothing related to the attempted page load in ./var/logs, or apache error logs.
Only error I get is in my apache access log: [05/Jan/2010:16:20:20 -0500] "GET /gallery3/index.php/admin/register HTTP/1.1" 500 -

system info:
Linux apache 2.6.16.60-0.21-xenpae #1 SMP Tue May 6 12:41:02 UTC 2008 i686 athlon i386 GNU/Linux
Apache Version Apache/2.2.3 (Linux/SUSE)
PHP/5.2.5

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-01-06 00:27

The registration module doesn't work with B3. You'll need to grab the latest experimental code. Follow the instructions here:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Sat, 2010-01-09 15:35

I followed the upgrade directions. There is definetly something missing, or wrong, w/ the themes. The latest full package gallery-gallery3-bd9f945.tar.gz is missing default and admin_default causing gallery3 to toss errors. Using these directories from gallery-gallery3-c527e70.tar.gz has issues as well (no login). I just checked the .zip file for bd9f945 and it's missing the default theams as well. Am I grabbing he wrong package?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2010-01-09 16:31

"default" is gone, it's been changed to 'wind'.

Extract the zip file you're getting fro here: http://github.com/gallery/gallery3/zipball/master to a new directory, move your /var directory into that new directory and rename the directories. You want to make sure that no old code is left behind, retaining only the /var directory.

I'm going to try to rework those upgrade instructions again to see if I can make them less confusing.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Mon, 2010-01-11 17:02

followed your directions: Dang... Something went wrong!
We tried really hard, but it's broken.
Talk to your Gallery administrator for help fixing this!

I resolved the issue by copying the admin_wind to admin_default and wind to default and now I have login and register and everything looks to be working.

Here are the last few enteries in my error log:
2010-01-11 11:43:04 -05:00 --- error: Kohana_Exception [ 42 ]: The requested views, page.html, could not be found
/home/www/slash-temp/gallery3/system/core/Kohana.php [ 812 ]
#0 /home/www/slash-temp/gallery3/system/libraries/View.php(83): Kohana_Core::find_file('views', 'page.html', true)
#1 /home/www/slash-temp/gallery3/system/libraries/View.php(49): View_Core->set_filename('page.html', NULL)
#2 /home/www/slash-temp/gallery3/modules/gallery/libraries/MY_View.php(56): View_Core->__construct('page.html', NULL, NULL)
#3 /home/www/slash-temp/gallery3/modules/gallery/libraries/Theme_View.php(32): View->__construct('page.html')
#4 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(73): Theme_View_Core->__construct('page.html', 'collection', 'album')
#5 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#6 [internal function]: Albums_Controller->index()
#7 /home/www/slash-temp/gallery3/system/core/Kohana.php(330): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /home/www/slash-temp/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /home/www/slash-temp/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /home/www/slash-temp/gallery3/index.php(90): require('/home/www/slash...')
#12 {main}
2010-01-11 11:43:42 -05:00 --- error: Kohana_Exception [ 42 ]: The requested views, page.html, could not be found
/home/www/slash-temp/gallery3/system/core/Kohana.php [ 812 ]
#0 /home/www/slash-temp/gallery3/system/libraries/View.php(83): Kohana_Core::find_file('views', 'page.html', true)
#1 /home/www/slash-temp/gallery3/system/libraries/View.php(49): View_Core->set_filename('page.html', NULL)
#2 /home/www/slash-temp/gallery3/modules/gallery/libraries/MY_View.php(56): View_Core->__construct('page.html', NULL, NULL)
#3 /home/www/slash-temp/gallery3/modules/gallery/libraries/Theme_View.php(32): View->__construct('page.html')
#4 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(73): Theme_View_Core->__construct('page.html', 'collection', 'album')
#5 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#6 [internal function]: Albums_Controller->index()
#7 /home/www/slash-temp/gallery3/system/core/Kohana.php(330): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /home/www/slash-temp/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /home/www/slash-temp/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /home/www/slash-temp/gallery3/index.php(90): require('/home/www/slash...')
#12 {main}
2010-01-11 11:43:46 -05:00 --- error: Kohana_Exception [ 42 ]: The requested views, page.html, could not be found
/home/www/slash-temp/gallery3/system/core/Kohana.php [ 812 ]
#0 /home/www/slash-temp/gallery3/system/libraries/View.php(83): Kohana_Core::find_file('views', 'page.html', true)
#1 /home/www/slash-temp/gallery3/system/libraries/View.php(49): View_Core->set_filename('page.html', NULL)
#2 /home/www/slash-temp/gallery3/modules/gallery/libraries/MY_View.php(56): View_Core->__construct('page.html', NULL, NULL)
#3 /home/www/slash-temp/gallery3/modules/gallery/libraries/Theme_View.php(32): View->__construct('page.html')
#4 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(73): Theme_View_Core->__construct('page.html', 'collection', 'album')
#5 /home/www/slash-temp/gallery3/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#6 [internal function]: Albums_Controller->index()
#7 /home/www/slash-temp/gallery3/system/core/Kohana.php(330): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /home/www/slash-temp/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /home/www/slash-temp/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /home/www/slash-temp/gallery3/index.php(90): require('/home/www/slash...')
#12 {main}
2010-01-11 11:45:08 -05:00 --- error: Can't find script file: gallery.form.js
2010-01-11 11:45:09 -05:00 --- error: @todo UNKNOWN_THEME_FUNCTION: pager
#0 [internal function]: Theme_View_Core->__call('pager', Array)
#1 /home/www/slash-temp/gallery3/themes/default/views/album.html.php(41): Theme_View->pager()
#2 /home/www/slash-temp/gallery3/system/libraries/View.php(318): include('/home/www/slash...')
#3 /home/www/slash-temp/gallery3/system/libraries/View.php(260): View_Core->load_view('/home/www/slash...', Array)
#4 /home/www/slash-temp/gallery3/modules/gallery/libraries/MY_View.php(69): View_Core->render(false, false, false)
#5 /home/www/slash-temp/gallery3/system/libraries/View.php(226): View->render()
#6 /home/www/slash-temp/gallery3/themes/default/views/page.html.php(117): View_Core->__toString()
#7 /home/www/slash-temp/gallery3/system/libraries/View.php(318): include('/home/www/slash...')
#8 /home/www/slash-temp/gallery3/system/libraries/View.php(260): View_Core->load_view('/home/www/slash...', Array)
#9 /home/www/slash-temp/gallery3/modules/gallery/libraries/MY_View.php(69): View_Core->render(false, false, false)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-01-11 17:10
Quote:
I resolved the issue by copying the admin_wind to admin_default and wind to default and now I have login and register and everything looks to be working.

That's not going to work. The code in the "admin" theme(s) is old and won't work properly with the current code base. If the wind theme(s) didn't exist, you're not getting the latest code.

Get the code here:
http://github.com/gallery/gallery3/zipball/master

For your current install delete EVERYTHING except for your gallery3/var directory, then copy/move that directory into your new directory where ever you extract the latest code to.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-01-11 17:12

Oh and once you have the latest code in place visit www.example.com/gallery3/index.php/upgrader where www.example.com/gallery3 should be replaced with your domain and path to your G3 install.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Mon, 2010-01-11 17:50

Let me clarify, I followed your instructions. Downloaded the new zip (a11bf29) Extracted it to ./gallery-gallery3-a11bf29. Moved my gallery3/var into ./gallery-gallery3-a11bf29. Deleted my ./gallery3 directory, then renamed ./gallery-gallery3-a11bf29 to ./gallery3. I copied /modules/register/ (from a contrib file dated 2JAN10 19:30) into ./gallery3/modules/. I pointed my browser to the url for index.php/upgrader. Received an all clear message. Went to my gallery3/index.php url and received the "Dang..." message. I cd'ed into themes, made a copy of the wind directory and named it default, made a copy of the admin_wind directory and named it admin_default.

Gallery3 is not* reading wind as the default theme. The only* thing common in each of my builds would be the register module and my ./var directory. Is there something in either of these that would force the default theme to = *default and not allow it to change to *wind?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-01-11 18:52

Can you try a fresh install and see if that works?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Mon, 2010-01-11 19:51

I can. Which install package would you like me to use? a11bf29? Also, should I dump the db and create a new one? Or can I re-use the db that was already created by gallery3?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-01-11 21:15

Start completely fresh with what ever comes out of here:
http://github.com/gallery/gallery3/zipball/master

New DB, new var directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Mon, 2010-01-11 21:28

Grabed gallery-gallery3-284e14d.zip, created a new DB, ran through installer, no issues. Copied register from my backup copy of gallery3/modules, and I'm able to configure it. SO it was either something not being liked in the db or /var.

Thanks for all of your help. I will start beating on this copy of gallery to see what further damage I can inflict. :)

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Mon, 2010-01-11 22:09

I guess I need to grab a newer copy of the register module. The one I have allows for self service account creation, but still requires admin validation, even when the check box is slected for validation via e-mail. Or is this not a functional feature yet?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-01-11 22:20

The most recent version is here:
http://github.com/gallery/gallery3-contrib/tree/master/modules/

I don't know if there are currently any known bugs with it and I haven't spent a lot of time with it yet. I'll have to check into that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Tue, 2010-01-12 15:43

Date on the newer contrib (60238dd) are newer, But I still get "Your registration request is awaiting administrator approval" even after I slected the options for "Visitors can create accounts and no administrator approval is required." and "Require e-mail verification when a visitor creates an account"

When I look at the advanced section, I see the following:
registration default_group empty
registration email_verification
registration policy empty

BTW, would you rather this be submitted as a bug for tracking, or are you ok with working this out via forum?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-01-12 16:52

I'm not a developer. Please file a bug here: http://sourceforge.net/apps/trac/gallery You can register for free on SourceForge.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Tue, 2010-01-12 17:33

BUG ID 2899084 submitted

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-01-12 17:39

Please provide a link, because that doesn't look like a bug number from Trac and it doesn't show up here:
http://sourceforge.net/apps/trac/gallery/report/1?asc=0&sort=created&USER=anonymous
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Tue, 2010-01-12 18:11
 
BOFHMike

Joined: 2010-01-05
Posts: 22
Posted: Tue, 2010-01-12 18:17

My bad, I just noticed,my bug went into gallery instead of gallery3. Creating a new one in gallery3
https://sourceforge.net/apps/trac/gallery/ticket/977

 
oto

Joined: 2010-03-22
Posts: 6
Posted: Tue, 2010-12-14 09:47

user register dont work yet in G3.01? or im a complete dude...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2010-12-15 03:44

dude:
http://codex.gallery2.org/Gallery3:Modules:register

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team