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)
-   -   vBstory - an Interactive Story for vB (1.0 Final) (https://vborg.vbsupport.ru/showthread.php?t=42899)

rrnolan 01-12-2003 09:03 PM

Thank you so much for sharing this with everyone...

WarChild 01-25-2003 01:28 AM

I am getting this error when trying to run the db query:
Error
SQL-query : [Edit]

CREATE TABLE `vbs_stories` (
`storyid` int(11) NOT NULL auto_increment,
`genreid` int(11) NOT NULL default \\\'0\\\',
`title` varchar(100) NOT NULL default \\\'\\\',
`name` varchar(100) NOT NULL default \\\'\\\',
`info` text NOT NULL,
`display` tinyint(4) NOT NULL default \\\'0\\\',
PRIMARY KEY (`storyid`)
) TYPE=MyISAM;

MySQL said:

You have an error in your SQL syntax near '\\\'0\\\',
`title` varchar(100) NOT NULL default \\\'\\\',
`name` varchar(' at line 3

CREATE TABLE `vbs_chapters` (
`id` bigint(20) NOT NULL auto_increment,
`chapterid` int(11) NOT NULL default \'0\',
`storyid` int(11) NOT NULL default \'0\',
`title` varchar(100) NOT NULL default \'\',
`body` text NOT NULL,
`path1` varchar(100) NOT NULL default \'\',
`path2` varchar(100) NOT NULL default \'\',
`userid` int(11) NOT NULL default \'0\',
`dateline` int(10) NOT NULL default \'0\',
`display` tinyint(4) NOT NULL default \'0\',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

MySQL said:

You have an error in your SQL syntax near '\'0\',
`storyid` int(11) NOT NULL default \'0\',
`title` varchar(100) NOT ' at line 3

CREATE TABLE `vbs_genres` (
`genreid` int(11) NOT NULL auto_increment,
`title` varchar(100) NOT NULL default \'\',
`display` tinyint(4) NOT NULL default \'0\',
PRIMARY KEY (`genreid`)
) TYPE=MyISAM;

MySQL said:

You have an error in your SQL syntax near '\'\',
`display` tinyint(4) NOT NULL default \'0\',
PRIMARY KEY (`genreid`' at line 3

Im running vb 2.2.9 anyone help here??

Ninth Dimension 01-25-2003 08:37 AM

From the looks of it you are getting problems because somehow the required SQL queries are getting messed up as you run them, what program are you using to run the queries?

I'll list the 3 queries needed below for you, my recomendation is that you run each one sepratly using phpMyAdmin.

[sql]CREATE TABLE `vbs_chapters` (
`id` bigint(20) NOT NULL auto_increment,
`chapterid` int(11) NOT NULL default '0',
`storyid` int(11) NOT NULL default '0',
`title` varchar(100) NOT NULL default '',
`body` text NOT NULL,
`path1` varchar(100) NOT NULL default '',
`path2` varchar(100) NOT NULL default '',
`userid` int(11) NOT NULL default '0',
`dateline` int(10) NOT NULL default '0',
`display` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM;[/sql]

[sql]CREATE TABLE `vbs_genres` (
`genreid` int(11) NOT NULL auto_increment,
`title` varchar(100) NOT NULL default '',
`display` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`genreid`)
) TYPE=MyISAM;[/sql]

[sql]CREATE TABLE `vbs_stories` (
`storyid` int(11) NOT NULL auto_increment,
`genreid` int(11) NOT NULL default '0',
`title` varchar(100) NOT NULL default '',
`name` varchar(100) NOT NULL default '',
`info` text NOT NULL,
`display` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`storyid`)
) TYPE=MyISAM;[/sql]

midnightz 04-02-2003 04:52 PM

This is cool - I am going to create a text adventure games for VB while I try to get permission to translate zork 1 2 3 :)

hehe - nice

midnightz

Ninth Dimension 04-02-2003 05:33 PM

that sounds like a cool hack, how much have you done so far?

Leah 04-17-2003 01:22 AM

Hi,
I just installed it for my forum and it looks great! :)

A question: Is it a way to change it, so that one has to be logged in to read the stories?

Leah 04-17-2003 01:31 AM

Nevermind, I think I got it now. :)

I added:

Quote:

