Chaos Project

Community => News / Suggestions / Feedback => Topic started by: Blizzard on May 11, 2012, 02:06:13 am

Title: New Script Database
Post by: Blizzard on May 11, 2012, 02:06:13 am
Quote from: winkio on May 11, 2012, 12:40:06 am
Also, my second job is getting blocked by my university, so I may have more time to spend around here starting next week :D


I should totally get you to redesign the Script Database to be inside the forum's skin instead on the homepage.
Title: New Script Database
Post by: Boba Fett Link on May 11, 2012, 06:35:30 pm
Quote from: Blizzard on May 11, 2012, 02:06:13 am
I should totally get you to redesign the Script Database to be inside the forum's skin instead on the homepage.


Great idea.

Quote from: Blizzard on May 11, 2012, 12:17:14 am
I'm like the blood of this community. When I'm gone, everything starts to wither and die.


Next time you're sick (which could happen any time) we should all volunteer to give blood to Chaos Project. :V:
Title: New Script Database
Post by: Blizzard on May 12, 2012, 12:53:10 am
Quote from: Boba Fett Link on May 11, 2012, 06:35:30 pm
Quote from: Blizzard on May 11, 2012, 02:06:13 am
I should totally get you to redesign the Script Database to be inside the forum's skin instead on the homepage.


Great idea.


He'd even have a couple of good resources beforehand. I can give him the Shoutbox Archive PHP file and the SQL queries I used to obtain the data. All he had to do would be add drop-down menus to select the RM and script category and then generate the content with links using those settings.

Quote from: Boba Fett Link on May 11, 2012, 06:35:30 pm
Quote from: Blizzard on May 11, 2012, 12:17:14 am
I'm like the blood of this community. When I'm gone, everything starts to wither and die.


Next time you're sick (which could happen any time) we should all volunteer to give blood to Chaos Project. :V:


:V:
Title: New Script Database
Post by: winkio on May 12, 2012, 01:50:01 am
If you send it to me within the next 12 hours, I will have it done within the next 24 hours.
Title: New Script Database
Post by: Blizzard on May 12, 2012, 03:23:09 am
Sent. As I already said, if you can't finish it and if you can get things working at least in concept, I can take it from there. That would still reduce my workload a lot.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on July 30, 2012, 01:06:35 pm
*pokes winkio*
Title: Re: New Script Database (split from "Hospitalized")
Post by: winkio on July 30, 2012, 01:10:53 pm
Lol, I can't believe I've forgot about this!  I've even had the time to do it recently!

I'll work on it today, and hopefully have it done.

EDIT: work came up.  Will finish.
Title: Re: New Script Database (split from "Hospitalized")
Post by: nathmatt on August 14, 2012, 08:42:38 am
Quote from: Blizzard on July 30, 2012, 01:06:35 pm
*pokes winkio*
Title: Re: New Script Database (split from "Hospitalized")
Post by: winkio on August 14, 2012, 02:59:50 pm
I am aware.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on September 06, 2012, 04:38:12 am
*pokes winkio's dead body some more*
Title: Re: New Script Database (split from "Hospitalized")
Post by: winkio on September 06, 2012, 11:53:04 am
Thanks.  Not lacking motivation, plan on finishing this and being more active soon.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Boba Fett Link on September 06, 2012, 08:14:38 pm
 :o He lives!
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on September 06, 2012, 10:26:28 pm
Can't wait to see it. <3
Title: Re: New Script Database (split from "Hospitalized")
Post by: winkio on October 25, 2012, 12:59:56 am
Sent you a pm.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on October 26, 2012, 12:42:09 pm
And it has been added. <3
Title: Re: New Script Database (split from "Hospitalized")
Post by: Ryex on October 26, 2012, 02:18:27 pm
thats one smexy database
Title: Re: New Script Database (split from "Hospitalized")
Post by: winkio on October 26, 2012, 07:48:40 pm
Yay.  One project down, two to go (Blizz-ABS 2.85 and Blizz-ABS 3.0 are the other two).
Title: Re: New Script Database (split from "Hospitalized")
Post by: G_G on October 26, 2012, 08:43:59 pm
Awesome job winkio! :D
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on October 27, 2012, 04:05:39 am
winkio probably saved me hours of work. I still had to edit the template's PHP/HTML to get a nice grid like this (which isn't something he could have done blindly), but it was simply trial and error because I had the right data to work with from the beginning. :)

THE NEW DATABASE! - brought to you by your admins
Title: Re: New Script Database (split from "Hospitalized")
Post by: Memor-X on October 28, 2012, 04:54:19 pm
ooooooo, i'm having a spasm from seeing the new database, it's a lot better than the old one, easier to read to with it now being in a visible table (i think the old one was in a table but was hidden)
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on October 28, 2012, 06:13:01 pm
There were no borders before and now all topics are aligned globally. The old database aligned only the scripts from the same category in a table. Plus, this one is completely integrated with the forum skin.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Ryex on October 28, 2012, 06:29:46 pm
from a programming aspect it's implemented as a forum action in much the same way your profile pages is an action. where as the old database was a standalone php page.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on October 29, 2012, 03:56:34 am
Previously it wasn't so much a standalone PHP page as it actually was a custom component in the Joomla CMS.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Magus on October 31, 2012, 12:18:07 pm
I can't believe I haven't noticed this. Epic --just as I was finally thinking I should get back into Rmxp one time and actually start a serious project.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Apidcloud on November 15, 2012, 07:46:07 pm
May I ask if "everything" you did was look all the topics' titles and organize them according to its tags? (With "everything" I'm not being sarcastic, I'm just asking if that is the "only" thing that had to be done)



Title: Re: New Script Database (split from "Hospitalized")
Post by: Ryex on November 15, 2012, 08:02:08 pm
the script database is automated, there is a php script that analyses topics in the database board and pulls the needed information to sort them in the list.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Apidcloud on November 15, 2012, 08:14:42 pm
Ah yes, I forgot about the automated system  :haha:

So yeah, when you create a new thread, that php script automatically picks the needed information(by using tags) in order to add it to the database and sort them categorically.
So nice  :)

I wonder if this actually one of the only forums that actually use a fully automated script database..

Also, couldn't we make a database for everything - not everything - ? Including event tutorials 'n stuff
Title: Re: New Script Database (split from "Hospitalized")
Post by: Ryex on November 15, 2012, 09:48:22 pm
we could, but do you have time to make it? non of us do :P
Title: Re: New Script Database (split from "Hospitalized")
Post by: Apidcloud on November 15, 2012, 09:54:17 pm
Well, I never programmed in php but it doesn't seem that difficult(issue-wise)

Edit:
Can I take a look on that php script that winkio made?
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on November 16, 2012, 05:41:23 am
That's why it's important that the topic header fits the template. The PHP script expects the to be in a specific format and analyzes them for the necessary data (that includes [XP] and similar tags as well).

Quote from: Ryex on November 15, 2012, 09:48:22 pm
we could, but do you have time to make it? non of us do :P


Honestly? It would probably take me half an hour as I can simply copy-paste and edit some code. But that isn't the reason why we haven't done it so far. There simply aren't so many tutorials/event systems that it really makes sense. Scripts on the other side, we have currently a few hundred of those so the situation is a bit different and it's difficult to find what you need. Also, event systems are usually harder to categorize.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Apidcloud on November 16, 2012, 07:13:19 am
Well, its true that it may be hearder to categorize event systems, but they are pretty much the same as scripts...internally, they are eventually the same :p I think that it would be nice to have an event automated database. No1 would stop us from adding more tags or what not, and yes, tags are really essencial  :)
Title: Re: New Script Database (split from "Hospitalized")
Post by: Blizzard on November 16, 2012, 10:15:18 am
What really would need work is editing all topics and making sure all headers are correctly set up.
Title: Re: New Script Database (split from "Hospitalized")
Post by: Apidcloud on November 16, 2012, 02:33:51 pm
Quote from: Blizzard on November 16, 2012, 10:15:18 am
What really would need work is editing all topics and making sure all headers are correctly set up.


Indeed :) But after that, it would be easy to have a complete automated database ^^  :)
Title: Re: New Script Database (split from "Hospitalized")
Post by: G_G on October 25, 2015, 01:18:20 am
Quick necro to mention that we should probably add MV scripts to the actual database button up top.
Title: Re: New Script Database
Post by: Blizzard on October 25, 2015, 02:51:42 am
Sure. I'll do it later.
Title: Re: New Script Database
Post by: G_G on October 25, 2015, 02:57:57 am
Would it be possible to use regexp and sub out the tab "\t" and replace with like 4 spaces "&nbsp;"?
Title: Re: New Script Database
Post by: Blizzard on October 25, 2015, 08:22:57 am
I guess. But what for?
Title: Re: New Script Database
Post by: ForeverZer0 on October 25, 2015, 08:47:01 am
I personally prefer the tab. If you don't like the formatting, it is always possible to change the tab space, but not the other way around.
Title: Re: New Script Database
Post by: G_G on October 25, 2015, 09:41:44 am
Quote from: Blizzard on October 25, 2015, 08:22:57 am
I guess. But what for?


LOL Wrong topic. Meant to post this in the syntax highlighting topic. xD