Log in

View Full Version : vBstory - an Interactive Story for vB (0.94 RC4)


Ninth Dimension
08-18-2002, 10:00 PM
I've upgraded this is Final Status, please visit https://vborg.vbsupport.ru/showthread.php?s=&threadid=42899 for more information.

Kumaro
08-18-2002, 10:13 PM
This sounds like an excellent hack. However I don't want to install it until I see a screen shot. This may be something I have been looking for.

John
08-18-2002, 10:49 PM
I can vouch for the fact that it works :banana:

C.Birch
08-18-2002, 11:11 PM
how about haveing it so each user can add there own story and only they are able to add more to it and edit it (and if they want they can pick for everyone to be able to add more), and on the main page to the hack it gives you a list of all the storys on the board and who they are by and how many views they have had and also a rateing of the story and feedback from users about the story?

I know it be alot of work but it be one how of a hack

Ninth Dimension
08-18-2002, 11:22 PM
this is an interesting idea, but not one that I'm going to do. the reason i'm not going to do it is because I don't think anyone is going to want to have to populate all of the diffrent chapters that are available. e.g.:

there is 1 chapter 1,
2 chapter 2's,
4 chapter 3's,
8 chapter 4's,
16 chapter 5's,
32 chapter 6's,
etc...

at the end of each chapter the story splits, and while I can see this being popular for a range of diffrent users working togther, I really can't see only one user wanting to do it all himself :)

Ninth Dimension
08-18-2002, 11:25 PM
although saying that, the current verson could be changed to support this feature, all you would need to do is change // check for permission
if (($bbuserinfo[usergroupid] == "1") or ($bbuserinfo[usergroupid] == "3") or ($bbuserinfo[usergroupid] == "4")) {
show_nopermission();
} to // check for permission
if ($bbuserinfo[userid] == "<id>") {
show_nopermission();
}where <id> is the id of the user you want to have access to it.

joeboo
08-18-2002, 11:29 PM
Hmm... i guess it can be useful to some boards :)

Ninth Dimension
08-18-2002, 11:32 PM
(this is just me, but) I personally think that if I was going to write a story it would want to keep it all in one thread, rather that having it split off all the time :)

the idea of this hack is to get your users more involved in using the forum, and expressing themselves :)

anyway, i'm just working on beta3 at the moment, this is going to support multipul stories split into multipul genres :D

Apok2002
08-18-2002, 11:36 PM
Daniel, I for one am very impressed. I have about 20 hacks installed on my board. The #1 hack is Lesane's Store hack (a lot of hackers would also attest to that)...and your hack will be IMO ranked right up there with the best IMO. While still in its beginning stages...the ideas you have in store for it will put at the top of the available hacks here.

I'm always looking for ways for my community to be interactive, and we've done this very thing (a while back) w/i a thread....but this feature, esp w/ your new ideas will blow those linear threads away.

It's nice to see a hack that works, easy to install...but most importantly is creative and unique.

/hats off

Looking forward to your new changes! :)

Ninth Dimension
08-18-2002, 11:44 PM
Thank you for your kind words, it's nice to see that people like the idea. This is a project that I've been trying to get off the ground for ages, i've got an (almost) fully working verson of this script on my localhost, but it's not vB'd, so it's just a case of taking my old code, making it work with vB, and then making it look nice :)

Ninth Dimension
08-18-2002, 11:50 PM
poll: should the chapters have vbcode enabled? yes or no? and why?

the reason I ask is *gulp* because I don't know how to use the vbcode thing, but second, this is a story, the last thing we want is URL's, pics, and other noncence in it??

what do you think?

Apok2002
08-18-2002, 11:58 PM
What is the word limit on chapters? I made a semi-lengthy one, and got sql error. (see the pm I gave you).

I made a VERY short one, like your Jack and Jill story, and it worked just fine.

Apok2002
08-18-2002, 11:59 PM
Your probably right not to add vbcode. But also, as admin, how do you remove the story (start over), or edit it in case someone gets vulgar or obscene? Have to go through phpmyadmin?

ULTIMATESSJ
08-19-2002, 12:00 AM
hmmmm interesting hack, nice work

Ninth Dimension
08-19-2002, 12:01 AM
Apok2002 - I sent you a PM back, can you let me know if it fixes the problem? if it does, fantastic, i'll update the file.

ULTIMATESSJ - thanx :D

Apok2002
08-19-2002, 12:05 AM
How do I restart the story once it's already posted? :)

Apok2002
08-19-2002, 12:09 AM
Also, that "fix" didn't do anything. I deleted the test "short" chapter that worked, and replaced it with the original chapter that I posted. The sql error came back.

Could it be that there is a character limit?

Apok2002
08-19-2002, 12:24 AM
It worked. :)

Lionel
08-19-2002, 12:25 AM
this is a great hack. I just installed on 2.21 no problems.

Can it be added that the owner of a chapter, and admin can edit?

Ninth Dimension
08-19-2002, 12:33 AM
editing stories is a bit iffy, the problem is that someone can write a chapter, someone else come along and carry on the story, then the first person edit his part so it's totally diffrent, making the second users chapter not making any sence.

editing options is a possability, i'll keep it in mind.

Lionel
08-19-2002, 12:38 AM
the more I am exploring it, the more I see it nicer and nicer.

About path? Is there a way to add one more path? I'd like to use it as a game, like some sort of Fictitious Republic, with the government, the opposition and the rest of us. But I would need to create one more path... This way, people add their two cents according to their interests

Apok2002
08-19-2002, 12:38 AM
Yes, I was just thinking about that. On some of our threads, you'll see that there are people who respond...then edit that thread and say "oops, etc...." because they were posting at the exact same time as another person. IF that happens...then the story could be "jumblefied". But 2 points:

1) This will happen on "interactive story threads" no matter what.

2) The further along the story is...it's less likely there will be 2+ plus posters at the same time, because the options will be story options will be greater.

Ninth Dimension
08-19-2002, 12:41 AM
Lionel - having more than 2 paths would be very hard to do using the system i'm using at the moment, and make the hack a lot harder to make, so I personally don't have any plans for more than 2 paths.

Erwin
08-19-2002, 12:45 AM
Nice idea.

Does the forum censor automatically work?

Smilies?

Also, there has to be a quick way that staff can edit or delete entries in case of abuse.

Ninth Dimension
08-19-2002, 12:54 AM
what do you mean by forum censor? if you mean the login page? then yes, it's set to block people that are of the following user groups:

1 - Unregistered / Not Logged In
3 - Users Awaiting Email Confirmation
4 - (COPPA) Users Awaiting Moderation.

more can be added :)

staff moderation is something that I will be working on, but I want to try and get the main code working as I want it first :)

Jashugan
08-19-2002, 12:55 AM
Originally posted by danielhollands
(this is just me, but) I personally think that if I was going to write a story it would want to keep it all in one thread, rather that having it split off all the time :)

the idea of this hack is to get your users more involved in using the forum, and expressing themselves :)

anyway, i'm just working on beta3 at the moment, this is going to support multipul stories split into multipul genres :D

I like your hack but I prefer to wait for "support multipul genres" Good job with this hack, I keep my eyes on this one.

Ninth Dimension
08-19-2002, 01:11 AM
i've almost finished the multi-genre verson of the hack, will be uploading soon, the only problem with it at this stage is that you will have to add all the genres and stories to the database manually because I've not yet got as far as developing any form of admin for it yet.

Jashugan
08-19-2002, 01:17 AM
Cool hopefully you will solve the Admin system problem, you can PM Firefly and ask him about it.

Also I wonder if I go ahead and install it, Does it has capability to upgrade the hack whenever new features come out?

Ninth Dimension
08-19-2002, 01:22 AM
Originally posted by Jashugan
Also I wonder if I go ahead and install it, Does it has capability to upgrade the hack whenever new features come out? I would love to say yes, but i'm going to have to say no.

Reason for this is that the new one add's 2 more tables to the database, renames and story table, and add's some extra fields to it.

But, with luck, after this next verson, upgrades will be possble. *fingers crossed*

Jashugan
08-19-2002, 01:36 AM
K thanks for response, wish you good luck with your hack, it look fabulous for my board though

Apok2002
08-19-2002, 01:51 AM
i've almost finished the multi-genre verson of the hack, will be uploading soon, the only problem with it at this stage is that you will have to add all the genres and stories to the database manually because I've not yet got as far as developing any form of admin for it yet.
No sweat, just as long as ya add instructions. :) I'm not experienced with myphpadmin, I can only add queries and drop tables and edit a few obvious fields. :)

Brad
08-19-2002, 02:34 AM
Originally posted by danielhollands
anyone got a spare smoke? i'm gasping for one here :)


heh smoking is bad ;). and yes i could spare one

Ninth Dimension
08-19-2002, 03:31 AM
<font size="4">vBstory beta 3 has been released</font>

please see the first post to download it.

VietSoil
08-19-2002, 03:48 AM
This seems like a very cool hack! Thanks a lot! :)
* Click Installed *

Apok2002
08-19-2002, 03:51 AM
Can you have multiple stories in each genre? (I haven't installed beta 3 yet...you are updating it too quickly! lol j/k...don't stop man!)

Ninth Dimension
08-19-2002, 03:57 AM
VietSoil - Thanx :D

Apok2002 - each genre can have unlimited stories, you can in turn have unlimited genres, so basicly the sky is the limit :)

The only problem with beta 3 is that I've not done any of the admin features yet, that will be something i'll be doing tomorrow, after I've had some sleep, and a smoke :)

Oh, and if anyone want's it, i've still got beta 2.5, it's not as powerful as beta 3, but it's a lot simpler, and some people might prefer that :)

Lionel
08-19-2002, 04:50 AM
when you do the admin, can you make it that people from a certain group could start a story?

C.Birch
08-19-2002, 09:53 AM
Originally posted by danielhollands
this is an interesting idea, but not one that I'm going to do. the reason i'm not going to do it is because I don't think anyone is going to want to have to populate all of the diffrent chapters that are available. e.g.:

there is 1 chapter 1,
2 chapter 2's,
4 chapter 3's,
8 chapter 4's,
16 chapter 5's,
32 chapter 6's,
etc...

at the end of each chapter the story splits, and while I can see this being popular for a range of diffrent users working togther, I really can't see only one user wanting to do it all himself :)

It would be 1 user doing there own one for people to read and any user can make one if they wanted to, i know it would go down on very good on my board has a few of them like doing fan fics

Ninth Dimension
08-19-2002, 01:17 PM
Lionel - I was going to give admins and Mods the ability to add new stories to the database. If any other users wanted to start a story they would just have to ask a mod/admin to do it for them.

C.Birch - I'll see what I can do once i complete the hack, although this is really not a feature that I had in mind - let me think about it :)

Attrox
08-19-2002, 01:33 PM
Ohh...very cool idea. I'll be using this, thanks. :)

Apok2002
08-19-2002, 03:31 PM
Hmm...in the previous version..one could add the initial chapter easily. In this current version (3.1)...is the only way to do that, is by using mysql?

www.ez-company.net/forums/vbstory.php

Check it out to see what I mean. Is it a template issue? I edited your mysql insert for the Romance story. However, after reading that chapter, test options come up.

I like the ability for members to create their own starting stories. If not that, at least admins/mods should be able to create stories w/o going into myphpadmin (like you had it in v2.5 and earlier). I'm assuming this is a template mixup. But I've not edited any of your templates, they are installed correctly I believe, and there is no option to add a new story.

*edit*
I reread your post way at the top at this page. :) I know you are working on this.

However, new question...If I am going to add a story into myphpadmin...how do I add the 2 choices in the beginning, so that they are not "test" and "test"?

This version is more powerful...but obviously not complete. I know you are working hard on it. I'm just anxious as this truly has the potential to make communities much more interactive, which is something I avidly promote. :)

Keep up the good work man. Also, I've removed the public link from my site w/ this version. hehe I'll wait until it's more complete.

*edit
Also...I was rofl when I saw your "Please don't kill the main character" statement! It's true....but funny. :)

Ninth Dimension
08-19-2002, 03:38 PM
Apok2002 - as I said before, this is still only in BETA, and is a work in progress. The next release is going to support full admin controls (adding and editing genres, adding and editing stories, editing chapters for original chapter poster and mods/admin, etc...)

The current release (beta3.1) was done just to give you an idea of how the diffrent genres and stories work, and to let people with MySQL esperiance a headstart LOL :)

beta 4 is on it's way :)

C.Birch
08-19-2002, 03:42 PM
I have installed it anyway and its working fine apart from one user saying there getting a database error but when i test it it works fine so i think its just them.

Ps thanx for thinking about it maybe it can be mind so its a add on that can be turned off and in in admin cp.

C.Birch
08-19-2002, 03:43 PM
my boards at http://www.ultimate-forums.co.uk/ if anyone want to view this hack in action.

Ninth Dimension
08-19-2002, 03:47 PM
Originally posted by C.Birch
I have installed it anyway and its working fine apart from one user saying there getting a database error but when i test it it works fine so i think its just them.If one user is getting errors, then more can.

would you get them to give you the mysql error (all of it), so that you can post it here for me, it's obviously going to be a problem, and I wanna fix it :)

Ninth Dimension
08-19-2002, 03:49 PM
Originally posted by C.Birch
my boards at http://www.ultimate-forums.co.uk/ if anyone want to view this hack in action. Looking good, i've seen it running on 4 sites with diffrent designs now, and each one looks good, I'm glad about that :)

Ninth Dimension
08-19-2002, 04:27 PM
I've started a thread in the "Help Me Finish" forum because i'm having some trouble getting to grips with how to code the admin sections of the hack.

If you have some experiance coding admin features, can pop over to the thread and gimme some support please?

https://vborg.vbsupport.ru/showthread.php?s=&threadid=42488

Thanx :D

C.Birch
08-19-2002, 04:36 PM
I have asked that user to copy the database error if it happens again and if it does i post it here.

Ninth Dimension
08-19-2002, 06:49 PM
for anyone that wants to know why the story only supports one character, read below:

it only has one Character because the idea is that you take on the role of that person in the story.

the stories will be written as if you was telling a story to your grandchildren from a first person perspective, but in a past tense.

For example:
I sat in the park and waited for my friends.
instead of:
He sat in the park and waited for his friends.

The story can have more than one character, but you will only have control of one :)

I hope that makes sense?

Ninth Dimension
08-19-2002, 06:50 PM
Originally posted by C.Birch
I have asked that user to copy the database error if it happens again and if it does i post it here. thanx :)

Any and all feedback/error/etc... that you can inform me of will be gladly accepted :D

Lionel
08-19-2002, 06:57 PM
About more than one character....

I sat down in the park and saw a nice girl...

path... become the nice girl (from the nice girl point of view)
path... keep on telling story on the self perspective.

Now when you add a new character (the girl, in that case), it will add it also in the character list... this way the story will be truly interactive with members taking on roles of different personnages...

And limit the amount of possible characters

Ninth Dimension
08-19-2002, 07:01 PM
This is a possable add-on, it would require an extra table in the database, and a whole load of extra coding, but once I finish it to the standard that I want, i'll look into adding that as an extra feature. (nice idea)

Ninth Dimension
08-19-2002, 07:23 PM
For anyone that wants to know my progress, I've added the ability for admins, mods, and the chapters author to edit chapters via the main vbstory.php.

I've also started working on the admin functions of the hack, at present you are able to add stories to the database, and list stories currently available.

My next step is to add the ability to edit stories, and add/edit chapters.

I'm also going to work on deleting stories, but i'm leaving that till last :)

Apok2002
08-19-2002, 08:16 PM
For anyone that wants to know my progress, I've added the ability for admins, mods, and the chapters author to edit chapters via the main vbstory.php.

Kewl. Is that in a version available now? Or a later version? Your making fast progress btw. :)

Ninth Dimension
08-19-2002, 08:32 PM
Originally posted by Apok2002
Kewl. Is that in a version available now? Or a later version? Your making fast progress btw. :) Not yet, it will be in Beta 4 - once i've finished testing and tweaking it.

Ninth Dimension
08-19-2002, 09:02 PM
<font size="4">vBstory Beta4 has been released</font>
Please goto the first post to download it.

CHANGES:
- added full admin control. you can now add and edit genres & stories via the admin panel.
- added edit chapter feature. admins, mods & chapter authors can now edit chapters.
- tweeked templates.

Enjoy!!!! :bunny:

Ninth Dimension
08-19-2002, 09:15 PM
I've just uploaded beta 4.1, the only change is that I've added some instructions on how to add vBstory to your who's online page.

Jashugan
08-19-2002, 09:34 PM
Your progessive amazing me, this hack is getting better and better.

Excellent job

Apok2002
08-19-2002, 09:46 PM
Great googly-moogly!

lol

Damn! I wish all hack authors were as fast as you. :)

gj bro! Will install in a few. :)

Apok2002
08-19-2002, 11:14 PM
Installed just perfectly. Admin CP looks great! Added the genres just fine. But when I try to add the first story...here is the sql error I get:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO vbs_chapters (chapterid,storyid,title,body,path1,path2,userid,d ateline,display) VALUES ('1','1','Little Creek','Riding into town, you spot 2 saloons on either side of the street, facing one another. On the left, is an older, run down saloon named \"Snake Eyes\". To your right, a newer, more \"refined\" established named \"Diamond\'s Saloon\".

Which will you visit?','Snake Eyes','Diamond's Saloon','1','1029800516','1')
mysql error: You have an error in your SQL syntax near 's Saloon','1','1029800516','1')' at line 1

mysql error number: 1064

Date: Monday 19th of August 2002 07:41:56 PM
Script: http://www.ez-company.net/forums/forums/admin/vbstory_admin.php
Referer: http://www.ez-company.net/forums/admin/vbstory_admin.php?what=story&action=add

Ninth Dimension
08-19-2002, 11:16 PM
OK, I know how to fix this, give me about 30 mins and i'll get right to it.

and the best part is that the fix will only need you to replace the two .php files, nothing more than that :)

Apok2002
08-19-2002, 11:17 PM
nvm, I took out the apostraphe in Diamond's and it worked.

Erwin
08-19-2002, 11:20 PM
Originally posted by danielhollands
[B]what do you mean by forum censor? if you mean the login page? then yes, it's set to block people that are of the following user groups:

No, I mean the automatic censoring of swear words etc. :)

And great progress btw. I am waiting for a stable version before installing. My members will love this.

Ninth Dimension
08-19-2002, 11:23 PM
Apok2002 - 0.4.2 will allow you to use quotes ("), apostraphes (') and slashes (/) in your messages, etc...

Erwin - at the moment censoring is not supported because I do not know how to do it, I believe that it's an automatic part of bbcode, but i'll look into it for you.

Ninth Dimension
08-19-2002, 11:37 PM
<font size="4">I've just uploaded beta 0.4.2 - please read the IMPORTANT text in the first post and upgrade.</font>

Erwin
08-20-2002, 12:44 PM
Installed it - works well. Letting my staff play with it before I release it to the members.

Another question - are you planning to make it so that members (eg. with certain post levels) can start stories too?

NexDog
08-20-2002, 01:29 PM
Man, just picking up on this as I don't wander into Beta often. But, what an idea! We have a thread on our forum with thousands of posts by members doing this by themselves in a really limited way. They are going to love this!

Add [img] tag to the forum, let users upload graphics etc, this will rock! Let me get a few quizzes down first and I'll install this right away.

Awesome work, man!

Ninth Dimension
08-20-2002, 02:00 PM
Erwin - I'm glad you liked it, do you have a url so that I can have a little lookie? as for the members starting stories, while I might be able to do this, I personally feel that it could be insecure (this is my first hack after all, i'm only just fumbling this all togther).

The final release however will have full mod control, and should a member want to add a story, he can just PM a mod to add it for him/her :)

Maybe I could add some type of "suggest a story" form that PM's the id's requested.

NexDog - Thanx :) regarding the [img] tag thing, I feel that it might be best for the chapters to support bbcode (but not advertise the fact with the bbcode buttons) - this way, people in-the-know will be able to add all the funky extra's, etc... (which I feel would reduce the ammount of tidying up needed to be done.)

Everyone - from my very first release, the support and encouragement I have received has been fantastic - and while some of the extras you have requested are going to be a pain-in-the-arse for me to add, i'll totally do my best for you :D

Ninth Dimension
08-20-2002, 04:46 PM
<font size="4">AAAAAAARRRRRRRRRRGGGGGGGGHHHHHHHHH!!!!!!</font>

This bbcode thing is giving me a major headache, I can't work out what i need to do to text before adding it to the database, or what I need to do once I've pulled it out of the databse.

Can anyone maybe save me from this major headache and give me the code that would be needed?

cheers. :bunny: <-- look, a cute bunny!!!!

Erwin
08-20-2002, 07:37 PM
Originally posted by danielhollands
Erwin - I'm glad you liked it, do you have a url so that I can have a little lookie? as for the members starting stories, while I might be able to do this, I personally feel that it could be insecure (this is my first hack after all, i'm only just fumbling this all togther).

It's a private forum, and I've set it up so that only members can see it anyway (for the moment). With the security issue, this is why I say let only members with over a certain amount of posts start stories eg. 200 or 500 posts.

Ninth Dimension
08-20-2002, 07:54 PM
It's an idea, but for the moment i'd like to keep it a bit simpler. It works like vBquiz where the author get's all the credit for the story, but it needs an admin/mod to add it.

But like i said, it's an idea that I can look into for future releases after 1.0.0 (i'm curretly working on beta 0.4.2, and have a lot more features to install and stuff).

Oh, i've just installed censoring using vB's censorship database and (almost) full bbcode

Ninth Dimension
08-20-2002, 10:30 PM
<font size="4">I've just uploaded vBstory (beta 0.5.1) - please update)</font>

See the first post to download it.

This version add's some new templates, add's bbcode support, censoring "naughty" words using vB's censorship table and puts a limit on the number of chapters via anyone path.

Please upgrade to this verson and let me know if it works. I'm also eager to see what the new install features are like.

Ninth Dimension
08-20-2002, 10:54 PM
You will need to remove all the "vbstory" templates from the Admin CP before you can run the installer file or it will not work correctly.

I don't know why this is, but you might find that the template "vbstory" does not work correctly using the installer.

If you find this to be the case, please replace it with the html below:{htmldoctype}
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - Interactive Story</title>
$headinclude
</head>
<body>
$header

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="absmiddle">
<normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a>
&gt; <a href=vbstory.php?s=$session[sessionhash]>Interactive Story</a></b></normalfont></td>
</tr>
</table>

<br/>

$base

<br/>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align=center>
<!-- please don't remove -->
<smallfont><b>vBstory ($ver) by Daniel Hollands of <a href=http://ofdan.net/>Ninth Dimension Ltd.</a></b></smallfont>
<!-- please don't remove -->
</td>
</tr>
</table>

$footer
</body>
</html>

Erwin
08-21-2002, 02:58 AM
I upgraded using your installer. You're right - the vbstory template is not good. :) Basically it's got the \ before each " like it was in a PHP file.

It's all working pretty well... you can almost move it out of the Beta forums really.

Ninth Dimension
08-21-2002, 10:44 AM
I could remove it from beta, but i've still got a few more tricks up my sleve that I want to code into it and get tested.

DestyNova
08-22-2002, 03:24 AM
I m going to install your hack and test it to help you progess more quickly, I like this and my members would love to have this. I have one cousin who love the interactive stories just like this. :thumbup:

Ninth Dimension
08-22-2002, 12:48 PM
Hi, thank you for the help, another verson of vBstory will be released soon, with many more features than this one has.

I'll keep you posted.

NuclioN
08-22-2002, 03:52 PM
danielhollands, i want to install this but i see that a new update is coming soon. Will this force us to uninstall and upgrade or can we just make changes in the templates etc.?

Ninth Dimension
08-22-2002, 03:56 PM
I'd recomend that you wait until the new one comes out, it won't be long and has a lot of really cool speed enhancing features, the ability to delete genres and stories, the ability to set max chapter's (i'll explain this feature when it's installed, etc..) and much more.

I don't want to provide upgrade instruction at the moment because there are so many changes, so I'd suggest you wait a few hours and install the new one (which, BTW, is going to be a release candicate)

NuclioN
08-22-2002, 03:57 PM
Sounds great! We'll wait. :)

Heineken77
08-23-2002, 03:06 AM
Sweet! Can't wait for the new release :)

NexDog
08-23-2002, 03:59 AM
Daniel, you got an ETA? :D

Ninth Dimension
08-23-2002, 08:39 AM
I was going to release it yesterday, but something started to go wring with my forums so I had to spend some time fixing them.

I'll be releasing it today. :)

Ninth Dimension
08-23-2002, 08:39 AM
I was going to release it yesterday, but something started to go wring with my forums so I had to spend some time fixing them.

I'll be releasing it today. :)

Ninth Dimension
08-23-2002, 08:39 AM
I was going to release it yesterday, but something started to go wring with my forums so I had to spend some time fixing them.

I'll be releasing it today. :)

Ninth Dimension
08-23-2002, 08:40 AM
eeerrrmmm, whoops

NexDog
08-23-2002, 12:09 PM
lol, love it when that happens. I'll look for it when I get up. Damn, I love running a hosting company, all this free time! :D

Ninth Dimension
08-23-2002, 02:26 PM
I might not be able to get this released as soon as I had hoped. I'm going out for a few hours soon. So depending on when I'm back this will be released either later today or tomorrow.

I'm sorry for the delay.

NexDog
08-24-2002, 01:30 AM
No problem. :) I'm sure Firefly will change your name if you PM him.

Ryangel
08-24-2002, 02:14 AM
I think your name is fine.... :)

Ninth Dimension
08-24-2002, 09:01 AM
I've PM'ed two diffrent people ovet the pasy two days, neither have got back to me :( I would PM fgirefly, but he is not accepting PM's at the moment.

Anyway, today is the day - watch this space!!!!!!!!!!!!!!

NexDog
08-24-2002, 10:39 AM
/watches...:)

Ninth Dimension
08-24-2002, 11:19 AM
In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters. And God said, Let there be light: and there was light. And God saw the light, that it was good: and God divided the light from the darkness. And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.

Then.? A few million, billion, trillion years later Daniel Hollands released

vBstory 0.9 RC1

Please go to the first post in this thread, re-read the info and upgrade.

NuclioN
08-24-2002, 12:30 PM
Installed and it works great. However (there's always a however) :) .... the many text-descriptions between the chapters are interrupting the story bigtime. Maybe it would be good to display the registration-suggestion once in the beginning and later on a smooth reading trough the storylines without further explainations. Great job!

Goldknight
08-24-2002, 12:32 PM
Does it have the capability now for members to add these stories themselves or rather to have Admin/Mod to add these stories for members?

Curious as for 0.9 RC1, what kind of feature did you add or change?

I read your install.txt, seem that you will not add any more :( Will it become to release verison or ?

Ninth Dimension
08-24-2002, 12:35 PM
NuclioN , Do you mean the message that says says you need to be a member to post a chapter, at the part just before your post the new chapter???

I could try and make this only display once, or even change it so that you either get an error explaning you need to be a member, or the form itself... dunno yet.

If you are not talking about that, can you give me a URL to where you mean please? (BTW, I want a URL anyway :))

I will at this stage let you know that I'm not 100% happy with the html in the templates, it does the job, but i'm sure that it can be made to look better.

NuclioN
08-24-2002, 12:41 PM
http://www.cyberty.nl/ look in the welcompanel for "story"

Hm..i saw that the names are not visible who are adding chapters, and also the admin (first person who make a genre and story + chapters) is not visible. ;)

Ninth Dimension
08-24-2002, 12:45 PM
Goldknight, for the moment i'm not planning on adding any extra major features to this release of vBstory. As suggested in the read me, I am going to be working on another verson of vBstory, but that is going to be mainly for my own site (after all, the master does not reveal all it's secrets ;))

I've not yet added the ability for users to start stories, this is an idea that I was going to bypass completly, but now that I think about it, it could be a good idea (watch this space).

Changes:
- Faster to load (less queries).
- Added ability for admins to delete stories and genres.
- Added a "story so far feature" allowing you to naivgate to a chapter, and then read all of the chapters up to that point.
- Limited the number of chapters via any one route to 20 (this can be changed, but i'd recomend not to go over 30 chapters). This is because of limitations in PHP, and to prevent stories from being "Endless". This will also display a message on the last chapter stating that it is the last chapter, and that it should be an epic ending.
- i'm sure i've changed some other bits too, but have forgotton what - all good though :)

Is there anything else that you would want?

Ninth Dimension
08-24-2002, 12:49 PM
Originally posted by NuclioN
http://www.cyberty.nl/ look in the welcompanel for "story"

Hm..i saw that the names are not visible who are adding chapters, and also the admin (first person who make a genre and story + chapters) is not visible. ;)

Are you sure that you have placed the new files on the site??? I've also noticed (as a user that is not signed-up to your site) that I can edit the first chapter in your story, this is a BIG security risk, i'm going to have to check my code again.

DO NOT INSTALL YET!!!!

Ninth Dimension
08-24-2002, 12:50 PM
OK, something very wrong is going on here, are you sure that you are using the latest files???

I'm going to do a fresh install on my forum and see if i'm getting the same errors as you have (the ones i've seen).

NuclioN
08-24-2002, 12:56 PM
I've installed: VBstory (0.9 RC1) and followed the instructions carefully. I've disabled the story and placed backup index/online php back again untill this is safe. ;) Goodluck.

Goldknight
08-24-2002, 01:23 PM
Thanks for answering my QQ :)

Since you bring up about "Is there anything else that you would want?"

Basically, I like your vbstory as it is but it will be nice to have function for members to add the stories themselves instead of bother Admin/Mod. Rating feature and also user's comments feature if possible.

Thanks and it is cool hack, also since you said "Dont install yet" so I will wait until you re done. :)

Ninth Dimension
08-24-2002, 01:30 PM
Goldknight, depending on how much spare time I have over the next few hours I'll look into letting users add stories. I think this would have to have moderation features so you can choose which stories get displayed.

NuclioN, Tell me, have you in anyway changed the ID numbers for the diffrent user groups on your forum???
Was it a fresh install?

update
I've just fixed the missing username problems.

NuclioN
08-24-2002, 01:40 PM
No i did not changed the usergroups and it was a fresh install. There's no part in the textfile that pointed to the usergroups i guess.

Goldknight
08-24-2002, 01:41 PM
Originally posted by danielhollands
Goldknight, depending on how much spare time I have over the next few hours I'll look into letting users add stories. I think this would have to have moderation features so you can choose which stories get displayed.


Thanks :)

Ninth Dimension
08-24-2002, 01:42 PM
NuclioN - I think I've solved the puzzle - When you added the story using the admin panel, did you leave the User ID field blank???

When it comes to editing chapters is does two checks, first is to see if the userid of the current user is the same as userid of the chapter author.
The second check is to see if you are a mod or admin.

If either of the above two is true, then you get to edit the chapter.

what I'm guessing is that you did not add a userid when you started the story, making it zero (one of the reason it did not have a username)...

when I visited your site, because I was unregestered my userid would have been set to zero, making my ID and the authors ID match, making it possable for me to edit the chapter.

That is why I could only edit the first, and none of the others because they will automaticly set by the script.

I hope that makes sence????

what I'm still confused about though is the fact you was able to leave it blank, i'm sure that I've set-up the admin to require it, I'll double check.

NuclioN
08-24-2002, 02:10 PM
It's kind of strange to fill in a (your) user id in your own admin panel isn't it. :D Maybe that was the whole problem, i realy hope so. Why user id, why not just your nickname? I'll try again and if i see any glitches i'll report asap.

oops...forgot...wich file to update with the name correction?

Ninth Dimension
08-24-2002, 02:21 PM
The whole idea of adding a user ID is so that one of your users can submit a story to you for you to add to the site. If it's your story you use your ID, if it's someone elses ID, use their ID number. It's also an important bit of the script if I do the users adding stories add-on.

What I'm still confused about is how you was able to leave it blank in the first place, the script checks for blank ID's??????

I've even tested it myself.

anyway, i'll pack it up and re-release the hack, I've made some changes to the templates so you will have to redo them all again (sorry)

I'll post when it's up

Ninth Dimension
08-24-2002, 02:24 PM
BTW, it uses a userid other than a nic-name because it then pulls that users details out of the user database for display, etc....

NuclioN
08-24-2002, 02:25 PM
Ok. ;) I shall try to redo the error if the update is finished. Or better spoken... to see that there is an ID present before you can proceed.

Ninth Dimension
08-24-2002, 02:42 PM
Yes please, I'd like you to re-install the copy you have, and do EVERYTHING the same as you did before.

To test if the problem has come back or not just log out and view the story.

Ninth Dimension
08-24-2002, 02:59 PM
I've just uploaded "0.91 RC2" to the first post, Please download and upgrade.

It's VERY important that you use the new templates or the script won't work.

Goldknight
08-24-2002, 03:03 PM
Ok, I install without any problem, I even use userid and it work. But.. There are few I need to ask...

I make a chapter and there is no username after "by" how can I add the username to that? I see no way to do that thur AdminCP
Check the attachment

After SuperModerator or Admin add the story and after that, any members can add any chapters to that story... Is it normal? Even I use "test" member to add the story and still no username after "by"

I wonder if is it possible to add some kind of username permission, for example..if "test" make a story and ask SuperMod/Admin (since no feature for member yet) to add the story and make a choice if it is for public to add or only that member (userid) to add the story.

There is one thing I dont understand about "Path one" and "Path two" What is it excatly?

Thanks

Ninth Dimension
08-24-2002, 03:09 PM
I'm sure that I had fixed the username problem, maybe not, i'll have to go back and look into it again :(

For info on what the diffrent paths mean, refer to the first post, it explains how it works in the about section of the post, but basicly the idea is that the story keeps splitting, allowing the user to follow many diffrent paths in the story.

As for a permissions thing, the idea is that any user on your forum can post message, that's the whole idea of the script, it's for your users to get them more involved in using the site, yet again refer to the first post :)

Ninth Dimension
08-24-2002, 03:10 PM
did you install all the new templates? I think that maybe why you are not getting a username showing up.

Goldknight
08-24-2002, 03:13 PM
No I did not, after I post my QQs and I saw your update, I m going to do it right now :)

Ninth Dimension
08-24-2002, 03:18 PM
a lot of the templates have changed, if i was you i'd update all of them, then let me know.

Goldknight
08-24-2002, 03:21 PM
Thanks for response about paths.

Ok, it seem work now. It shows the username after "by"

thanks :) I m going to test it more

Goldknight
08-24-2002, 03:23 PM
Yes I did update all of templates. Its work now.

Ninth Dimension
08-24-2002, 03:26 PM
Cool, glad it works.


you might want to spend some time testing it while you are logged out to ensure that it's fully secure. :)

BTW, do you have a link for me please?

Goldknight
08-24-2002, 03:30 PM
I install at my local server, not at net yet. I need to test everything to make sure that it is working. I ll give the url after everything is done.

I m curious about bookmarks, why does it display empty? I add three stories with different stories to test but nothing so far. How can I get it work?

Ok, I log off and couldnt edit or add any stories, that s what you want to know?

Goldknight
08-24-2002, 03:32 PM
Oh yeah, I forget to ask you something. I m aware that any members can add the story after the chapter set up by Admin/SuperMod but am I right about any members cannot set up the story unless Admin/SuperMod set up the story first?

Ninth Dimension
08-24-2002, 04:21 PM
The bookmarking system is something that I was going to add to the hack but have decided not to (not for this one anyway). The reason it's still in the template is because I forgot to remove it.

The idea what that users could bookmark a chapter within one of the stories to return to it at a later date.

Now before I go on, I need to make you aware of three diffrent terms used within this script, I need to do this because you question is very confusing, you are using the wrong terms.

Chapter - a chapter is a post within a story, just like chapters in the book, the only diffrence here is that at the end of each chapter you will be presented with two paths to follow, each of which will lead to another chapter.
Story - all of the chapters are split up into stories, the story provides you with all the information you need to start reading such as some background info and the char's name.
Genre - this is like a category into which you place stories.

However, what you have said is correct - at the moment only admins can add stories using the admin CP (soon, this will be mods as well), but once a story has been added, users can then come along and add chapters.

I am however going to be working on a story suggestion feature where users can fill in a form similar to the one you fill-in when adding a story. This info will be placed into the database, but not listed until it's authorised by an admin or a mod (who will receive an email stating that a story has been suggested).

It will be included in the next release, maybe tomorrow....

Goldknight
08-24-2002, 05:25 PM
At first, yes I do understand about chapter, story, and genre. I only question about bookmark itself. Thanks for explain anyway :)

(I m not speaking english, sorry)

However as for Mod, no need to add since I only copy/paste vbstory_admin.php to Mod folders then edit the Mod/index.php to add the codes from files.txt (under admin/index.php instruction) and it work well. ;) *notice, it is only for SuperMod*

About bookmark template, where do I look for to delete it away so that members will not bother me about that one.

Thanks for everything else :)

NuclioN
08-24-2002, 05:32 PM
Hm...a wierd behavior is showing up. When i click on "The story so far" a huge display of the whole memberlist is rolling out in one page. :(

Goldknight
08-24-2002, 05:47 PM
Uh? I click on "The story so far" and it pop up whole of that story. It work perfect... what VB verison do you have?

Also did you copy/paste all of templates in .91 RC2 hack?

NuclioN
08-24-2002, 06:09 PM
2.2.6. and the rc2 hack.

Goldknight
08-24-2002, 06:21 PM
NuclioN

=\ I dont know why you have that problem. I install two test forums and it work well :(

Daniel

Never mind my post above about bookmark template, I found it and delete it. Thanks anyway :)

Ninth Dimension
08-24-2002, 07:10 PM
Originally posted by NuclioN
Hm...a wierd behavior is showing up. When i click on "The story so far" a huge display of the whole memberlist is rolling out in one page. :( I noticed that you had that problem when I went to your site, but I thort I had solved it with the current release.

I'm just about to release a new one (maybe in a few hours) so my suggestion is to wait for that, and if it still happens, i'll give you a special debug file to try.

Ninth Dimension
08-24-2002, 07:13 PM
NuclioN, I've just tried your site and you are getting an error

Warning: Too many connections in /opt/home/cyberty/www.cyberty.nl/HTML/admin/db_mysql.php on line 40

Warning: MySQL Connection Failed: Too many connections in /opt/home/cyberty/www.cyberty.nl/HTML/admin/db_mysql.php on line 40I'd look into that if I was you LOL :)

Ninth Dimension
08-24-2002, 09:13 PM
I've just released 0.93 RC3

Please upgrade. goto the first post to download.

I've changed all the templates to make it look nicer, changed a few bits in the admin panel, speeded it up a little (I hope) and added the ability for a user to suggest a story.

N.B. If a user suggests a story, it will be added to the database, but be set not to display. All you need to do is login to the admin panel and choose to display it if you are happy with it.

Still to come.

I've still got a few bits I want to do to the script, but most are within the admin panel.

Goldknight
08-24-2002, 10:16 PM
Wow, it is perfect. That s what I want with "Suggest a story" feature for member then Admin/SuperMod to approve or not. It is beautiful work!

*bow*

Ninth Dimension
08-24-2002, 10:19 PM
I'm glad you like it, make sure that you post a link in this thread once you have it online, I wanna see it in action. :D

Goldknight
08-24-2002, 10:21 PM
Oh one more thing, I dont know if you re still open to suggest but I wonder is it possible to add small template of total of stories, chapters, total submits, and awaiting validation stories (perhaps for Admin/SuperMod mode or all) front display for "forumhome" template?

Goldknight
08-24-2002, 10:24 PM
Aw... I find a bug...

I notice that one before (.91 RC1&2) but I m not sure until RC3 confirm that bug.. after I made new genre "Fantasy" and add two chapters with two different authors. When I click on"Story so far" and stories rolling out four chapters but with three repeat stories of 2 chapter itself with different author! So far, I made three test members at my test forum and it display three repeat chapter with different three members as author??

Ninth Dimension
08-24-2002, 10:31 PM
So you are getting the same error as NuclioN, this is very strange as I've not had this problem myself?????? But then again this could be due to the fact I only have one member on my test forum.

I'll look into it.

Are you sure that you are using the new vbstory.php and not accadently still using the old one?

As for your suggestion, i'll think about it, but that's a bit more than I had planned for "This" verson of vBstory...

Ninth Dimension
08-24-2002, 10:33 PM
OK, try this:

In vbstory.php find:

$showall_query = $DB_site->query("SELECT vbs_chapters.id,vbs_chapters.chapterid,vbs_chapter s.storyid,vbs_chapters.title,vbs_chapters.body,vbs _chapters.path1,vbs_chapters.path2,vbs_chapters.us erid,vbs_chapters.dateline,vbs_chapters.display,us er.username FROM vbs_chapters,user $showallvalue AND vbs_chapters.storyid = $storyid AND user.userid=vbs_chapters.userid ORDER BY vbs_chapters.chapterid");

Replace with:

$showall_query = $DB_site->query("SELECT vbs_chapters.id,vbs_chapters.chapterid,vbs_chapter s.storyid,vbs_chapters.title,vbs_chapters.body,vbs _chapters.path1,vbs_chapters.path2,vbs_chapters.us erid,vbs_chapters.dateline,vbs_chapters.display,us er.username FROM vbs_chapters,user $showallvalue AND vbs_chapters.storyid = $storyid AND vbs_chapters.userid=user.userid ORDER BY vbs_chapters.chapterid");

Both of the above are one line, just ignore the wordwrapping.

Goldknight
08-24-2002, 10:34 PM
I did. I replace everything else (including edit Admin/index.php and Mod/index.php) but only online.php.

I m now understand what NuclioN mean "memberlist" indeed, that s what it does to me now

Ninth Dimension
08-24-2002, 10:35 PM
try what I suggested above

Goldknight
08-24-2002, 10:38 PM
Unfortunately, it is not work with your new code.

As for suggestion, thanks for give it some thoughts. If you dont want to do that, you dont have to :) You already did amazing job with vbstory.

Ninth Dimension
08-24-2002, 10:42 PM
I can fix the problem, but it will add up to 30 extra queries when accessing the show all page.

I'd prefer to try and fix the sql query I have at the moment to keep the queries to a min.

NuclioN
08-24-2002, 10:56 PM
Ok, it's great that you've updated it so users can place a storyline. The admin admit that is required is not a function that will users let think twice about starting a story. ;)

Yep, we had a major database failure in the searchindex, but i could repair that with the repair.php from vb itself.

If the "memberlist" display is solved i give it another try.

Ninth Dimension
08-24-2002, 11:00 PM
Well, as for the moment there is sod all to do with this, I think i'll bugger off and get some food or something.

As I said before, I can fix this problem but at the expence of an extra 30 or so queries on the showall page (all they do is get the username of the chapter's author) but it's 30 queries too many, and i know that this can be fixed without having to do that, I just don't know how.

NexDog
08-24-2002, 11:49 PM
Hey, you changed your name!

I could live with the queries as we are about to move forum to a dedicated server. ;)

Ninth Dimension
08-25-2002, 02:26 AM
YAY!!! my name changed

:banana: :banana: :banana: :banana: :banana:

I guess that an extra 30 queries won't hurt that much, it's only on one page, and it will only be pulling a very small ammount of data from the server - but i'm going to try and not let this damn sql query get the better of me.

if it's not fixed by this time tomorrow, i'll go for the 30 query route :)

TalkHardRandy
08-25-2002, 06:13 AM
Very Cool 9th!!! As a child of the 80's I love "choose your own adventures"...

But I have one question, and maybe this is more a presentation than programing - how do you end a chapter before the 20th level? Meaning that if someone chooses a path after 7 "chapters" & it kills them... then they're done.

Any ideas?

Goldknight
08-25-2002, 06:14 AM
30? if you couldnt find the solution, try to PM Firefly but I m not sure if he is here or not.

Erwin
08-25-2002, 07:57 AM
I'm still running 0.50 - what's the simplest way to upgrade without changing anything? I've already modified the templates and admin files quite a bit. :)

Ninth Dimension
08-25-2002, 09:36 AM
TalkHardRandy, You can't. It's not really designed in such a way as being able to die, it's more of a story than an advanture. One way that you could look at it is to say that you are telling your grandchildren a children, about something that happened to you in the past (which obviously means if you are telling the story, then you muct still be alive :))

Goldknight, I'd prefer not to bother him if possable. Anyway, he is away at the moment.

Erwin, eeerrrmmm, you are going to have a pain in the arse trying to upgrade, I've chaged all the templates, not only from a design point of view, but also because some of the sections variables have changed.

The good news is that you won't need to re-do the database :D

As I said, this is very close to being complete now, as long as the current verson does not have anymore bugs (apart from the one on the show all page) then it will be the released verson.

Erwin
08-25-2002, 10:05 AM
Okay... things are stable with 0.50... I'm going to wait since 0.93 doesn't seem to have anything new except user submissions. :)

TalkHardRandy
08-25-2002, 10:37 AM
Hmmm... I'm thinking there has to be a way to end a path before Chapter 20... not necessarily for dying, but maybe reaching the end early. Just thinking about how the old CYOA books were written.

Regardless, our users will love it... though they probably won't like it ending after 20 chapters (long winded Brits that they are :D )

Ninth Dimension
08-25-2002, 11:43 AM
Erwin - The full release (which is just arround the corner) supports a lot of nice and extra things, and is a lot more stable 0.5.0. But you are right to wait for the final, then please feel free to edit the templates as you see fit :) - Do you have a URL that I can look at?

I've also noticed that you are a bit of a coder yourself, might you be able to help me with the show all page problem that the latest release has? It's the only thing holding me back :)

TalkHardRandy - If you want to, you can reduce the number of chapters, or even increace them, just open the vbstory.php file and edit the $maxchapters variable. However I would not recomend going over 30 (PHP cant handle intergers large enough).

Ninth Dimension
08-25-2002, 03:49 PM
I've fixed the show all page problems

and i've been able to do it without the extra 30 queries. I'd like to thank Karl of KDA Web Services (http://www.kdawebservices.com/) for his help (it was he who fixed the problems, but lets not tell anyone, OK?)

Please goto the first post to download, if you are upgrading from RC3, all you need to do is replace both the vbstory.php and vbstory_admin.php files.

(this is so close to final I can FEEL it).

Goldknight
08-25-2002, 04:09 PM
woot woot, I m going to test it right away!

*kneel & bow*

Goldknight
08-25-2002, 04:12 PM
<font size="6">IT WORKS!</font>

*dance* ---> :banana: :banana: :banana: :banana: :banana: :banana: :banana:

Thanks! it is perfect now.

Ninth Dimension
08-25-2002, 04:23 PM
Good, provided there are no further problems this will the last release before the final.

Get testing everyone!!!!! :)

Apok2002
08-26-2002, 05:52 AM
Wow, Daniel...I leave ya alone for a few days and look at the growth of this bad boy! :) I'm still using beta 0.4.2. hehe Sounds like a lot of changes have been made, you even changed your name! hehe I will look forward to checking our the changes in the hack. :)

Since the final is right around the corner though, I think I'll wait. I don't wanna make my members restart their lengthy stories again, I've had to do that too many times on them already. :) But they have been warned that it's going to happen again real soon (when the final is ready). :)

Ninth Dimension
08-26-2002, 09:53 AM
To be honest with you I'd prefer if you was to upgrade to the verson that is online now. I want to make sure that it's 100% bug free before I release the final.

I don't think that you will need to change the database, I'm fairly certan that I've not changed it's structure in anyway - and even if I have changed it (and you have to erase the tables you currently have) - I really can't see any need to add extra tables to it.

I'd really apprechate it if everyone upgraded to this verson, or helped me test it out on a local machine, or on a test forum, I want to be 100% sure that this is going to work before I release it as a final.

inetd
08-26-2002, 10:30 AM
When you make final release? :)

Ninth Dimension
08-26-2002, 11:23 AM
Originally posted by inetd
When you make final release? :) When I'm happy that all the bugs have been erased.

You can help me out in that respect by installing this beta and telling me if you get any errors.

Ninth Dimension
08-26-2002, 01:10 PM
OK, i've just set-up asked John if he would set-up a demo for me on his test forums, so that I can get this hack finilised ASAP can you please go and sign-up to his forums (http://www.eovie.com/forum/) and then use the story (http://www.eovie.com/forum/vbstory.php)

The sooner I can get an all clear, the better :)

Cheers all.

Ryangel
08-26-2002, 01:41 PM
Come on. Onion Man needs a life. :D
Help onion MAn!

ok, one question. What if 2 users were adding a chapter at the same time?

Ninth Dimension
08-26-2002, 01:48 PM
Originally posted by Ryangel
ok, one question. What if 2 users were adding a chapter at the same time? Whoever submits the chapter first will have it added, the second user, once they hit the submit button will receve a message telling them they where too late, and is given the ability to view the chapter that was added.

I was thinking on working on a more advanced verson which would prevent you from seeing the submission form if someone else was currently adding a chapter, but it's not going to be included in this verson.

xxxsaint
08-26-2002, 02:22 PM
I helped onion man !

bitbender
08-26-2002, 05:25 PM
Gonna Go ahead and try rc4 on my test server...

I will report back later!

Ninth Dimension
08-26-2002, 08:19 PM
bitbender, any luck? any problems? any comments?

bitbender
08-26-2002, 10:47 PM
Well, I was 'tupid, and REFUSED to believe your comment about UserId, and typed in my admin name.

"Instant" assignment of the author ID of '0'(zero) in the chapters table, rendering it undisplayable on the story.php page.

I figgured I did sumpin wrong, so whence I arrived home from the office, I rechecked my templates, and code, all looked well..then I read thru this post, and low and belold on about page 6 or 7 (I fink) there was a case where someone had left author blank, and received a "similar" sit, so's I goes phpmyadmin, and ya, und Bit's is a Dufus. Thankfully MyPhpAdmin is made for moments like that!
A quick set to my user #, and we were off to the races!!

I'm going to to some deep 6 testing on it, now...Back soon!

Ohh, I'm running 2.2.6, and VBportal 3.0 pr8.1, with a buncha hacks, whole buncha hacks.

Film at 11

Keep at this, I like it already !

Ninth Dimension
08-26-2002, 10:59 PM
bitbender - well, you do have a way with words :) - I'm glad you like the hack.

I'm going to have to do something about that, maybe a little message saying that it's important with a link to the members page so they can get the user ID.

If, however, a user suggests a story, it will automaticly be entered in, so that's not really a problem anymore, but i'm going to keep the userid option in the admin for the moment, maybe setting the default as 1, just incase the admin/mod has to add a story for someone that's not quite intelegent enough to use the suggestion form :)

(BTW, I got the idea of having a user's ID number from TWTcommish's vBquiz hack, and if it's good enough for him, it's good enough for me - he is also the tetris king on my arcade (the bastard LOL)

* Ninth Dimension see's TWTcommish and runs.

kira
08-27-2002, 12:30 AM
Hi there! I've installed the latest beta on my forums but haven't brought it "live" yet to my members; you can check it out right here (http://www.episodicreview.com/forums/vbstory.php) if you want to see some of the template tweaks I've done. (My forum layout uses a left column, which tends to push everything out to the right if I'm not careful.) Also, I changed some of the text to suit my community, which is largely for writers anyway. Here's the testing I've done so far:

- Created genres and a first story
- Added a chapter and two different path chapters.
- Edited the chapters.
- Suggested a story, then made sure it showed up in the admin panel.

So far everything has worked perfectly! Woohoo! :banana:

I do have a possible suggestion, though. When clicking on one of the paths that hasn't yet been written, I receive the standard "Now it's your turn!" page. So far so good. But if I continue on to the "add chapter" form, it would be great if the page could include the title of the path I've chosen, to "remind" me of the choice I made. Like, above the text field I'd be able to see the path title, such as "The Intruder Attacks..."

Do you think this is feasible? What can I say, I have a short memory. :)

Anyway, this is a totally kickass hack and I can't wait to bring it live. Super job, and many many thanks!

bitbender
08-27-2002, 12:49 AM
Originally posted by Ninth Dimension
bitbender - well, you do have a way with words :)

Writing RCA's (Root Cause Analyses to upper management gives a person the "silver tounge"!

THe ID thing is FINE, I was just being stuborn as germans are, sometimes(or so my dutch friends tell me). I also have VBQuiz installed on my board, and it's a great hack, also, and yes, he does use the the userid #, not name....

hmmmm...perhaps a eregi check to see if the field contained letters, instead of numbers??

If you don't mind, I may "play" a bit wif my copy, for now! :banana:

* bitbender reminds himself to take several backups, now.....

Ninth Dimension
08-27-2002, 01:15 AM
Originally posted by kira
I do have a possible suggestion, though. When clicking on one of the paths that hasn't yet been written, I receive the standard "Now it's your turn!" page. So far so good. But if I continue on to the "add chapter" form, it would be great if the page could include the title of the path I've chosen, to "remind" me of the choice I made. Like, above the text field I'd be able to see the path title, such as "The Intruder Attacks..."

Do you think this is feasible? What can I say, I have a short memory. :)First off I just want to say that I'm glad you like the hack :D and that I love how it looks on your site ;). The chapters you have written are about the right size for it to look good and be an interesting read. (N.B. I'm thinking about adding a feature that will block chapters that are too short).

Second, I think that this is a fantastic idea, although i'm not 100% sure how esay/hard it's going to be to do. I'll have to think about that one.

I do have one idea oh how to enable your suggestion, and should only need two template edits plus some extra lines to the file, but it's not the tidyest of ideas, so I'm going to work on another idea that I have for it first.

- unrelated(ish) -

Another problem that I have is that if you look at the show all page it does not show which path was taken at the end of each chapter. with the way I have coded it, it's near impossable for it to be added (without add FARFARFAR too many queries to that page, which I really don't want to do).

Anyway, it's like 3:13AM here :sleep: so i'll try to work on your suggestion tomorrow.

Ninth Dimension
08-27-2002, 01:17 AM
Originally posted by bitbender
hmmmm...perhaps a eregi check to see if the field contained letters, instead of numbers??In theory doing this is fine, I just don't know what code I would need to use to make it happen :(

Goldknight
08-27-2002, 01:50 AM
Sorry for not post lately, I m stuck with college craps =\

Ok, I m still working on my forum so I close it but only me can access and build it.

It works perfect on my net server. Many thanks. (Also yes you re r ight, it s something wrong with my local server but I fix it and it work now)

Here s attachment of screenshot..

Ninth Dimension
08-27-2002, 01:55 AM
Goldknight - looking good :D

Goldknight
08-27-2002, 02:08 AM
=D many thanks to you and your wonderful hack!! my members would love it

NexDog
08-28-2002, 05:59 AM
Is this ready and stable now?

NexDog
08-28-2002, 11:54 AM
* NexDog still want to know. :)

C'mon, Ninth, you at work or something??

Ninth Dimension
08-28-2002, 01:14 PM
I was sleeping :sleep:.
The hack, I think is very stable at the moment, stil has one more bit that I want to add to it, but very stable.

Because I've seen how long the support threads for some hacks can get, I wan't to make sure that it's as perfect as can be, because while I don't mind offering support to people that install it, I'm not going to be able to spend half the day doing it :D

One more pre-release, then i'll release the final (unless, as I have always said, a huge bug is found, or someone suggests a fantastic addition - like kira did :))

NexDog
08-29-2002, 12:12 AM
damn, can't wait to get it. I'd love to help and Beta test it but I ain't that sure of meself. :D

Ninth Dimension
08-29-2002, 09:28 AM
OK, I've got some bits I need to get done today, but as soon as I have done them i'll upload the last beta and you can upgrade.

Upgrading from the current to the new one should just be a case of replacing one to three templates and the two files.

But i'll keep you updated.

NexDog
08-29-2002, 11:11 AM
Sweet.:)

Odil
08-29-2002, 11:58 AM
Hi all

I can't seem to get past the add chapter part, I click on either path and I get to the add chapter, I click that and I get the add chapter bit again and agin. What can I check to get this working?

Odil

Ninth Dimension
08-29-2002, 12:03 PM
Do you have a URL that I can look at? Make sure you are using the latest templates.

Ninth Dimension
08-29-2002, 02:23 PM
I've finished

Please visit https://vborg.vbsupport.ru/showthread.php?s=&threadid=42899 for more info and to download.

:banana: :bunny: :banana: :bunny: :banana: :bunny: