To use this website completely, it is necessary to store cookies on your computer.
 

* Navigator

Expand - Collapse

* Statistic

  • *Total Posts: 14944
  • *Total Topics: 2271
  • *Online Today: 14
  • *Most Online: 292
(2016 November 12, 09:37:31 am)

New blocktype Shoutbox

Started by feline, 2009 February 26, 10:44:59 pm

previous topic - next topic

0 Members and 0 Guests are viewing this topic.

feline

2009 February 26, 10:44:59 pm
Today I have added a new block ... the Shoutbox  8)
You see it in the right panel.

You have settings for:
* The total number of shouts. If this value overflow, the oldest shouts are removed automatically.
* The max number of characters in a shout. Longer lines will cutted at the next near space.
* The max hight for the shoutbox (pixel), on owerflow scrollbars are shown.
* User can edit and delete his own shouts.
* Group access for can shout and for view.

The shoutbox save the shouts on the database (as serialized stream), and normaly you have nothing to Administrate on the shoutbox, because older shouts are removed automatically.

The shotbox itself have a editmode .. (you see a little icon on the lower right). If you click on this icon. the shoutbox is toggeled to editmode (or back). In the editmode you see two little icons right from the username. The first (pencil) ist the edit shout, the second (red X) is the delete shout.
As admin you see these icons on ALL shouts, a normal user only on his own shouts.
If you have not enabled the "User can edit", no user can edit or delete own blocks, the icons are not shown.

You can use the smileys in the shoutbox, but no html or bbc codes. For the smileys you have to enter the charcode .. example :) shows as :)

Now I test the shoutbox a while ... I wait for many shouts  ;D ... before I develope the block.

I have added a lot of pictures from the shoutbox.

Fel


[attachment deleted by admin]
Many are stubborn in relation to the path, a few in relation to the target.

andu

#1
2009 February 27, 01:48:32 am
Amaizing!!

I miss some features..

  • Some bbc tags like colors or style..

  • Is it possible to make it AJAX?

  • a popup with options like smileys or change the text color.

for the AJAX implementation i use this code in a php block to self-refreshing
Code Select


echo '
<script type="text/javascript">
function refreshiframe()
{
What ever you need to refresh...
setTimeout("refreshiframe()", 30000); //every 30 seconds
}
</script>
<body onload="refreshiframe()">
Whatever you want to show like the shoutbox....
';
}


It works well. and there is not need to refresh all page,so the users get better experience and instant messaging.

Regards!!

DirtRider

#2
2009 February 27, 08:51:19 am
Oh cool thanks Fel this is the one thing my forum has been missing
"The real question is not whether machines think but whether men do. "


DirtRider

#3
2009 February 27, 09:01:12 am
I would like to see the actual shout box (text input area) to be static so you don't have to scroll down to shout. Just the actual shout should appear on the scroll option. Otherwise it is way cool thanks again Fel I can hardly wait to implement it  ;)
"The real question is not whether machines think but whether men do. "


feline

#4
2009 February 27, 12:08:59 pm
Quote from: DirtRider ,  2009 February 27, 09:01:12 am
I would like to see the actual shout box (text input area) to be static so you don't have to scroll down to shout. Just the actual shout should appear on the scroll option. Otherwise it is way cool thanks again Fel I can hardly wait to implement it  ;)

Normaly, that is given ..  think that it's a bug inside.  :-\
I have deleted one of the shouts the has no text and now the input box is show correct..

Fel
Many are stubborn in relation to the path, a few in relation to the target.

codebirth

#5
2009 February 27, 03:33:35 pm
Great work Fel!  ;D

Personally I prefer to have the newest shouts in the bottom like MSN Messenger, GTalk and others and not in the top. Is that something that will be possible to configure?

Thanks!

c o d e b i r t h
http://codebirth.com/smf

DirtRider

#6
2009 February 27, 06:47:44 pm
Quote from: feline ,  2009 February 27, 12:08:59 pm
Quote from: DirtRider ,  2009 February 27, 09:01:12 am
I would like to see the actual shout box (text input area) to be static so you don't have to scroll down to shout. Just the actual shout should appear on the scroll option. Otherwise it is way cool thanks again Fel I can hardly wait to implement it  ;)

Normaly, that is given ..  think that it's a bug inside.  :-\
I have deleted one of the shouts the has no text and now the input box is show correct..

Fel


Ah yes that is better  :)
"The real question is not whether machines think but whether men do. "


feline

#7
2009 February 28, 01:36:53 am
Quote from: codebirth ,  2009 February 27, 03:33:35 pm
Personally I prefer to have the newest shouts in the bottom like MSN Messenger, GTalk and others and not in the top. Is that something that will be possible to configure?

I think .. no.
Why?
In this case, the shoutbox must scroll to bottom to see the last shout.
And that works not in IE  :-\
With all oher yes .. so I skipped this option.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

antechinus

#8
2009 February 28, 08:32:03 am
Awesome.I like the auto delete function to save old shouts building up. As an admin I appreciate that little touch because it means one less job for me to do.
Using Internet Explorer 6 on the internet is like urinating in a public swimming pool.
It's rude, there's no excuse for it, and anyone who does it should be ashamed of themselves.

Galedon

#9
2009 February 28, 09:36:17 am
QuoteNow I test the shoutbox a while ... I wait for many shouts  ;D ... before I develope the block.


ok - Wieviele Beträge brauchst du - bist du uns den block rausrückst  :D

klasse Leistung - danke  8)

codebirth

#10
2009 February 28, 09:54:45 am
Quote from: feline ,  2009 February 28, 01:36:53 amIn this case, the shoutbox must scroll to bottom to see the last shout.
And that works not in IE  :-\
With all oher yes .. so I skipped this option.


Oh, ok that's a powerful reason :)

Thanks Fel

c o d e b i r t h
http://codebirth.com/smf

feline

#11
2009 March 03, 04:06:25 am
Today I have updated the shoutbox  ::)

Added a lot of featues:

1. popup with:
   * basic bbc (bold, italic, underline, strike, marquee, subscript, superscript, colors)
   * Smiley

2. sort order:
  * last shout at top / bottom (page is scrolled to top / bottom)

3. on editmode, the edit shout is scrolled to bottom after edit

Fel

[attachment deleted by admin]
Many are stubborn in relation to the path, a few in relation to the target.

cme1st2302

#12
2009 March 03, 04:11:59 am
Where can I get the code for this shoutbox.  What are the instructions for installing it?

Chris

feline

#13
2009 March 03, 04:27:14 am
will be released with the next upgrade ...

Fel
Many are stubborn in relation to the path, a few in relation to the target.

DirtRider

#14
2009 March 03, 03:57:17 pm
I can hardly wait  ;D
"The real question is not whether machines think but whether men do. "


kalaus

#15
2009 March 03, 08:28:47 pm
Ist jetzt richtig toll geworden, die Shoutbox

Kann man sie auch in einer mittleren Box laufen lassen, so das sie in voller Länge angezeigt wird?


Quotewill be released with the next upgrade ...


Wolltest du nicht heute Abend ein upgrade machen   ;) ;D

feline

#16
2009 March 03, 09:23:18 pm
Quote from: jockel ,  2009 March 03, 08:28:47 pm
Kann man sie auch in einer mittleren Box laufen lassen, so das sie in voller Länge angezeigt wird?

Aber sicher doch ..  :)

Quote
Quotewill be released with the next upgrade ...

Wolltest du nicht heute Abend ein upgrade machen   ;) ;D

Nur Gedult .. kommt alles zur rechten Zeit .. sind auch noch ein paar andere Bugs zu fixen  ;)

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Monika

#17
2009 March 04, 07:44:07 pm
Hi,

die Shoutbox ist schön geworden .... freue mich schon drauf wenn sie verfügbar sein wird.

Seit lieb gegrüßt

Monika
SMF2 Final  - PortaMx

feline

#18
2009 March 05, 02:49:58 am
Ich muss noch ein paar andere dinge fertig machen .. dann kommt dasn update.
Denke so mitte nächster woche  ;)

Fel
Many are stubborn in relation to the path, a few in relation to the target.

FearlessG1

#19
2009 March 05, 06:57:36 pm
When can we expect the next update with shoutbox to rollout?

FearlessG1

#20
2009 March 05, 07:14:17 pm
ahh ok great, thanks for the translation.  I will put off doing my fresh install of smf till then.

antechinus

#21
2009 March 05, 09:32:04 pm
I should post in Australian to confuse Fel.:D
Using Internet Explorer 6 on the internet is like urinating in a public swimming pool.
It's rude, there's no excuse for it, and anyone who does it should be ashamed of themselves.

DirtRider

#22
2009 March 08, 11:04:01 am
You do that and I will start posting in South African that will even confuse you Australians  ;D
"The real question is not whether machines think but whether men do. "


antechinus

#23
2009 March 08, 10:40:02 pm
You mean Seth Effrikkan. :D
Using Internet Explorer 6 on the internet is like urinating in a public swimming pool.
It's rude, there's no excuse for it, and anyone who does it should be ashamed of themselves.

andu

#24
2009 March 09, 12:38:22 pm
So much love.. I feel here like a big family.. :P