Jump to content

Released: Blades Forge


Aran

Recommended Posts

Joyous day!

 

I contacted Support about the slow server. At first they tried to give me their 101 "you lose for using shared hosting but you can get OMGDEDICATEDSERVER for so cheap" pitch, but when I quoted them the server's load stats of between 25-50, apparently they saw sense and fixed whatever caused it. The upshot is that my Drupal sites are now lightning fast, loading in under 1 second in many cases. I'm very happy, and I'm glad I switched to DH. I doubt this would have worked so quickly with my last host.

Link to comment
Share on other sites

Quote:
Originally written by Arancaytar:

Slight change of plans: To avoid confusion, please use the newly created "Resource" type for anything that isn't actually News. Allowed extensions now include zip and several more.
Apparently not. My zip file failed to upload.
Link to comment
Share on other sites

I checked and couldn't find out what was wrong. Could you quote the error message (removing file paths if they exist wink )?

 

The only problem I could possibly see is if your file is larger than the 4 MB limit. I've raised that to 6 just in case.

 

Also, new features.

 

- Next to the CSR score and rank that is already displayed on scenario pages, there is now a link directly to the corresponding topic on the Lyceum. Besides convenience, scraping the data without advertising the origin just would not be polite.

 

- Below the scenario, a list of the topics that reference it (by full name, in the topic title, correctly spelled) in forums 7, 15 and 18 is displayed. This list is pulled off PPP and cached for a day because of the long time it takes to process PPP searches.

 

I was planning to add a post search (with even longer caching times), but that will have to wait until PPP's post search stops sucking by searching signatures. Scenario titles are listed in signatures enough to render the search useless.

Link to comment
Share on other sites

That's easy to explain, but tough to fix.

 

- I use Views to show graphics and scripts in tables. These are shown with a brief description .

- When adding the "body" field of a CCK node (which all of these are) to a View, this body field will include all the other fields of the node (thumbnail, script source, etc.), which would look stupid in the table. There is no way to access only the text of the node.

- To solve this, I make the View show only the teaser of the node, and make CCK hide the other fields in the teaser.

- The result is that the front page (also showing only teasers) will display very little information.

- To solve /that/, I replace the front page with yet another View that shows the entire node.

 

The end result is that the front page displays full nodes, and ignores teaser cut-offs. I have a few vague ideas how to work around this, but haven't yet tried any of them.

Link to comment
Share on other sites

The error appears to have been one-off as I can manually restore the scenarios. As this is my mistake, I'm going to go through the affected scenarios tonight to give them the proper ratings as set in their binary files.

 

  • A Good Beginning
  • El Presidente
  • Embers of Rebellion
  • Kill Them Dead
  • Kingdom Hall
  • Roses of Reckoning
  • The Nephil Search: Escape
  • Where the Rivers Meet

Sorry everyone, especially Nikki and Thralni seeing as most of these are yours. =P

Link to comment
Share on other sites

In other news, 10 is now accepted as a valid CSR score, which means the previously missing 6 masterpieces are now included.

 

Code:
- '/^ *([A-Za-z0-9,:\' -]+) - ([0-9](\.[0-9]{1,2})?) (\(([0-9]\.[0-9]{1,2})\/([0-9]\.[0-9]{1,2})\))?$/'+ '/^ *([A-Za-z0-9,:\' -]+) - ([0-9]{1,2}(\.[0-9]{1,2})?) (\(([0-9]{1,2}\.[0-9])\/([0-9]{1,2}\.[0-9])\))?$/'
I am looking at recognizing empty rating threads so I can link to those too.
Link to comment
Share on other sites

A new error for you, Aran:

Code:
warning: Invalid argument supplied for foreach() in {path redacted}/software/drupal/addons/modules/contemplate/contemplate.module(589) : eval()'d code on line 6.
This appeared when I hit the 'Preview' button on the scenario submission page. It may have been caused by the fact that I entered only a space in the tagline field, because Stairway has no description, thus I didn't really want to add a tagline. However, it didn't go away when I gave in and entered some actual words.

 

EDIT: Added a linebreak to cut down on screen streching.

Link to comment
Share on other sites

  • 2 weeks later...

"Parsing error in eval'd code" errors always mean that I made a typo while entering code in a dynamic template, that I noticed it a few moments later, but you had the misfortune of loading the page in the two minutes before it was fixed. smile

 

---

 

Also,

 

forum-s.png

 

Although the forum is almost assured to remain empty forever, at least it now looks a bit like a forum and less like a blog trying to dress itself up as a forum. Many thanks to Michelle for the advanced_forum module.

Link to comment
Share on other sites

Also, I have just realized that in adding avatars to the forum, I have wreaked monstrous havoc on the front page by placing avatars there too - including Nikki's, in all its full-page glory. I'll have to cut down those sizes somehow, and probably remove them from the front page to improve load times.

Link to comment
Share on other sites

Um, yeah, it's not just on the front page it's doing that. It's doing it on the Scenario pages (see AGB\'s entry for a particularly nasty example), on the scripts pages, and on the Graphics pages. Yikes.

 

The latter two (scripts & graphics) aren't that bad a problem, but on a scenario node, it'll compress and shove text aside. With a small avatar, this is a mere annoyance. With a larger one... well, it isn't pretty.

Link to comment
Share on other sites

Policy 1: Avatars are now limited to 80x80, scaled on upload. I know that gigantic avatars can be fun, but I think this is a pretty sensible limit.

 

Policy 2: Avatars are only displayed next to comments or blog/forum posts. This will avoid collision with the complex scenario page template, and clutter on the "utility" nodes of graphics and scripts.

Link to comment
Share on other sites

What, was it bigger than mine? I think mine was 150x150 pixels...

 

Edit: I wish the Recent Posts page would tell the absolute time of the post, rather than the relative time (or both, I suppose). (eg, "February 7, 2008 at 6:18" instead of "1 hour ago".) Is that doable?

Link to comment
Share on other sites

Quote:
That's easy to explain, but tough to fix.

- I use Views to show graphics and scripts in tables. These are shown with a brief description .
- When adding the "body" field of a CCK node (which all of these are) to a View, this body field will include all the other fields of the node (thumbnail, script source, etc.), which would look stupid in the table. There is no way to access only the text of the node.
- To solve this, I make the View show only the teaser of the node, and make CCK hide the other fields in the teaser.
- The result is that the front page (also showing only teasers) will display very little information.
- To solve /that/, I replace the front page with yet another View that shows the entire node.

The end result is that the front page displays full nodes, and ignores teaser cut-offs. I have a few vague ideas how to work around this, but haven't yet tried any of them.
By fixing a bug in the Views module , I have been able to get rid of all this mess. The front page now displays teasers as it should.
Link to comment
Share on other sites

With any luck, the release of Drupal 6 will soon receive a good deal of online publicity. However, if you are wondering when it will be deployed on the Blades Forge (currently on the Drupal 5.x CVS branch), the answer is unfortunately not very soon.

 

Firstly, I'm waiting for the CCK and Views modules to be ported - those are two hugely popular addons that the Forge is using to provide all those content types (Graphics, Scenarios, Scripts, etc.) along with the overview tables to search the site.

 

Secondly, there is a good deal of smaller contributed modules that will take some time to get ported.

 

Thirdly, I've written tons of custom code myself, which won't be easy to update for the new API. And that doesn't even count the five core "hacks" (/~username URLs, say) I've had to place in the code in order to get it to do what I wanted when writing a module was not possible.

 

In short, expect the entire Ermarian Network to be on D6 before the Forge is, and expect it not before July. But I will work on it soon. smile

Link to comment
Share on other sites

  • 3 weeks later...

Just a heads-up due to everyone re-releasing their scenario without spaces in the filename: The bug was supposedly fixed, so that scenarios with spaces now work just fine. If it's still not working for some reason, there is another unknown bug, and if you actually encounter it I'd like to hear more. Thanks.

Link to comment
Share on other sites

Yeah, they weren't showing up, but no error was being displayed, hence me re-releasing. I assumed that the fix was for new scenarios, and not one of the old ones.

 

Anyway, if I clicked on to one of my scenario releases, it showed me the file sizes for both the Mac and Windows download, but not the actual links.

Link to comment
Share on other sites

  • 4 weeks later...

A minor thing...

 

I loaded a page while logged in, then left and came back later (leaving the page open). I decided to post a comment, but it turned out that my login had expired. Rather than presenting me with the option to log in, it simply reloaded the page – losing the comment box and adding a message at the top saying I was not validated to post comments (because I was no longer logged in). The problem here is that the comment I was going to post was lost.

 

Now, this isn't a situation that is likely to come up very often, but I would expect that if you try to do something that you need to be logged in to do, and you aren't logged in, it should present the log-in screen and then allow you to proceed with whatever you were doing.

Link to comment
Share on other sites

Quote:
Originally written by Celtic Minstrel:
A minor thing...

I loaded a page while logged in, then left and came back later (leaving the page open). I decided to post a comment, but it turned out that my login had expired. Rather than presenting me with the option to log in, it simply reloaded the page – losing the comment box and adding a message at the top saying I was not validated to post comments (because I was no longer logged in). The problem here is that the comment I was going to post was lost.

Now, this isn't a situation that is likely to come up very often, but I would expect that if you try to do something that you need to be logged in to do, and you aren't logged in, it should present the log-in screen and then allow you to proceed with whatever you were doing.
I disagree. In my opinion, not only should what happened to you continue to happen, but the Blades Forge should draw a number from 0 to 4 every time you try to post something, and if it's less than 2, it presents you with a screen that says "Ha ha! Idiot!" and makes you do it again.
Link to comment
Share on other sites

Quote:
Originally written by The Almighty Doer of Stuff:
I disagree. In my opinion, not only should what happened to you continue to happen, but the Blades Forge should draw a number from 0 to 4 every time you try to post something, and if it's less than 2, it presents you with a screen that says "Ha ha! Idiot!" and makes you do it again.
Someone's been spending too much time with UBB. :p
Link to comment
Share on other sites

Unfortunately, this is beyond my ability to fix. Drupal 6 has better form handling, but (see above) it will be quite a while before the Blades Forge is ready to be upgraded.

 

I could place the comment form on a different page, but that would require an extra page load whenever you want to post - not worth the slight chance of being logged out in the mean time, I think. If the form page has been open for a long time, you should reload to make sure the form is still available - normally sessions don't expire that quickly.

Link to comment
Share on other sites

They replace it, and the old version is not kept. There are a few problems that make keeping revisions very impractical.

 

  • Edited posts are more or less found only by accident, as I only re-archive threads when someone's bumped them. And multiple edits before the next re-archiving wouldn't be saved. So even if I did keep revisions, they would be unreliable and incomplete.
  • Signatures are archived as part of the post , and this isn't easy to fix. If you changed your signature, all your posts would be saved as new revisions. Lots of clutter.
  • The ppp_posts table is 1 GB big as it is, and only navigable through heavy indexing and optimization. Putting old revisions in it would make it too hugemassive.
  • If content is deliberately censored (through editing, not pruning) from the forum, it will disappear from the archive. If it were kept, I'd have to take a more active role in moderating it.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...