how to create dbtable 2 for a login user

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
User avatar
kfi4all
 
 
Posts: 9
Joined: Sun Oct 12, 2014 12:26 am
Location: Nigeria
Contact:

how to create dbtable 2 for a login user

Post by kfi4all »

Hello! I have successfully designed a login system but have a problem creating a second database table that is hidden from other users.
Please, I need a solution. thanks
regards,
kfi4all!
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: how to create dbtable 2 for a login user

Post by Pablo »

Only one database can be used per website.
User avatar
kfi4all
 
 
Posts: 9
Joined: Sun Oct 12, 2014 12:26 am
Location: Nigeria
Contact:

Re: how to create dbtable 2 for a login user

Post by kfi4all »

Thanks for the reply.
I am not referring to creating more than one database for a user but having a user to two or more tables in a database.
regards,
kfi4all!
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: how to create dbtable 2 for a login user

Post by Pablo »

There is only one table for the login tools.
What exactly are you trying to do?
User avatar
kfi4all
 
 
Posts: 9
Joined: Sun Oct 12, 2014 12:26 am
Location: Nigeria
Contact:

Re: how to create dbtable 2 for a login user

Post by kfi4all »

I am working on a business website that creates accounts for sales staff. The website is expected to keep track of the sales of each staff in a second table. Different from the users' table; so, that the manager can access the sales report of each staff, without seeing other staff sales report.
Thanks
regards,
kfi4all!
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: how to create dbtable 2 for a login user

Post by Pablo »

How is this related to the login tools?
If you have custom code that keeps track of the sales, then this can be a different table.
User avatar
kfi4all
 
 
Posts: 9
Joined: Sun Oct 12, 2014 12:26 am
Location: Nigeria
Contact:

Re: how to create dbtable 2 for a login user

Post by kfi4all »

Thanks for all your effort.
The relationship with the login tool is that having created a second table for the login account; I expect that once the user login, he or she shouldn't see the activities of other users in the database view. On the contrary, every user sees the activities of other users (this ought to be private). So, what should I do to keep a user from seeing other users' activities?
regards,
kfi4all!
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: how to create dbtable 2 for a login user

Post by Pablo »

You cannot use different tables for different users. There is one table for all users. There is only one login session.
If you need more advanced functionality then you will need to customize the scripts.
User avatar
kfi4all
 
 
Posts: 9
Joined: Sun Oct 12, 2014 12:26 am
Location: Nigeria
Contact:

Re: how to create dbtable 2 for a login user

Post by kfi4all »

Thanks!
regards,
kfi4all!
Post Reply