Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
July 27, 2024 - @168.94 (what is this?)
Forum activity rating: Three Star Posts: 28/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :ha: :pc: Hello Melonland! :pc: :happy:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ♺ ∙ Web Crafting Materials
| | |-+  neocities comment section widget!


« previous next »
Pages: [1] 2 Print
Author Topic: neocities comment section widget!  (Read 1771 times)
kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« on: July 20, 2023 @46.76 »

it's my first time posting any sort of resource to the forum, so let me know if i'm doing something wrong! this was one of the first things i was excited (but also anxious haha) to share when i signed up.

i recently created a comment section widget in pure vanilla javascript for neocities sites/static sites through the usage of google forms/google sheets. while relying on google for stuff isn't ideal, i wanted to provide an option to fellow webmasters (especially newbie webmasters) to have a comment section without a server backend that also doesn't cost money to unlock all the features and is fully customizable, without navigating to an external site... most cbox/guestbook/comment section sites fall into one or more of those categories, and i just sort of think that's lame. i tried my best to make it modular and easy to use, even if you don't know a lick of javascript. it also has documentation of all IDs/class names for all the various pieces of the widget, so the sky's the limit with CSS customization. you can get it
here! instructions on how to put it on your site are located at the link provided and are written in such a way that it's pretty hard to mess up, i think. the only true limitation is google drive space - if your site has enough comments that the text content alone made a google sheet big enough to break drive's free storage limit, the widget would stop working. though i think at that point, your site is probably large enough to deserve non-static hosting and other solutions.

additionally, i am just a hobbyist and have no formal education in programming and while i don't think i'm a complete idiot, it's possible my code could be optimized or perhaps there are issues with it i did not catch or consider! if you're javascript-savvy and happen to look through my code and have suggestions or find a bug, feel free to let me know. i am dedicated to updating the widget if the need to arises, or if it could just be made better.

there's an example of it working at the link provided and you can also find what i think is a pretty cool implementation of it on this website for the webcomic
Night Shifting (warning for mature content in the comic, the site itself has more detailed trigger warnings)

- ayano

edit: i forgot that i wanted to add an example of it being used. added that, oops
« Last Edit: July 20, 2023 @48.34 by kiki & ayano » Logged

 
過去喰らい尽くした
pinkvampyr
Jr. Member ⚓︎
**


Claire (he/him) pink/black color combo enjoyer

SpaceHey: Friend Me!
StatusCafe: pinkvampyr
iMood: pinkvampyr
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #1 on: July 20, 2023 @56.16 »

woah this is so cool!!!!
Logged


kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« Reply #2 on: July 20, 2023 @111.25 »

woah this is so cool!!!!

thanks so much!
- ayano
Logged

 
過去喰らい尽くした
xandra
Full Member ⚓︎
***


i want to be with you everywhere

SpaceHey: Friend Me!
StatusCafe: xandra
iMood: xandra0

View Profile WWW

First 1000 Members!Spring :^}OG! Joined 2021!
« Reply #3 on: July 20, 2023 @190.78 »

this is so awesome! thanks for making this. a lot of people have wanted this for sure.

going to put include this on the 32-bit cafe's massive resource list if that's okay!
Logged
kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« Reply #4 on: July 20, 2023 @193.59 »

this is so awesome! thanks for making this. a lot of people have wanted this for sure.

going to put include this on the 32-bit cafe's massive resource list if that's okay!

oh yeah, go ahead! i'm a bit flustered almost that you would think it good/useful enough to add haha
- ayano
Logged

 
過去喰らい尽くした
TheNothingMonster
Full Member ⚓︎
***


Hey psst! Wanna see something spooky?

StatusCafe: thenothingmonster

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #5 on: July 20, 2023 @376.57 »

I remember looking EVERYWHERE to find a simple script such as this. Thanks for sharing, Ayano! :4u:
Logged

~~~~~~~~~~~~
sig
Sr. Member ⚓︎
****


the great

iMood: sigmatic

View Profile WWW

First 1000 Members!Certified chocoboGoose!Joined 2022!
« Reply #6 on: July 20, 2023 @427.16 »

Gonna be using this too, thank you for sharing!  :transport:
Logged

          
The world ends with you. If you want to enjoy life, expand your world. You gotta push your horizons out as far as they go.
kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« Reply #7 on: July 20, 2023 @516.20 »

I remember looking EVERYWHERE to find a simple script such as this. Thanks for sharing, Ayano! :4u:

Gonna be using this too, thank you for sharing!  :transport:

no problem, feel free to let me know if you run into any issues!
- ayano
Logged

 
過去喰らい尽くした
Kolo
Jr. Member ⚓︎
**


