How to make Comment system using ChatView

Well first of all I would like to say Hi to everyone :slightly_smiling_face:
Now to move to topic.In this guide I will describe you to make comments system and managing it using your own Database.

What you will need

Here is a list of items/resources you will need before getting started…

How it looks from Designer

Sometimes ago on my one Guide when Aia file download link was not working then users asked for its Design so here is its design…

Components

Following have been used in making this comment system-

  • Button
  • TexBox
  • ChatView
  • Notifier
  • Web
  • Clock

Note:- If you want to show comments in ListView Image and Text then replace ChatView by it

Pre-added rows/tables

If you are continuing this guide then I assume you have created a Table named ‘Comments’ and four rows named as following-

  • Timestamp
  • Id
  • User
  • Comment

Blocks

Blocks are divided into three parts…

1.Save comment in database

blocks%20(64)
blocks%20(65)

2.Load comments from Datebase

blocks%20(67)

3.Load comments for specific ID

blocks%20(68)

Extras
‘runQuery’ Procedure:-


Thanks to @Taifun

Universal ‘Got Text’ event

Procedure to get ‘id’ for Chat View
blocks%20(71)

Screenshot/Testing

Thanks Peter for your avtar

Apk for testing

Comments.apk (5.1 MB)

Aia File

Here is Aia file download Link:-

Comments.aia (71.6 KB)

Liked my work

You can donate me here:

From Developer

As it is open source so everyone can contribute to this guide and improve it.
Also if you find any bug or have a query then post that here or message me(in personal case)

Thank you :slightly_smiling_face:

25 Likes

:grin::grin::grin::grin::grin::grin:

9 Likes

Awesome work.

1 Like

Goodwoork
But I already did this in my app​:star_struck:but normally…

1 Like

I simply stored comments in one cell in database and juth gave each post a different id.and work done!just load Comments according to id

MySql has more features than airtable.

4 Likes

that was awesome but complicated. Can you do that with airtable.& use split block to store more data in one row

1 Like

Actually airtable is easy to use but has less features than mysql.
But I will try.

2 Likes

Can you explained what’s the different Between airtable & mysql i mean advantage. I didn’t know.plz

Airtable database is the simplest way for making comments system like fb, YouTube. I made it comments with airtable.

Hi … i am using infinityfree hosting and i cant find the MySQL DataBase url and also key
please help me .

image
how to see this

Url is your site url while key is what you set in the php file.
For more information see this:

can you give an example

Hi , can you give me the php code file

You can find that here: