 |
 |
 |
 |
#315344 - 08/22/07 12:41 AM
Re: [7.2x] - Naked shoutbox
[Re: Gizmo]
|
Enthusiast
Registered: 11/08/03
Posts: 439
Loc: SoCal
|
shoooo fly shooo  random musing mode.... idea! had to write it down before putting down for the nite.. the protocol should not only be JSON (leaner), but also only return changes, based upon either last shout id or time.. the way process control does it.. this cuts the xmlhttprequest traffic size down considerably. also, the ajax server(s) should be one file, so that it has a better chance of staying in the php cache as a unit. also easier to maintain one piece of ajaxshoutserver.php code.. drawback.. added branching in the server file.. minimal (imo) weird idea.. add proxy capability for cross-site / multiple joined shouts in one.. ie site1 + site2 .... siten all serving up to same shout UI.. keep in mind: load! convert fully to yui.. add effects for new shouts.. fade in.. etc.. not sure yet.. global / personalized wallop menus.. menus need to be ul, li and NOT table, tr, td! longer history for shouts.. ie ability to search back further than just 30 or whatever.. urls, imgs.. admin cpanel for FULL setup and customization... possible full page reload interval, so adverts get more hits.. colorized names, like in showflat.. admin, mod, whatever.. dynamic resizing with handles, using yui.. set mode -v  bleh.. that's it.. brain dump over ..
_________________________
A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#315419 - 08/25/07 07:27 PM
Re: [7.2x] - Naked shoutbox
[Re: sirdude]
|
Wizard
Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#315423 - 08/26/07 06:33 PM
Re: [7.2x] - Naked shoutbox
[Re: Gizmo]
|
Enthusiast
Registered: 11/08/03
Posts: 439
Loc: SoCal
|
ok, i've complete overhauled it to use new javascript. this is essentially standalone and only shares with ubbthreads on the user DB side of things as well as to grab the styles. sooo, you don't have to worry about upgrades trashing this. the new javascript (ajax) is much more efficient by using JSON as the transport format. formerly it took 14K to fill a shoutbox and now it takes 4K. i've pushed the load of ALL of the formatting to the client, using DOM instead of burdening the php server code. so this is less of a strain on the server itself. i almost have it done, but will at least leave you with a typical screenie..  the lower right side is a space that you can put your own content into.. ads, logo, whatever.. i showed the ajax 'bashing..' 'sending..' reveals here, but they are normally hidden and come into play on an async call begin. the 2 columns of buttons on the left allow a user to select rows (1st one) for subsequent 'Bash'.. the 2nd column is the same as the delete [x] is now.. selection gives feedback in a different highlight color, like phpmyadmin does for rows.. the upper right hand side is a current tally of who's online in the shoutbox.. configurable in the admin cpanel.. i will wrap it up soon, but it ain't ready for prime time yet.. til then... patience  ps: and thanks to Rick!! for the wonderful style from which to use as an excellent look/feel.
_________________________
A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|