PDA

View Full Version : Chat Modifications - Dream's Chatbox


Pages : 1 2 [3] 4

Dream
06-06-2007, 12:32 AM
Glad it worked :) let me know if your users like the chatbox and how you use it.

fpattberg
06-06-2007, 05:47 AM
Hi Dream.

I have installed the chatbox at:

www.sustainabilityforum.com/forum

If you want to use it as a demo. :)


Fabian

TrIn@dOr
06-06-2007, 11:11 AM
Download the 1.9 zip file again and try the new chatbox.php please.

:up: working like a charm!, thanks!!

Flow Fusion
06-06-2007, 10:14 PM
I wish we had a 'thanks' button--

Nice work Dream!

tycity
06-07-2007, 01:33 AM
Love it thanks! Installed and Voted! - http://www.VirtualOrbit.com. Feel free to use as demo, we are really loving it!

Dream
06-07-2007, 01:56 AM
Thank you glad you are :)

ssandgirls
06-07-2007, 08:47 PM
Installed and looking excellent, Members havent found it yet though.......hehe

Mupetz
06-07-2007, 09:02 PM
Dream, you are the best

Dream
06-07-2007, 10:45 PM
I know https://vborg.vbsupport.ru/

Mupetz I like your forum style a lot, good job.

agsguar
06-09-2007, 06:53 AM
Change this code

while( $smilie = $db->fetch_array( $result ) ) {
echo '<td class="alt1" align="center">' . chatbox_make_smilie_link($smilie) . "</td>\n";
$i++;
if ($i >= $smiliecolumns) {
echo "</tr><tr>\n";
$i = 0;
}
}

for

while( $smilie = $db->fetch_array( $result ) ) {
if ($smilie[smiliepath] == '/images/smilies/general') {
echo '<td class="alt1" align="center">' . chatbox_make_smilie_link($smilie) . "</td>\n";
$i++;
if ($i >= $smiliecolumns) {
echo "</tr><tr>\n";
$i = 0;
}
}
}

If that doesnt work, try using '/images/smilies/general/' or 'images/smilies/general' or 'images/smilies/general/'

Also don't forget to redo the code change I told you about before.

Hi Dream.

I do this but not work
I try with:
'/images/smilies/general/'
'/images/smilies/general'
'images/smilies/general'
'images/smilies/general/'

but not appear any smilie.. do you have another idea??

Thank you in advance..

note: i made this changes in a fresh copy of 1.9 version.

:confused:

agsguar
06-09-2007, 07:09 AM
This is an example to my site..

The smile are too big.

see you!

Dream
06-09-2007, 07:37 AM
try

if (substr_count($smilie[smiliepath], 'images/smilies/general') > 0) {

instead

if ($smilie[smiliepath] == '/images/smilies/general') {

Mark.B
06-09-2007, 07:46 AM
Dream you're very welcome to use my site as a live demo, however mine isn't *completely* standard as I added in dates by the shouts and also my shout input box and button is hidden to guests completely rather than just disabled (though I may put that back to default when I get chance to do the upgrade).

Also I haven't upgraded yet, I'm two versions behind, but that'll be sorted this coming week if I get time.

Thanks for you nice comments in the upgrade post BTW! :D

http://www.bowlandcentral.com/forum

Dream
06-09-2007, 07:49 AM
Ok thanks Mark :)

haytham
06-09-2007, 01:21 PM
I installed but isn't there like a guide to codes? I don't understand the me/ and html tags around the name.
By the way..mine is an Arabic forum but the chat is on the main page>>if you'd like I can give you a link.

Dream
06-09-2007, 02:37 PM
Hi, from what I know this shouldnt work with arabic... so that's news to me.

The /me code you just use in front of messages to emote an action in the chatbox.

The html around user names is an optional html tag you can place around user names in the chatbox. Dont worry about it if you dont know what it is.

haytham
06-09-2007, 04:53 PM
Hi,
You know what? I downloaded and installed the 1.3 version first and it worked fine but for the time that didn't wanna go away. But after I read on I found the latest version 1.9 and installed..and till this minute all is great..not 1 problem. I was using VBshout which was a disaster..it crippled my site but this chat is great and made me feel good again Jf you'd like to take a look you can see it here:
http://farazdk.com/353/

Thanks

agsguar
06-09-2007, 05:47 PM
try

if (substr_count($smilie[smiliepath], 'images/smilies/general') > 0) {

instead

if ($smilie[smiliepath] == '/images/smilies/general') {



Sorry Dream but doesnt work.. no appear any smilie.

Or I can write mannualy the 20 (url) smilies that I whant?

Thank you for your help.

haytham
06-09-2007, 08:26 PM
Hey Dream..I have 1 problem...I can't write full sentences..only 4 or 5 words then I get strange numbers instead of words. Is there something I can do to make sentences longer..?

Rented
06-09-2007, 09:05 PM
installed perfectly using instructions etc

Just wondering if i was to make the chatbox appaear at the TOP of the page rather then the bottom how would i go about it please? :)

Dream
06-09-2007, 09:54 PM
Sorry Dream but doesnt work.. no appear any smilie.

Or I can write mannualy the 20 (url) smilies that I whant?

Thank you for your help.
try

if (substr_count($smilie['smiliepath'], 'images/smilies/general') > 0) {

Dream
06-09-2007, 09:55 PM
Hey Dream..I have 1 problem...I can't write full sentences..only 4 or 5 words then I get strange numbers instead of words. Is there something I can do to make sentences longer..?
Sorry haytham, afaik this mod doesn't work with arabic languages. Try MGC Chatbox out.

Dream
06-09-2007, 09:55 PM
installed perfectly using instructions etc

Just wondering if i was to make the chatbox appaear at the TOP of the page rather then the bottom how would i go about it please? :)
Use the instructions chatbox under navbar.txt that come in the zip file.

Rented
06-10-2007, 12:44 AM
Use the instructions chatbox under navbar.txt that come in the zip file.

ah yes , that would be where in my haste i didn't check all files properly!!!

Thanks you :)

agsguar
06-10-2007, 03:41 PM
try

if (substr_count($smilie['smiliepath'], 'images/smilies/general') > 0) {

Nop.. no work ..

:(

Dream
06-10-2007, 11:07 PM
Sorry agsguar, I'm pretty much not knowing what to do now :(

I'll give it a deeper look and get back to you.

Dream
06-10-2007, 11:07 PM
ah yes , that would be where in my haste i didn't check all files properly!!!

Thanks you :)
Just curious, why did you uninstall the mod? :P

Rented
06-11-2007, 07:56 PM
Just curious, why did you uninstall the mod? :P

still developing forums and adding sections atm and been testing so many mods decided to do a fresh install of VB to start fresh then add the addons i wish to keep and start over , sadly the chat was abit too small and decided to go with a flashchat isntead as told are larger etc :)

Was a nice addon , best non-flashchat addon i've seen but if flashchats are not what they are made out to be will be back for it :)

Dream
06-11-2007, 08:43 PM
Ok, no problem was just curious :) good luck with your boards!

thedvs
06-13-2007, 12:04 PM
Fantastic mod...

However, if I use the chatbox below navbar code, when I use the who's online function I see people...

Viewing Chatbox & not the viewing board index

Day Dreamer
06-19-2007, 05:04 PM
problem, everytime I post in the chatbox my browser shuts down.

Dream
06-19-2007, 11:32 PM
Fantastic mod...

However, if I use the chatbox below navbar code, when I use the who's online function I see people...

Viewing Chatbox & not the viewing board index
Yes, that can happen, unfortunately I couldn't fix this issue.

problem, everytime I post in the chatbox my browser shuts down.

Never heard of that. Does that happen with all browsers? Post your forum address if you can with your chatbox enabled for guests.

Forumnerds
06-20-2007, 05:35 PM
Ive installed this and had no problems like all these other great chatrooms Cough that cost

eduardobarcello
06-20-2007, 05:53 PM
Having similar problem here with IE. After some time in auto-refresh the IE will simply quit and you have to close and re-open it. By "quit" i mean it will act like the internet is down. You click anything or refresh anything and it will try to open it without success. Closing IE then re-opening will make it work again, for sometime...

eduardobarcello
06-20-2007, 06:16 PM
Adding to my note above: All users to my site are reporting the same issue. After some time idling where the chatbox is or chatting on it, their IEs will quit working. All Firefox users are having no problems with it though. I tried myself, and yes it only happens on IE, and never on Firefox.

Adding more info to this problem:

(1) The problem seem to happen to me only when auto-refresh is on.
(2) I initially had set auto-refresh to 5 seconds, and the problem was happening a LOT!
(3) Then I changed auto-refresh to 10 seconds and the problem nearly went away, but still happened once.
(4) Again, only in IE. Firefox works fine all the time.

I think the problem is that the auto-refresh starts to refresh the Ajax div, then sometimes it takes longer to refresh the Ajax div than the auto-refresh timer is set to, and the auto-refresh timer goes off again and thats when it blows up - it tries to re-refresh the ajax div which is already being refreshed.

May also happen to people without auto-refresh if they spam the REFRESH button too quickly.

Dream
06-20-2007, 11:38 PM
Strange, this doesn't happen on my board and I believe it doesn't happen on many boards as well.

Please post your forum address for me to look at, could be a compatibility issue with a custom javascript you may have.

eduardobarcello
06-21-2007, 04:53 AM
The problem was fixed by increasing the refresh time to 15 seconds.
My board: http://www.thebhood.com (World of Warcraft guild)

Dream
06-21-2007, 05:29 AM
Ok cool, glad you were able to fix it.

Mark this mod as installed please ^_^ if you keep using it. Makes me happy to see it go up.

eduardobarcello
06-21-2007, 08:34 PM
Would it be possible to make it wait for the last Ajax refresh to be done before making a new one when using auto-refresh? Or simply cancel/stop the last refresh when a new one is started. Because i think that would fix the bug. Note that this bug will still happen if the user's internet is kinda slow and its being heavily used at the moment while they're chatting.

Dream
06-21-2007, 11:08 PM
This is already fixed on auto-refreshes. If you have a new auto-refresh before the last one didn't finish, it won't do the new one. I wasn't able to replicate this for sending messages though, so a bug may happen you get two messages show if it's auto-refreshing at the same time you send a message.

To fix that, turn on "refresh all messages on auto-refresh", or something worded like that in the options.

Xil Ze
06-25-2007, 08:57 PM
edit: it does work with 3.6.4

redraider
06-27-2007, 04:29 PM
Before I install it on my forums, I wanted to ask: can this be installed as a side module on VBAdvanced. I just wanted to make sure before going through with the install.

Thanks

Dream
06-27-2007, 10:35 PM
Yes you can. Just follow the instructions on vBadvanced on the zip file, or use the vBa module zip file. Courtesy of arco.

Dream
06-29-2007, 01:01 AM
redraider, please mark as installed if you use it ;) thanks!

EDUB
07-02-2007, 12:21 AM
GXT try this

Thank you for this. I wouldn't figure it out unless for this notepad.

nebu
07-03-2007, 05:43 PM
hi!
I installed the hack and it works great.
but i have one little problem.
i added the code in the forumhome just below the $navbar entry.

the chatbox appears, but without the border (table/line/frame) i dont know the english word ;)
(rahmen in german)

can you tell me how i can add the box aroung the chatbox?

thx,
nebu


EDIT: attachment added.

AND: in the upper right corner there is an icon to minimize the chatbox.
can i disable this function?

tweak
07-03-2007, 07:00 PM
Nice Hack i Installed.

Question i have is how do i change the box color you type in?? I wanted to make the Box you type in black cuz i have white text. Now when u type in the box we cant see what we type.

Dream
07-03-2007, 11:33 PM
Nebu, follow the instructions in chatbox below navbar.txt

Tweak, you have to edit chatbox.php.

tweak
07-04-2007, 06:02 PM
Im real noobish can you tell me what to look for to edit that box color or anyone?

Dream
07-04-2007, 11:38 PM
Edit chatbox.php, find

<input type="text" name="shout" size="'.$input_size.'" maxlength="255" class="smallfont"'.$disabled.' value="'.$message.'">

change it for

<input type="text" name="shout" size="'.$input_size.'" maxlength="255" '.$disabled.' value="'.$message.'">

that should do the trick

please mark as installed if you use this mod.

thaki
07-05-2007, 01:05 AM
Great work,but I want to ask u.How can I install it, because I can not understand the language, so can any one tell me how to install it in english language? plz

[vB 3.6.7] [AJAX] Chatbox de Dream v1.9 fr.zip

Dream
07-05-2007, 01:08 AM
Download chatbox 1.9.zip, thats the english version.

thaki
07-05-2007, 02:03 AM
Thanx

vitrag24
07-05-2007, 10:28 AM
whts additional features and imp in this than ajax vbshout?

Dream
07-05-2007, 11:37 PM
Sorry I didn't understand your question.

Invalid ID
07-07-2007, 11:12 AM
When I tried to save the changes made in the FORUMHOME, I got the following error message:

Not Acceptable
An appropriate representation of the requested resource /forum/admincp/template.php could not be found on this server.

Dream
07-08-2007, 06:09 AM
Never heard of that error... seems like an error with your vBulletin.

wesg2006
07-08-2007, 02:22 PM
Got it in, and up and running in no time. Thank you dude! Nice work.

Dream
07-09-2007, 12:52 AM
Thank you :) glad you liked it.

Quantnet
07-09-2007, 04:46 AM
What the differences/con/pro of yours and MGC chat box ?
I'm considering one of the two.

Thanks

da420
07-09-2007, 06:57 AM
What the differences/con/pro of yours and MGC chat box ?
I'm considering one of the two.

Thanks

Both are excellent Chat Boxes, by very good coders. My suggestion to you would be to go over the feature list and compare them, and choose what seems most suitable for your needs. IMO, Dreams is a very lightweight solution with little overhead, very easy on the server resources. MGC's has more options and configurations. I had this mod installed on my board a couple months ago, and it was very good, but I was missing some of the options I really wanted, and that is when I switched over to MGC's. But, really, it's all up to your needs/wants/resources..

Bakushan
07-09-2007, 04:03 PM
Im sorry im having trouble finding the navbar template on my server. Where is it located?

Bakushan
07-09-2007, 04:29 PM
Got it! Once I get it to refresh quickly I will be up and running with over 8000 members! Thanks!!

Bakushan
07-09-2007, 04:46 PM
Ok!!!

Working well on my forums!

http://www.ricekiller.com/forums/

Here is ONE problem! It does not auto refresh when you open the chat box separately! When you use the integrated box, it refreshes fine (every 5 seconds) but when you click the link to open the box, users complain that it does not auto refresh.

Any advice?

Dream
07-09-2007, 09:30 PM
Hello, it should be working normally... If this is still not working, please enable the chatbox for guests to view it so I can check it out.

Dream
07-09-2007, 09:36 PM
What the differences/con/pro of yours and MGC chat box ?
I'm considering one of the two.

Thanks
As da420 pointed out, this (mine) chatbox is the more simple of the two. It just boils down if you need a bunch of a lot of features, or just a chatbox that works.

I'd like to point out too that my chatbox is a lot more easier to maintain for the coder, and is bound to give less errors and be easier to update on new versions of vBulletin.

MCG chatbox is great, but I wouldn't use it because my users wouldn't need all those features. It really boils down to what you would need on your website. Other than that I can't really say because I haven't used MGC's. Also what I know is that mine is easy to install/uninstall.

I'd suggest you install both in a test forum and go with the one you like best.

Bakushan
07-09-2007, 10:40 PM
Hello, it should be working normally... If this is still not working, please enable the chatbox for guests to view it so I can check it out.

Reset to work for guests (so you can check out your work if you like) also got it working a bit smoother.

Only thing I would like would be a way for it to auto delete older messages. (Either over x amount of hours or after x amount of messages)

Great work thanks for any help. :) :up:

Dream
07-09-2007, 10:53 PM
You can use the script inside the cron directory with vBcron to do that, the instructions are in the txt file in the directory.

Ok I'll take a look at it now.

edit: is it still not refreshing in its own window?

Bakushan
07-09-2007, 11:11 PM
You can use the script inside the cron directory with vBcron to do that, the instructions are in the txt file in the directory.

