[identity profile] theaeblackthorn.livejournal.com posting in [community profile] hogwartsishome
Hi All!

Some more updates to the System, mainly because the loading time for the new pages was driving me mad. It was because it loaded everything and then just hid the stuff you didn't want to see.

Now each tab reloads the page differently. The new method involves using GET variables to control what you're viewing. That is, you know the url was:

http://hih.leaky-sponge.com/activity_viewer.php

And it went to your default view and you could mess about from there. Now the URL will look something like:

http://hih.leaky-sponge.com/activity_viewer.php?default_view=Approved&sort_sd=2009-06-01&sort_ed=2009-06-30

With the new bits being:

  • default_view=Approved

  • sort_sd=2009-06-01

  • sort_ed=2009-06-30


Which as you might guess, are holding your default filter values when you first load the page.

As you go to view different 'tabs' on the page, then different values will be places into the default_view. Changing the dates you're viewing will changes the sort_sd and sort_ed.

If you enter no variables, it defaults to your default filter values.

Which means things will just be a tad quicker for people using the system. And none of you need to do anything. Explained here is just a cool use of it. However, if someone wants to point someone else to a specific page/tab/date view combination thing, they can simply navigate there using their version of the system and copy the URL to another person and they'll be able to see.

This holds for the officialspanel.php (Manage Activities) and the pendingactivities.php (Approve Activities) views as well. Although as always officialspanel will only show a user activities from communities they're listed as the mod of.

I also did some other hih mod features. And there's a random member generator, which was requested for The Order. Hm.

Date: 2009-06-10 02:11 pm (UTC)
From: [identity profile] caketime.livejournal.com
Haha, I was wondering about the random member generator!
Awesome job.

Date: 2009-06-12 11:24 am (UTC)
From: [identity profile] caketime.livejournal.com
*cough cough* ERM YEAH I DIDN'T TRY IT OUT NOOOO.

lol. Give me an option to play with a toy and I'm playing with it! ;D

Date: 2009-06-12 11:30 am (UTC)
From: [identity profile] caketime.livejournal.com
Wow, it's almost like magic. ^_^ Coding is like a seekrit language for an intelligent society.

Date: 2009-06-10 02:33 pm (UTC)
From: [identity profile] rhye.livejournal.com
lol, that "hm" is stressing me out, what does it mean!?

Date: 2009-06-10 09:21 pm (UTC)
From: [identity profile] mmailliw.livejournal.com
I've looked at it, but it seems I'm entered incorrectly!

Sure, my name and house are correct, but my 'date sorted' is given as '0000-00-00' (I'm pretty sure I was sorted on May 3), and it also gives me a 'date appealed' (asking the mod to recount the votes is NOT an appeal the last time I checked!) of '0000-00-00' as well... am I just seeing things?

Date: 2009-06-12 11:08 am (UTC)
From: [identity profile] omfgerbear.livejournal.com
Lol, the random member generator's fun. :3

Profile

hogwartsishome: (Default)
Hogswarts is Home

January 2023

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
29 3031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 3rd, 2026 01:21 pm
Powered by Dreamwidth Studios