Altcoins Talks - Cryptocurrency Forum

Crypto Discussion Forum => Forum related => Topic started by: Crypto Library on November 01, 2024, 10:50:03 PM

Title: Is it possible to make a short script for Drafting?
Post by: Crypto Library on November 01, 2024, 10:50:03 PM
Today and past time I faced this after make a post I crossed the browser mistakenly or press the reload button.  And after that I have to re-typed that whole post for posting. I think we will also find more people who were faced these issues.

Anyways, what I am asking to the people who are pro on scripting is it possible to build an option which will save a draft after clicking the preview option or like the auto-save draft ?
Title: Re: Is it possible to make a short script for Drafting?
Post by: Hatchy on November 02, 2024, 02:31:09 PM
Wow, I'm just noticing this that the forum doesn't have an auto draft feature..unlike btt where you preview and your post is automatically saved for some time.its nice you brought this up mate as it's a cool suggestion at that.. what I normally do is that copy my post when writing after a few lines so just Incase something like the case you mentioned happens, I won't have much to worry about. You can also try it yourself or write on a note pad before posting it on the forum so this way you don't have to worry much about reloading your page..
Title: Re: Is it possible to make a short script for Drafting?
Post by: PX-Z on November 02, 2024, 02:56:09 PM
Such a feature will always be good if added by default in this forum for better user experience. I know SMF forum has this kind of feature, maybe admin just disabled it.

If a user script feature is added, it's possible to save it as a cookie, the topic ID, which will serve as a unique ID, and then retrieve it for later use.
Title: Re: Is it possible to make a short script for Drafting?
Post by: Fivestar4everMVP on November 02, 2024, 03:17:07 PM
This is a great idea to be honest, and I am actually surprised that this feature is not available on this forum yet, I've always thought it was as it's available on bitcointalk.

I that on bitcointalk, ones the preview button is clicked, the text in the message box is automatically saved, I remember a couple of times I will be creating a thread on that forum using my mobile phone, and when things get too complicated, I simply will click the preview button to auto save the post, then turn on my pc and log into my account, click the create new post on my board of interest and simply access the saved preview of my post from the computer, i copy and paste it on the message box and continue typing, very easy and simple..

I don't think this is something that needs a script, it's a feature that admin can easily add like it is on the other forum.
Title: Re: Is it possible to make a short script for Drafting?
Post by: bitmover on November 02, 2024, 03:45:05 PM
Today and past time I faced this after make a post I crossed the browser mistakenly or press the reload button.  And after that I have to re-typed that whole post for posting. I think we will also find more people who were faced these issues.

Anyways, what I am asking to the people who are pro on scripting is it possible to build an option which will save a draft after clicking the preview option or like the auto-save draft ?

I think it is doable, I can create such solution
 The problem is that few people would download and use it (basically zero)... usrr scripts are not often used.

I use standard notes for forum drafting. It is cross platform , I suggest you take a look
https://standardnotes.com/
Title: Re: Is it possible to make a short script for Drafting?
Post by: Crypto Library on November 03, 2024, 07:01:56 PM
I think it is doable, I can create such solution
 The problem is that few people would download and use it (basically zero)... usrr scripts are not often used.
If it is not requiring the extra server for hosting then I don't think this is that kind of necessary things  to do.

But if not then there will a request for you from me build an script for this one when you are free. I am sure this will be used by good amount of people and also in the futures it will increase.
Quote
I use standard notes for forum drafting. It is cross platform , I suggest you take a look
https://standardnotes.com/
Cross-platform? I didn't understand this one, is this mean we don't need to go the inside of that software for drafting our post, will it automatically draft our post when we go for post on forum?
Title: Re: Is it possible to make a short script for Drafting?
Post by: KingsDen on November 03, 2024, 07:54:43 PM
Quote
I use standard notes for forum drafting. It is cross platform , I suggest you take a look
https://standardnotes.com/
Cross-platform? I didn't understand this one, is this mean we don't need to go the inside of that software for drafting our post, will it automatically draft our post when we go for post on forum?
Maybe it auto synchronizes across platforms. So, it will be available irrespective of the platform you are.
Title: Re: Is it possible to make a short script for Drafting?
Post by: bitmover on November 04, 2024, 12:29:34 AM
I use standard notes for forum drafting. It is cross platform , I suggest you take a look
https://standardnotes.com/
Cross-platform? I didn't understand this one, is this mean we don't need to go the inside of that software for drafting our post, will it automatically draft our post when we go for post on forum?

You need to create an account in standard notes.
Then you write your drafts there.

