top of page

Forum Posts

Quinten Althues
May 20, 2020
In Coding with Velo
Hello, I want my repeater to show the 30 newest items, starting from the bottom. I know how to sort it old to new, but I want to show the newest 30 item only. How could I achieve this? Thanks!
0
3
41
Quinten Althues
Apr 07, 2020
In Coding with Velo
Good afternoon (or whatever time it is for you)! I've got a website with member-generated knowledge. I want people to be able to read it in their own language. How could I grab the text, send it to a translation engine and translate it? Thank you so much for helping! 😄
0
4
151
Quinten Althues
Mar 27, 2020
In Coding with Velo
Not yet solved, can anybody help? I've got a dataset with member-generated content and I want to be able to show it in multiple languages. Can I use this API? And if so, how would that work? Could somebody show me a code snippet? https://tech.yandex.com/translate/doc/dg/reference/translate-docpage/ (yes I do have an API key)
0
2
19
Quinten Althues
Mar 17, 2020
In Coding with Velo
Solved! Hello! How can I get how many items are shown in a repeater? I'm trying to make something like this: You've seen 30 of 68 entries. Load more I knew that there's $w("#myDataset").getTotalCount() to get the total amount of entries, but I'd need to get how many entries are currently loaded in the repeater. Is this possible? Solution: I made a wixStorage session variable and gave it the value 12, which is the number of entries my dataset loads. Each time the Load more button is clicked, 12 is added to the variable and the text updates to show the variable. See it in action here: https://webmaq.wixsite.com/kennis/forum
0
1
62
Quinten Althues
Feb 20, 2020
In Coding with Velo
Hi, I've got a database full of entries on my site. Another site wants to use my info. So, I thought that maybe I could make the database public or something, so that the other site can use it. That other site is not made with Wix, and it does not need to be able to write or update entries. How could I pull this off? Thanks!
0
1
31
Quinten Althues
Feb 10, 2020
In Coding with Velo
Hi, I have a repeater which is connected to a dataset. The height of an item will vary because the text length varies. I have a button inside the item, which I want to stretch over the entire item. Problem is, that the button size doesn't change. Is there a way that I can grab the height of the item, and apply that to the button? The button is shown in blue. This is how I want it to be: But this is how it would show up if the item grows bigger: (This is only slight because I didn't have an example where the item is even bigger) Thanks for your help!
Variable button height content media
0
2
40
Quinten Althues
Feb 10, 2020
In Coding with Velo
Hi, I have an element which, if it's in the viewport, executes .loadMore() on my dataset. But when the end of the dataset is reached, it doesn't provide any actual feedback. It just shows that it's loading. Is there a way to do .catch(error) or something and then hide the "Loading more" text?
0
1
35
Quinten Althues
Jan 31, 2020
In Coding with Velo
Hi, I have a system in place that automatically sends a message when a user receives a private message in my custom chat. But I don't want that mail to be sent if that person already received a private message in the past hour (I'd like it to reset once the user reads the message); How can I do this?
0
1
15
Quinten Althues
Jan 31, 2020
In Coding with Velo
Hi, I want to make a "Follow" function on my custom forum. I want to use a database with every following user in it, which the wixUsers.emailUser function will send an email to once a new post is created. How can I send an email to all users in a database (and filtered, so it only sends the email to the followers of that category)?
0
0
24
Quinten Althues
Jan 28, 2020
In Coding with Velo
Solved! I have a string and I want to cut off a specific part. The string looks like this: https://static.wixstatic.com/media/9307f1_2a682e7365e3407b85a6c3f4b4f45f00~mv2.png/1125_2000/9307f1_2a682e7365e3407b85a6c3f4b4f45f00~mv2.png I want to cut it so that it looks like this: https://static.wixstatic.com/media/9307f1_2a682e7365e3407b85a6c3f4b4f45f00~mv2.png So I need to remove this: /1125_2000/9307f1_2a682e7365e3407b85a6c3f4b4f45f00~mv2.png This basically means I have to find the fifth slash in the string, and remove everything from that point on. Any way I can do that?
0
4
1k
Quinten Althues
Jan 03, 2020
In Coding with Velo
I have a wixData.insert function correctly set up, but I want to use wixLocation.to to go to the inserted item's dynamic page. I used this code: (I know that the link to the dynamic page is stored in "link-forum-p-category-title") //wixData.insert function ... .then((results) => { wixLocation.to(results.items[0].link-forum-p-category-title) }) But this gives me the following error: How can I get this to work?
Go to dynamic page of inserted item content media
0
6
42
Quinten Althues
Dec 17, 2019
In Coding with Velo
I have a repeater with valuable height per item on my page. So if it contains more text it's taller. Is there a way I can create a "cards" effect, so that there will not be huge gaps. Something like this: https://static.wixstatic.com/media/375882_37eb5435203b477bb4903cb4f5913701~mv2_d_1920_1254_s_2.png/v1/crop/x_402,y_0,w_1116,h_1254,q_85/375882_37eb5435203b477bb4903cb4f5913701~mv2_d_1920_1254_s_2.webp Is that possible? Thanks!
0
3
697
Quinten Althues
Dec 16, 2019
In Coding with Velo
Hi, I'm looking to automatically forward new Wix Form submissions to a Discord webhook. How could I do that? Thanks
0
6
929
Quinten Althues
Dec 04, 2019
In Coding with Velo
Solved! I want to hide or show an element in my repeater (so for each element), depending on a boolean's value. How can I do that?
0
3
143
Quinten Althues
Dec 04, 2019
In Coding with Velo
Solved! Hi! I have a Dynamic Dataset on my dynamic item page, and I want to grab the _id of the current item that is viewed. How can I get the _id that is outputted, instead of the whole thing? let itemObj = $w("#myDataset").getCurrentItem();
0
6
100
Quinten Althues
Nov 05, 2019
In Coding with Velo
I want a dataset to refresh on everyone's instance of my site, whenever somebody posts a new chat message. If it doesn't exist, it would be great to have this: wixWindow.broadcast("broadcastTitle"); run this code snippet on all guests' PCs: wixWindow.onBroadcast("broadcastTitle") { //code }; Thanks!
2
0
104
Quinten Althues
Oct 31, 2019
In Coding with Velo
I have set up a chat with a rich text box, and I want it to submit when clicking enter. It must not submit when holding shift though.
0
10
91
Quinten Althues
Oct 22, 2019
In Coding with Velo
Hi, How can I check if a user has a specific role? Some users have more than 1 role on my site. Thanks!!
0
6
190
Quinten Althues
Oct 09, 2019
In Coding with Velo
Hey, Is it possible to show the current week number in a text element? Thanks!
0
4
335
Quinten Althues
Sep 30, 2019
In Coding with Velo
I made a custom registration form using Corvid, but it doesn't automatically add members to the site's community. How do I change that behaviour? Thanks!
0
3
181

Quinten Althues

More actions
bottom of page