StatusCafe: kolo

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #8 on: July 20, 2023 @533.61 »

This is amazing! Thank you so much for making this!!
Logged

⋆。˚⋆.°˖✧ there is a dream world many miles inside me ✧˖°.⋆ ˚。⋆
⋆。˚⋆.°˖✧ and i go there when i can ... many miles haunting me ✧˖°.⋆ ˚。⋆
BananaBoots
Jr. Member ⚓︎
**


↑ Soooooo normal about him (lying)

StatusCafe: bananaboots
iMood: bananaboots
Itch.io: My Games

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #9 on: July 20, 2023 @941.35 »

Oh, I'm absolutely using this! I was using smartgb but it'll be nice to have proper control over my guestbook :happy:
Logged

Boots (it/he)

Grimlock
Jr. Member ⚓︎
**


Harley | He/they |

SpaceHey: Friend Me!
StatusCafe: dinosaur
iMood: Grimlock

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #10 on: July 21, 2023 @2.60 »

this is cool! i'm not sure if i'm gonna end up using it but it seems so useful!
Logged

kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« Reply #11 on: August 05, 2023 @536.19 »

hi, been a while, just popping in to say i pushed a really important update to the widget today and if any of you were using it, please update! if you don't, replies will be broken for users in other timezones than you. https://virtualobserver.moe/ayano/comment-widget

extremely sorry for the inconvenience. i'm pretty embarrassed about such a major bug slipping through my bugtesting, but it happens i suppose, i'm just one person. information on how to update can be found in the update log section. as per usual with neocities, you may need to refresh for things to appear properly - and i'd really appreciate any spreading of the update through word of mouth to those using it. thank you!

- ayano
Logged

 
過去喰らい尽くした
TheNothingMonster
Full Member ⚓︎
***


Hey psst! Wanna see something spooky?

StatusCafe: thenothingmonster

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #12 on: August 05, 2023 @664.61 »

hi, been a while, just popping in to say i pushed a really important update to the widget today and if any of you were using it, please update! if you don't, replies will be broken for users in other timezones than you.
Thanks for the update!

As I dived a bit deeper into your script today, I came up with some general suggestions: :cheerR:
  • To further prevent spam, I recommend you adding a function which clears all the input fields after the message's submission.
  • When the "Show Replies" button is activated, make it so the text changes to "Hide Replies".
  • Create different CSS for the "Submit" & "Reply" buttons. I would love to be able to customise these buttons separately!
That's all I have in mind for the time being. Hoped I could help. :4u:
Logged

~~~~~~~~~~~~
kiki & ayano
Casual Poster ⚓︎
*


devour the past


View Profile WWW

First 1000 Members!Pocket Icelogist!Joined 2023!
« Reply #13 on: August 05, 2023 @870.73 »

Thanks for the update!

As I dived a bit deeper into your script today, I came up with some general suggestions: :cheerR:
  • To further prevent spam, I recommend you adding a function which clears all the input fields after the message's submission.
  • When the "Show Replies" button is activated, make it so the text changes to "Hide Replies".
  • Create different CSS for the "Submit" & "Reply" buttons. I would love to be able to customise these buttons separately!
That's all I have in mind for the time being. Hoped I could help. :4u:

hi, these are great suggestions and i'll probably implement them, thank you! i'm pretty busy this week (i'm glad i had the time to fix that urgent timezone bug) so i may not be able to get to it for a little bit, but yeah

- ayano
Logged

 
過去喰らい尽くした
serenefork
Jr. Member ⚓︎
**


a Beanie Buddy!

StatusCafe: serenefork
iMood: serenefork

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #14 on: August 05, 2023 @879.27 »

I'm really grateful for this resource! I actually implemented into my site last night (though it's not linked to yet so I can finish the graphics for the page first...) It is really well explained in the installation guide! :4u: Thank you Ayano!
Logged

(he/they)

Pages: [1] 2 Print 
« previous next »
 

Vaguely similar topics! (3)

newgrounds' art games section

Started by DarmodejBoard ♖ ∙ Video Games

Replies: 0
Views: 1419
Last post February 03, 2022 @906.33
by Darmodej
I need help with neocities

Started by Kane VirkutisBoard ☔︎ ∙ I need Help!

Replies: 1
Views: 1657
Last post February 25, 2022 @609.50
by Melooon
Where are IPFS backups on Neocities? ANSWERED!

Started by ellievoyydBoard ✁ ∙ Web Crafting

Replies: 3
Views: 2078
Last post March 17, 2022 @162.86
by PAINTKILLER

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi