php forum
php mysql forum
php mysql smarty
 
Topic Options
#316390 - 11/28/07 10:42 PM Non-caching custom islands?
cgregg Offline
Lurker

Registered: 09/12/06
Posts: 8
Using: UBBT 7.2.1

I've got a custom island going to display some dynamic data for my one site ( http://www.mariusnet.com ) and I want to add some user-specific dynamic data. To get an idea of what Im' trying to do, follow the link and look at the "Myth II - Top Players" island. The users & scores listed there are 'normal' and work fine being the top 8 ranked players, but what I was wanting to add is another small row just below it showing the logged in user's rank & score (if the user is logged in of course... had to do another user authentication within the island to get it user-aware).

The caching thing is really screwing me up and destroying the user-specific part, which is currently disabled being that it is broken. When the cache refreshes, whichever user it is that loaded the page that triggered the refresh is who's specific data that will be built in the cached version and shown to everyone.

So, this leads to the question of: Is it possible to disable caching completely for a custom island?

I've looked and I don't see how in any straight-forward manner, so I'm guessing that it'll take a little tweaking & modding, but before I dive in and start changing things I thought I'd check to see if anyone had built this wheel already before I go and re-invent it tipsy

So, anyone done this before? Something like setting Cache Time to -1 to turn off cahcing or anything like that??

Top
#316469 - 12/17/07 01:00 PM Re: Non-caching custom islands? [Re: cgregg]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
As you've discovered, there is no way to get around the caching. However, what you could potentially do is just have the island be an include statement that includes your actual script. So, only the include statement would be cached, and it *should* call your actual script on each page load.
_________________________
StogieSmokers.com

Top
#316472 - 12/17/07 08:39 PM Re: Non-caching custom islands? [Re: Rick]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
I wonder if the smarty {literal} is cached...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#316661 - 01/28/08 04:02 PM Re: Non-caching custom islands? [Re: Gizmo]
Kris Offline
Lurker

Registered: 10/26/07
Posts: 6
Hi all,

I am having the same problem. Did you find the solution yet?

Thanks in advance
Kris

Top
#316674 - 01/31/08 12:23 PM Re: Non-caching custom islands? [Re: Kris]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Hello Kris, did you attempt Rick's suggestion?
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  Gizmo 
Who's Online
0 registered (), 23 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks