Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

July 13, 2020, 12:53:40 PM

Login with username, password and session length
Members
  • Total Members: 3786
  • Latest: Deaks
Stats
  • Total Posts: 190436
  • Total Topics: 20856
  • Online Today: 140
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 2
Guests: 55
Total: 57

Author Topic: AJAX for TP ShoutBox  (Read 5890 times)

0 Members and 1 Guest are viewing this topic.

Offline Blue Steel

  • Sr. Member
  • ****
  • Posts: 295
  • Back in the Business after at least 5 years
    • Coding Monkeys
Re: AJAX for TP ShoutBox
« Reply #10 on: May 23, 2006, 04:32:38 AM »
Also would be good for the recent topics block and Side Stats block .. or any blocks that can have new content while the user is looking at a page.. ;) eg: New files .. New Pictures etc..

So why not create a SSI for it so that one can add it into any block

Offline Crip

  • Jesus Inside.
  • Themes
  • *
  • Posts: 4168
  • Theme Support
    • Cripzone
Re: AJAX for TP ShoutBox
« Reply #11 on: May 23, 2006, 05:54:42 AM »
I think it all sounds good! :)

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes


Offline bloc

  • Founder
  • *
  • Posts: 5218
    • Bloc
Re: AJAX for TP ShoutBox
« Reply #12 on: May 23, 2006, 06:48:42 PM »
The sql calls to fetch recent topic and stats are very server intensive and really optimised for fullpage rendering, meaning its implicit that they do not get to be started that often. I would NOT recommend just "tacking" AJAX routines on them.

Shoutbox is a simple call in itself so that can work...and things like fetching a username, any pre-defined values etc, yes. Even latest picture from a gallery can work fine.

JayBachatero

  • Guest
Re: AJAX for TP ShoutBox
« Reply #13 on: May 27, 2006, 11:08:25 AM »
I'm with Bloc on this.  There are certain places that using AJAX is good but other places it's just useless.

I haven't been able to work on this at all.  Been too busy with RL.  Hopefully I will have more time to get back on this in June and July.  School is finally over for me in June. :).

Offline Blue Steel

  • Sr. Member
  • ****
  • Posts: 295
  • Back in the Business after at least 5 years
    • Coding Monkeys
Re: AJAX for TP ShoutBox
« Reply #14 on: May 27, 2006, 04:36:02 PM »
I'm talking about the blocks on the left had site of your web pages.. eg: the Recent Topics and Some Stats and user info blocks....

I'd like to see them being able to be set to auto update say every 5 min or so (definable by the admin) .. not the whole page ..   and not everytine something new is changes (although that woud be nice)

akulion

  • Guest
Re: AJAX for TP ShoutBox
« Reply #15 on: May 27, 2006, 05:51:07 PM »
well if too much ajax was used

wouldnt it cause more server load?

with things auto loading left right and center

everyone going "huh whats happening"

zoom zoomm loading unloading and before we know it....

Below: PictureOur server where our website was housed



am I right?

JayBachatero

  • Guest
Re: AJAX for TP ShoutBox
« Reply #16 on: May 29, 2006, 08:18:58 PM »
Blue steel like akulion said too much AJAX is not good.  Like for the showbox it's good cause you don't have to be reloading to make a shout.  But I don't think someone is going to be sittng down waiting for a new line of recent topics to be updated.  I believe that you read a page of posts in a topic in about 5 mins and then you click next to continue.  When you go to the next page those stats will be updated already.  So you don't really get to see the AJAX or need it.

Offline Blue Steel

  • Sr. Member
  • ****
  • Posts: 295
  • Back in the Business after at least 5 years
    • Coding Monkeys
Re: AJAX for TP ShoutBox
« Reply #17 on: May 30, 2006, 06:03:44 PM »
the thing that i'm talking about is along these lines ... where you can change / update blocks not the whole page .. without frames  by being triggered by an event etc... wether that be  CLICK.. or time out ... or a flag being tripped eg: someone uploads a new file / pic or posts a new message check this out... here the end user can move the blocks .. open / close them.. and their content changes in some depending on events etc http://projects.backbase.com/RUI/portal.html