Ok I'll take a look at it now.

edit: is it still not refreshing in its own window?

Thanks for quick response. :)

Yah it is refreshing everything fine now from what I can tell, I also setup the auto prune script to run once a day. Hopefully that will be fine in regards to lag/page load times. (If not I will just set it up to prune more often)

Great mod! Keep up the good work.

:up:

RvG2
07-10-2007, 03:16 AM
hi just two questions:

how many queries it have?
is it server intensive? I am planning to change on your chatbox if it is not. this is my last and final choice i have.

Dream
07-10-2007, 03:18 AM
Hi, if you keep your refresh rate high (like 5 minutes) this mod is light on the server. I don't have the exact number of queries to tell you.

ColdSpirit
07-10-2007, 10:23 PM
How can we add the shoutbox in all pages instead only in the forumhome?

Dream
07-10-2007, 10:24 PM
Put the chatbox in your navbar template, the edit in "chatbox below navbar.txt"

please mark as installed if you use this

(you were lucky I replied so fast I just got here)

ColdSpirit
07-10-2007, 10:37 PM
Big thank you!! :) Installed!

btw, great mod! (unfortunely it cant have morechatrooms) but anyway.. 5***** stars!

redraider
07-11-2007, 01:33 AM
I havent yet installed it. I see 4 zip files which one is which? Which should I use? Please help whats the diff between 1.3 and 1.9, which one can be used as a side module on VBAdvanced?

Dream
07-11-2007, 01:54 AM
chatbox 1.9.zip is the one you should use

redraider
07-11-2007, 01:59 AM
Thanks, I figured it out, works great on my test forum. Will install soon on the real one. GREAT Mod.

Some days back someone hacked into my forum using vbshout.php ... i hope this would be a bit securer...

vnairp11
07-11-2007, 03:53 AM
http://thetechlife.org/index.php

shoutbox installed fine however the change colors and size link dosn't show up. boxes i mean.:(

redraider
07-11-2007, 02:15 PM
http://thetechlife.org/index.php

shoutbox installed fine however the change colors and size link dosn't show up. boxes i mean.:(


Did you check in the vbulletin options to see if they might be turned off? I think they are turned off by default may be.

ColdSpirit
07-11-2007, 06:23 PM
Hi again... i have one issue.. is there any issue with IE? when i access some site with this chatbox with IE is freezes.. when i access with mozilla it runs smooth..

Dream
07-11-2007, 08:48 PM
http://thetechlife.org/index.php

shoutbox installed fine however the change colors and size link dosn't show up. boxes i mean.:(
I don't see anything there, did you remove it?
Hi again... i have one issue.. is there any issue with IE? when i access some site with this chatbox with IE is freezes.. when i access with mozilla it runs smooth..

Not that I know of...

ColdSpirit
07-11-2007, 09:15 PM
Problem fixed.. was the vbulletin_global.js issue... found the fix in vbulletin.com :)

This Chatbox rules! :)

Kestryll
07-12-2007, 01:30 AM
Does this go to the lower part of the forum home like in the screen shot by default?

Dream
07-12-2007, 01:32 AM
Yes, to use it on top of the forums use the included instructions "chatbox below navbar.txt".

RvG2
07-13-2007, 03:45 AM
dream, which one shall i download english?

nvm got it. :)

RvG2
07-13-2007, 03:55 AM
I believe this is one the chatbox that is so light in the server... hmmmm. I will stick to this one. ;)

Invalid ID
07-13-2007, 06:46 PM
Is there any way we could stop the URLs from being posted in the chat box?

Also sensor system?

RvG2
07-15-2007, 03:05 AM
after using this... server load is so light. make sure not to set it less than a minute.

BioWaffen
07-15-2007, 11:24 AM
Can you tell me, where I have to edit or put in my usergroups, to disallow them to see the Chatbox on forums? Because if I edit on chatbox.php I get an error message

Best regards
BioWaffen

RvG2
07-15-2007, 04:44 PM
You can into admincp - then vbulletin options - chatbox options:

See "cant view chatbox" then enter the usergroup IDs that will not be able to see the chatbox.

that's all.

BioWaffen
07-15-2007, 06:26 PM
Ah okay thank you, I just thought there is only Chatbox, didn´t look into options^^

ColdSpirit
07-18-2007, 10:29 PM
Hello... this is driving me crazy... now it is giving me and to others users this:
http://img253.imageshack.us/img253/4301/chatboxerrornw1.png

hope you can help me! Thanks!

Dream
07-19-2007, 12:47 AM
Try deleting the [ code ] tag posted by Bolt in your chatbox, it's one of his messages

rnmcd
07-19-2007, 01:50 AM
Anyone else notice that the "Unsubcribe from thread" option in not available to users (for threads to which they are subscribed) after installing Chatbox?

Dream
07-19-2007, 01:57 AM
Here on vb.org or on your forums?

rnmcd
07-19-2007, 02:18 AM
Here on vb.org or on your forums?
On my forums.

Also, during my attempt to isolate the problem I disabled the product (chatbox) but for some reason the chatbox still worked. Any idea why?

Thanks.

Dream
07-19-2007, 02:21 AM
Disabling the product does nothing in the chatbox case.

But I don't think it's the chatbox that is keeping your members from unsubscribing threads, as the mod doesn't do anything with other parts of the forum that are not chatbox.php only. I'm pretty sure you have some other problem that has nothing to do with the chatbox.

rnmcd
07-19-2007, 02:46 AM
Disabling the product does nothing in the chatbox case.



Is it possible to disable the chatbox or is the only way to disable it to uninstall it.

Dream
07-19-2007, 02:47 AM
Only way is to uninstall it. You will lose your conversation though.

rnmcd
07-19-2007, 03:02 AM
It is uninstalled via the admincp, right?

Also, will, adding define('DISABLE_HOOKS', true); to config.php affect the Chatbox?

Dream
07-19-2007, 03:23 AM
Just the Who's Online support part, the chatbox will still work.

Uninstall it via the Plug-in and Products manager.

rnmcd
07-19-2007, 03:49 AM
Uninstall it via the Plug-in and Products manager.

Will I also need to undo the template edits?

Dream
07-19-2007, 03:56 AM
If you are just testing your subscription button, no. If you want to remove the chatbox completely yes.

rnmcd
07-19-2007, 04:21 AM
Thanks Dream. I am just testing my subscription button. I've enjoyed your mod.
Thank you.

rnmcd
07-20-2007, 02:38 AM
Uninstall it via the Plug-in and Products manager.
I uninstalled it via the Plug-in and Products manager but the Chatbox is still working on my site.

Why would that be?

G-Element
07-25-2007, 07:50 AM
Great Product man! I used this on my forum great design and totally awesome features.
Really easy to install, everything works, no problems to run into.

B+

p33r
07-25-2007, 09:15 AM
Hello there, we have been doing some testing with your chatbox. It's actually pretty cool (we also made an IRC <-> chatbox bridge thats working smoothly). Our only problem seems to be our custom spoiler-tags (BBcode). Spoiler tags are basically javascript boxes that hide text under them (for talking about new episodes of Tv-series etc.). When somebody tries to use the spoilertags in the chatbox the script dies quite spectacularly, stopping its refreshes and pretty much freezes in its tracks until you refresh. It allso throws an error message. It seems that it does not like when the javascript is embedded in the AJAX-requests, but on a full-refresh it seems to do fine.

I'l post the full error message (Using Safari on OS X), this happens for all users viewing the chatbox, and everyone has to reload. It's a bit anoying :P

Error: undefined var newshouts = '<span id="shout2714">[<span class="time">12:08</span>] [<a href="javascript:deleteMessage(2714)">X</a>] &lt;p33r&gt;: <input type="button" value="Trykk her!" class="button" onclick="showSpoiler(this);">
<span class="content" style="display:none">Testspoilerlolz
</span><br /></span><span id="shout2715">[<span class="time">12:08</span>] [<a href="javascript:deleteMessage(2715)">X</a>] &lt;<a href="member.php?u=48" target="blank">p33r</a>&gt;: amg<br /></span>'; lastshoutid = 2715; theTime = '[<span class="time">12:08</span>] ';

You can see our little mashup in action here if you need to test anything: http://forum.japani.no/kanshi_chat.php and the main chatbox on http://forum.japani.no/chatbox.php

(Spoiler tags are used like this: Text under box if you need to test anything.)
Yes, i realize i can turn off bbCode for the chatbox, but that kinda defeats the purpose of it. It's one of the cool advantages the chatbox has over other forms of live-chat.

Edit: Further testing shows that [quote]+tags allso do the same thing, i guess it dosnt like BBcode. wich is a shame.

barny11
07-28-2007, 10:26 AM
I know this has been asked before by somebody else but cant find any answer to it.

When you collapse chat and then refresh the page or change pages the chat pops back open.

Is there a way to stop that ?

Great hack btw ;)

powerful_rogue
07-31-2007, 10:55 AM
Hi all :)

Great mod, the members love it!

where would I need to look to edit the text "You don't have permission to see the Chatbox."

Thanks
Dave

Dream
07-31-2007, 04:19 PM
You need to edit chatbox.php

rnmcd
07-31-2007, 04:23 PM
Uninstall it via the Plug-in and Products manager.

I uninstalled it via the Plug-in and Products manager but the Chatbox is still working on my site.

Why would that be?

Any ideas Dream?

Dream
07-31-2007, 04:26 PM
If you uninstalled it, the chatbox.php should be throwing an error. Can you check if the table "chatbox" is still in your database?

I think theres a file called uninstall.txt in the zip file, follow the instructions there to uninstall.

rnmcd
07-31-2007, 05:04 PM
If you uninstalled it, the chatbox.php should be throwing an error. Can you check if the table "chatbox" is still in your database?

I think theres a file called uninstall.txt in the zip file, follow the instructions there to uninstall.

I'll do those things your recommended.

My "Manage Products" showed that it was version 1.0.

Does that version have different uninstall procedures?

The only thing that I noticed that happened when I uninstalled it via "Plugins and Products" is that the "Send" & "Refresh" buttons lost their text.

Deimos
07-31-2007, 08:54 PM
I know this has been asked before by somebody else but cant find any answer to it.

When you collapse chat and then refresh the page or change pages the chat pops back open.

Is there a way to stop that ?


I have the same problem
Anyone know of a way to make it SAVE?

SuperTaz
08-01-2007, 08:12 AM
Very nice. Installed.

TrIn@dOr
08-02-2007, 07:53 PM
Ok time to ask, if i want to put chatbox under navbar, it will not maintain collapsed, instead yes on the bottom of the forumhome!

How can be this?

I saw http://www.bowlandcentral.com/forum/ and chatbox is maintains collapsed after refreshing!!

HELP?

BadgerDog
08-02-2007, 09:36 PM
Ok time to ask, if i want to put chatbox under navbar, it will not maintain collapsed, instead yes on the bottom of the forumhome!

How can be this?

I saw http://www.bowlandcentral.com/forum/ and chatbox is maintains collapsed after refreshing!!

HELP?


I and many others have exactly the same problem. I've tried everything and it still comes back up OPEN when you return the the Main Forum page. It stays closed properly when installed at the bottom of the forum, but not at the top.

If you ever figure out how to get it to do that, I'd be interested in the secret. :up:

Regards,
Badger

TrIn@dOr
08-02-2007, 11:45 PM
I and many others have exactly the same problem. I've tried everything and it still comes back up OPEN when you return the the Main Forum page. It stays closed properly when installed at the bottom of the forum, but not at the top.

If you ever figure out how to get it to do that, I'd be interested in the secret. :up:

Regards,
Badger

http://www.bowlandcentral.com/forum/

This guys have it working properly!!, they can help us!

nureeves
08-03-2007, 12:40 PM
Great Mod :)

anyway, is it posible to change background colour off the chatbox

Deimos
08-03-2007, 04:06 PM
For those having problems with the chatbox not staying minimized when in the navbar, try using this code

<!-- Chatbox -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxtop')"><img id="collapseimg_forumhome_chatboxtop" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxtop].gif" alt="" border="0" /></a><a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a> (To shrink this chatbox, click the small + to the right ---->)</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_chatboxtop" style="$vbcollapse[collapseobj_forumhome_chatboxtop]">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
</table>
<!-- / Chatbox -->

Works for me.

TrIn@dOr
08-03-2007, 06:23 PM
For those having problems with the chatbox not staying minimized when in the navbar, try using this code

<!-- Chatbox -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxtop')"><img id="collapseimg_forumhome_chatboxtop" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxtop].gif" alt="" border="0" /></a><a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a> (To shrink this chatbox, click the small + to the right ---->)</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_chatboxtop" style="$vbcollapse[collapseobj_forumhome_chatboxtop]">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
</table>
<!-- / Chatbox -->Works for me.

Works like a charm, thanks!

I only added a <br /> bellow the last </table>

rnmcd
08-04-2007, 01:37 AM
If you uninstalled it, the chatbox.php should be throwing an error. Can you check if the table "chatbox" is still in your database?

I think theres a file called uninstall.txt in the zip file, follow the instructions there to uninstall.

I did not find an uninstall.txt in the zip file.

Dream
08-04-2007, 02:13 AM
Uninstall is just uninstall product, delete files, and undo template changes. Just undo everything in install.txt.

rnmcd
08-04-2007, 02:28 AM
I decided to skip the uninstall at this time.

But now when I try to import the product-chatbox.xml using the Product Manager I get a db error:
Database error in vBulletin 3.6.4:

Invalid SQL:
CREATE TABLE chatbox (
`shoutid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`userid` INT( 10 ) NOT NULL ,
`username` VARCHAR( 100 ) NOT NULL ,
`shout` VARCHAR( 255 ) NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( `shoutid` )
);;

MySQL Error : Table 'chatbox' already exists
Error Number : 1050

What would you recommend I do so that I can import it?

Dream
08-04-2007, 03:20 AM
Manually remove the table chatbox from your database

raiderlax
08-04-2007, 06:45 AM
I'm worried too, because I am going to uninstall this, you have said:

Uninstall is just uninstall product, delete files, and undo template changes. Just undo everything in install.txt.But above you say:

Manually remove the table chatbox from your databaseCould you please make full clear uninstall instructions?

Thanks in advance. :)

Dream
08-04-2007, 08:25 PM
He had version 1.0 installed, that's why he has to manually remove the chatbox table. Other than that, just undo everything in the install.txt file.

If you don't know if you have to manually remove the chatbox table, edit your chatbox product and see if you have the uninstall code that drops the chatbox table. Version 1.0 didn't have it because I forgot to add it back then.

Dream
08-04-2007, 08:40 PM
Rnmcd, use the attached product file to update your chatbox to 1.9, and then update your files with the files in the chatbox 1.9.zip (if you havent removed the chatbox table)

rnmcd
08-04-2007, 08:47 PM
Thanks dream. I manually removed the table "chatbox" from my database and re-imported it and everything seems to work fine now.

Is there a reason I should upgrade to 1.9 if I am pleased with ver. 1.0? Does ver. 1.9 use much more system resources?

Do you keep records of who has donated to you? I can't recall if I have. Can you check?

Dream
08-04-2007, 08:53 PM
Version 1.9 has many new features, like AJAX (no page refreshes), smilies popup, and message colors. For a full list check the version history in the first post. System resources actually decrease from version 1.0 to 1.9.

I haven't received any donations from "rnmcd" :)

Khalid-B
08-04-2007, 10:37 PM
Hello.
How can i add chatbox under Navbar??

Thanks

GSPFAN
08-05-2007, 06:28 AM
To add the Chatbox below the navbar on the forum home:

In FORUMHOME template, find

$navbar

Below that, add

<!-- Chatbox -->
<table class="tborder" cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_chatboxtop')"><img id="collapseimg_forumhome_chatboxtop" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_chatboxtop" style="">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
</table>
<br />
<!-- / Chatbox -->

gonkowonko
08-05-2007, 06:06 PM
why does the username colour not match the forum? it shows the primary user group colour and not the selected groups colours ?

rnmcd
08-10-2007, 06:25 PM
Rnmcd, use the attached product file to update your chatbox to 1.9, and then update your files with the files in the chatbox 1.9.zip (if you havent removed the chatbox table)

I overwrote the existing product (ver 1.0) with the product-chatbox.xml (ver. 1.9) then I uploaded chatbox_admin.php, cpnav_chatbox.xml, and chatbox.php.

Are there any template changes I need to make?

Also, does the "Enable Color?" option in Admincp > vBulletin Options use much resources?

Dream
08-10-2007, 07:07 PM
No need for new template changes, unless you want to use the option "chatbox height", then you redo your forumhome template edit.

No the colors don't use much resources.

rnmcd
08-10-2007, 07:29 PM
Tonight I plan to upgrade from vb 3.6.4 to vb 3.6.8.

What template edits will I need to make for that? Do I do what is listed in the install.txt for Chatbox 1.9?

---------------------------------------
Did you get my donation?
I plan to use some of your other mods soon and I'll donate for those when I install them.

Dream
08-10-2007, 07:34 PM
Yes I got it :) it's really appreciated, thanks.

Just follow the template edits in install.txt and you are set. There's no secret to it, if you have problems just ask.

Are you using the chatbox under the navbar or at the bottom of the forum?

rnmcd
08-10-2007, 07:49 PM
Mine is at the bottom of the forum.

Dream
08-10-2007, 07:52 PM
Then just follow the instructions in install.txt and you'll be fine.

Zaeolos
08-11-2007, 02:28 PM
Dream, I too need the usernames' color to be the same as the 'Display Usergroup' color and not the 'Main Usergroup' color. If you can just show a quick edit to do or add that into your options, that would be great.

Zaeolos
08-11-2007, 04:33 PM
Nevermind about the colored names, I figured it out. If anyone else needs to be able to do this, here it is:

Edit the chatbox.php file in the forums directory in 2 locations.

Find on line 178 & 318

$select = 'c.shoutid, c.userid, c.username, c.shout, c.dateline, c.ipaddress, c.color, u.usergroupid';

Change this to

$select = 'c.shoutid, c.userid, c.username, c.shout, c.dateline, c.ipaddress, c.color, u.usergroupid, u.displaygroupid';

rnmcd
08-11-2007, 04:39 PM
I'm not even smart enough to figure out what the "Message Colors" option in the admincp does.

chillingcafe
08-13-2007, 10:55 PM
let me try this :)

Done and it cnsumes a bit of more resources than the MGC Chatbox :)

Dream
08-14-2007, 09:00 AM
Chatbox has been updated, version 2.0

- fixed minor bug that could stop the chatbox from working if the ajax response had newlines
- fixed bug that the chatbox was using the primary usergroup colors instead of the display usergroup colors for the username coloring
- fixed instructions for the chatbox under the navbar or under the forum list, old code's collapse wasn't working properly
- changed the default Chatbox place on the forum home page in the install instructions to show it after the forum listing
- updated the install instructions to be easier to follow and have more info

To upgrade follow the instructions in upgrade.txt

Dream
08-14-2007, 09:03 AM
I'm not even smart enough to figure out what the "Message Colors" option in the admincp does.
Message colors lets your users pick a color to show their messages in that color.

Dream
08-14-2007, 09:04 AM
VERSION HISTORY

version 1.2
- Added option to let users delete their own messages.
- Added option to show username links with user group colors. Note this may raise resource usage.
- Added WOL support.
- Added option to change the HTML tag used around usernames.
- Added smilies!

version 1.3
- Now when the Chatbox auto-refreshes, the message the user was typing isn't lost.
This is not perfect, because by the time the Chatbox refreshes it gets the message, and the user has time to type more stuff while the page is loading, so it may lose some letters.

version 1.4
- Added Ajax!
Now you can set your refresh rate to 3 seconds and make your server cry to mommy!

version 1.5
- Show Time? now correctly removes time from messages. When it does, mouseover the user name will show the time.
- Added automatic URL parsing. Requires BBCode to be enabled.
- Added hide refresh button option, good if you have a low refresh interval.
- Added option to change the image smilies button into a normal button, same as send and refresh.
- Added Banned Users option.
- Input buttons now use the correct button CSS class.
- Added cron files to the zip file, auto prune and auto post, the instructions to use them are in cron/cron.txt

version 1.6
- Fixed IE7 bug, the ajax code now uses vB's ajax functions.

version 1.7
- Added /me code. Users can use the /me code in front of messages to denote an action.
- When posting the posted message now appears right away, as opposed to having to wait for a refresh. This is faster and uses a little less resources.
- Added Chatbox height option. To use it, redo your forumhome template edit. If you like your Chatbox size you don't need to do it.

version 1.8
- Forced align="left" on main <div>s because people were having problems with the chatbox content being centered.
- Changed javascript function name from deleteShout() to deleteMessage(), because this is a chatbox not a shoutbox :P and the name was visible to users on mouseover
- Added time CSS class to times so it matches the rest of the forum (btw Mark I always loved your forum ;) since I made games for v3arcade)
- Added javascript isRefreshing check, so the chatbox won't have two parallel refresh instances and show duplicate messages, to fix problem on slower connections.
- When showing latest messages at the bottom, the chatbox now will only scroll to the bottom when there are new messages. (only works if you are not updating all messages on each refresh)
- Fixed javascript warning, was getting shoutsDiv <div> by it's name, wasn't defining shoutsDiv variable. (wonder how it worked in the first place)
- Added option to update all messages on refresh. This will fix deleted messages not being removed from users chatboxes, but can highly increase resource usage. The default method is getting only the new messages.
- Added message colors. You must enable it in the Chatbox options. You can change the available colors in the options.

version 1.9
- Added option to disable auto refreshing for guests. This can save resources if you have a low refresh rate.

version 2.0
- fixed minor bug that could stop the chatbox from working if the ajax response had newlines
- fixed bug that the chatbox was using the primary usergroup colors instead of the display usergroup colors for the username coloring
- fixed instructions for the chatbox under the navbar or under the forum list, old code's collapse wasn't working properly
- changed the default Chatbox place on the forum home page in the install instructions to show it after the forum listing
- updated the install instructions to be easier to follow and have more info

James Argo
08-14-2007, 11:40 AM
First post on the board.

Dream, thanks for the updated version! :)

In 1.9 post announcement, you said 1.9 is your final version and didn't think of upgrading it anymore. But then again, here comes the 2.0! :D

BTW, can someone assist me how to set it so I can have only last 50 messages shown? I mean I want it to delete first message automaticaly after it reaches 51 messages so only 50 last messages shown... :)

Thank you!

;)
Jaymz

Dream
08-14-2007, 12:03 PM
You are welcome :)

You can turn off the "Show Pages?" option, so it will only show the last 50 messages, but they will still exist in the database. Then you can use the files in the cron/ folder to auto prune your messages say older than 30 days, or just keep the old messages in case you want to see them later.

James Argo
08-15-2007, 06:48 PM
Awesome, fast reply! Thanks alot Dream! I appreciate all your effort on it :)

AshleyTwo
08-16-2007, 03:00 PM
Is it possible to install this in a subforum rather than on the home page? Thanks.

Dream
08-17-2007, 01:35 AM
Yes, you would need some template conditionals and to edit the right template. I wouldn't know exactly which one to tell you though.

CrashPush
08-18-2007, 12:45 AM
Bravo Dream! You're the man!

Ekshi
08-20-2007, 05:15 PM
Hi, I've a problem with Tag Around Username option. I want usernames in a bold font and i wrote strong into the Tag Around Username option but nothing happened on the usernames in the chatbox. Can anyone help me?

Dream
08-20-2007, 05:19 PM
"strong" or "b" should work. Aren't they already bold?

Ekshi
08-20-2007, 07:05 PM
"strong" or "b" should work. Aren't they already bold?
I've already try "b" and "strong" but it didn't work.

Ba$im
08-20-2007, 07:09 PM
hello Dream
I have some question if u don’t mind
shall I enable ajax on my forum before? cuz I use arabic charset and it have many problem as u know with ajax

how load it will eat?

thanks

Dream
08-20-2007, 08:44 PM
Yes, although I think this mod doesn't work in arabic forums.

Infante
08-21-2007, 04:40 AM
I just tried to install this. And this is what I got

Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.

Apache/1.3.37 Server at forum.realcavsfans.net Port 80

Ekshi
08-21-2007, 08:27 AM
Hi, I've a problem with Tag Around Username option. I want usernames in a bold font and i wrote strong into the Tag Around Username option but nothing happened on the usernames in the chatbox. Can anyone help me?
Are there anyone have the same problem?

l3asturd
08-21-2007, 04:33 PM
Installed yours because it was easy to understand. You also gave an easy option for vbadvanced users. It looks great and was in use minutes after being installed!

MOTM!

http://www.disctribution.com/forums/

nureeves
08-24-2007, 01:05 AM
heyy :) ... would you please add to this mod, style button for chat ... such Bold, Italic .. and also for text size !!!

cuphongle
08-28-2007, 03:24 PM
nice one dream

how do we disabled banned usergroup from seeing the shoutbox?

WNM07
08-29-2007, 11:30 AM
the 'Text Input on Top' option doesn't seem to be working. Where can i check the template? is there one?

otherwise it works great thanks

Otikeu
09-01-2007, 06:31 AM
Hello,

I believe the three features would be handy for the chatbox, which others have..

/ban *username or *userid* Function.
/unban *username or *userid* Function.
/notice To set a notice above all shouts.

I hope you could add them, they help keep monitoring of the chatbox easier. Otherwise, I'm going for the MCG shoutbox, but i really love you're quality as it gives what is needed.

Thank you.

SSG.D
09-02-2007, 10:05 PM
Installed! and thanks!:D

RFViet
09-03-2007, 12:49 AM
Can it be seen from other pages ??

Dream
09-03-2007, 01:19 AM
heyy :) ... would you please add to this mod, style button for chat ... such Bold, Italic .. and also for text size !!!
Sorry no new features are planned for this mod.
nice one dream

how do we disabled banned usergroup from seeing the shoutbox?
You put the usergroup you want in the 'cant see chatbox' option.
the 'Text Input on Top' option doesn't seem to be working. Where can i check the template? is there one?

otherwise it works great thanks
There are no templates in this mod. The 'text input on top?' option is to show the send button etc on top or at the bottom, and it also changes the messages order for them to begin from the bottom or from the top.
Hello,

I believe the three features would be handy for the chatbox, which others have..
/ban *username or *userid* Function.
/unban *username or *userid* Function.
/notice To set a notice above all shouts.I hope you could add them, they help keep monitoring of the chatbox easier. Otherwise, I'm going for the MCG shoutbox, but i really love you're quality as it gives what is needed.

Thank you.
Hello, no new features are planned for this chatbox. You have a banned users option in the chatbox options in the admincp.
Installed! and thanks!:D

You are welcome :)

Dream
09-03-2007, 01:21 AM
Can it be seen from other pages ??

If you want it to appear on all pages of your forum, add the forumhome template edit at the end of the navbar template. That would show the chatbox at the top of your forums though. To add it to the bottom of all pages you would need to add the template edit somewhere else, but I wouldn't be sure where.

Ohiosweetheart
09-07-2007, 01:19 PM
Hiya. I'm going to try your chatbox. I currently have the one from vBDev installed and it's irritating, lol. It's a good one, but doesn't work well on my forum for IE7 users.

So here I go!

Ohiosweetheart
09-07-2007, 01:39 PM
Well, It's easy to install and I like it except for one thing. I need the text input and buttons to stay at the bottom of the chatbox, not move with each post.

Sorry Dream, it's back to the other one for me :(

Staxed
09-10-2007, 01:46 AM
are there any browser or computer settings that would make it so this mod doesn't work?

(maybe something to do with AJAX)?...i can't use it when i'm at work, and a member just notified me he is having the same issue...

but at home i can use it just fine...

yoyoyoyo
09-10-2007, 04:48 PM
The option to disallow certain usergroups to see the chatbox is a good idea, however they CAN see the chatbox - just not the messages in them. This seems kind of pointless - is there a way I can configure the chatbox to be only viewable by those that can also chat, and totally invisible to those that can't?

agilent
09-11-2007, 02:35 AM
Installed, looks good. I put it under What's Going On?

Dream
09-11-2007, 03:13 AM
are there any browser or computer settings that would make it so this mod doesn't work?

(maybe something to do with AJAX)?...i can't use it when i'm at work, and a member just notified me he is having the same issue...

but at home i can use it just fine...
This mod should work on all browsers. What browser are you using? And does it gives errors?
The option to disallow certain usergroups to see the chatbox is a good idea, however they CAN see the chatbox - just not the messages in them. This seems kind of pointless - is there a way I can configure the chatbox to be only viewable by those that can also chat, and totally invisible to those that can't?

You can use template conditionals to hide the chatbox from usergroups. Not sure the exact code though.

yoyoyoyo
09-11-2007, 09:52 AM
You can use template conditionals to hide the chatbox from usergroups. Not sure the exact code though.I realize that - the conditionals are:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
<chatbox code>
</if>I just thought that maybe it should be in the instructions or hardcoded in to the hack since you offer the option. No big deal. Thanks again.

WNM07
09-14-2007, 02:23 PM
how can i make this viewable in one forum only? i know i need an <if 'condition'
but i don't know what exactly

Dream
09-18-2007, 06:11 AM
Not sure, ask for help here:

https://vborg.vbsupport.ru/forumdisplay.php?f=111

No love anymore for my chatbox since MGC came along :(

just because it has more features *shakes fist*

Dream
09-18-2007, 06:13 AM
Hiya. I'm going to try your chatbox. I currently have the one from vBDev installed and it's irritating, lol. It's a good one, but doesn't work well on my forum for IE7 users.

So here I go!

Well, It's easy to install and I like it except for one thing. I need the text input and buttons to stay at the bottom of the chatbox, not move with each post.

Sorry Dream, it's back to the other one for me :(
No problem, suit yourself. Be glad you have multiple chatboxes to choose from now as I wouldn't change that.

Dream
09-18-2007, 06:14 AM
I realize that - the conditionals are:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
<chatbox code>
</if>I just thought that maybe it should be in the instructions or hardcoded in to the hack since you offer the option. No big deal. Thanks again.
The way this mod is coded (with manual template edits) there's no way to do that.

apiasto
09-18-2007, 06:06 PM
great hack just installed it on my board workin fine, have a question though i have alot of smilies like over 300 and i dont want all of them to show in chat box.Is there a way that i can make a seperate folder with certain smilies? if it is then where do i have to do changes. like right now the smilies path is default to images/smilies. I will appreciate your help and for sure its going for nomination, thnx

Mark.B
09-18-2007, 06:52 PM
Not sure, ask for help here:

https://vborg.vbsupport.ru/forumdisplay.php?f=111

No love anymore for my chatbox since MGC came along :(

just because it has more features *shakes fist*
I prefer yours and I'm sticking with it. Nothing wrong with the other one but I need something that's simple and effective.

VBDev
09-19-2007, 06:52 AM
Not sure, ask for help here:

https://vborg.vbsupport.ru/forumdisplay.php?f=111

No love anymore for my chatbox since MGC came along :(

just because it has more features *shakes fist*

Sorry for that Dream.

But you shouldn't be sad coz you always provide us with good products (just need to have a look to your profile to directly see that ;))

Dream
09-19-2007, 11:40 AM
I was just kidding VBDev :)

VBDev
09-19-2007, 12:46 PM
I was just kidding VBDev :)

I know ;) and I was just congratulating you :D

Dream
09-19-2007, 01:09 PM
thanks :) I appreciate that

Dream
09-22-2007, 09:22 AM
great hack just installed it on my board workin fine, have a question though i have alot of smilies like over 300 and i dont want all of them to show in chat box.Is there a way that i can make a seperate folder with certain smilies? if it is then where do i have to do changes. like right now the smilies path is default to images/smilies. I will appreciate your help and for sure its going for nomination, thnx

you would need to edit chatbox.php... are all your smiles in images/smilies?

Bean Bandit
09-29-2007, 12:26 PM
Hi,
I've installed the chatbox today (vb3.6.5) and set everything up as good as I can but for some reason the changes for the box height don't have an effect... I've seen there's a var in the template for it but somethings not right - chatbx itself works fine :) good work.

I couldn't find a var in the php file either... but then again I have no clue about codeing :)

any help appreciated

EDIT: found the code on page 9 in this thread to insert in the chatbox template to fix the lenght
changing it through the vb-options would be preferd thouh :)

EDIT2: would it be possible to set the lenght according to the messages... i.e. if I say display 10 messages per page the box will be as long as it needs be to display all 10 (despite them being all one liners or loads of text)?

Dream
09-29-2007, 12:59 PM
No that's not possible.

The code that creates the height is a plugin, called height something, don't you have it?

Bean Bandit
09-29-2007, 01:03 PM
No that's not possible.

The code that creates the height is a plugin, called height something, don't you have it?

I do have that but it doesn't seem to work... somehow...

the reason I woul like to have some sort of variablle height would be to prevent the use of the scrollbar

another thing would be to move the page choice button too the bottom of the box...

PS: sorry for all the questions (I'm running the chatbox in the side panel so with is an issue)

Dream
09-29-2007, 01:45 PM
There's an option to show the text input and pages on the bottom.

On the height problem, sorry I don't know what may be happening... may be a problem with running vba. Try changing the plugin hook to global, not sure each one.

Bean Bandit
09-29-2007, 02:06 PM
cheers, I fixed the height for now within the template and will have a mate have a look at the plugin (don't no a thing about hooks and stuff)

I'd only want the pages at the bottom, text input on top is perfect... anyway will do for now as said variable lenght regarding to shown post would be a nice feature, especialy for those running it in the sidepanel ;)

Dream
09-30-2007, 02:22 PM
No problem, also please mark as installed if you keep using this.

mystic10
10-04-2007, 09:42 PM
i have problem when i uploaded the chatbox there was only one smiley..and when i writing and shout its different...http://www.yah00-city.com
please check and tell me how can i fix it..i will be very greatful thanks

bosal
10-06-2007, 04:59 PM
Ok, I want to this shoutbox apear only in few forum id. How to make it ? <if and what ? :)

doogie1775
10-11-2007, 09:57 PM
Love the mod - thank you!

Couple of questions - after reading through (most) of the posts here. I have decided that I really would have rather used the ajax version (I installed the one without) - mainly because I just didn't understand what ajax was. What ramifications are there to changing over. What I have now works great, I just like the fact of not having refresh intervals (would like it instantaneous). I am using vBulletin v3.6.8 w/ vBadvanced v3.0 RC2. (I am new to all of this, so the simplist instructions how to convert would be appreciated).

Also, one of my registered users is on dial-up (I know, I know - but he isn't going to change) - He is not able to use the shoutbox at all. The curser never appears allowing him to type. I have quadruple checked all permissions, etc so I know it has nothing to do with it. Has anyone experienced this problem?

Thank you in advance!

Dream
10-11-2007, 10:19 PM
The ajax version still has a "refresh interval", it just doesnt "refresh" the whole page. The newest version has an upgrade.txt file with the upgrade instructions.

Never heard of that problem. Does he see the messages at all?

doogie1775
10-12-2007, 03:24 AM
The ajax version still has a "refresh interval", it just doesnt "refresh" the whole page. The newest version has an upgrade.txt file with the upgrade instructions.

Never heard of that problem. Does he see the messages at all?

Thanks for the reply!

Yes, he sees the chatbox and messages within, he just cannot click in the entry box to add a message - very strange.

Dream
10-12-2007, 03:54 AM
Is he a member of any secondary usergroups? What is his primary usergroup?

doogie1775
10-12-2007, 04:09 AM
Primary usergroup is registered users..........not a member of secondary.........trust me, check and checked and double checked permissions - not the issue.

Dream
10-12-2007, 04:20 AM
I just asked because when you have the usergroup on "can't use chatbox" option, the user can't click the text field just as you described.

Is your banned users option empty? Can you send me your board's address? You can do it by PM if you want.

doogie1775
10-21-2007, 09:44 PM
This is a great mod! Is there a way to give guests the ability to "use" the chatbox rather than just "see" it? In vBulletin options for chatbox I only have the banned user group listed in the can't view chatbox, and the can't send messages options. I must be missing something, because I would think guests could then actually use the chatbox. I am running vBulletin 3.6.8 w/ vBadvanced CMPS v3.0 RC2.

Thanks in advance for any/all help :)

Dream
10-22-2007, 05:32 AM
Unregistered users should be able to use the chatbox if their usergroup is not on the "Can't Send Messages" and "Can't View Chatbox" settings.

Dream
10-22-2007, 09:45 PM
This mod is now marked as "Re-usable Code", meaning anyone can modify it and release his own version. I'm not updating this mod anymore for the time being.

(of course there are so many chatboxes nowadays no one really needs to take this on)

Mark.B
10-27-2007, 12:14 PM
This mod is now marked as "Re-usable Code", meaning anyone can modify it and release his own version. I'm not updating this mod anymore for the time being.

(of course there are so many chatboxes nowadays no one really needs to take this on)
Perhaps there are, but yours was the only one that didn't break the site or overload the server.

I realise others have been released since yours, and I admit I haven't tried them.

However I find this one clean, simple for site users to understand, easy for admins to tweak and effective at what it does.

I also managed to easily add it to other areas of my site, such as the arcades and casino, without breaking them or slowing them down.

Thus I'm sticking with it. Thanks for coding it in the first place.

xxxclubk1dxxx
10-28-2007, 03:19 AM
Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM dfchatbox ORDER BY dateline ASC LIMIT 0,;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064

After I installed the chatbox..I received that message on a chatbox.

stan111
10-31-2007, 08:59 PM
i got a question
how come when i choose the color, it wont stay in that color when i type the new sentence
i have to choose it every time i type the new sentence, it keep getting back to the default color
thx

Dream
10-31-2007, 11:21 PM
The normal behavior should be to keep the color, works like that on my installation.

stan111
11-03-2007, 01:08 AM
The normal behavior should be to keep the color, works like that on my installation.

just check back, it works now
sorry about the question

your chatbox rocks, it is simple and very effective

thanks

firefoxx
11-03-2007, 12:35 PM
i have installed the vBa module. also the module is active but i can't see the chatbox.

TheBlackPoet
11-07-2007, 03:29 AM
the chatbox works fine for me and my people... except for my supermod... usergroup id 5 i have that group defaulted under the moderators.. but it treats that usergroup as a usergroup 1 unreg or 8 banned..... i've look in all the php... the templates... the usergroup manager... i cant figure it out..

doogie1775
11-07-2007, 08:07 PM
the chatbox works fine for me and my people... except for my supermod... usergroup id 5 i have that group defaulted under the moderators.. but it treats that usergroup as a usergroup 1 unreg or 8 banned..... i've look in all the php... the templates... the usergroup manager... i cant figure it out..

One thing you might want to check (this bit me too) - In the vbulletin options for chatbox there are three basic permission boxes:

Can't send
Banned
Can't view

pay close attention to the banned one - it is user ID not usergroup ID

May not be your issue, but thought I would mention it!

StakingAces
11-10-2007, 07:46 PM
Can you tell me if I can rename it instead of saying Chatbox atop the heading of the box to something else? Please elaborate if so. Thank you!

Dream
11-10-2007, 08:18 PM
change the phrase chatbox_chatbox

powerful_rogue
11-10-2007, 08:27 PM
Hi,

Probably a silly question, but when the chatbox refreshes, is this classed as a "hit" in terms of server stats?

garala
11-10-2007, 08:47 PM
Simple and does it's job!

Installed! (www.gamerzarea.net)

Dream
11-10-2007, 08:56 PM
Hi,

Probably a silly question, but when the chatbox refreshes, is this classed as a "hit" in terms of server stats?
yes, for any chatbox/shoutbox
Simple and does it's job!

Installed! (http://www.gamerzarea.net)

glad you liked it :)

nectons
11-12-2007, 02:00 AM
Whow.. it plays flowlessly! I have a greek tech forum and now is more advanced,.! Thanks for sharing. My forum if anyone wants to see is www.neoshop.gr/portal2/forum/

Dream
11-12-2007, 02:05 AM
Your forum has a very nice style :)

KHALIK
11-12-2007, 02:27 AM
using on vb 3.66

chatbox 1.3 (no ajax)


I always get error message: - read the whole section with no answer!! everything installed and working properly BUT BUT...

I get a error message under IE7 -

Line 408
Char 1
Error: Objective required
Code 0
URL: http://www.fragmasters.co.uk/forum/chatbox.php


If I un-intsall it, error message disappears.

Dream
11-12-2007, 02:37 AM
Have you tried version 2.0?

Your chatbox seems to be working for me.

KHALIK
11-12-2007, 02:45 AM
ok, will be testing version 2 now with ajax enabled :(

btw it works perfectly BUT on IE i get errors!

Guest191216
11-13-2007, 07:05 PM
Hi,
Install worked well, but the chatbox never empties itself..
So since day 1 all messages are still there.

How can I set this to be cleaned / emptied daily or weekly ?

txs
khb

Dream
11-13-2007, 11:21 PM
Read the instructions in the cron/ folder

Guest191216
11-14-2007, 06:05 AM
Thank you !
I had missed this one :o
kh

thepub
11-15-2007, 03:28 AM
what is the difference between the ajax verson and the other one? I don't know what ajax is *hides*. Also, how can I set this up to be on every page and not just the forum home?

Dream
11-15-2007, 03:31 AM
Ajax means no page refreshes.

You can add it to every page if it's below the navbar.

thepub
11-15-2007, 02:16 PM
I do have it below the navbar but how do I put it on every page?

Dream
11-16-2007, 08:10 AM
Just put it on the bottom of the navbar template instead of in the forumhome template.

thepub
11-18-2007, 05:16 PM
Just put it on the bottom of the navbar template instead of in the forumhome template.
just paste the code at the bottom?

thepub
11-18-2007, 05:22 PM
just paste the code at the bottom?
woohoo it worked! Except it put the shoutbox on my homepage (cmps) twice and I didn't know how to remove the extra one and keep the module one (looked better as a module for homepage). How can I set it up back like it was for my homepage?

Dream
11-18-2007, 07:17 PM
You can remove the code from your navbar template. To remove it only from the cmps page I wouldn't know how.

SNATCH3R
11-19-2007, 11:09 AM
thanks for the mod Dreams....already downloaded..will install it after setting up my forum completely.....i just want to ask..will the chatbox appear in the vba CMPS home page or only on the Forumhome page.....

thanks once again.. :)

SNATCH3R
11-19-2007, 03:10 PM
Installed.....thanks....but i find some issues with FF. its workin fine with IE...neways gr8 work....

Can anybody tell is it possible to see the online users in the Chatbox....thanks in advance

mortydot
11-20-2007, 11:28 AM
Hmmm strange I think I'm the only one but when i want to import the cpnav_chatbox.xml as a new product for vbulletin trough the "browse" button or through the server i Get this error:

Invalid File Specified

Using Chatbox 2.0 and VB latest version.:eek:

mortydot
11-24-2007, 06:31 PM
How stupid can i be...... wrong xml file.... needed the other one.... excuse me...

marko42m
12-04-2007, 07:48 PM
I have this message:
Parse error: syntax error, unexpected '<' in D:\Inetpub\webs\myweb.com\rcforum\index.php(63) : eval()'d code on line 1

pls. help:confused:

tikichick
12-08-2007, 10:35 PM
I love this mod!! Thank you thank you thank you!

Is there a way to play a sound to indicate new activity?

kronnos
12-10-2007, 09:04 AM
Hi, I just downloaded the chatbox and really love it but cant get it to stay right were i want it.

Tried so many ways to make it fit right put just dont knwo enough code to do it.

I uploaded an image showing were i want it and how it turned out in the first line of forum details. I edited in photo editor How I would want the chat box to be places like in the last line of forum detailed. i tried to be as detailed as possible in the image:) Thank You!

Or Like in this image: https://vborg.vbsupport.ru/attachment.php?attachmentid=65010&d=1180656301

Dream
12-10-2007, 10:11 PM
I love this mod!! Thank you thank you thank you!

Is there a way to play a sound to indicate new activity?

Sorry I stopped adding new features to this mod.

Dream
12-10-2007, 10:15 PM
Hi, I just downloaded the chatbox and really love it but cant get it to stay right were i want it.

Tried so many ways to make it fit right put just dont knwo enough code to do it.

I uploaded an image showing were i want it and how it turned out in the first line of forum details. I edited in photo editor How I would want the chat box to be places like in the last line of forum detailed. i tried to be as detailed as possible in the image:) Thank You!

Or Like in this image: https://vborg.vbsupport.ru/attachment.php?attachmentid=65010&d=1180656301

Use the "chatbox in Whats Going On box.txt" instructions, but instead add the code before this

</table>
<br />
<!-- end what's going on box -->

I *think* that should do it.

jking222222
12-10-2007, 11:39 PM
Thanks for the mod!

Is there a way to have it show up on the home page and one specific thread or board?

Dream
12-10-2007, 11:42 PM
The instructions for it to show on the home page are included in the zip file.

For the chatbox to show on a thread or a particular forum, you would need template conditionals, but I'm not sure which ones you would need. You can try to ask for help on this forum (https://vborg.vbsupport.ru/forumdisplay.php?f=111).

kronnos
12-11-2007, 10:23 AM
Thank you, didn't even see that text file in the folder before:)

Can I change the text "chatbox" where it says "http://forumname.com - chatbox - MozillaFirefox. Also is there a way to insert an Ad code and/or a header in the new chatbox window that opens with the javascript code?

Thank You

Dream
12-17-2007, 11:12 PM
There should be a phrase that has "chatbox" in it so you can change it. If not (been almost 6 months I don't mess with this mod) there should be a <title>chatbox</title> in chatbox.php you can change.

There's no way to insert an ad to the chatbox page without adding it to the normal chatbox that appears on forumhome, because there's no way to know where the user is.

kronnos
12-18-2007, 07:46 AM
There should be a phrase that has "chatbox" in it so you can change it. If not (been almost 6 months I don't mess with this mod) there should be a <title>chatbox</title> in chatbox.php you can change.

There's no way to insert an ad to the chatbox page without adding it to the normal chatbox that appears on forumhome, because there's no way to know where the user is.

Thanks, fixed it in chatbox.php. And yes, when i add the ad/header to chatbox in new windows, it also opens in the the normal chatbox aswell. I know little about codes but just got an idea to make 2 different javascript codes added to navbar.

This could be the code to add for the normal chatbox:
<!-- Chatbox -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatbox')"><img id="collapseimg_forumhome_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatbox].gif" alt="" border="0" /></a>
<a href="javascript:openChatbox()">$vbphrase[chatbox_chatbox]</a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatbox" style="$vbcollapse[collapseobj_forumhome_chatbox]">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
<!-- / Chatbox -->
Which would open the chatbox.php. and then make another chatbox2.php which would then be added to:
<script type="text/javascript">
<!--
function openChatbox () {
chatbox = window.open('chatbox2.php','chatbox','height=330,w idth=650,directories=no,location=no,menubar=no,res izable=yes,status=no,toolbar=no,scrollbars=yes');
}
//-->
</script>

Will that work and if yes, would it use up too much resources running to chats?

PS: In firefox the window opens in the preset size but in internet explorer the window opens full size.

Dream
12-18-2007, 07:49 AM
no it would be fine

AlexanderT
12-29-2007, 03:27 PM
I think there is a small bug.

Function chatbox_construct_shouts refers to the global variable $tagarounduser but it's missing in the global statement. In effect, the "Tag Around Username" option does not work. To fix it, add $tagarounduser to the global statement of the function.

Sevo
12-29-2007, 06:03 PM
I have VBA installed and I uploaded your chat to it.. but in the chat box field it say "no input data" how do I get it to work in the VBA page.

thank you for your help

TCE Killa
12-29-2007, 06:10 PM
Great mod this, thanks.

Tikibird
12-31-2007, 06:08 AM
How is this chatbox in regards to server load? I am currently running VBShout2.1 and it is killing my bandwidth. If anyone has used both products, I would be interested in a comparison.

I downloaded it and was going to give it a try but I am confused by the various text docs with template edits. Is it necessary to edit templates to make the chatbox work? Or are the template edits just if you want to change the position of it?