vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Chat Modifications - vBulletin 3.x Shoutbox 1.0 (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=182945)

DionDev 06-18-2008 10:00 PM

vBulletin 3.x Shoutbox 1.0 (AJAX)
 
vBulletin 3.x Shoutbox 1.0 is a simple PHP and AJAX shoutbox script that is fully integrated with the vBulletin forum system. Once you have installed it you can place it in any of your vBulletin forum templates.

Features:

* Tested to work with vBulletin 3.x.
* It uses AJAX. This means that every time a new shout is posted by someone it will instantly display in the shoutbox without the page having to be refreshed.
* It is fully customizable. You can allow guests to post, select the number of shouts to display, and even change the name of the shoutbox.
* Only takes about 2 minutes to install. With very simple instructions in a small text file, you will have a unique shoutbox on your forum up and running in no time.
* It automatically inherits the style of the forum. If your forum has multiple style options, it uses the style the user has selected.

Demo: http://www.diondev.com/forums/

Support: http://www.diondev.com/forums/f7/

rooban12 06-19-2008 12:26 PM

installed

DionDev 06-19-2008 01:51 PM

If you install this script feel free to post the link to the forums you installed it in so I can have a look....thanks.

jlew24asu 06-19-2008 02:08 PM

is there a way to have user names instead of guest? also, is there an easy way to take this down without uninstalling it?

DionDev 06-19-2008 02:15 PM

Quote:

Originally Posted by jlew24asu (Post 1553598)
is there a way to have user names instead of guest? also, is there an easy way to take this down without uninstalling it?

if you are logged in it shows your username as a link to your user profile

it only shows "guest" (or whatever you want anonymous names to be) if the person shouting is not logged in

you can take it down by simply removing the iframe code from your template file and then deleting the shoutbox_* files from your web server

jlew24asu 06-19-2008 02:25 PM

thanks Dion. I was hoping there was simpler way to "turn off" the shout box. maybe next version ;) or not, I really do not know much about how development works. but thanks for this, I've been hoping to find a shout box and will use this one...

Zacarias 06-19-2008 02:34 PM

How often does it check for new shouts?

DionDev 06-19-2008 02:45 PM

Quote:

Originally Posted by Zacarias (Post 1553614)
How often does it check for new shouts?

every 2 seconds with ajax so its pretty much like a chatroom, and you can use it like a chat if you want

jlew24asu 06-19-2008 02:49 PM

how does this effect server load? server space? bandwidth ?

DionDev 06-19-2008 03:01 PM

Quote:

Originally Posted by jlew24asu (Post 1553630)
how does this effect server load? server space? bandwidth ?

the shouts are stored in a mysql database and are automatically removed once they reach a maximum amount (which you specify in the config file)

it is not server intensive, all it is doing is pulling a very tiny amount of information from the database on a persistant connection every 2 seconds

Diesel, 06-19-2008 03:06 PM

Looks good, but your forum skin looks better :)

I wantt lol

DionDev 06-19-2008 03:07 PM

Quote:

Originally Posted by Diesel, (Post 1553653)
Looks good, but your forum skin looks better :)

I wantt lol

thanks, im going to start making free forum skins soon :)

Skyrider 06-19-2008 03:57 PM

This looks nice, but doesn't this belongs in the "Chat Modifications" Section?

Secondly, does it has any special features? Such as ban capabilities, chat moderator abilities for specific users, removing posts, chat archive, etc.

M-Tuning 06-19-2008 04:40 PM

Please upload the files as attachment on vb.org

otherwise people with no license for vbulletin can download it too.

ammoskumar 06-19-2008 04:47 PM

thanx for the release reserved ill wait for to more features to come out...

dreads 06-19-2008 04:59 PM

installed :P

DionDev 06-19-2008 05:04 PM

Quote:

Originally Posted by FF|Skyrider (Post 1553694)
This looks nice, but doesn't this belongs in the "Chat Modifications" Section?

Secondly, does it has any special features? Such as ban capabilities, chat moderator abilities for specific users, removing posts, chat archive, etc.

ill put it in the chat mods section now

if you ban a user they will not be able to even see the shoutbox

at the moment you can not moderate the shouts, the next version will be more complex and will have a place in the vbulletin admin panel, as well as an archive

Diesel, 06-19-2008 06:28 PM

Quote:

Originally Posted by DionDev (Post 1553656)
thanks, im going to start making free forum skins soon :)

O,o you got msn ?
So you can keep me updated ? :D
Any could i get a copy of your skin by any chance?


Mine is Diesel@iHaxx.Net

DionDev 06-19-2008 06:53 PM

