Search found 68 matches

by francisco
Sun Feb 18, 2024 6:05 am
Forum: Problems
Topic: [Feature Request] Option to delete user accounts
Replies: 3
Views: 5177

[Feature Request] Option to delete user accounts

I was creating a user registration code in Lua and ended up creating several test accounts, and now I want to get rid of them.
I know we have the option to inactivate or block accounts, but it would be better if we also had an option to completely delete accounts.
by francisco
Sun Feb 18, 2024 5:42 am
Forum: Tutorials
Topic: [Updated] Simple register page code using Lua scripting
Replies: 5
Views: 7147

Re: [Updated] Simple register page code using Lua scripting

VERY IMPORTANT UPDATE: The correct syntax for defining a variable in parameters is as follows: ... local param = { email = email, username = username, password = password, var = { fullname = fullname -- Sets the full name as a custom variable! } } ... The code has been updated to make this correction.
by francisco
Sat Feb 17, 2024 9:58 pm
Forum: Tutorials
Topic: [Updated] Simple register page code using Lua scripting
Replies: 5
Views: 7147

[Updated] Simple register page code using Lua scripting

Hello! Here is a simple code for a register page using Lua scripting. You are free to style the HTML codes however you want. The code can be a little challenging to understand at first, but feel free to ask if you don't understand any part. Also see: Simple login page code using Lua scripting How to...
by francisco
Fri Feb 16, 2024 4:01 pm
Forum: Problems
Topic: You need to see this
Replies: 12
Views: 13680

Re: You need to see this

[...] But the thumbnail isn't working, please who can tell what the problem might be Hello! The Post Creator function expects the value of the thumb parameter to be a string, as it is not capable of uploading files. That's why in the Lua code I provided, the thumbnail is first being uploaded using ...
by francisco
Thu Feb 15, 2024 12:27 pm
Forum: Problems
Topic: You need to see this
Replies: 12
Views: 13680

Re: You need to see this

Hi, here's a Lua script to upload the thumbnail and generate the post in a single form! Be sure to set the Script as visible only to "Admin & user". The script first uploads the thumbnail and if the upload is successful the post is created with the thumbnail link added. html_form = [=[...
by francisco
Wed Feb 14, 2024 5:22 pm
Forum: Tutorials
Topic: Simple login page code using Lua scripting
Replies: 1
Views: 4432

Simple login page code using Lua scripting

Hello! I would like to share a simple code for a login page using Lua scripting. You are free to style the HTML codes however you want. The code can be a little challenging to understand at first, but feel free to ask if you don't understand any part. See also: Simple register page code using Lua sc...
by francisco
Wed Feb 07, 2024 2:10 pm
Forum: General Discussion
Topic: How to create a user referral link
Replies: 5
Views: 7244

Re: How to create a user referral link

What do you mean by referential link?

Like someone writing in a post @someone and that someone receiving a notification that they were mentioned?

Or have a link like yousite.com/register?ref=someuser and whenever someone registers, someuser receives a certain amount of points?
by francisco
Tue Feb 06, 2024 9:14 pm
Forum: Ask any question
Topic: I have tried all I could nothing worked, please help
Replies: 2
Views: 4386

Re: I have tried all I could nothing worked, please help

Have you tried using the User Lister function? Let's say you have a /users page and in your /index you have a link like /users?id=12345, add a User Lister function to the /users page as follows: -Enter Code- <h2>%username%</h2> <p>Role: %role%</p> <p>Registered: %regdate%</p> <!-- Use whatever tags ...
by francisco
Mon Feb 05, 2024 4:12 am
Forum: Problems
Topic: Can anyone tell me how to use this api new method
Replies: 23
Views: 21164

Re: Can anyone tell me how to use this api new method

Do not use <script> and </script>, this is Lua code, not Javascript.
by francisco
Mon Feb 05, 2024 3:25 am
Forum: Problems
Topic: Can anyone tell me how to use this api new method
Replies: 23
Views: 21164

Re: Can anyone tell me how to use this api new method

shrmaprem0202 wrote: Mon Feb 05, 2024 3:23 am If i use script tag display nothing was display and without script tag displayed code in text format
This is weird, I don't know what the problem could be