top of page

- Press F12 if you use google-Chrome-Browser

- go to ---> CONSOLE

- look at the results 

CLOSE.png
Show Member-List
Validate-Member

! ! ! Only LOGGED-IN USER WILL SEE A RESULT ! ! !

! ! ! Redirection starts when access granted ! ! !

Registered-Member-List

CLOSE.png

! ! ! Only the ADMIN can see the whole member-list ! ! !

.

CODE

CLOSE.png

import wixLocation from 'wix-location';

import wixData from 'wix-data';


 

$w.onReady(function() {     })

 

​

export function button7_click(event) {

    let EmailInput = $w('#input7').value;

    console.log(EmailInput)

    

    wixData.query('myDatabase')

        .eq('email', EmailInput)

        .find()

        .then(result => {

        let numberOfItems = result.totalCount;

        console.log(numberOfItems)

        if (numberOfItems === 0) {

            wixLocation.to("https://www.ebay.com");

        } 

        else {

            let callsign = ".com/"                  //---> deaktivated          //$w('#input7').value;

            wixLocation.to("https://www.google" + callsign);

        }

    })

}

​

​

​

​

​

​

function get_AllMembers(event) {

    wixData.query("Members/PrivateMembersData")

    .find()

    .then(results => {

        console.log(results)

        let numberOfItems = results.totalCount;

         console.log(numberOfItems)

        let itemLength=results.items.length 

        console.log(itemLength)

        let item=results.items  

        console.log(item)

 

        for (var i = 0; i < numberOfItems; i++) {

            console.log(item[i].loginEmail)

        }

    })  

}

Show all registered user:

Comment-Box

CLOSE.png

Version-1.0

Under_Construction.png

Leave a comment. . .

Arrow.png

General-Settings

ON                 OFF

Show Text-Length

ON                 OFF

max. Text-Length

ON                 OFF

Show Key-Press

ON                 OFF

Show Key-Code

ON                 OFF

Show Total-Count

Character-limit

Load default settings
Save
lestherg-esilverconnect 2:52:59 AM
8/20/2022
s18376 1:07:58 AM

asdas

1/20/2022
s18376 1:03:31 AM

asdas

1/20/2022
arthurvalatin 00:15:21

he he heeeeeeeeeee!

30/12/2020
arthurvalatin 00:15:03

undefinedha ha haaaaaaaaaaa!undefined

30/12/2020
arthurvalatin 00:14:48

My little joke!

30/12/2020
arthurvalatin 00:14:14

really real

30/12/2020
o0oelys 17:55:55

real

23/09/2020
russian-dima 18:49:20

123231

2.9.2020
russian-dima 18:49:17

213213

2.9.2020
russian-dima 17:56:10

123123123

2.9.2020
russian-dima 18:48:04
31.8.2020
Seite 1 von 1
Design
Settings
About
CLOSE.png
Leave a comment, or start a chat.

Post-Comment

- - -

Pressed-Key

- - -

Key-Code

Text-Length

- - -

max. Text-Length

- - -

Number of Comments

- - -

designed & developed by russian-dima

Write a comment
bottom of page