if ($bbuserinfo[userid]==0) {
show_nopermission();
}
After

Quote:

require("./global.php");
in vbstory.php

I hope that someone will tell me if I messed up.

Ninth Dimension 04-17-2003 10:11 AM

Hi Kie, what you have done is just right to stop non-members from seeing the stories, i left it open on purpose myself so that anyone could read them, but it's your site, you do what you need to :)

I'm glad you like the hack :)

Holidazed 05-01-2003 08:30 PM

bitbender=, I followed your instructions and I get the following error:

Warning: Cannot add header information - headers already sent by (output started at /xxx/xxx/xxx/xxx/forumdisplay.php:1) in /xxx/xxx/xxx/xxx/forumdisplay.php on line 29

But that line in my forumdisplay.php looks like this.

Line 25: // ==========================
Line 26: // VBStory Hack Insert Start
Line 27: // ==========================
Line 28: if ($forumid=='4') {
Line 29: header("Location: ./vbstory.php");
Line 30: exit;
Line 31: }
Line 32: // ==========================
Line 33: // VBStory Hack Insert End
Line 34: // ==========================

And yes, I did create the forum and its ID is "4"

Help

Ninth Dimension 05-02-2003 12:59 AM

bitg, the code bitbender posed is a simple redirect designed to bypass the forum and go directly to the interactive story. Problem is that in order for it to work it needs to be the first thing sent to the browser, at this moment in time all I can think of is that ether you need to move this code to the top of the phpinclude template, or you have some mods that it's not compatabul with (due to conflecting information being sent).

Ether way however, as i did not write that add on, i can't help you, sorry.

gmarik 05-24-2003 07:33 AM

If this will work on 2.3, I'll become a fan of it and will develop an add-on with your help, if you'll be interested.

Ninth Dimension 05-24-2003 10:43 AM

Hi all, i've been out of a development mood for a while so i've not been about to answer any questions (sorry).

Anyway, I can't see why it would not work with 2.3.0, it's seperate from the rest of the forum, needs very little actual "hacking" and providing that themain system variables havent been changed, i can't see a problem.

Small Update, i'm working this weekend on an more advanced verson of vBstory for my own use, but if you show me enough love I might think about releasing it :)

Alien 05-25-2003 07:32 PM

Yes this works flawlessly on vB 2.3.0 as best as I can tell. I'm hoping to open the new site in June and would really love the more advanced version you spoke about anyway I can get it!

Oh and BTW, I love you. :D

-Jason

gmarik 06-09-2003 05:25 PM

I have a wish:

Lets take I have a book, 20 000 symbols. I want it to be displayed by chapters and about 900 symbols in every page. With a dropdown panel with the generated pages.

PHP Code:

preg_match_all("/.{900,}?\. /s"$string$outPREG_PATTERN_ORDER); 
list(
$out) = $out

print_r($out); 


Ninth Dimension 06-09-2003 05:32 PM

sorry, but i'm a little confused as to what you want me to do.

gmarik 06-10-2003 08:51 AM

Here is a demo:
http://www.oshoworld.com/onlinebooks...0breakfast.txt

It cuts the with XML, but whe doen't need it. We just take certain proportions from te DB. Now it's more clear? :o)

Ninth Dimension 06-10-2003 09:35 AM

Oh, i think i see, you are after some type of system that you can use to display an xml book on the internet, with preformed chapters, etc...

I can't help you with that, this is an interactive story that is designed to let forum members add new chapters, it's not the type of thing you are ater, and to be honest with you, i don't think i'd be able to code what you need anyway, sorry.

gmarik 06-10-2003 09:39 AM

Dimension, it does not has to XML, it's just the demo.
It's very close to what you have. It would be an add-on for e-librarys. You know your code far more better than I, so it would take 4 times less time than for me.

An option where admins add text and it is displayed in 900 symbols text chunks. Please say you'll think about it?!

Ninth Dimension 06-27-2003 02:13 PM

gmarik, I'm sorry mate but i still don't fully understand what you want/need. This plus the fact that apart from an minor update to fix some minor bugs, i'm not going to be making any more changes to the script (i like the way it runs at the moment).

but please, by all means, if you, or someone else here wants to edit the hack, be my guest, i'd love to see any changes that other people make :)

Alien 06-27-2003 09:03 PM

Quote:

05-24-03 at 07:43 AM Ninth Dimension said this in Post #92
Small Update, i'm working this weekend on an more advanced verson of vBstory for my own use, but if you show me enough love I might think about releasing it :)

Are we any closer to an update on this? :D

Ninth Dimension 06-27-2003 09:15 PM

nope, not yet :) I've not had any time i'm sorry to say. but as soon as something happens, you will be the first to know :)

Alien 06-28-2003 04:39 AM

Okay good 'nuff! :) I can't wait!

Ninth Dimension 06-30-2003 01:46 PM

LOL this is funny, here I am, the author of this hack, and i have to come back to vB.org to download a copy of the hack so I can put it on my latest forum. hehehehe.

BTW, if I make any changes to this install to improve it in anyway, i'll post them here for you all.

While i'm on the subject, has anyone out there in hack land made any changes to the script? if so please feel free to share them, i'd love to see what you have done with it.

lioncool1589 07-28-2003 02:50 AM

i just added this vbstory to my site
www.clan-ice.com/vbstory.php
but i get this error when i click suggest a story
how can i fix it this plz help

Warning: Invalid argument supplied for foreach() in /home/clan-ic/public_html/vbstory.php on line 85

lioncool1589 07-28-2003 03:08 AM

i fixed problems i forgot add story genre

Ninth Dimension 07-28-2003 09:38 AM

Quote:

Today at 05:08 AM lioncool1589 said this in Post #105
i fixed problems i forgot add story genre
lol :) I'm glad you got it working :)

mariannet 01-13-2004 10:36 AM

I just love this idea and are really looking forward to letting all "my kids" write their heart out. Only problem is that I get an "One or more of the required fields is empty, please press the back button and try again." when adding a chapter. I have seen someone else had this problem but he never returned to say what he did to fix this?

Ohh... and by the way, this is a Danish site, therefor the "funny" lingo :)
I haven't started translating the templates yet, so it can't be that :)

C.Birch 01-25-2004 09:52 PM

will there be a vb3 port of this?

pmay68 04-09-2004 09:32 PM

I would also love to hae this but is not compatable with vb3.. What would it take to get it to work on VB3... Please, my users really enjoyed this hack but I no longer can use since I upgraded...

Bro_Joey_Gowdy 04-15-2004 01:01 PM

Quote:

Originally Posted by pmay68
I would also love to hae this but is not compatable with vb3.. What would it take to get it to work on VB3... Please, my users really enjoyed this hack but I no longer can use since I upgraded...

Ive made a request for vb3 story here :
https://vborg.vbsupport.ru/showthread.php?t=63908

Acido 04-16-2004 10:00 PM

Quote:

Originally Posted by Bro_Joey_Gowdy
Ive made a request for vb3 story here :
https://vborg.vbsupport.ru/showthread.php?t=63908

Yes please ! Millions of users are waiting this excelent hack !!!!!

Wential 09-20-2004 09:37 PM

Looking forward to this, it is much desired.

Poethik 12-11-2005 12:34 PM

<a href="http://www.rapchoice.com/forums/vbstory.php?s=&menu=34" target="_blank">http://www.rapchoice.com/forums/vbstory.php?s=&menu=34</a>

Ninth Dimension 08-04-2006 04:37 PM

I don't know if anyone here is interested or not, but the latest version of this project is now online at http://unknowntales.net/

Now before you all go getting excited about a vB3 release or anything like that, you should know that this is an independently scripted revamp of the entire concept. It's not available for download or use on any other sites - it's my own site for my own purpose.

So why am I telling you? Well - why not, some of you enjoyed the concept of the interactive story site, so I figured I'd let you know that it lives on.

I don't have any plans for any more public releases of the script at this point, nor do I see anything like this happening in the future, but I am thinking about offering a remotely hosted story service that webmasters might be interested in signing up for - it's just an idea right now, but more may come of it soon.

I don't mind that the version of vBstory listed on this site remains active and available for download; however I do request that no further versions of the script be made.

Anyway, if you're interested, check out http://unknowntales.net/ and let me know what you think :)

RvG2 07-27-2007 12:39 PM

is this working in vb3.6.7? :)


All times are GMT. The time now is 01:02 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.01313 seconds
  • Memory Usage 1,821KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete