Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 "Drafts"

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
MarcelG Posted - 01 December 2007 : 06:55:47
Yesterday sr_erick posted this on oxle: http://oxle.com/topic.asp?tid=4996

quote:
I thought maybe some of you would be interested in this. I implemented this feature this week on my site. It is something that allows users typing a message to save a draft of that message, much like an email. One draft of a topic can be saved per forum a new topic can be posted in and one draft of a reply can be saved per topic. If a user has a draft of a topic or reply, they simply need to return to that forum and click "new topic" or return to that topic and use the quick reply or click "reply" and their draft will automatically show up in the post box.

Drafts are automatically saved periodically while a user is typing a message (every two minutes to be exact) if there have been changes to the post since the last time the draft was saved. Users can also manually save drafts. Automatic drafts are purged from the system periodically (although I haven't set that up yet). Drafts are removed when that particular topic or reply is posted.

Too bad sr_erick isn't using Snitz anymore, since I'm sure this feature/mod will be very popular as soon as it's available for Snitz.

My AJAX knowledge is zero to none, so I cannot make this mod myself.
Does anyone think he or she can find the time to work out this functionality for Snitz?

Here's some more info sr_erick:
quote:
The database has two tables, one for topics, one for posts. The topics table has the forum ID and the user ID, along with the title, description, posts, saved date, and a bit field to show if it was autosaved or not. The one for posts is the same...except it has a topic ID, not forum ID and it doesn't have a title or description field.

Ajax does all the saving, when the page is reloaded, the database is checked for a draft. It works pretty much the way you thought. None of it was really a challenge but I've learned lots about javascript since working on this new site code so it's getting quite a lot easier.
<
2   L A T E S T    R E P L I E S    (Newest First)
MarcelG Posted - 01 December 2007 : 12:04:11
Sounds good! How much work do you think AJAX'ing it would cost, to add the autosave function?<
cripto9t Posted - 01 December 2007 : 09:51:11
I'm working on a mod that I call User Space. Here's the description from the readme.
quote:
This mod adds a link in the forum menu that takes forum members to a private personal page
viewable only by the member and the forum administrator(s). The mod consists of "features" that
you add to it.

The default feature "User Posts" shows recent topics that the member has participated in. Other
features can be added later. Meaning that you don't have to add a feature if you don't want it.

Add on features:

User Drafts: Allows members to save posts as drafts to be posted later.

User Bookmarks: Allows members to bookmark topics, replies and outside urls for later reference.

Feature wish list:

User Friends: Will allow members to make a list forum friends e-mail, IMs, etc... so they won't have to look
through the forum members list.

User Ignore List: Will allow members to list forum members they want to ignore when reading posts. Posts of
members on the list will be hidden from member.

So you could have the User Space mod just using the Drafts feature if thats all you wanted.

Mine is not as elaborate a ericks. No autosave. No Ajax. I just added another table for drafts. Its a pretty easy addon, just 10-11 code changes and a few new files and icons.

Unless I find a major bug, I'm going to release it for testing and suggestions this weekend.

<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07