System thinggggsss....
Jun. 10th, 2009 10:00 amHi 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:
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.
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.
no subject
Date: 2009-06-10 02:11 pm (UTC)Awesome job.
no subject
Date: 2009-06-12 08:09 am (UTC)no subject
Date: 2009-06-12 11:24 am (UTC)lol. Give me an option to play with a toy and I'm playing with it! ;D
no subject
Date: 2009-06-12 11:28 am (UTC)no subject
Date: 2009-06-12 11:30 am (UTC)no subject
Date: 2009-06-12 11:40 am (UTC)no subject
Date: 2009-06-10 02:33 pm (UTC)no subject
Date: 2009-06-12 08:12 am (UTC)no subject
Date: 2009-06-10 09:21 pm (UTC)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?
no subject
Date: 2009-06-12 08:15 am (UTC)So yes, I wouldn't worry too much, we don't use those dates for anything, it's more, for example, if a member left, then was resorted, we'd need to know which was the older account. Things like that. But there are kinda timestamps that do that job for us anyway.
no subject
Date: 2009-06-12 11:08 am (UTC)