You can log in any platform to see your drafts saved in standard notes.
Title: Re: Is it possible to make a short script for Drafting?
Post by: bitterguy28 on November 04, 2024, 10:53:29 AM
Wow, I'm just noticing this that the forum doesn't have an auto draft feature..unlike btt where you preview and your post is automatically saved for some time.its nice you brought this up mate as it's a cool suggestion at that..
same here it’s odd that i never really noticed it before i mean i do not use ir that much either as i just type and post but it is only now i realize it doesn’t have the draft feature maybe because in btt there is also only the preview button where it automatically saves into a draft so maybe my brain unconsciously associated the ‘preview’ button as the one for saving drafts
Quote
what I normally do is that copy my post when writing after a few lines so just Incase something like the case you mentioned happens, I won't have much to worry about. You can also try it yourself or write on a note pad before posting it on the forum so this way you don't have to worry much about reloading your page..
it is inconvenient though especially if for example your internet connection gets lost and you were in the middle of typing something you will just lose it all and you would need to start from scratch it’s not like you can copy and paste every single time that would be so tedious
Title: Re: Is it possible to make a short script for Drafting?
Post by: hugeblack on November 04, 2024, 12:33:59 PM
SMF comes with a Drafts feature so I think @admin has deactivated it to save resources, if there is enough demand it may be reactivated for certain ranks or as a paid feature. I remember there was a discussion about this topic but I couldn't find the link.
Title: Re: Is it possible to make a short script for Drafting?
Post by: Mate2237 on November 04, 2024, 02:57:59 PM
Whenever such suggestion came up mostly in the Bitcoin Forum, the technicians debunked the idea and abandoned the suggestion. I can still remember someone has made similar suggestion in Bitcoin Forum. The person was saying let the developers should create undo and redo button if a text mistakenly wipeout when typing. But people disagreed. And some of them are here so the same thing will still happen. Until admin do it on it own.

But if he follows the opinions of the public then, the feature will not be added. Those are some of the good features suit the forums since the forums are purely for typing.
Title: Re: Is it possible to make a short script for Drafting?
Post by: Freemind on November 04, 2024, 04:25:06 PM
Correct. The option built into the current version of SMF may be consuming too many resources and that would be the reason why the administrator decided to disable it. Even so, there are different mods, which according to their programmers are much lighter and logically also consume fewer resources. I was looking for the latest one and this is the one I found:

Quote
Allow member groups to save new topics, replies, and polls as drafts by giving them the "Can save topics and replies as drafts" permission.

More information is available on the simple machines forum, this is the link: Drafts V2.2 (https://custom.simplemachines.org/index.php?mod=1264).
Title: Re: Is it possible to make a short script for Drafting?
Post by: Crypto Library on November 06, 2024, 07:32:54 PM
You need to create an account in standard notes.
Then you write your drafts there.

You can log in any platform to see your drafts saved in standard notes.
Thank you for the clarification. I have install that apps and I didn't understand how can I use it and I thought this is may be some like we have to make the post or content here for the drafting.
Anyway, now I can register on the software for securing posts ;D. Thank you again, and also don't forget my request when you are free  ;)
Title: Re: Is it possible to make a short script for Drafting?
Post by: hugeblack on November 07, 2024, 10:10:07 AM
Correct. The option built into the current version of SMF may be consuming too many resources and that would be the reason why the administrator decided to disable it.
Since the content is textual, providing an option to save Drafts up to 5 or 10 posts will not consume a lot of resources, and it is not necessary to do so automatically, but rather to save them by simply clicking on the Drafts button, provided that they are deleted once a week. In general, its implementation will be good, but the forum needs a lot of updates.
Title: Re: Is it possible to make a short script for Drafting?
Post by: NotATether on November 07, 2024, 01:51:32 PM
Correct. The option built into the current version of SMF may be consuming too many resources and that would be the reason why the administrator decided to disable it.
Since the content is textual, providing an option to save Drafts up to 5 or 10 posts will not consume a lot of resources, and it is not necessary to do so automatically, but rather to save them by simply clicking on the Drafts button, provided that they are deleted once a week. In general, its implementation will be good, but the forum needs a lot of updates.

I'm not sure if these parameters are hardcoded into Altcoinstalks but even if they were they would be easy to change to your numbers, with a little downtime.

Even Bitcointalk had like 20 saved posts or something and up to two weeks' retention period for drafts.

However, admin has made it very clear in some of the older threads about this topic that he does not intend to enable this feature. CMIIW.
Title: Re: Is it possible to make a short script for Drafting?
Post by: Faisal2202 on November 09, 2024, 05:50:27 PM
Wow, I'm just noticing this that the forum doesn't have an auto draft feature..unlike btt where you preview and your post is automatically saved for some time.its nice you brought this up mate as it's a cool suggestion at that.. what I normally do is that copy my post when writing after a few lines so just Incase something like the case you mentioned happens, I won't have much to worry about. You can also try it yourself or write on a note pad before posting it on the forum so this way you don't have to worry much about reloading your page..
And I am shocked that you and some other members did not know this before that this forum don't have a Draft system. When I registered on this forum the first thing I noticed while creating my first post was this forum doesn't have a draft system, and this problem is being raised now after a whole year has come to an end for BTT users teleporting here.

Well, that's a good thing after all maybe after seeing two to three topics created especially to raise this concern might get the attention of admin as patches won't be used by everyone only few members would be using them so official patch from the admin is best for all of us.
Title: Re: Is it possible to make a short script for Drafting?
Post by: PX-Z on November 09, 2024, 09:01:22 PM
However, admin has made it very clear in some of the older threads about this topic that he does not intend to enable this feature. CMIIW.
Can you tell why he's not going to enable it? Is it due to resources issue? Or maybe you can provide the url of the thread?


...
Well, that's a good thing after all maybe after seeing two to three topics created especially to raise this concern might get the attention of admin as patches won't be used by everyone only few members would be using them so official patch from the admin is best for all of us.
With the reply before you, for some reason, i guess this will not be implemented.
Title: Re: Is it possible to make a short script for Drafting?
Post by: bitmover on November 10, 2024, 11:38:36 AM
However, admin has made it very clear in some of the older threads about this topic that he does not intend to enable this feature. CMIIW.
Can you tell why he's not going to enable it? Is it due to resources issue? Or maybe you can provide the url of the thread?

Personally, i have used the draft feature very few times in the other forum.

I guess I use mostly when something goes wrong with the post and I can recover it. Which is not very often there. I have more problems posting here (you posted less than 25 seconds ago all the time lol)
Title: Re: Is it possible to make a short script for Drafting?
Post by: JISAN on November 16, 2024, 07:18:40 PM
Today and past time I faced this after make a post I crossed the browser mistakenly or press the reload button.  And after that I have to re-typed that whole post for posting. I think we will also find more people who were faced these issues.

Anyways, what I am asking to the people who are pro on scripting is it possible to build an option which will save a draft after clicking the preview option or like the auto-save draft ?
This is definitely a nice feature.  And since the forum is built with SMF this feature is definitely possible because bitcointalk is built with SMF and there is this feature if you type something and preview it then it stays in Draft for 7 days no matter how many times you refresh it.  So if admin want then enable this feature.  But I don't know if it is possible to enable Auto Drafting because btt doesn't provide such a feature
Title: Re: Is it possible to make a short script for Drafting?
Post by: Crypto Library on November 16, 2024, 07:34:36 PM
Today and past time I faced this after make a post I crossed the browser mistakenly or press the reload button.  And after that I have to re-typed that whole post for posting. I think we will also find more people who were faced these issues.

Anyways, what I am asking to the people who are pro on scripting is it possible to build an option which will save a draft after clicking the preview option or like the auto-save draft ?
This is definitely a nice feature.  And since the forum is built with SMF this feature is definitely possible because bitcointalk is built with SMF and there is this feature if you type something and preview it then it stays in Draft for 7 days no matter how many times you refresh it.  So if admin want then enable this feature.
Even then if there is some difficult to build this on this altcointalk forum so I requested to the coders who can do it anyway already bitmover already suggested this- https://standardnotes.com/ for now may be it could also be useful for you.
Quote
But I don't know if it is possible to enable Auto Drafting because btt doesn't provide such a feature
And of course, it is possible I am not saying about the by default by the forum to enable the auto draft, I am saying something like the  [Userscript] Auto-Save your posts to drafts  (https://bitcointalk.org/index.php?topic=5480688.0). If you don't know you can visit this topic on the bitcointalk.
Title: Re: Is it possible to make a short script for Drafting?
Post by: DYING_S0UL on November 17, 2024, 06:09:33 PM
Without the draft system, writing posts can be sometimes painful. It might not be an issue for shorter posts, but it certainly is for longer ones. I have posted a couple of long posts here, mostly translations, and I had to edit everything either in BTT or an online notepad.

Currently I have been using this site (https://onlinenotepad.org/notepad) as a draft and other similar works...
Title: Re: Is it possible to make a short script for Drafting?
Post by: God Of Thunder on November 18, 2024, 05:58:59 AM
I always support little improvement. But, honestly, I didn't face similar issues very often. Reloading the page could be a problem. But, if I close the browser or a tab accidentally while there is some writing, I always use Ctrl+shift+T to restore everything, even with my unfinished posts.

While writing this post, I willingly closed the tab and used Ctrl+shift+T to restore the browser tab, and it worked like a charm. So, as long as it's working for me, I will not bother admin much about it. But I am all in if he decides to make some changes and improvements. I don't think it will be a shitload of work.