Author Topic: [SMF 1.1 & 2.0] Team Page Modification 1.1  (Read 26163 times)

Offline JaMiE.B

  • Newbie
  • *
  • Posts: 5
  • Love Is A Powerful Thing :)
    • ''United Admins''
    • Email
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #90 on: Nov 23, 2011, 03:49:24 »
oh ok is there any way i can fix this myself?

Online Arantor

  • Hero Member
  • *****
  • Posts: 827
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #91 on: Nov 23, 2011, 05:26:29 »
Not unless you're familiar with PHP and how SMF works. Essentially you'd need to replace the settings DB query with a reasonably similar updateSettings() call.
When you want help, I'm likely to ask you questions. It's not because I'm a stubborn pain in the backside, it's because I need that information to actually be *able* to help you. Sooner you provide it, sooner you get help, simple as that.

Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5656
  • Civilian Support
    • Files4Design
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #92 on: Nov 23, 2011, 08:53:40 »
I'm gunna release an updated version soon

We have not heard from the author since their last post almost two weeks ago. Allow a bit more time, hopefully they will return with an update. One just needs to be patient.

 ;)
I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #93 on: Nov 29, 2011, 11:13:15 »
I already made an updated version, I just haven't packed it up for a release yet.

I've literally rewritten the entire mod from scratch, however I haven't done the installer or other mod-specific related things as I don't really release my mods to the public anymore.

Since I've already released this mod previously, if I find time I will release it here in the form of a mod.

One note-worthy thing about my rewrite is that, compared to the old mod, it uses about 80% less queries. In addition it stores to the cache so it makes no db queries after viewing it once. You can also customize as many columns and rows as you want, as I organized it into CSS lists instead of the old table method I used.

As I said earlier, I just need to actually make it into a packaged mod.

Online Arantor

  • Hero Member
  • *****
  • Posts: 827
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #94 on: Dec 03, 2011, 15:32:51 »
Hmm, so if it's using the cache, it's going to be 2.0 only, and it's only valid for the life of the cache, not indefinitely. (Also, does it force the cache to be cleaned when user membergroups change? Otherwise the cache data could be stale.)

Remember, the cache by definition is not designed to be a permanent store of data where retrieval is guaranteed, it is expressly designed to be used as a first-chance storage, in priority to actually getting it from the DB.
When you want help, I'm likely to ask you questions. It's not because I'm a stubborn pain in the backside, it's because I need that information to actually be *able* to help you. Sooner you provide it, sooner you get help, simple as that.

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #95 on: Dec 05, 2011, 21:43:34 »
Well, I haven't really worked with 1.1 since 2.0 went gold, I was thinking of getting rid of the support for 1.1 (though I can make a mock-up version for 1.1, and never really update it ever, or something).

What it does is that when it is first used, groups can be assigned to specific columns. It uses a database query to update the list of groups you can sort up. All the groups you sort up are then sorted up into a data array and is passed on to when you view the page itself-- when you view the page itself, it caches all the groups you defined.

After that it queries all the possible member data that the groups hold (it stops looking after 100 members, though, I had trouble thinking of a limit but this mod is intended to show staff, most people don't have over 100 staff members in the same group). This limit can be easily altered though. From there it caches all the member data, and then the mod will continue to use the cache until a new member is added to a group that was defined, or if you edit any of the mod settings.

I didn't build it with using the cache as absolute as it still makes the queries it needs, it just utilizes the cache more. The only problem is that if members update their avatar or other info, it won't be reflected on the staff page until the cache is dropped. Though I don't really see that as much of a problem right now.

Online Arantor

  • Hero Member
  • *****
  • Posts: 827
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #96 on: Dec 06, 2011, 00:31:55 »
How long is the cache time for?
When you want help, I'm likely to ask you questions. It's not because I'm a stubborn pain in the backside, it's because I need that information to actually be *able* to help you. Sooner you provide it, sooner you get help, simple as that.

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #97 on: Dec 06, 2011, 19:41:41 »
Right now I set it for 24 hours on my own site, but I guess 4 hours would work in the mod.

Offline Melissa

  • Jr. Member
  • **
  • Posts: 11
Re: [SMF 1.1 & 2.0] Team Page Modification 1.1
« Reply #98 on: Apr 08, 2012, 09:41:07 »
I have a question.  Was this mod every updated to 4.0?