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
russian-dima 18:46:47
31.8.2020
russian-dima 18:46:10

Here you can see my link to googhttp://www.google.de target=_self>www.google.dele.......

31.8.2020
russian-dima 18:45:34

Here you can see a LINK ---> myLinktoGoogle

31.8.2020
russian-dima 14:19:38

rrrrrrrrrr

31.8.2020
russian-dima 14:18:28

qeeeqweqweqwe

31.8.2020
russian-dima 14:01:12

awddawdawd

31.8.2020
russian-dima 13:58:53

23123213

31.8.2020
juanfelipeamt 7:46:31 PM

I tried to change my picture. :)

8/25/2020
juanfelipeamt 7:43:57 PM

Hellooooo

8/25/2020
mr-money-man 13:41:23

As you can see, i changed my PIC (of the test-user --> mr-money-man)

25.8.2020
mr-money-man 13:40:45

Hello!

25.8.2020
russian-dima 18:59:25

You are still not a member of my site? So it is time to change it xDDDDDD

24.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