Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Cursor In Shoutbox Input Msg
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2012-06-03 13:49:26
It was somewhere here a long time ago but I couldn't find it, so here it is again

shoutbox.php

find



require_once("backend/functions.php");

dbconn(false);

if ($site_config['SHOUTBOX']){




change for





require_once("backend/functions.php");

dbconn(false);

?>

<body onload="document.getElementById('id_input').focus()">

<?php

if ($site_config['SHOUTBOX']){






find





echo "<input type='text' name='message' class='shoutbox_msgbox' />";




change for





echo "<input id='id_input' type='text' name='message' class='shoutbox_msgbox' />";

Unknown User
2012-06-15 17:41:12
Thanks bro, works a charm.
Unknown User
2012-06-16 04:13:24
thanks
2012-06-16 05:18:05
bIG thanks ! :)
Unknown User
2012-12-10 19:30:38
Hi... great work.... just a question... when it refreshes, the cursor is put at the start of the input block... so... if you are busy typing at that moment, your text now goes at the start of the old text already ther, if you understand ? lol so the last part of your msg is now at the start .... is there a way I can code so that the cursor is at the end of the existing text already in there?

Example:  1. typing....    This is my message ( now refresh comes)

2.typing... to the rest of you...     This is my message ( this is the result lol)

Can someone maybe suggest a fix?
Unknown User
2013-01-01 20:34:38
THANK you!
Unknown User
2013-01-07 11:35:38
Thanks
Unknown User
2013-01-07 23:10:01
Thank you, it worked.

Why don't these things go on the main release?
Unknown User
2014-10-01 08:16:00
share code shoutbox whit hack reply

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7095"]shoutbox.php[/url]
shoutbox.php
Download
2014-10-01 17:56:10
I didn't like this, every time shoutbox refresh it goes to the shoutbox. I found that annoying after a while.

Maybe i did something wrong i don't now.
Unknown User
2014-10-01 20:49:23
catch 22 if want it not to erase what you typed.. And ya its annoying lol.

Ajax version seemed to fix that but again its gone on here now:( maybe someone can repost it lol.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728