PDA

View Full Version : vB Chatbox 1.2.4


Pages : 1 [2]

Dennis B
03-23-2003, 06:06 PM
p0s3id0n,

Can I force the reduced mode? I thought of this to (1) save bandwidth and (2) merge the chatbox into my welcome panel.

Merci.

Dennis B
03-23-2003, 06:12 PM
Never mind... I just realized that in reduced mode users can't chat at all... I'll figure out how to customize the big box. Sorry.

p0s3id0n
03-23-2003, 06:15 PM
for the first one, i just anwsered :
@ DOTS : look at the chatbox template, you just need to
change the width parameter of the iframe tag.:p

and to have the chatbox reduced by default, the simplest way
would be to execute the following query :
ALTER TABLE user CHANGE chatbox chatbox TINYINT( 4 ) DEFAULT '0' NOT NULL
and maybe if you want to switch all your members to a reduced
chatbox execute also the folowing query :
UPDATE user SET chatbox = 0


~~edit~~
you're welcolme ;)

Dennis B
03-23-2003, 06:28 PM
Would new members get the reduced chatbox by default as well...?

Dennis B
03-23-2003, 06:33 PM
p0s3id0n,

It seems like the iframe doesn't like to be inserted into a table... When I tried to put $chatbox inside one of my welcome panel's tables it just got all over the other stuff... Any hints...?

Thanks.

Dennis B
03-23-2003, 06:44 PM
Made it work... just removed the <center> tags... I promise I'll try stuff first and ask questions later from now on...

p0s3id0n
03-23-2003, 06:46 PM
yes with the query i gave you, new members will have the
reduced chatbox by default...

As for the chatbox all wrong inside a table.... it must depend on
your table's parameters : width, height, nowrap, rows, cells.......

~~edit~~
nice to read it works ;)...

Dennis B
03-23-2003, 06:52 PM
Oh, it's a major add-on to my forum, members have been asking for it. Congrats for the great work. :cool:

Dennis B
03-23-2003, 07:30 PM
p0s3id0n,

If you want to check out the final result, take a look here (http://htforum.com/vb). Very nice.

Is it possible to make the reduced version diplay the last 3 posts instead of just the very last one?

Thanks,

Erwin
03-23-2003, 08:46 PM
Today at 08:30 AM Dennis B said this in Post #260 (https://vborg.vbsupport.ru/showthread.php?postid=372165#post372165)
Is it possible to make the reduced version diplay the last 3 posts instead of just the very last one?


Read this thread - the solution to this has been posted.

p0s3id0n
03-23-2003, 09:10 PM
Today at 10:46 PM Erwin said this in Post #261 (https://vborg.vbsupport.ru/showthread.php?postid=372216#post372216)


Read this thread - the solution to this has been posted.


I have even put a link to the post in the first post of this thread ;)

* p0s3id0n reports obvious leaziness (not sure about the word) to a mod ;)


by the way, really nice mini chatbox :)...

Dennis B
03-23-2003, 09:58 PM
Thanks Erwin and thanks p0s3id0n. ;)

Dennis B
03-23-2003, 10:25 PM
Actually guys, the links in the first page don't work directly. It's all in terms of "shout_box", must be an earier version. I could go ahead and just replace all "shout..." with "chat...", but I'm wondering if there's something else that changed with the latest releases.

thanks...

X-Fan
03-23-2003, 11:31 PM
Today at 05:08 AM p0s3id0n said this in Post #243 (https://vborg.vbsupport.ru/showthread.php?postid=372085#post372085)
@ x-fan : i think i'll make another archive of this hack in
zip format since it seems that some people can't extract rar.

Thanks p0s3id0n! Let us know when the new archive is posted.

p0s3id0n
03-24-2003, 06:42 AM
here it is updated in zip format :)

NuclioN
03-24-2003, 08:45 PM
Maybe i've overlooked it but is there a way to prevent guests reading the shoutbox? Tnx in advance.

Dennis B
03-24-2003, 10:16 PM
NuclioN,

Just ban the user [space] in your chatbox control panel. That's just hitting the spacebar.

p0s3id0n & Erwin,

The code changes mentioned in posts # 68 and 70 in this thread (where the first post links point to) doesn't seem to help me get 5 messages in the "closed" version of the chatbox. I believe it must be because there has been some change to the code, since the code posted refers to "shout" stuff instead of "chat" stuff. :(

I've tried to insert $chatbit .= "<br>"; in two places to match the code you posted, but it didn't work. What I have now is
}else{
$chat_row = mysql_fetch_assoc($chat_result);
$name = $chat_row["name"];
$comment = $chat_row["comment"];
$date = $chat_row["date"];
$date = date("Y") . "-" . substr($date, 4, 2) . "-" . substr($date, 1, 2) . " " . substr($date, 7, 2) . ":" . substr($date, 10, 2);
$date = date("[d/m|H:i]", strtotime($date) + ($bbuserinfo['timezoneoffset'] * 3600));
$comment = parseurl($comment);
$comment = ereg_replace("sessionhash=[a-z0-9]{32}", "", $comment);
$comment = ereg_replace("s=[a-z0-9]{32}", "", $comment);
$comment = bbcodeparse($comment);
$comment = str_replace("<br />"," ",$comment);
$comment = str_replace("<br>"," ",$comment);
$comment = swear($comment);
if(substr($comment,0,3) == "/me"){
$comment = stripslashes(substr($comment,3));
eval("\$chatbit = \"".gettemplate('chatbox_bit_me')."\";");
$chatbit .= "<br>";
}else{
$colorirc = $un_color_chat;
$comment = stripslashes($comment);
eval("\$chatbit = \"".gettemplate('chatbox_bit')."\";");
$chatbit .= "<br>";
}
eval("\$chatbox = \"".gettemplate('chatbox_fermee')."\";");
}
}


plus post #70's code, but it doesn't work. :(

Thanks for any advice.

wolfman
03-25-2003, 01:56 AM
Well I still have no smilies in the smilie popup for the shoutbox anyone have any ideas what may be causing this problem?

geezzaa
03-25-2003, 11:04 AM
I got the same problem. all i got is a chat window. i dont have anything like the screenshot in the first post.
can you help please.
the chatwindow is www.ukcultivator.biz

p0s3id0n
03-25-2003, 05:35 PM
@ Dennis B : i'm going to edit the post whe i give the tip about
the 5 chats thing.

@ geezzaa : i went as a guest on your forum, and everything
seems to work fine for me, what did you think there should
have been on your main forum page ? (by the way : nice topic,
your board ;)).

geezzaa
03-25-2003, 06:17 PM
Thanks . ;)
I managed to get it working. Im a bit new to this.
How do i get the window with the fonts selection and smilies as shown on your screen shot in the first post.
Its certainly looking better than what i had on my forum pages earlier

lioncool1589
03-25-2003, 11:14 PM
any command i could ban user from shoutbox without go in admin control panel

wolfman
03-25-2003, 11:23 PM
Well at www.groom-family.com/forum I have tried removing this hack and re installing it, but I still can not get the smilies to come up inthe popup window.

superman
03-26-2003, 12:56 AM
can someone give me instructions on how to manually do this chmod 777 thing? I have no clue what to do :\ please help!!

PHP NOOOB!

oh yeah and there is also no optiosn in the admin cp to do antying, I can't find it anywhere :\ so can you tell me what to do?

Dennis B
03-26-2003, 01:01 AM
p0s3id0n,

Unfortunately it's not displaying 5 posts, it's displaying only the 5th from last post... :(

Dennis B
03-26-2003, 01:03 AM
superman,

You have to FTP to your server and either do it manually if you're working off a command line or use your FTP progarm's built-in funtions. For example on coffecup FTP, if you click the right button on the file, you get the option "change permission" and just go ahead and click on all boxes.

Dennis B
03-26-2003, 01:10 AM
wolfman,

Have you edited you chatbox_saisie template?

It should have this function next to the beginning (unedited)

function ouvresmil(){
var NewFen = true;
if(winsmilies != null)if(!winsmilies.closed)NewFen = false;
if (NewFen)winsmilies = window.open("chatbox.php?page_chat=popupsmil&s=","Smilies","left=600,top=0,width=400,height=550,scrollbars=yes ,status=no,directories=no,toolbar=no,location=no,r esizable=yes,menuBar=no");
else{
winsmilies.window.resizeTo(400,550);
winsmilies.window.moveTo(600,0);
winsmilies.window.location.replace("chatbox.php?page_chat=popupsmil&s=");
}
winsmilies.focus();
}

and a line close to the end calling the ouvresmil javascript.

wolfman
03-26-2003, 01:31 AM
Actually that pretty much broke it though I just noticed that I am using a slightly older version of this 1.2.2

wolfman
03-26-2003, 02:23 AM
OK I went and uninstalled 1.2.2 (its ok I will kick myself in the butt) and installed the latest version 1.2.4 and works great :) and not a single problem and was able to import the post in the shoutbox back for a minimal loss for my users.

p0s3id0n
03-26-2003, 04:58 AM
@ wolfman : nice to hear all is right now :)

@ Dennis B : i just forgot two dots :(... just edited the post
with the code, do the copy paste once again, and it should
be ok :).

wolfman
03-26-2003, 11:38 AM
I think I can safely say that this is the most used feature/hack that I have added to my forum, if its down at all I hear about it from the users :)

geniuscrew
03-26-2003, 11:58 AM
Hey p0s3id0n

My problem was that my oh-so-lovely multi-filetype decompressor decided that it didn't want to extract .RAR files

So, can someone please convert it to .ZIP format?

Thanks

p0s3id0n
03-26-2003, 12:32 PM
Hey geniuscrew, like i said a little bit earlier i changed the
archive to a zip one :), so everything should be ok :).

the rar archive i put was a v3 rar which is not compatible with
zip or ace decompressors :(.

jancarlo
03-26-2003, 01:54 PM
@ p0s3id0n, allego una gif così capisci meglio il mio problema.

jancarlo

@ p0s3id0n, I enclose a GIF therefore you understand better my
problem.

jancarlo

geniuscrew
03-26-2003, 03:49 PM
Today at 02:32 PM p0s3id0n said this in Post #284 (https://vborg.vbsupport.ru/showthread.php?postid=373573#post373573)
Hey geniuscrew, like i said a little bit earlier i changed the
archive to a zip one :), so everything should be ok :).

the rar archive i put was a v3 rar which is not compatible with
zip or ace decompressors :(.

Sorry, didn't see it.


Merci beaucoup :D

superman
03-26-2003, 10:29 PM
Yesterday at 07:03 PM Dennis B said this in Post #277 (https://vborg.vbsupport.ru/showthread.php?postid=373401#post373401)
superman,

You have to FTP to your server and either do it manually if you're working off a command line or use your FTP progarm's built-in funtions. For example on coffecup FTP, if you click the right button on the file, you get the option "change permission" and just go ahead and click on all boxes.




ummm what .phps do I do that on? I did it on the admin index adn the root index, but nothing is happening, how do I do this manual chmod 777 thing, just explain how to do it, like gimme the line to add or replace.. if you can thanks :)

p0s3id0n
03-27-2003, 11:16 AM
the file on which you need to change the attributes is chatbox_config.php.

Insideout
03-27-2003, 11:47 AM
Possibly a daft question, but i am a newbie.
I want to make the shoutbox as a pop up. i found this data by clicking the link.
<center><normalfont><a href="java script:;" onclick="window.open('shoutbox. php','shout','status=0,directories=0,toolbar=0,loc ation=0,menuBar=0,scrollbars=0

Where is this pasted ? and in what file please.

lioncool1589
03-28-2003, 01:37 AM
how i make shoutbox only registered users(not Users Awaiting Email Confirmationcan) can use shoutbox
i have some stupid ppl keep spam on my shoutbox

msimplay
03-28-2003, 12:35 PM
i got a bit of a problem
the shoutbox time doesn;t seem to match my forum time

how do i change the shoutbox time to match my forum time ?

Insideout
03-28-2003, 03:15 PM
The icons selection or minimise are not showing so i cant add smilies or text styles. any ideas?

Dennis B
03-28-2003, 10:43 PM
Insideout,

Read page #17 of this thread. ;)

Insideout
03-28-2003, 11:54 PM
ok i know what to do now. but errrr i cant find chatbox_saisie template anywhere. what directory should it be in

Insideout
03-29-2003, 11:11 AM
Hi ok.
I found the sassy template, Soz very new to this vb thang.
Ok i have changed the value of width to 300. Unfortunately It hasnt changed the chat box to show the smilies or minimise button.

Heres a portion of the template. The change i made is in red

var winsmilies, winvb;

function raz(){
bouate.message.value="";
}

function ouvresmil(){
var NewFen = true;
if(winsmilies != null)if(!winsmilies.closed)NewFen = false;
if (NewFen)winsmilies = window.open("chatbox.php?page_chat=popupsmil&s=","Smilies","left=600,top=0,width=300 ,height=550,scrollbars=yes,status=no,directories=n o,toolbar=no,location=no,resizable=yes,menuBar=no");

For what its worth even though its not working correctly i am very impressed at this hack..thanks

Dennis B
03-29-2003, 11:34 AM
Insideout,

You've changed the width of the simlie pop-up.

Look for this code futher down the chatbox_saisie template and change the size parameter:

<body bgcolor="$fondchatbox">
<form name="bouate" action="chatbox.php" method="post" target="chat" onsubmit="setTimeout('raz()',100)">
<input type="hidden" name="setting" value="save">
<input type="hidden" name="page_chat" value="chat">
&nbsp;<input type="text" name="message" size="25" maxlength="255"> <input type="submit" value="ok">

Dennis B
03-29-2003, 12:00 PM
p0s3id0n,

Could you quickly review the logic of the modified code in post # 68 (https://vborg.vbsupport.ru/showthread.php?postid=292014#post292014) cause I keep getting a parse error...

Also, on page 17 of this thread you told me how to do a couple of queries to make the chatbox appear reduced by default, but actually what's happening after the queries is that the chatbox appears at the last state when I left. Explaining better, if I left the forum yesterday in "expanded" mode, that's what I get when I logged back in this morning. Had I left in "reduced" mode, that would have appeared today. What I want is that every time a user logs in, the chatbox appears in reduced mode. Can you tell me how to do that...?

Merci

Insideout
03-29-2003, 12:25 PM
Dennis B.
Thank you mate. Im up and running and my forum has a new lease of life.

Dennis B
03-29-2003, 12:28 PM
np. ;)

sHORTYWZ
03-29-2003, 08:26 PM
wonderful hack, wondering if there was a way to disable vbcode in it however?

I have some users who find it funny to post images =)

Thanks.

Dennis B
03-30-2003, 01:35 PM
sHORTYWZ,

In the template chatbox_saisie this is the line where the vB codes are alled:

<a href="java script: ouvrevb() ;"><img src="https://vborg.vbsupport.ru/images/vbcodes.gif" border="0" alt="vBcodes" align="absmiddle"></a>

(there are some extra spaces in this line that should be ignored)

You can either remove (or comment it out) completely, but you'll lose the icon in the box as well, or you can remove or substitute these

<a href="java script: ouvrevb() ;"> ... </a>

with something else to keep the icon.

alzibub
03-30-2003, 04:05 PM
I could be as thick as whipped cream here (one is a newbie !)...

I have looked through all 21 pages here and seen fleeting comments to the question but cannot seem to find the fix.... so here goes...

How do you allow Unregistered/not signed in etc users to post a shout ?
I noticed when I tried it came out blank :disappointed:

Logged in etc it works fine !!

After overcoming the time zone hack (server in Hong Kong, Located in UK and most visitors from states!) this is a quality hack !!

Merci Beaucoup Mon ami, c'est splendid !!

sHORTYWZ
03-30-2003, 08:40 PM
all that's gonna do is remove the button though isn't it?

users can still type the code in manually..

i'm also now having problems with users using html.. any way to block that out as well? :)

sHORTYWZ
03-30-2003, 08:41 PM
also found a bug

I have a user who's name is "Weir T'karr"

the sql query checking for banned users comes up invalid because of the ' in his name:

select user from chatbox_ban where user = 'Weir T'karr'
:mysql error: you have an error in your sql syntax blah blah - near 'karr'' at line 1.

grog6
03-31-2003, 11:04 AM
@ sHORTYWZ : In chatbox.php, find

$result = $DB_site->query("SELECT user FROM chatbox_ban WHERE user = '$bbuserinfo[username]'");

and replace $bbuserinfo[username] with :

".addslashes($bbuserinfo[username])."

Should remove your probleme ;)

sHORTYWZ
03-31-2003, 03:28 PM
looks like it worked, thanks!

onto my next question.. anyway to disable bbcode/html? :)

sHORTYWZ
04-01-2003, 12:05 PM
another bug, same user:

Invalid SQL: SELECT id FROM chatbox WHERE date LIKE '[31/03|19:%' AND name = 'Weir T'karr' AND comment = ':p '
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 'karr' AND comment = ':p '' at line 1

mysql error number: 1064

p0s3id0n
04-01-2003, 03:50 PM
aaaaaaaarrrggghhhh F*CK !!!

i knew i forgot something when i updated that script :(
i'm sorry, i'll have to udpate the script, to correct those
bugs with the ', just two or three addslashes, but that
must be done.
since i'm very busy, it could take a day or two, but i
wont forget :).

msimplay
04-01-2003, 09:18 PM
Hello
was wondering
cuz i have this hack installed is there anyway to have it in the chatbox aswell
all of my members love it , buts what lets it down for us :rolleyes:

anyway i've attached this picture to show u what i mean

and this link to the hack that i'm using

http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=853

Entourage
04-09-2003, 09:12 AM
works great!!! tnx mate!

Coyii
04-14-2003, 02:52 PM
I have been trying to modify the chatbox so that it is in a popup instead of on the main page. I tried using the code on pg 4 but I just keep getting "error on page" I did modify the code from shoutbox.php to chatbox.php and removed the space between "java script" and changed 'shout' to 'chat', cant seem to figure out what I am doing wrong.

I looked through all 21 pages of this thread and cant seem to find updated instructions on how to do this.

Has anyone done this?
Can anyone Help?

kevin_r1
04-19-2003, 09:32 PM
Below is a database error message received when one of my user's attempts to minimize the chatbox:


Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE user SET chatbox=0 WHERE username='User's Name' 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 's Name'' at line 1

mysql error number: 1064


Let's say the user's name is User's Name. The error invokes because there is an apostrophe in the name itself. How do I account for this? Wouldn it be better to reference the user ID # as opposed to the actual name? If so, how do I do this.

Erwin
04-20-2003, 04:30 AM
kevin - the solution is just a few posts above yours. :)

kevin_r1
04-20-2003, 03:38 PM
Today at 05:30 AM Erwin said this in Post #313 (https://vborg.vbsupport.ru/showthread.php?postid=384487#post384487)
kevin - the solution is just a few posts above yours. :)
:o Indeed it is. My bad. Thanks.

kevin_r1
04-21-2003, 02:36 AM
I'm at a loss. Even after implementing the suggested code fix, I still get the same error. Is there an error in my syntax?
$result = $DB_site->query("SELECT user FROM chatbox_ban WHERE user = '" .addslashes($bbuserinfo[username])."'");

Sadie Frost
04-26-2003, 03:01 AM
04-14-03 at 11:52 AM Coyii said this in Post #311 (https://vborg.vbsupport.ru/showthread.php?postid=382038#post382038)
I have been trying to modify the chatbox so that it is in a popup instead of on the main page. I tried using the code on pg 4 but I just keep getting "error on page" I did modify the code from shoutbox.php to chatbox.php and removed the space between "java script" and changed 'shout' to 'chat', cant seem to figure out what I am doing wrong.

I looked through all 21 pages of this thread and cant seem to find updated instructions on how to do this.

Has anyone done this?
Can anyone Help?

There's another extra space in there - just go through and take out any extra spaces and it should work :)

Sadie Frost
04-26-2003, 11:42 PM
This is a bit of a weird thing. When users submit their comment, when the page refreshes, the input box is gone so they have to reopen the chat to post another comment.

I'm sure I must jsut have missed some code, but I can't find it. If anyone would be so kind to take a look, I'd appreciate it :)

http://www.lotr-boards.com

username: test
password: test

Edit: Okay, here's the problem. I have it so that it shows minimized on my main page, and then when you click on the link it opens the chatbox in a new window.

For some people the chat is maximized on the main page and works fine. But if you close it, then click on the link again it opens the new window and that's where the problem is.

If that made any sense...

Edit Again:

The plot thickens. I believe I have something wrong in my popup code, because if you just type in domain/chatbox.php in the browser window it works fine.

This is what I have for the link to the popup:

<a href="javascript:"; onclick="window.open('chatbox.php','chat','status=0,directo ries=0,toolbar=0,location=0,menuBar=0,scrollbars=0 ,resizable=0,width=650,height=130,left=100,top=100 ');">

noelmd2001
04-27-2003, 06:06 AM
i did a complete search on thir threa but did not seem to find any solution...

my shoutbox is workign great... right layout of the 'go' and icon buttons, members can post messages, right timestamp, smileys showing up in the pop-up box when the smiley icon is clicked...

however, only one problem ..

the smileys do not appear in the shoutbox box itself... but only their short cut words (eg. : ) , : ( , etc)?

i ahve checked everything and seemed to have everything right... but those smiling smileys don't appear where they should be smiling .. in the shoutbox itself...

btw... i put the shoutbox.php in an iframe to a frontpage that i am putting up.. so please excuse the page .. it is just a testing site for the frontpage to be set up...

http://www.ustexchange.com/index2.php

anyway, i hope anybody can help me.. thanks..

:surprised: :cool: :classic: :eek:

Sadie Frost
04-28-2003, 05:32 PM
(I got mine to work - thanks to everyone who tried to help! :))

barriedale
04-29-2003, 09:10 AM
1)Got the same question as Dennis - How do I make the chatbox appear in reduced mode evertime someone is logging in?

2) is there a way to make the frame of the chatbox dynamic or will that screw things up?

Thanks a lot for this hack - a lot better than Java stuff that wouldn't quite work on Macs! Is anyone working on an update of this one?

Cheers
Michael

magnus
05-01-2003, 02:33 AM
Got this error:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT user FROM chatbox_ban WHERE user = 'SSmokin' Joe'
mysql error: You have an error in your SQL syntax near 'Joe'' at line 1

mysql error number: 1064

Tried the fix on the previous page, didn't fix it. Help? :)


Also, I'm trying to get the Chat into a Popup.. I tried the code on previous pages, and it doesn't work either. Has anyone tested these "fixes" in 2.3.0 (which I am using). Thanks.

Otherwise, the hack is working excellent.. the users love it. :)

ogden2k
05-13-2003, 01:41 PM
Does this hack eat a lot of bandwidth?

jdmuniverse
05-16-2003, 06:30 AM
04-28-03 at 07:32 PM Sadie Frost said this in Post #319 (https://vborg.vbsupport.ru/showthread.php?postid=388516#post388516)
(I got mine to work - thanks to everyone who tried to help! :))

Hello... How did you get this to work? The pop up that is... I've been trying for hours..LOL I tried deleting all the spaces in your code and that didn't work.

Any help is appreciated!

Thanks

jdmuniverse
05-16-2003, 06:59 AM
I found the answer on Sadie Frost's site...

<a href="javascript://" OnClick=javascript:window.open('chatbox.php','popu p','status=0,directories=0,too lbar=0,location=0,menuBar=0,scrollbars=1,resizable =1,width=650,height=130,left=1 00,top=100');return false;">

Thanks

gmarik
05-17-2003, 08:53 PM
[url.]http://phpclub.net/talk/[./url]

It does not makes a link, but returns these brackets.
Can it be fixed?

Slappy Nutz
05-20-2003, 06:21 AM
*EDIT* Found the problem

gmarik
05-20-2003, 04:16 PM
p0s3id0n, have some questions.

I reinstalled the hack three times, but it did not worked for me no more. The problem is - when clicking on the smilie icon, calling smilies page, the browser hangs on and does not replies any more. And another thing - I would realy respect (and would help, if needed), you could install the Embed PHP hack (Ed's?!) and instead of using iframe, just take a require function, so it will be faster and stable on all the browsers.

I would really appreaciate that, if somebody gets to it,

Marco, webmaxtor.com

Keyser S?ze
05-22-2003, 06:40 PM
upgrade addon idea, add a box to allow attachments in the chatbox

would be cool, also a quick delete for mods and admins without having to go into the cp would be nice

padblaz
05-23-2003, 06:42 AM
working great, i love this hack :)
thanks for it

gmarik
05-24-2003, 06:51 AM
Chatbox wishlist
- add always on top smileys and code windows option
- replace framset with require php function
- add after every post [e] edit [d] delete link for super moderators and admins
- translate all variables from French to English
- an option to chat for Unregestired (if turned on)
- the panel added in vB Options, as vBhomelite, for example

grog6
05-28-2003, 10:57 PM
This add-on adds an option in your Admin Control panel, to choose usergroups who will be able to access to the chatbox.
For users which usergroup is not allowed to access the chatbox in your ACP, it will not appear on your main page, but even if they try to access to it with the url (www.yourforum.com/chatbox.php), an error message will be display to show them it's not possible to access to this chatbox :-)

This hack was asked by Curl| in this thread :

- https://vborg.vbsupport.ru/showthread.php?s=&threadid=53493

Installation time : 2 min
Files to modify : 1
Files to upload : 2

grog6
05-28-2003, 10:58 PM
The option added in the ACP :rambo:

Anjie
06-01-2003, 06:51 AM
Installed on 2.3.0 works like a charm! Have it so only admin can see it and it is wonderful! My question is for those who have been running this for a while, how much bandwidth will this chew through? It is truly awesome! Thank you grog as well for your group hack. :)

Anjie
06-01-2003, 06:53 AM
double post--sorry

Anjie
06-01-2003, 06:53 AM
sorry--yet another post--hiccuping cable

gmarik
06-03-2003, 01:02 PM
grog6 - excellent!
Can guests post msg's? It would be great.

Slappy Nutz
06-09-2003, 06:11 PM
In my chatbox all the times are the same, and they all refresh to to same time after a post
ex. . .
real one
12:11 PM <********************
12:11 PM <********************
12:11 PM <********************
12:11 PM <********************

and then say you add a shout it goes to this
12:15 PM <********************
12:15 PM <********************
12:15 PM <********************
12:15 PM <********************
12:15 PM <********************

Any idea?

gmarik
06-10-2003, 08:53 AM
Slap, it's with the add-on or without?

Slappy Nutz
06-10-2003, 09:44 AM
Sorry, its fixed now :)

gmarik
06-10-2003, 09:49 AM
grog6 - can guest shout?

Bergman
06-10-2003, 05:47 PM
Cant get smilys work ... only get the "text" for them ...

gmarik, havent got it working with anonymous users. It would be nice if it worked. :)

lioncool1589
06-14-2003, 11:15 PM
how do i disable date and time stamp

lioncool1589
06-14-2003, 11:39 PM
what are usergroup id for Unregistered and Users Awaiting Email Confirmation

i dont want those ppl use chatbox

Slappy Nutz
06-15-2003, 05:34 AM
So heres the next problem, sometimes after a user types in there chat and hits go, or enter they are taken to a blank white page inside the chatbox. I have no clue on what it could be!!!

Any idea would be good! Thanks

gmarik
06-15-2003, 05:50 AM
Connection lost. Happens.

Slappy Nutz
06-15-2003, 08:12 AM
But its happening ALL the time, but seems only with IE users. Im on Linux and use Galeon and it never happens to me

msimplay
06-15-2003, 08:16 AM
i'm using internet explorer i never have problems with this hack

Slappy Nutz
06-16-2003, 06:31 AM
Yes im bugging a lot, but should this line be // out?


// if(chop($message . "") == ""){

// echo "<meta http-equiv=\"refresh\" content=\"0;URL=chatbox.php?page_chat=chat\">";

// }

Gizmo99
06-17-2003, 02:19 PM
Ok

use the hack and its great BUT !!!

When u click the Close (or minimse) button we get

Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388

Other users can still us the box, until they click the close button.

Help as this stops us using the board

also if you go direct to the chatbox.php script it works fine !!!

Plot thickens !!! if u
http://<URL>/index.php?chatbox=open&s=

The index page loads :surprised: if you
http://<URL>/rsocbb/index.php?chatbox=close&s=
u get
Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388

Having looked at the code the only diff is no spaces either side of the chatbox=0

if($chatbox == "open"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 1 WHERE username = '$bbuserinfo[username]'");
$bbuserinfo['chatbox'] = 1;
}elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;
}

Cant logg -in the server from work so cant check is this the prob ??


Have now had a dam good think ;) I recon

elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;

Should be

elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 0 WHERE username = '$bbuserinfo['username']'");
$bbuserinfo['chatbox'] = 0;

Has none else ever had this problem, I have had a nose through most of the pages and I think not
Giz

Gizmo99
06-17-2003, 05:11 PM
Well changed the above NO GOOD ;(

Just // in front of $comment = swear($comment) ;

and fixed ????

Y ?

:banana: :banana: :banana: :banana: :banana:

Giz

gmarik
06-18-2003, 07:26 AM
I wanted to have the chatbox in another, new folder "/chat", how can I do that? Just copieng and changing the file paths does not help, a blank screen is shown... read more about it (https://vborg.vbsupport.ru/showthread.php?s=&postid=412212#post412212)

lioncool1589
06-26-2003, 08:44 AM
i have same problems

06-17-03 at 04:19 PM Gizmo99 said this in Post #349 (https://vborg.vbsupport.ru/showthread.php?postid=409885#post409885)
Ok

use the hack and its great BUT !!!

When u click the Close (or minimse) button we get

Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388

Other users can still us the box, until they click the close button.

Help as this stops us using the board

also if you go direct to the chatbox.php script it works fine !!!

Plot thickens !!! if u
http://<URL>/index.php?chatbox=open&s=

The index page loads :surprised: if you
http://<URL>/rsocbb/index.php?chatbox=close&s=
u get
Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388

Having looked at the code the only diff is no spaces either side of the chatbox=0

if($chatbox == "open"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 1 WHERE username = '$bbuserinfo[username]'");
$bbuserinfo['chatbox'] = 1;
}elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;
}

Cant logg -in the server from work so cant check is this the prob ??


Have now had a dam good think ;) I recon

elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;

Should be

elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 0 WHERE username = '$bbuserinfo['username']'");
$bbuserinfo['chatbox'] = 0;

Has none else ever had this problem, I have had a nose through most of the pages and I think not
Giz

dakotausa
06-26-2003, 04:00 PM
I get this when i try to chang something in the admin panel:

Warning: fopen(chatbox_config.php) [function.fopen]: failed to create stream: Permission denied in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 21

Warning: fwrite(): supplied argument is not a valid stream resource in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 23

Warning: fclose(): supplied argument is not a valid stream resource in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 24

Not sure how or what to fix. The chat is working it shows up and people have used it but i can't change the config from the admin panel

fade
07-03-2003, 11:52 PM
hrmz, well i've taken a look through this entire thread and haven't come across a solution on how to make smileys appear within the actual shoutbox.. maybe i'm just blind, but can anyone help me out??

geezzaa
07-05-2003, 07:32 PM
I have upgraded my site to VB3 can the chatbox be used on this. I was using chatbox on 2.2.9 and it was the attraction to the site so it will be a shame if you cant

xs1
07-06-2003, 02:33 AM
is it possible to allow only registred members to chat ?

Slappy Nutz
07-08-2003, 02:06 PM
Ok, heres one

if forumsid= SAY. . . . A PRIVATE forum, can I just post it there instead of on the forumhome so regular users cant see it?

sHORTYWZ
07-18-2003, 09:42 AM
I have the same problem as lion and Gizmo.. any suggestions?

esfron
07-23-2003, 11:13 PM
Is it working on 2.3.0 ?

kevin_r1
07-24-2003, 01:51 PM
Today at 01:13 AM esfron said this in Post #359 (https://vborg.vbsupport.ru/showthread.php?postid=420052#post420052)
Is it working on 2.3.0 ?
It is for me.

pjgoncalves
07-24-2003, 01:56 PM
Today at 01:13 AM esfron said this in Post #359 (https://vborg.vbsupport.ru/showthread.php?postid=420052#post420052)
Is it working on 2.3.0 ?




for me 2 :)

jdmuniverse
07-24-2003, 02:40 PM
Is there a way to get the background and fonts to change when a user changes the style of the forums?

Works great for me in 2.2.9 Thanks! :)

esfron
07-24-2003, 07:42 PM
As Scottctd, is there anyway to keep unregistered from from posting in the chat? With http://www.yourdomainname/forum/chatbox.php? , they are able to see the chat and posting.

It's working on 2.3.0

Thx

esfron
07-26-2003, 03:42 AM
I want to add the Grog6's usergroup_add-on to keep unregistered from from posting in the chat but I got this MySQL error message.

SQL Error 1064
You have an error in your SQL syntax near '; INSERT INTO `chatbox_config` (`id`,`usergroupid`) VALUES ('1', '1|2|3|4|5|6|7' at line 1

The requests are:

CREATE TABLE `chatbox_config` (`id` TINYINT (2) , `usergroupid` VARCHAR (20) );
INSERT INTO `chatbox_config` (`id`,`usergroupid`) VALUES ('1', '1|2|3|4|5|6|7');

Any idea ?

wolfgang2
08-06-2003, 11:59 AM
Great hack , i installed it right away.
But one Problem...the smilies are not showing up at all:(

Any suggestions?

ViewMy.biz
08-10-2003, 12:16 AM
So is this considered a flawless hack for 2.3.*

gmarik
08-12-2003, 06:46 AM
For 2.3 no problems.
Only it would be good if guest could chat as well ...

obsidian
08-14-2003, 07:44 PM
06-26-03 at 06:00 PM dakotausa said this in Post #353 (https://vborg.vbsupport.ru/showthread.php?postid=412987#post412987)
I get this when i try to chang something in the admin panel:


Warning: fopen(chatbox_config.php) [function.fopen]: failed to create stream: Permission denied in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 21

Warning: fwrite(): supplied argument is not a valid stream resource in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 23

Warning: fclose(): supplied argument is not a valid stream resource in /home/dakotaus/public_html/vBulletin/admin/chatbox_admin.php on line 24

Not sure how or what to fix. The chat is working it shows up and people have used it but i can't change the config from the admin panel

You need to CHMOD your chatbox_config.php file

gmarik
09-20-2003, 08:18 AM
Every day chatlog archive
Guests can enter nick and chat as an option

Mitsuaki
09-20-2003, 11:37 AM
will there be a version of this hack released for vB 3??? cus this is the best chatbox hack ever and i would like it for vB3..

ViewMy.biz
09-21-2003, 12:41 PM
Anyone have it running on 2.3.2

Trallis
09-22-2003, 03:55 AM
I have it running on 2.3.2 with no problems.

Red Blaze
10-02-2003, 05:35 PM
Crap, forgot to click the install button. =S

Anywho, works really good! I installed and had no problems as of yet. ^__^

EDIT: I'm also running on 2.3.2

wolfman
10-02-2003, 07:14 PM
I also have it running on 2.3.2 with no problems. In fact its the one hack that will keep me from upgrading to vb3 when it goes gold.

Curll
10-03-2003, 07:32 AM
We're working on porting it over to VB3 as I type. I'll keep you guys updated.

Slappy Nutz
10-03-2003, 11:08 AM
Stop stalking me!

wolfman
10-03-2003, 11:42 AM
We're working on porting it over to VB3 as I type. I'll keep you guys updated.


I will thank you for my users :banana: :banana: :banana: :banana: :banana:

gmarik
10-03-2003, 03:34 PM
We're working on porting it over to VB3 as I type. I'll keep you guys updated.

I beg you - can you add (as an option), so that guest can type a nick and could chat and should register (as another option), later. :surprised:

TeH Z0mB1E
10-07-2003, 03:34 AM
is this hack compatible with vB 2.3.2? cuz its not showing up on my forums homepage at all even though i know ive done everything right. :/

wolfman
10-07-2003, 04:54 PM
I am using this wil vb 2.3.2 www.abfnet.com/forum you may have either left the chatbox out of the template or placed it in the wrong place. Either of those will cause it to not show up.

Willard Reece
10-07-2003, 10:16 PM
I wonder if we could mod this or put this in a side block,, like to use with vbportal.

TeH Z0mB1E
10-08-2003, 07:26 PM
have double checked and even unistalled/re-installed it and still no chatbox, but my technical staff are getting error emails round the clock so somethings obviously wrong.

Curll
10-10-2003, 12:15 PM
Yeah, porting it to VB3 is hard. We suck and gave up.

Red Blaze
10-10-2003, 02:52 PM
How can you make the name of the user a link to his/her profile. All I need is the php code to call out the id of the user. When I put the link say,

member.php=s?$session[sessionhash] (blah blah blah)


and at the end of the link it says "$userid". Well, there is no number at that end. Any help would be appreciated.

SharronH
10-10-2003, 07:50 PM
Some of my members have a \ in there name and when they post in the chatbox, the backward slash is removed, but the forward slash isn't. Anyone know how to fix it? TIA

SharronH
10-11-2003, 02:25 AM
Please help me.... anyone know how to fix this please?

SharronH
10-12-2003, 03:06 AM
:(

Curll
10-13-2003, 10:23 AM
Okay, I reverse my previous statement. Our programmer-cool guy has almost got the user end working perfectly.

No admin options yet, though.

Slappy Nutz
10-13-2003, 11:21 AM
Okay, I reverse my previous statement. Our programmer-cool guy has almost got the user end working perfectly.

No admin options yet, though.

Almost there, Ive the the basics going, and when I say basics, thats what I mean. Take a look, www.xblgamers.com/forums

fly
10-17-2003, 11:25 AM
Okay, the time in the chatbox is WAAAY off. How do I fix it?

gmarik
10-17-2003, 05:39 PM
Okay, I reverse my previous statement. Our programmer-cool guy has almost got the user end working perfectly.

No admin options yet, though.

Oh, sound nice. Have you thought about guest chatting option with limited rights for limited time, so that new users would want to register after? :ermm:

Is it possible to have a more detailed Who is online, because it's always showing Is currently reading the chatbox. 15:33 and always the latest time, but it's not true. The times should be the last time user was active in the chat and it would be great, if it would show - does the user only reads or types an answer as it is in ICQ. :nervous:

gmarik
10-18-2003, 12:05 PM
how can i format this so its like another forum catigory, like the whose online, private messages

i want it right under PMs

i got it there now and this is what i made shoutbox_ferme

<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6" align="center"><a href="?shoutbox=open&s=$session[sessionhash]" title="EMUSA ShoutBox"><normalfont color="{categoryfontcolor}"><b>?-- Shoutbox --?</b></normalfont></a></td>
</tr>
<tr><td bgcolor="{secondaltcolor}" align="center" valign="top">

$shoutbit</td>
</tr>

and i put $shoutbox right under $pminfo in the forum home, but still not working

any ideas?

Have you made it? I have the same problem now, can't do it.
Another question. Where is the mod admin delete shouts in the chatbox add-on gone? Uh?!

SharronH
10-19-2003, 09:27 PM
anyone can help me fix this problem please?

Some of my members have a \ in there name and when they post in the chatbox, the backward slash is removed, but the forward slash isn't. Anyone know how to fix it? TIA

Quintak
10-19-2003, 10:00 PM
Can a user choose to disable the shoutbox popup / show in screen individually?

fly
10-22-2003, 03:10 PM
Are the [url] tags not working for anyone else in the chatbox?

gmarik
10-22-2003, 03:38 PM
They are working time to time ... on some servers not ...

fly
10-23-2003, 03:45 PM
They are working time to time ... on some servers not ...

Weird. My server is one the [url] tags aren't working on. :(

markt
10-29-2003, 08:02 PM
Hi

I am with a "Error 404: /forums/java_script_:; is not found at this location"

I have installed the "Chatbox" ok and I am trying to get it to run in a popup window.
I have added the following to the "Welcomepanel" hack in the "forumhome" template:
<a href="java_script_:;" onclick="window.open('chatbox.php','shout','status=0,direct ories=0,toolbar=0,location=0,menuBar=0,scrollbars= 0 ,resizable=0,width=650,height=130,left=100,top=100 ');"><b>Chatbox popup<b></a>

This brings up the popup window ok but I also get an "Error 404" on the page I have called the popup from.

This can be seen at http://www.carponline.com/forums
You can log in as guest with a password of guest.

Any help apreciated.
Mark

Spiro
10-30-2003, 03:12 AM
hey about making the script pop-up this method is abit better then the method posted my poseidon

<a href="javascript:launch()" onclick="window.open('chatbox.php','shout','status=0,direct ories=0,toolbar=0,location=0,menuBar=0,scrollbars= 0 ,resizable=0,width=650,height=130,left=100,top=100 ');">Shoutbox popup</a></normalfont></center><br>

markt
10-30-2003, 05:04 AM
Thanks Spiro

Works well
Mark

-={SWK}=-Raven
11-03-2003, 02:17 AM
I installed the chatbox and I keep getting this when I am trying to change my refresh rate or colors in the admincp:

Warning: fopen(chatbox_config.php): failed to open stream: Permission denied in /home/******/public_html/forums/admin/chatbox_admin.php on line 21

Warning: fwrite(): supplied argument is not a valid stream resource in /home/*****/public_html/forums/admin/chatbox_admin.php on line 23

Warning: fclose(): supplied argument is not a valid stream resource in /home/******/public_html/forums/admin/chatbox_admin.php on line 24

Also I get this error when trying to install it.
Warning: chmod(): Operation not permitted in /home/shadizik/public_html/forums/admin/chatbox_install.php on line 65

Can anyone help me I am new at this. I have vb 2.3.2 and I installed the chatbox hack 1.2.4.

Thanks
Raven

Spiro
11-03-2003, 07:26 PM
chmod all you config/install files to 777

NarutoX
11-07-2003, 12:54 AM
can you make it so it has a table around it like most other hacks such as top10 stats and a fixed width that stretches as much as your forums do not over it.. so it looks exact :P or just tell me where to do this

calvinnguyen
11-09-2003, 06:56 AM
is this work for vb3 beta 7? thanks

gmarik
11-09-2003, 01:36 PM
is this work for vb3 beta 7? thanks
Ofcourse not. Not now.

dupont24
11-10-2003, 02:49 PM
I have read this thread..it is great and so is the hack..it works great....just one question which i have seen asked 2-3 times but no answer...
How can you make the chatbox show up on each page when you are surfing the forum....

http://ultimatesportsforums.com/forums/index.php?s=

grog6
11-12-2003, 12:45 PM
It's not a good idea to add it in the header dupont ;)

The chatbox required a lot of bandwith coz of the refresh, and if your forum has a lot of members, it could really slow your forum. Be carreful with it

dupont24
11-12-2003, 06:33 PM
THANKS grog6

I am just new to this and learning all the time...i only have about 30 active members as it grows i will change accordingly....thx again...

digitalSite
11-15-2003, 12:14 AM
Hi:

My chatbox was working fine...then today, I went to admin to PRUNE some messages and it doesn't work!

I select all the messages I want to erase and doesn't matter which button I press, I get the log into admin form.
WHY? So I log in, then page reloads, blank screen. I have done this over 50 times, cleared cache, close browser, delete cookies, etc. I even REINSTALLED the chatbox and it's still giving me the same thing :(

Anyone have any ideas how to fix this?

Gizmo99
11-25-2003, 06:51 PM
Ok VERY SERIOUS QUESTION

How do I stop people posting html and Java Scipt in the chatbox, this a security hole and need plugging, all help greatfully recived

Giz

NucleoN
12-03-2003, 10:46 AM
It would be great to see this most loved hack by our members working in vb3. I've made a announcement that the 2.2.6 forum will be terminated so we can start again with vb3 final but guess what...it was no problem at all for them but they want a shoutbox :D

gmarik
12-06-2003, 03:59 AM
vb3 Gamma is waiting for this ... ;)

geezzaa
01-11-2004, 08:53 AM
vb3 Gamma is waiting for this ... ;)


OH YES.
PLease Hurry, My members are suffering withdrawl symptoms

tsmith025
01-13-2004, 05:48 PM
Oh, sound nice. Have you thought about guest chatting option with limited rights for limited time, so that new users would want to register after? :ermm:

Is it possible to have a more detailed Who is online, because it's always showing Is currently reading the chatbox. 15:33 and always the latest time, but it's not true. The times should be the last time user was active in the chat and it would be great, if it would show - does the user only reads or types an answer as it is in ICQ. :nervous:
Hi I just installed this chat_box hack. It installed very easily and worked on the first try for me. I do have one problem. When I try to configure the chatbox for font colors, refresh time and the # of chats shown it always goes back to default and never changes.

Is there anyway anybody here can help me fix this? I can barely see the font with the default settings.

Chat_box can be found at: www.offshoremuscle.com

Thanks in advance.

VBDev
01-13-2004, 05:59 PM
Change permissions on your chatbox_congif.php tsmith ;)

Chmod the file to 777


Concerning the adaptaion of this hack to VB3, it will arrive. Pos3idon is actually working on VB3 to improve his chatbox and bring new options ;)

msimplay
01-20-2004, 06:24 PM
please release this hack for vb3

Dubz
01-22-2004, 09:29 PM
i need help, i'm kinda new at this stuff.
I tried to install but when adding to the database i got Chmod failed : operatoin not legal forums/admin/chatbox_install.php on line 65

Dubz
01-22-2004, 09:33 PM
can i not use this on the basic Vbulletin 2-3-3 ? does the forum have to turned off?

Dubz
01-22-2004, 09:57 PM
think i figured it out heh, i didn't know how to chmod

Dubz
01-22-2004, 10:02 PM
ok modified all the files etc. but i can' t see it, what do i have to edit there?

Taco
01-24-2004, 02:19 AM
Sorry to dig this up but after searching some pages, didnt find answer (didnt look at ALL the pages :)) I'd like to know if its possible to make it so when you come to the forums, the chatbox is already minimized so there a nice single line showing one shout then the link on top to expand.
Also, it possible to change the color of chatbox? I go to change it in config and i get these errors in the admin CP
"Warning: fopen("chatbox_config.php", "w") - Permission denied in /home/virtual/site2/fst/var/www/html/forum/admin/chatbox_admin.php on line 21

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/virtual/site2/fst/var/www/html/forum/admin/chatbox_admin.php on line 23

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/virtual/site2/fst/var/www/html/forum/admin/chatbox_admin.php on line 24"

