php forum
php mysql forum
php mysql smarty
 
Page 2 of 4 < 1 2 3 4 >
Topic Options
#315311 - 08/21/07 08:53 AM Re: [7.2x] - Naked shoutbox [Re: Mark_S]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 285
Loc: The Netherlands

   Re: [7.2x] - Naked shoutbox to Del.icio.us Add to del.icio.us
  Digg Re: [7.2x] - Naked shoutbox Digg it
Great! I was working on this one myself as a chatbox on the site.

I like copy/paste more then typing, so thanks smile
_________________________

Top
#315312 - 08/21/07 11:36 AM Re: [7.2x] - Naked shoutbox [Re: blaaskaak]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
you're welcome,

i'm going to be adding shout-header, shout-footer, for those that want to do a little customising.

also will add time to the line, rather than in the hover.

also will be adding 'whos online in the shoutbox' -- basically a list of users who currently have the 'naked shoutbox' open.. (like IRC does)

and will be adding one click (two actually) theme switching for the shoutbox.. (if peeps likey, i'll port the theme switcher over to threads as a mod)

bleh, that's all for now.. oh and there are a couple bug fixes in the common shoutbox.js code too, that i'll post over here.
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#315316 - 08/21/07 12:26 PM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
Give that man a cigar >> SD

Sounds like one of the most exciting addons we have had in ages.
Watching with baited intrest.

< Hate the way he makes it sound O so easy >

Great work mate.

Top
#315317 - 08/21/07 01:36 PM Re: [7.2x] - Naked shoutbox [Re: sirdude]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 285
Loc: The Netherlands
Originally Posted By: sirdude
i'm going to


A few suggestions from me wanting it as a chatbox:

  • Have the cursor in the input field after sending a shout and when you load the page.
  • Opening times. Open between time X and time Y, if you're in in that timeslot, you can stay.

    Somehow setting specific chat times helps getting it more busy and fun
  • Max people online, to keep serverload acceptable.
  • Ban from chat.
  • Shoutbox now wordwraps words bigger then 20 characters. For the naked shoutbox this is a bit short.


Edited by blaaskaak (08/21/07 01:48 PM)
_________________________

Top
#315318 - 08/21/07 01:48 PM Re: [7.2x] - Naked shoutbox [Re: blaaskaak]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
okies.. all easy, except opening times.. which is medium..

i'll see what i can do.. i have the code open on the operating table, so i might poke around a bit, before closing her up smile
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#315325 - 08/21/07 10:10 PM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
:mumble: i did some groundwork on UBB.Guestbook; but my wife came home while I was working on the script lol... I have the wordlets file and the view/sign templates done, have to do one for the "sign complete" page then work on the script a bit... Wonder what'd be fair to charge :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315328 - 08/21/07 10:48 PM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
make a guestbook thread, when you're done..

this one is for naked shoutbox stuff wink
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#315339 - 08/22/07 12:08 AM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
haha, you and allen went off on a tangient, figured i'd mention that i've been giving it thought wink...

Though i plan to make my own thread, when i have something to show wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315344 - 08/22/07 12:41 AM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
shoooo fly shooo tipsy

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 laugh

bleh.. that's it.. brain dump over ..


_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#315345 - 08/22/07 12:53 AM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Go put your computer together, so you can send me your old one :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315414 - 08/25/07 07:33 AM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
with all them idea's how can you sleep lol

Top
#315417 - 08/25/07 06:13 PM Re: [7.2x] - Naked shoutbox [Re: Mark_S]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
You should see inside my head... I have once, and it's quite crazy wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315418 - 08/25/07 06:27 PM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
dude, no need to see INSIDE.. the outside speaks for itself wink
_________________________

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]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
<snicker> bad man!
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315420 - 08/25/07 07:51 PM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
hehe.. giz is EVERYWHERE today laugh
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#315421 - 08/25/07 09:13 PM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
we is built into everything! </GizBot>
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315423 - 08/26/07 06:33 PM Re: [7.2x] - Naked shoutbox [Re: Gizmo]
sirdude Moderator Offline
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 smile

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
#315424 - 08/26/07 08:02 PM Re: [7.2x] - Naked shoutbox [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Lol, that's a great start man... Looks awesome...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315427 - 08/27/07 12:30 AM Re: [7.2x] - Naked shoutbox [Re: sirdude]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 285
Loc: The Netherlands
Originally Posted By: sirdude
til then... patience smile


I'm running out of smile
_________________________

Top
#315428 - 08/27/07 12:57 AM Re: [7.2x] - Naked shoutbox [Re: blaaskaak]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
hehe.. well you want kick + ban, max online limit ? (i will leave out the start/stop times as you can figure a way to deal with that manually -- ie make the link not work or have a default screen -- for now)

also, i'm using a decay algorithm that offloads the server and it's kinda not right yet.

basically, if you are just idling in the chat window, your delay between async xmlHTTPRequests decays to a longer time (to a limit of course).. this offloads the server load..

when you start chatting or doing things in the chat window, the decay is restored to the 'fast' value (configurable)

i will get a prototype up tomorrow or next day for you to play with.

once caveat.. php 5, so i can use the zend built in json_encode routine (very fast).

if you MUST have php4, then there is a workaround, but i don't recommend. (slower and in php code vs compile c)
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
Page 2 of 4 < 1 2 3 4 >


Moderator:  sirdude 
Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
1 Registered (Gizmo), 31 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks