Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : The Site : UBB for revealing text at a given time.
Page 1 of 2
2
New Topic New Poll Post Reply
Poster Message
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon UBB for revealing text at a given time. (+1)  
Erik and I simultaneously came up with this idea: A forum UBB code that reveals text at some predetermined time. This was inspired by the October contest, which would otherwise require DiMono to post or edit a post at specific times.

It's pretty similar to the other new time-related codes. Here's how you use it:

[unhidetime=October 3, 2004 10:00am]This text will not be viewable until the specified time.[/unhidetime].

Here's the same example in use, except for the hidden message has been changed: Any non-admin who can find this text before it's revealed to everyone gets 5 rank points. :)

If anybody finds any holes in this, before the contest uses it (if DiMono so chooses) would be a good time to let me know.

[Edited by Schik at Local Time:10-02-2004 at 04:16 AM]

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
10-02-2004 at 03:39 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2460
Registered: 09-10-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (+5)  
Schik wrote:
Erik and I simultaneously came up with this idea: A forum UBB code that reveals text at some predetermined time. This was inspired by the October contest, which would otherwise require DiMono to post or edit a post at specific times.

It's pretty similar to the other new time-related codes. Here's how you use it:

[unhidetime=October 2, 2004 10:00am]This text will not be viewable until the specified time.[/unhidetime].

Here's that same example in use: This text will not be viewable until the specified time.

If anybody finds any holes in this, before the contest uses it (if DiMono so chooses) would be a good time to let me know.

Quoting reveals it to the quoter :)

[Edited by Rabscuttle at Local Time:10-02-2004 at 03:56 AM]
10-02-2004 at 03:56 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Rabscuttle wrote:
Quoting reveals it to the quoter :)
Dangit, you're right. I knew I was missing something. This isn't that big, I can fix it.

Edit: Okay, I believe I've fixed it. I changed the secret message in the first post, please try to tell me what the message says before it's revealed automatically.


[Edited by Schik at Local Time:10-02-2004 at 04:15 AM]

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
10-02-2004 at 04:02 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (+1)  
Heh. I hit Quote on the first post after you'd edited it, but the page was still showing the old text. Threw me off. Looks good.

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
10-02-2004 at 04:13 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Doom
Level: Smitemaster
Avatar
Rank Points: 3226
Registered: 07-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (+1)  
I tried to set my computer's clock few months further. (Some limited time working programs can be fooled with this by turning clock back.)

The system works. There's propably no way to find it out. :yes
10-02-2004 at 06:18 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
rowrow
Level: Smiter
Rank Points: 432
Registered: 08-17-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (+1)  
this is a test or I didn't understand
Edit: It's sooo sweet :D

[Edited by rowrow at Local Time:10-06-2004 at 07:51 AM]

____________________________
B'hakhgra Du S'tra Moth'ness Ti!
10-06-2004 at 07:50 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
rowrow wrote:
This message will be revealed in negative 1020 weeks, 3 days.
Edit: It's sooo sweet :D

[Edited by rowrow at Local Time:10-06-2004 at 07:51 AM]
And.... thanks for revealing to me that the text of this is sent out in emails to people who read it that way. Oops! I'll fix that today.


____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
10-06-2004 at 12:18 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Testing a fix.

negative 1020 weeks, 1 day
Local Time:10-10-2004 at 09:00 AM
Testing!

Fix worked. These tags are now parsed before sending out notification emails.

[Edited by Schik at Local Time:10-06-2004 at 12:49 PM]

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
10-06-2004 at 12:48 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
I have found a bug in the unhidetime tag.

I was making a prediction post that I wanted to unhide in negative 1014 weeks, 1 day. So I copied an existing post's untiltime code, not remembering the format, but I forgot to change the [/untiltime] to [/unhidetime]. When I went to preview my message, my browser froze on "Read from drod.net."

Further testing revealed that if you forget to close your [unhidetime=11/21/2004 10:00am] tag under any circumstances at all, the same thing would happen. If someone posted without previewing to catch this problem, it would probably be bad.

While I'm here, is there any chance of getting something like this to work:
[unhidetime=[localtime]11/21/2004 10:00am[/localtime]]text[/unhidetime]

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
11-20-2004 at 05:26 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Krishh
Level: Master Delver
Rank Points: 282
Registered: 06-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
I'll give three rank points to the person who can guess what my secret message is!

My extra special super-interesting secret message is:
April fools!


[Edited by Krishh at Local Time:11-20-2004 at 10:12 PM]
11-20-2004 at 09:12 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
"JtRH should be out by now...hopefully"
11-20-2004 at 09:20 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Krishh
Level: Master Delver
Rank Points: 282
Registered: 06-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
I'm afraid not.
11-20-2004 at 10:03 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (+1)  
By any chance, is it:

"This message will be revealed in 18 weeks, 5 days."
11-20-2004 at 10:08 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Krishh
Level: Master Delver
Rank Points: 282
Registered: 06-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (+1)  
No, but that is such a good idea I'll still give a single rank point for it.
11-20-2004 at 10:11 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Is it "I can't believe you actually waited this long for it"?

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
11-20-2004 at 10:30 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Krishh
Level: Master Delver
Rank Points: 282
Registered: 06-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Although that could very well be said to the person who actually reads it, both of you are looking in the wrong direction.
11-20-2004 at 10:32 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Or:

hello.
11-20-2004 at 10:33 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Is it "Happy birthday to me!"?

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
11-20-2004 at 10:34 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Why are we doing this again?



[Edited by wackhead_uk at Local Time:11-20-2004 at 10:50 PM]

[Edited by wackhead_uk at Local Time:11-20-2004 at 10:51 PM]
11-20-2004 at 10:38 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (+3)  
18 weeks, 5 days? How about "April Fools!" ?

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
11-20-2004 at 10:42 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Krishh
Level: Master Delver
Rank Points: 282
Registered: 06-05-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Exactly! Congratulations!
11-20-2004 at 10:44 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Wait, mine was supposed to be revealed in 20 minutes...
11-20-2004 at 10:46 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
wackhead_uk wrote:
Wait, mine was supposed to be revealed in 20 minutes...
It appears that you put day/month/year, when the syntax for this code is month/day/year. I prefer day first as well, but the built-in function I'm using to convert a text date to a timestamp wants the month first.


____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
11-20-2004 at 10:49 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Fixed...but now people know what I said...
11-20-2004 at 10:52 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
wackhead_uk wrote:
Fixed...but now people know what I said...
How does anyone know what you said?

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
11-20-2004 at 10:54 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Someone might have read it.... :~(
11-20-2004 at 10:58 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
wackhead_uk wrote:
Someone might have read it.... :~(
I don't get how... the text was set to reveal in 30-something weeks...

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
11-20-2004 at 11:01 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
wackhead_uk
Level: Smiter
Avatar
Rank Points: 352
Registered: 06-21-2004
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
But it was revealed for about 2 seconds...
11-20-2004 at 11:05 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Could this thread be made a sticky? Every time I want to use one of the tags herein, I always have to go digging through the forum to find this thread and find out what date and time formats are acceptable.

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
02-17-2005 at 09:01 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Oneiromancer
Level: Legendary Smitemaster
Avatar
Rank Points: 2936
Registered: 03-29-2003
IP: Logged
icon Re: UBB for revealing text at a given time. (0)  
Done.

Game on,

____________________________
"He who is certain he knows the ending of things when he is only beginning them is either extremely wise or extremely foolish; no matter which is true, he is certainly an unhappy man, for he has put a knife in the heart of wonder." -- Tad Williams
02-17-2005 at 09:39 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Page 1 of 2
2
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : The Site : UBB for revealing text at a given time.
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.