Thanks alot if osmeone could help me out here.

XrayHead
02-03-2004, 05:55 PM
Hi

I’m running myvbindex so my forum home page was renamed from index.php to forum.php. I have installed all and checked / re-checked the php files, SQL tables, templates and CHMOD. All seems to be cool.
But when I open the forum home page I see nothing??
Because my index.php was changed to forum.php do I have to change any of the uploaded php files to reflect this?

Thanks in advance.

Xrayhead

XrayHead
02-06-2004, 05:01 PM
I have gone over this again and again and again and still cant see the front page.

Any help !!!! :ermm:

jjj0923
02-09-2004, 05:06 PM
I installed this hack and am testing it - but it is not showing the time properly...
it shows the time without the users offset taken into consideration.

for instance - my offset is -5 hours and it is now 2:05 PM, but the chat box is showing the time as 09:03

here is the lines calculate date & time - any ideas?

$date = $get["date"];

$date = date("Y") . "-" . substr($date, 4, 2) . "-" . substr($date, 1, 2) . " " . substr($date, 7, 2) . ":" . substr($date, 10, 2);

$date = date("[m/d|H:i]", strtotime($date) + ($bbuserinfo['timezoneoffset'] * 3600));

jjj0923
02-09-2004, 06:01 PM
any ideas on how to clear the text field after you press go?

it'a annoying to see the same text there after you've just posted it...

thanks in advance..

Danny2055
02-19-2004, 04:56 PM
hi can someone help me out please? i'll be honest and say i havent searched all 29 pages for the answer so if its there just say. what needs done to flip the chatbox so the text is more like a convensional chatroom? by that i mean the input box is at the bottom, the text comes from the bottom and goes up the way.

Thanks for any help :)

tHe Rk
02-28-2004, 11:38 AM
any ideas on how to clear the text field after you press go?

it'a annoying to see the same text there after you've just posted it...

thanks in advance..


The text should clear. It does at the Chatbox in mine :ermm:

A BIG problem I have is the [img] tags aren't working. Does anyone know how to enable them for the chatbox? Any help is appreciated.

skullycapone
03-01-2004, 02:18 PM
ok i have seen this posted in several places and i am haveing same problem
could someone help with this
Warning: chmod failed: Operation not permitted in /home/httpd/vhosts/.COM/httpdocs/forums/admin/chatbox_install.php on line 65

Grower
03-03-2004, 06:58 PM
The text should clear. It does at the Chatbox in mine :ermm:

A BIG problem I have is the [img] tags aren't working. Does anyone know how to enable them for the chatbox? Any help is appreciated.
Try to call bbcodeparse() function (chatbox.php line 93) with parameter forumid. Choose forumid of forum with img tags allowed.

Barto
03-19-2004, 05:06 PM
I have the same problem, pleese HELP!!!! :ermm:
Hi

I?m running myvbindex so my forum home page was renamed from index.php to forum.php. I have installed all and checked / re-checked the php files, SQL tables, templates and CHMOD. All seems to be cool.
But when I open the forum home page I see nothing??
Because my index.php was changed to forum.php do I have to change any of the uploaded php files to reflect this?

Thanks in advance.


Xrayhead

msimplay
03-19-2004, 05:25 PM
I installed this hack and am testing it - but it is not showing the time properly...
it shows the time without the users offset taken into consideration.

for instance - my offset is -5 hours and it is now 2:05 PM, but the chat box is showing the time as 09:03

here is the lines calculate date & time - any ideas?

$date = $get["date"];

$date = date("Y") . "-" . substr($date, 4, 2) . "-" . substr($date, 1, 2) . " " . substr($date, 7, 2) . ":" . substr($date, 10, 2);

$date = date("[m/d|H:i]", strtotime($date) + ($bbuserinfo['timezoneoffset'] * 3600)); the answer is in this post
https://vborg.vbsupport.ru/showpost.php?p=291093&postcount=43

DeadGaze
03-24-2004, 08:32 AM
nicely done
/me clicks installed

very nice coding m8

Bad Bunny
04-06-2004, 05:20 PM
please release this hack for vb3
Yes, please do release this for vb3, as it was one of my favorite hacks for my old vb.

VBDev
04-06-2004, 06:36 PM
Pos3idOn has really a lot of work, and I think the new chatbox should take a long of time
He began it but can't finish ... :(

VBDev
04-26-2004, 10:14 AM
The chatbox for vb3 will be released in something like a week :)

NuclioN
05-27-2004, 12:38 PM
Any update on the vb3 version? I've looked to this again and this by far the best shoutbox for vb.

waterfall
06-02-2004, 07:37 AM
I get this one when install:
Fatal error: Call to undefined function: cpheader() in /home/bestsoft/public_html/forums/admincpvbb/chatbox_install.php on line 5

all-the-vb
06-29-2004, 02:08 PM
hello p0s3id0n

i need this hack for vb3

if you don't have any problems
i can release this hack for vb3.

many Thanks
all-the-vb

Justin2K
01-09-2005, 05:44 PM
can anyone tell me if its possible to have a different background color for each style? or do i have to have the same chatbox color for all of them?

Crank
02-10-2005, 08:29 PM
any luck getting this to vb3?
i love this style of chat hack the best and would love to be able to use it on vb3

Crank
02-16-2005, 12:08 AM
bump. p0s3id0n yhpm please respomd.

180967
02-19-2005, 03:18 AM
PleaSE let him release this for vb3..

kevin_r1
02-27-2005, 01:53 PM
bumpity bump (for vb3)

Bad Bunny
02-28-2005, 03:58 AM
Something tells me he may not be doing it for vb3. I mean...he has had plenty of time to reply to the requests by now....but instead says nothing.

enginethatcan't
06-13-2005, 01:10 PM
As soon as I run Admin cp I get: Fatal error: Call to undefined function: cpheader() in /home/anabolic/public_html/admincp/chatbox_install.php on line 5

Only thing on line 5 is:

cpheader("<title>P0s3id0n's chatbox installation</title>");

How can I fix this??

amykhar
06-13-2005, 01:14 PM
As soon as I run Admin cp I get: Fatal error: Call to undefined function: cpheader() in /home/anabolic/public_html/admincp/chatbox_install.php on line 5


Only thing on line 5 is:

cpheader("<title>P0s3id0n's chatbox installation</title>");


How can I fix this??

If this is your site:
www.anabolicevolution.com

The problem is you can't install a 2.x hack on a 3.0 board.

Amy