vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Ad-Lib Hack (https://vborg.vbsupport.ru/showthread.php?t=51780)

trafix 04-17-2003 10:00 PM

Ad-Lib Hack
 
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

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

Quote:

Today at 07:24 AM DarkSSJ3 said this in Post #6
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.

Quote:

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

Quote:

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
Quote:

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

Quote:

Originally Posted by necronookie
Has anyone modified this to work on 3.0.7? I would love to install this!

same here


All times are GMT. The time now is 07:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01275 seconds
  • Memory Usage 1,768KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete