Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

User without login

Post Reply
antoniogarcia
Posts: 6
Joined: Thu Jul 08, 2010 11:17 pm

User without login

Unread post by antoniogarcia »

Hello,
How can i do that one user start sesion directily without login? Its posible?
Can one user belong to several groups??

Thanks.
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: User without login

Unread post by steven »

How can i do that one user start sesion directily without login? Its posible?
It can't be done globally, but it can be done for individual forms.
eg.
nologin.png
Then you can just call the url of that Browse Screen.
http://localhost/productionnu2/browse.p ... okup_code=

or the url of a specific record with the Edit Screen.
http://localhost/productionnu2/nubuilde ... a7ff1aa9b1


Steven



Can one user belong to several groups??
Sorry, but not at this stage. You'll need to create another group.
You do not have the required permissions to view the files attached to this post.
A short post is a good post.
antoniogarcia
Posts: 6
Joined: Thu Jul 08, 2010 11:17 pm

Re: User without login

Unread post by antoniogarcia »

Thanks for your reply.
I do a form like Index, and i put in 'no login' propierty.
Then i insert into this form botton for other forms.
I think that a god solution.
What do you think??

Antonio.
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: User without login

Unread post by steven »

Antonio,

Can you explain that again please.
I'm sorry but I didn't understand.

Steven
A short post is a good post.
antoniogarcia
Posts: 6
Joined: Thu Jul 08, 2010 11:17 pm

Re: User without login

Unread post by antoniogarcia »

Ok, sorry for my bad english.
My solution for an index without login:
I make a form like Index, and then put 'access without login' to yes
In this form insert 1or more button that launch other form without login.
In this case i have a index of forms without need of login.

Can i put a head image to this form??

Sorry one more time again.

Antonio.
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: User without login

Unread post by steven »

Antonio,

Your solution sounds like a good idea.

To display your banner logo on your alternative Index page, put this JavaScript in the JavaScript tab on its form.

Code: Select all

function nuLoadThis() {

 var _body         = document.getElementsByTagName('body') [0];
 var _div          = document.createElement('div');

 _div.setAttribute('id','nuBanner');
 _body.appendChild(_div);

 var theBanner  = document.getElementById('nuBanner');
 theBanner.style.overflow        = 'hidden'
 theBanner.style.position        = 'absolute'
 theBanner.style.top             = '0px'
 theBanner.style.left            = '0px'
 theBanner.style.width           = '992px'
 theBanner.style.height          = '70px'

 var _img                        = document.createElement('img');
 _img.setAttribute('src','formimage.php?dir=db/sample&iid=149bf07777e6a0');
 _div.appendChild(_img);


}

(149bf07777e6a0 - needs to be the id of the image stored in zzsys_image)

good luck!


Steven
A short post is a good post.
Post Reply