The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

A countdown timer for each post

View previous topic View next topic Go down

A countdown timer for each post

Post by Mamoru on November 16th 2013, 5:53 pm

I was wondering, I've searched the boards, but haven't found any. But I'm wondering if it would be possible to put a countdown timer button (Say next to WYSIWYG or the calander) where the user can insert his or her own countdown timer as well as putting how long it should last.

I know the generic response is "google it" but I'm wondering how do it put it in so that each post can place it up, and each post can have there own timers? With just a button or code like [timer]48 hours[/timer] so once the post is live, the time starts.


Thank you in advance

Mamoru
New Member

Posts : 15
Reputation : 1
Language : English

http://narutogetit.forumotions.com

Back to top Go down

Re: A countdown timer for each post

Post by runawayhorses on November 17th 2013, 1:58 am

Of course anything is possible, but no such script exists, it would need to be specially designed just for your forum and would involve editing the text editor, so the generic answer is, it doesn't exist. Your best bet is to seek out a javascript expert that is willing to put in the time to create one for you.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Re: A countdown timer for each post

Post by mangaka on November 17th 2013, 2:28 am

Can you post your forum link?

mangaka
Forumember

Female Posts : 121
Reputation : 5
Language : Indonesia
Location : Well

Back to top Go down

Re: A countdown timer for each post

Post by Mamoru on November 17th 2013, 6:53 pm

Sure, here you go

http://n2grpdl.forumotion.com

Thanks for any information on it guys, I do appreciate it

Mamoru
New Member

Posts : 15
Reputation : 1
Language : English

http://narutogetit.forumotions.com

Back to top Go down

Re: A countdown timer for each post

Post by Ultron's Vision on November 19th 2013, 11:56 am

Possible, yes, but it'd require an external server to store the same date for everyone.

I could theoretically write that for you, but it's time consuming for me to pay attention to every possible date format, so don't expect anything soon, while I also have exams I need to take care of.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: A countdown timer for each post

Post by Mamoru on November 19th 2013, 4:29 pm

Is it possible to just have it based off the site's time, and have something like

At 3:13 Mr. Genius posted his genius post, places countdown button

48 hours from 3:13 is 3:13 in two days blah blah blah?

Mamoru
New Member

Posts : 15
Reputation : 1
Language : English

http://narutogetit.forumotions.com

Back to top Go down

Re: A countdown timer for each post

Post by Ultron's Vision on November 19th 2013, 5:05 pm

@Mamoru wrote:Is it possible to just have it based off the site's time, and have something like

At 3:13 Mr. Genius posted his genius post, places countdown button

48 hours from 3:13 is 3:13 in two days blah blah blah?
It's not that simple, sadly.

With JavaScript, all I could do is replace the value of your editor's content, so that it posts what you want.
If you want there to be a new BBCode that does that, then you'd have to be able to parse the content of your posts on the server, which you cannot.

So, I'm sorry to tell you, but you cannot "simply" do that. Such a shame that we cannot use PHP...

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum