vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vBstory - an Interactive Story for vB (0.94 RC4) (https://vborg.vbsupport.ru/showthread.php?t=42459)

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

Quote:

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

Quote:

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 40
I'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:

Quote:

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

Quote:

$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 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

Quote:

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.


All times are GMT. The time now is 02:34 PM.

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.01424 seconds
  • Memory Usage 1,828KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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