Quote:

Originally Posted by Diesel, (Post 1553832)
O,o you got msn ?
So you can keep me updated ? :D
Any could i get a copy of your skin by any chance?


Mine is Diesel@iHaxx.Net

hey diesel, i will be posting in this forum when i release 2.0

2.0 is going to include changes such as:
long word line breaks
word censors and smilies parsing
shout archive
vbulletin admin panel section
post moderation
flood protection

also, as for my skin, keep an eye on my site, i am going to be making 4 versions of that skin and releasing them free to the public (red, green, blue, and grey). i will be posting them in the style mods section of this site too.

Diesel, 06-19-2008 08:53 PM

Could you make a black style aswell ?
I like dark skins :)


Thanks,
Diesel

hcmagix 06-19-2008 08:57 PM

Quote:

Originally Posted by M-Tuning (Post 1553746)
Please upload the files as attachment on vb.org

otherwise people with no license for vbulletin can download it too.

dito !!!

DionDev 06-19-2008 09:44 PM

i removed the download link and added the attachment

macc 06-19-2008 10:11 PM

hello!

nice hack- thanks !

this download attached file now is updated file or same like before (linked file)?

regards

macc

Chadi 06-19-2008 11:07 PM

Question:

Can you change the location of the text field area (type box) below the message area so they are stacked? Also, it would be nice that the text field does not scroll with the messages area. Check my site for an example www.talkjesus.com but this one is 3rd party, so it pulls the code from the other site.

DionDev 06-19-2008 11:37 PM

Quote:

Originally Posted by chadi (Post 1554066)
Question:

Can you change the location of the text field area (type box) below the message area so they are stacked? Also, it would be nice that the text field does not scroll with the messages area. Check my site for an example www.talkjesus.com but this one is 3rd party, so it pulls the code from the other site.

as for the stacking - this could be done very very easily with a minor modification to the shoutbox.php file - if you want me to help you i can do it for you, just pm me

as for the scrolling - you can set the shoutbox iframe to hide the y overflow using css and disable the scrollbar. again very simple.

Chadi 06-19-2008 11:42 PM

Can you please explain how to stack them? I can modify the code, just need to know what the modification is that must be done.

Please explain about the scrolling too :X (sorry)

I'm a decent css learner, but programming I'm just a good listener ;)

So the scrolling, this will allow scrolling only the message area while the type field area is static, just like the shoutbox I have now on my site, correct?

ShawneyJ 06-20-2008 12:32 AM

Quote:

Originally Posted by DionDev (Post 1553656)
thanks, im going to start making free forum skins soon :)

wow nice, looking forwards for these skins.

you skin kinda reminds me of 1 of the vbstyle skins, good work i like it.

ECMatt90 06-20-2008 01:58 AM

Seems pretty cool and will probably download it tomorrow, is there anyway to add a sound when someone posts a new shout in the shoutbox?

rapidphim 06-20-2008 02:14 AM

Questions:
1/ How many query does this one use?
2/ Options for admin to delete shout messages?
3/ when you scroll down the box, the shoutbox also scroll. Is there away to keep the shoutbox message box stays still while you scroll the text box?
4/ Also, is there an option to make the shoutbox stay on top of the forum throughout regardless which forum/page we are in?

rapidphim 06-20-2008 02:17 AM

Quote:

Originally Posted by DionDev (Post 1553854)
hey diesel, i will be posting in this forum when i release 2.0

also, as for my skin, keep an eye on my site, i am going to be making 4 versions of that skin and releasing them free to the public (red, green, blue, and grey). i will be posting them in the style mods section of this site too.

Is it possible for you to create a skin/style in white for working folks who would like to be in the forum and be at work at the same time (avoid attention from boss)? I have been looking around for one but there are none.

Joshyyy 06-20-2008 03:20 AM

Looks good, i think i'll wait for v2 if you don't mind :D!
Sounds alot more fun :P

meraia 06-20-2008 04:32 AM

This wonderful
thanx

DionDev 06-20-2008 10:51 AM

Quote:

Originally Posted by chadi (Post 1554079)
Can you please explain how to stack them? I can modify the code, just need to know what the modification is that must be done.

Please explain about the scrolling too :X (sorry)

I'm a decent css learner, but programming I'm just a good listener ;)

So the scrolling, this will allow scrolling only the message area while the type field area is static, just like the shoutbox I have now on my site, correct?

open up shoutbox.php

replace this:

Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="1%" valign="top" style="padding-right: 15px;">

  <table cellpadding="5" cellspacing="1" border="0" width="175" class="tborder">
  <tr>
  <td width="100%" align="center" class="thead">

    <?php echo $shoutboxname; ?>

  </td>
  </tr>
  <tr>
  <td width="100%" align="center" class="alt2" style="padding: 10px 5px 10px 5px;">
 
    <font class="smallfont">

    <?php
   
    if ($vbulletin->userinfo['userid'] == 0 && $guestshouts == false)
    {
      echo "You must be logged in to send shouts.";
    }
    else
    {
    ?>
      <form name="shoutform" method="POST" onsubmit="saveData(); return false;" style="margin: 0px;">
      <input type="text" name="message" maxlength="500" onFocus="if(this.value=='type message here') this.value='';" onblur="if(this.value=='') this.value='type message here';" value="type message here" style="width: 155px; margin-bottom: 10px;" class="bginput" /><br />
      <input type="submit" name="submit" value="Submit Shout" class="button" />
      </form>
    <?php
    }
    ?>
   
    </font>

  </td>
  </tr>
  </table>

</td>
<td width="99%" valign="top">

  <div id="shoutarea"></div>

</td>
</tr>
</table>

with this:

Code:

<table cellpadding="5" cellspacing="1" border="0" width="100%" class="tborder" style="margin-bottom: 5px;">
<tr>
<td width="100%" align="center" class="thead">

  <?php echo $shoutboxname; ?>

</td>
</tr>
<tr>
<td width="100%" align="center" class="alt2">

  <font class="smallfont">

  <?php
 
  if ($vbulletin->userinfo['userid'] == 0 && $guestshouts == false)
  {
    echo "You must be logged in to send shouts.";
  }
  else
  {
  ?>
    <form name="shoutform" method="POST" onsubmit="saveData(); return false;" style="margin: 0px;">
   
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="99%" style="padding-right: 5px;">
   
      <input type="text" name="message" maxlength="500" onFocus="if(this.value=='type message here') this.value='';" onblur="if(this.value=='') this.value='type message here';" value="type message here" class="bginput" style="width: 100%;" />
   
    </td>
    <td width="1%">
   
      <input type="submit" name="submit" value="Submit Shout" class="button" />
     
    </td>
    </tr>
    </table>
   
    </form>
  <?php
  }
  ?>
 
  </font>

</td>
</tr>
</table>

<div id="shoutarea"></div>

let me know how that works out for you.

Quote:

Originally Posted by ECMatt90 (Post 1554145)
Seems pretty cool and will probably download it tomorrow, is there anyway to add a sound when someone posts a new shout in the shoutbox?

yeah would require a minor javascript modification

Quote:

Originally Posted by rapidphim (Post 1554151)
Questions:
1/ How many query does this one use?
2/ Options for admin to delete shout messages?
3/ when you scroll down the box, the shoutbox also scroll. Is there away to keep the shoutbox message box stays still while you scroll the text box?
4/ Also, is there an option to make the shoutbox stay on top of the forum throughout regardless which forum/page we are in?

1/ four. 1 to get the shout, 1 to send it, 1 to check to see if old shouts need to be removed, and 1 to remove old shouts.
2/ coming next version
3/ would require frames or some css modifications, i will add this to version 2
4/ yes, by adding it to the forum navbits template or header

Quote:

Originally Posted by rapidphim (Post 1554152)
Is it possible for you to create a skin/style in white for working folks who would like to be in the forum and be at work at the same time (avoid attention from boss)? I have been looking around for one but there are none.

i will be making a white skin like the one on my site with with red, green, and blue variations. i will also be making a black version of the skin on my site with red, green, and blue variations.

rapidphim 06-20-2008 06:02 PM

Thanks Dion. I'd wait for version 2. Also, any ETA on releasing your skins?

DionDev 06-21-2008 04:57 AM

Quote:

Originally Posted by rapidphim (Post 1554780)
Thanks Dion. I'd wait for version 2. Also, any ETA on releasing your skins?

a week or 2

ECMatt90 06-21-2008 01:31 PM

Does that mean you can post up how to add the sound? or not?

macc 06-21-2008 02:13 PM

Hello!
what to do to get date on shoutbox messages - (not only time)?


regards

macc

bvbuk 06-21-2008 03:41 PM

the only problem i have is posting characters

!"£$%^&*()_

Y-ZOOM 06-21-2008 07:35 PM

man it's rally great

but 1 problem .. not support the arabic language .. oh

please fix that ..

thank you

tuaguild 06-22-2008 06:40 PM

yeah i am not going to keep this installed i think it needs more dev but it is an all around cool mod. also think of making a product file to do all the sql table adding for the user


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01451 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete