PDA

View Full Version : Ad-Lib Hack


trafix
04-17-2003, 10:00 PM
Here we go, time for some more fun, this was requested by one of my members.

Ad-Libs are a series of short stories with a difference!
You configure a series of stories with member entered variables,
When a member does an Ad-lib they will be asked a series of questions,
once they submit their responces will be put into the sentence that you have pre written.
The answers given by each member determans a diferent outcome each time a particular story is done,
Because the member has no idea of the main text in the story the end product usually ends up very funny.
I have screen shots of each stage
Members can not view other members stories in each title until they have done their own.

There are 40 inputs in total 20 for story text and 20 for member entered variables.
your ad-libs can be of any lenght and dont have to take up all inputs.
You can modify the stories at any time however you can not alter any already pre-set member questions because it would stuff up any existing stories.

DEMO: atmyparty.com (http://www.atmyparty.com)

SCREENSHOT: Next posts

REQUIREMENTS:

1 X php file alteration
1 X database query
8 X new templates

INSTALATION TIME: aprox. 10 - 15 min

Tested on 2.3.0 but should work on all versions.

~ This hack is Copyright ~
Please note that I reserve the right to code and release this hack for VB3, I have not and will not grant permission for anyone else to code this hack for VB3.

trafix
04-18-2003, 06:44 PM
admin

trafix
04-18-2003, 06:47 PM
main

trafix
04-18-2003, 06:49 PM
main

final pic

Gary King
04-18-2003, 07:21 PM
Interesting hack trafix! I don't have much use for this hack, but I'm sure plenty others will have some fun with it ;)

Mephisteus
04-18-2003, 08:24 PM
theres a bug :) In the input data field for members you said he, but in the final pic you see her :)

Good hack btw :) might install it :)

Jitway
04-18-2003, 08:32 PM
Great hack there this should keep all my users busy and happy for awhile at least. ;)

Logik
04-18-2003, 08:48 PM
lol.
Funny hack. I've seen this on non-vb sites.. But funny :). Good job.

Alien
04-19-2003, 01:20 AM
Hmm this sounds interesting, I might give this a try. :)

Koutaru
04-19-2003, 01:24 AM
This might be fun to do :) nice work!

trafix
04-19-2003, 04:42 AM
Today at 07:24 AM DarkSSJ3 said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=383880#post383880)
theres a bug :) In the input data field for members you said he, but in the final pic you see her :)

Good hack btw :) might install it :)


Yep Dark, I did notice that...lol.... I just didnt go dack to fix it!

However keep things like that in mind when you go building your own stories

trafix
04-19-2003, 05:12 AM
Sorry dark i misunderstood your comment, Its not a bug its just the way i set up the story

"he" - i entered as a member input
"she" - i entered in the story line in the admin without thinking.

As i said above, when making up you stories keep in mind the possible user variables eg.

past / present / future tense
him / her

etc.

trafix
04-20-2003, 02:44 AM
Some feedback please...is anybody using this hack?

Alien
04-20-2003, 04:59 AM
I haven't yet installed this to play with, but it's certainly on my list..

I did see in the instructions file:

"The last thing you need to do is add this code to likn to your jukebox" <--- Might want to get rid of that when you're bored! ;)

-Jason

gmarik
04-20-2003, 08:07 AM
You need to change the design of your front page .. it's ...

Chris M
04-20-2003, 08:37 AM
Looks kind of fun:)

Satan

TheComputerGuy
04-21-2003, 12:33 PM
I installed...but I can not write Ad-Libs...LOL...any pointers?

trafix
04-21-2003, 12:54 PM
OK,

1) Write a short story based on a theme that suits your site.

The cat sat on the mat playing with a ball

2) Look for words in the story that could be exchenged with other words, they will be your user variable

The cat sat on the green mat playing with a ball

3) Add the test to your story like this

Your Text - 1 The

User Question - 1 Please enter an animal.

Your Text - 2 sat on the

User Question - 2 Please enter a colour.

Your Text - 3 mat playing with a

User Question - 3 Please enter a toy.

GOOD LUCK!

morrow
04-24-2003, 12:49 AM
I installed it a few minutes ago. Looks like I might be able to have some fun with it. I'm not much of a story teller, but I'll try my best. :)

http://www.njflyfishing.com

morrow
04-24-2003, 05:21 PM
This may sound like a dumb question, but how do you get the proper puncuation.

I like this hack though, very nice.

trafix
04-24-2003, 05:31 PM
hmmm as in full stops after a uesr variable etc

Well it would have to go in the next line of your text, but it will appear with a space. Otherwise try to use user variables where punctuation isnt required

gmarik
06-05-2003, 04:31 PM
Is it the same as interactive story hack?
Can you describe it, Australian boy?! :o)

trafix
06-06-2003, 01:47 AM
more like an interactive sentence.

here is an example from my site, the story is called "In the morning"

This in the end output
It was friday morning! You get of bed, put on your faverite orange jumper and eat a bowl of corn flakes john arives to pick you up, on the way to bed for work in his mini minor Your faverite song jingle bells is playing in the radio, the sun is shining big and wind rushing through my hand

Is stated already in this thread it is made up os a series of user inputted answers and admin preset text

gmarik
06-06-2003, 05:37 AM
Oh, if it only could be made more a non looking-vb page, just like an ordinary page in a seperate folder, for example "/story" ... (a wish)

Sliderx
07-01-2003, 02:32 PM
that's very funy

necronookie
07-12-2005, 04:34 PM
Has anyone modified this to work on 3.0.7? I would love to install this!

lange
07-16-2005, 12:32 PM
I'll try it on my 2.3.0 version.

Thanks

yoyoyoyo
07-16-2005, 12:37 PM
Has anyone modified this to work on 3.0.7? I would love to install this!same here