Pages (2): 1 2   
Member
Member
mlbarnes   27-04-2009, 07:32
#1

I just installed the latest version of ZenPhoto. I am unsure how to allow it for other user to register on the site and to be able to login. I installed the plugins but still don't see anything on the pages. Once a user logs out they have to know an address to get back to login. I would apprecaite any help with this.

Administrator
Administrator
acrylian   27-04-2009, 08:01
#2

You need to add the function described on the plugin documentation where you want the login link to appear.

Member
Member
mlbarnes   27-04-2009, 16:48
#3

Ok I found how to add that but when the user registers it doesn't do anything. It clicks like it worked but the user doesn't receive an email nor does it insert any information in to the database.

Member
Member
sbillard   27-04-2009, 17:07
#4

How about a link to your site? I just tried this using the Efferevescence+ theme and it is working correctly.

Member
Member
mlbarnes   28-04-2009, 17:14
#5

A link to my site is http://pics.bytely.com

Member
Member
sbillard   28-04-2009, 17:24
#6

Please read the documentation of this plugin--http://www.zenphoto.org/documentation/plugins/_plugins---register_user.php.html.

You have not followed it.

Member
Member
mlbarnes   29-04-2009, 06:41
#7

The documentation is not real clear on that page but I think I am making progress. Here is my register.php

Here are my errors. When I submit my new user I get this error at the top:

Notice: Undefined variable: _zp_gallery_page in /var/www/bytely.com/pics/zp-core/plugins/register_user.php on line 100

The email still goes through but when I click on the verify link I get this error:

The Zenphoto object you are requesting cannot be found.
Page:

Also how do I get a blank page that follows the theme? I would like to make it look like all the other pages.

Thank you so much for your help!!

Administrator
Administrator
acrylian   29-04-2009, 08:19
#8

There is no need to do the require/include. Please read this part of our theming tutorial on how to set up non gallery pages: http://www.zenphoto.org/2009/03/theming-tutorial/#custom-pages

Member
Member
mlbarnes   29-04-2009, 17:04
#9

Very cool. I got that working. These should be my last few questions:

  1. Is their a way so that users can only see there albums and not all the albums?

  2. How can I make my header image appear on top of every page?

  3. Can I make a custom login page where it shows on my theme?

Member
Member
sbillard   29-04-2009, 23:05
#10
  1. password protect the gallery or the albums you do not want to be public. Then assign the users albums you want them to be able to view.

  2. Insert the HTML to show the image in the top of each of your theme page scripts.

  3. See the user_logout plugin. It has an option to add a login form.

Member
Member
mlbarnes   30-04-2009, 01:49
#11

I could password protect the albums but I want it so as soon as a user signs up they have their own album that is private, and then all the albums they create will only be viewable by them. To them it will look like their personal albums are parent albums but in actuality it would be a sub album. Does that make sense? LOL

Member
Member
sbillard   30-04-2009, 02:36
#12

There are two ways to make an album not visible: mark it unpublished or password protect it. The former can be bypassed by using a direct link--that is it only hides albums from the thumbnail views, not from someone who knows its URL.

Given the description of what you want to do and assuming that there are no albums other than the ones "owned" by these users, all you have to do is one of the above.

Album ownership is only available for gallery level albums. So you cannot do this with subalbums.

Member
Member
tehsmokealot   29-06-2009, 21:35
#13

I habe installed zenphoto. Works realy great.

And now i want to create an option that user can register, and can upload fotos.

i dont understand the manpage.
http://www.zenphoto.org/documentation/plugins/register_user_options.html

Please can someone help me.

Thanks

p.s. sorry about my englisch im from germany

Member
Member
sbillard   29-06-2009, 21:54
#14

On the 1.2.5 release only the Effervescence+ theme provides an implementation of this plugin. But if you wish to try the nightly build, now all the distributed themes have the support built in.

Otherwise you will need to create a registration page script and place a call on the printRegistrationForm() function. The correct documentation for using the plugin is http://www.zenphoto.org/documentation/plugins/_plugins---register_user.php.html. The reference you quote above is for the plugin's option handler class which you do not need to concern yourself about.

Documentation for Zenphoto functions is automatically generated. That process documents all functions including ones that are internally used. Generally, the link on the plugin page will take you to the correct documentation.

Member
Member
tehsmokealot   29-06-2009, 22:13
#15

When i aktivated Effervescence theme i dont see a register button or something

Member
Member
sbillard   29-06-2009, 22:21
#16

There will be a link at the bottom of the index page. But of course, it will not be there if you are already logged in (as in that case you are already registered as well.)

Member
Member
tehsmokealot   29-06-2009, 23:00
#17

no there ist no registerbutton.
http://web388.server109.dns-was.de/user/index.php

whatch out my testgalerie with effervescence

Member
Member
tehsmokealot   29-06-2009, 23:01
#18

ah i found it

But i want to make it easier for the user to register. And erase the usability.

//EDIT
Ive test the register funktion. And whats ne ID ? and the system dont send a registration mail.

Member
Member
sbillard   29-06-2009, 23:46
#19

The ID is the user's ID (as opposed to his name.) The email uses the same process as for sending password reset mails or comment notification mails. If these are not working most likely your server is blocking sendmail functionality.

Member
Member
sbillard   30-06-2009, 00:18
#20

BTW, Your site has sent me a mail regarding my registration request, so most likely your spam filter has "helped" you out here.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.