PDA

View Full Version : vBChat v2.3


Pages : 1 2 3 [4] 5 6

oldengine
02-26-2005, 09:08 PM
(Version 2.2)

First user comment: Any way to change the size of the chat window?

Need a way to force dump a user from the RH list, when you "know" they've left. Apparently the script can't catch certain exit methods. Although I did notice that this user was cleared within a minute or two.

Need smaller type on "Sent Private Chat Message" - will look at templates.

Zero Tolerance
02-26-2005, 09:11 PM
When you make the edit to the navbar, you will see a JS function, here you will find something along the lines of:

width='+window.screen.width+',height='+window.scre en.height+'

Change this to:

width=#,height=#

And yes, make sure when you input numebrs dont put single quotes around them, and also percentages won't work i believe.

- Zero Tolerance

oldengine
02-26-2005, 09:15 PM
Is it possible to leave the click and drag resizing available to the user?

Also, I added more items to the post above.

Thanks!

Zero Tolerance
02-26-2005, 09:18 PM
Where you editied the width and height, add:

resizable=yes

As for "[user] Leaves Room", and them being removed from the Users In vBChat List, it will only work properly if the user has the pop-up blocker disabled, so it would be wise to ask your members to disable it for your site :)

- Zero Tolerance

oldengine
02-26-2005, 09:32 PM
The resizable is good. Unfortunately, on my screen, the highth of the chat window is so tall that I cannot reach the lower right corner or the bottom to drag in the height. The width works fine.

I should mention that I am using IE6.

Zero Tolerance
02-26-2005, 09:36 PM
Well it depends what you set the width/height to.

How about pressing the "Maximize" button next to close in the window?

- Zero Tolerance

oldengine
02-26-2005, 09:47 PM
Quite likely that I'm missing something. There is no "close" or "maximize" button, so I may have someting missing from a template.

Zero Tolerance
02-26-2005, 09:50 PM
I meant the close/maximize/minimize buttons that are on your window itself.

- Zero Tolerance

oldengine
02-26-2005, 09:52 PM
Aaaaccckkk! That was a big Duh! Sorry.

No, maximizing and minimizing does not allow reaching the lower right corner for resizing.

Zero Tolerance
02-26-2005, 10:01 PM
What value's did you put in for the height and width?

- Zero Tolerance

Chadi
02-26-2005, 10:19 PM
I upgraded to v2.x from 1.x but now the header, navbar, etc are gone? I added $header
$navbar
...manually in the CHAT template but it shows the chat part wider than the screen. I did not modify any other template but even checked the chat_main template is 100% width as it should be and by default. How do I correct this?

http://www.talkjesus.com/vBChat.php?&do=main&nojoin=1

Zero Tolerance
02-26-2005, 10:21 PM
It's supposed to not have a header and footer, since its a pop up window now :)

- Zero Tolerance

Chadi
02-26-2005, 10:22 PM
Ok I reversed it but is there a way to insert it within the site like it was in teh old version?

Chadi
02-26-2005, 10:24 PM
By the way, how do I create / add rooms (not user created but admin) and are the forum mods automatically mods on this chat as well? Where do I find the codes/functions to ban and such? Thanks for your work!

SVTOA
02-26-2005, 10:25 PM
Ok I reversed it but is there a way to insert it within the site like it was in teh old version?


The whole idea of how ZT coded the new version is so you can use the EXIT command and close the chat window. You really don't want the navbar, because the chat is supposed to be a stand-alone popup.

Zero Tolerance
02-26-2005, 10:31 PM
Click on vBChat Help for a list of all commands.
Click on Create vBChat to create a new room.

And forum mods? Not sure what you mean exactly but i'll say no anyway.

- Zero Tolerance

oldengine
02-26-2005, 11:42 PM
What value's did you put in for the height and width?800X600 works fine and lets me resize.
function OpenvBChat(){
vBChat = window.open('/forum/vBChat.php?$session[sessionurl]','vBChat','directories=no,height=600,width=800,lo cation=no,resizable=yes,menubar=no,scrollbars=yes, status=no,toolbar=no')
I'm not sure if this is the answer, but it works on my browser. Normal is 1024X768 on my screen. Even so, many text items could be shortened or in a smaller font.

also, how would one shrink the font size on these items?
<td height='1%'><b>Current Users:</b></td>

<td class='alt2' align='center'><a href='javascript:MsgUser(\"{$UserIN['userid']}\");' title='Send A Private Chat Message To {$UserIN['username']}'>Send Pvt Msg</a></td>

Zero Tolerance
02-26-2005, 11:55 PM
That sort of text would need to be shortened in your style's CSS definition.

If your unsure i ask you contact the author of the skin about that.

- Zero Tolerance

wacnstac
02-27-2005, 01:14 AM
I still get a red X for one of my smilies. The URL that it always tries to load is http://www.domainname.com/forum/ All the other smilies work fine. Also with 2.2, when a user clicks on vbchat, it doesn't open in a new window but rather replaces the vbulletin window.

jennifer74
02-27-2005, 01:32 AM
I installed this on vBulletin Version 3.0.0 every thing went fine untill I went to start my forums back up ...I got error messages on the root index.php. I got the forums to work again by removing the errors it told me it had but now my who's online is compleatly gone? http://www.simplymoms.com/forum as you see it is no longer at the bottom. How do I get this back?

oldengine
02-27-2005, 01:36 AM
Overall, everything is really great. However, it does stutter and stammer once in a while. I think this happens if the sender clicks something else on the page and then goes back to the type line. Things get out of sorts. It's like an unwanted automatic carriage return between words.

[10:25 PM] Craig: OK...refreshed but I got a message out of the Blue that you had joined the room at 9:21
[10:25 PM] Harry: I've seen that happen when poking buttons on different stuff here.
[10:24 PM] Craig: YUP----screwup
[10:24 PM] Harry: Do a CONTROL R to reset your screen Craig.
[10:24 PM] Craig: I get
[10:24 PM] Craig: I
[10:24 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got
[10:23 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got

wacnstac
02-27-2005, 02:12 AM
Overall, everything is really great. However, it does stutter and stammer once in a while. I think this happens if the sender clicks something else on the page and then goes back to the type line. Things get out of sorts. It's like an unwanted automatic carriage return between words.

[10:25 PM] Craig: OK...refreshed but I got a message out of the Blue that you had joined the room at 9:21
[10:25 PM] Harry: I've seen that happen when poking buttons on different stuff here.
[10:24 PM] Craig: YUP----screwup
[10:24 PM] Harry: Do a CONTROL R to reset your screen Craig.
[10:24 PM] Craig: I get
[10:24 PM] Craig: I
[10:24 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got
[10:23 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got

Yeap my users are seeing this as well.

wacnstac
02-27-2005, 02:13 AM
I still get a red X for one of my smilies. The URL that it always tries to load is http://www.domainname.com/forum/ All the other smilies work fine. Also with 2.2, when a user clicks on vbchat, it doesn't open in a new window but rather replaces the vbulletin window.

The problem with the single red X seems to only manifest itself in IE and not in FireFox.

sv1cec
02-27-2005, 09:52 AM
Overall, everything is really great. However, it does stutter and stammer once in a while. I think this happens if the sender clicks something else on the page and then goes back to the type line. Things get out of sorts. It's like an unwanted automatic carriage return between words.

[10:25 PM] Craig: OK...refreshed but I got a message out of the Blue that you had joined the room at 9:21
[10:25 PM] Harry: I've seen that happen when poking buttons on different stuff here.
[10:24 PM] Craig: YUP----screwup
[10:24 PM] Harry: Do a CONTROL R to reset your screen Craig.
[10:24 PM] Craig: I get
[10:24 PM] Craig: I
[10:24 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got
[10:23 PM] Craig: I got a
[10:23 PM] Craig: I
[10:23 PM] Craig: I got
Click where? I tried clicking every where possible, and it doesn't do it. Of course, if you click on the Change Room, or create room and then come back in the room, the post line is erased, but I was expecting that.

The only time I notice something similar, was before ZT fixed the IE problem, when I was uploading the vBChat.php file with the small changes I was doing. Haven't seen this since then, and none of my users complained.

Zero Tolerance
02-27-2005, 10:23 AM
I still get a red X for one of my smilies. The URL that it always tries to load is http://www.domainname.com/forum/ All the other smilies work fine. Also with 2.2, when a user clicks on vbchat, it doesn't open in a new window but rather replaces the vbulletin window.

1. To fix the red smilie problem, go to your acp, vbchat options, and look for the one that says if you have a smilie problem, set that to yes, it should fix it ;)

2. Re-do the navbar template edit and the FORUMHOME template edit so that all links open in a pop up instead of in the same window.

I installed this on vBulletin Version 3.0.0 every thing went fine untill I went to start my forums back up ...I got error messages on the root index.php. I got the forums to work again by removing the errors it told me it had but now my who's online is compleatly gone? http://www.simplymoms.com/forum as you see it is no longer at the bottom. How do I get this back?

Maybe my eyes decieve me .. but that's a phpBB forum, and this is a vBulletin modification?

Overall, everything is really great. However, it does stutter and stammer once in a while. I think this happens if the sender clicks something else on the page and then goes back to the type line. Things get out of sorts. It's like an unwanted automatic carriage return between words.

This seems to be occuring for those on slower machines, after a while there CPU runs slowly since the system refreshes the hidden iframes every 8 seconds, unfortunatly my pc is far from slow so i myself have been unable to emulate this problem, but i have seen it occur with one of my members, who has a slow PC, i guess i'll have to wait for more information on how this occurs.

- Zero Tolerance

SkyShadow
02-27-2005, 10:28 AM
Is it possible for users to chat in different rooms at the same time?

Zero Tolerance
02-27-2005, 10:29 AM
Is it possible for users to chat in different rooms at the same time?
No, a user can only be inside 1 room at a time i'm afraid.

- Zero Tolerance

JAYEMULE
02-27-2005, 10:33 AM
I installed vbchat on my test board and it seems to be working just grand. One thing I haven't gotten straight yet is, I can not find the admin cp for the vbchat. I don't see a link anyplace in my forum admincp. I went over the install directions like 5 times before turning in and now this morning I need some help on what I might have missed.
The program is working just fine, have the link in the nabar and can use the chat, but I thought there was an admin area to changer some settings. Any help would be appreciated. I'll go get some coffee and look things over again myself.

Thanks,
Jaye

Zero Tolerance
02-27-2005, 10:41 AM
Check over your edit for "admincp/index.php", because that is where the code to insert the menu for the ACP lays :)

- Zero Tolerance

wacnstac
02-27-2005, 02:01 PM
1. To fix the red smilie problem, go to your acp, vbchat options, and look for the one that says if you have a smilie problem, set that to yes, it should fix it


That was one of the first things I did. I still get one red X.

I also now have a problem where one user is apparently stuck as being in the chat room. How do I fix that?

oldengine
02-27-2005, 02:25 PM
This seems to be occuring for those on slower machines, after a while there CPU runs slowly since the system refreshes the hidden iframes every 8 seconds, unfortunatly my pc is far from slow so i myself have been unable to emulate this problem, but i have seen it occur with one of my members, who has a slow PC, i guess i'll have to wait for more information on how this occurs.

My server is a dedicated Dell PowerEdge with dual 2 GHz Xeons, 1gig of ram, dual 73gig scsi drives and 2000gig of bandwidth. My home PC is a Dell Dimension 8200 Pentium 4 at 1.8GHz and 512Mb ram on cable modem.

This situation has happened to me a couple of times and I couldn't explain why. A Control F5 or Control R cleared the problem. while it was happening, it was like an automatic "Enter" key followed every word that I typed in the Post Message line. Later, it happened to another user and that is when I copied the flow of events posted above.

I will be alert next time, but fortunately it hasn't happened much. Hopefully, just an intermittant fluke. Otherwise, EXCELLENT!

vauge
02-27-2005, 02:47 PM
New install of 2.2

IE window is huge and cannot be adjusted.

Mozilla works like a champ.

Zero Tolerance
02-27-2005, 03:23 PM
That was one of the first things I did. I still get one red X.

I also now have a problem where one user is apparently stuck as being in the chat room. How do I fix that?
It's possible that one of your emoticons is incorrectly set up, check them out :)

As for a user being stuck, could you be more specific, they can just choose another chat room, IE: the default one.

@ oldengine - Server stats make no difference, i wouldn't of thought, in any case, thanks for letting me know, i look forward to squashing this bug :)

@ vauge - Full screen or bigger than your actual moniter?

- Zero Tolerance

vauge
02-27-2005, 03:30 PM
It is using full screen in IE.

wacnstac
02-27-2005, 03:37 PM
It's possible that one of your emoticons is incorrectly set up, check them out

I checked them out and they all appear in the vbulletin control panel.

As for a user getting stuck, we only have one main chatroom right now and this guy hasn't been logged on for at least 12 hours but still shows up on 'users in vbchat" on forumhome. How can I clear this?

vauge
02-27-2005, 03:40 PM
Was able to recreate the bug mentioned by oldengine.

It does not like ' or " ... then the next user will seem to press enter after every word or longer pause.

Zero Tolerance
02-27-2005, 03:49 PM
It is using full screen in IE.
It's supposed to be full screen :)

I checked them out and they all appear in the vbulletin control panel.

As for a user getting stuck, we only have one main chatroom right now and this guy hasn't been logged on for at least 12 hours but still shows up on 'users in vbchat" on forumhome. How can I clear this?

Try editing one of your emoticons, so vBulletin re-builds cache. Also ensure your using the latest vBulletin version released.

As for the user been locked in, run this query:
delete from vb3_sessions
Change "vb3_" to your SQL prefix.

Was able to recreate the bug mentioned by oldengine.

It does not like ' or " ... then the next user will seem to press enter after every word or longer pause.

So your saying when someone uses the word "or" in a sentance? I highly doubt it, what is entered has no effect on result, only if commands are entered.

- Zero Tolerance

MauriceReed
02-27-2005, 04:19 PM
installed as instructed in the options - upgraded from 2.1 to 2.2.

the window in IE is NOT adjustable, which was how i took it to be in the upgrade?

either way, its still full screen on my monitor 1280x1024 on a 19" tft.

not tested it in firefox as yet.
other than the window size problem, the hack is the dogs knackers m8

**EDIT**

checked it out in firefox, and the window opens up MAXXED out on the screen..ie, as if maximized.

vauge
02-27-2005, 04:23 PM
It's supposed to be full screen :)

Can you change it to allow resizing? Currently will not let me resize in IE.

So your saying when someone uses the word "or" in a sentance? I highly doubt it, what is entered has no effect on result, only if commands are entered.

No, I used the word 'costs' actually. Then it happened to him. He left chat and came back - I retyped my sentence and used the word 'costs' again. It happened again. It also happened with more than one contraction in a sentense. Single contraction in a sentence did not yield the error.

We chatted for about an hour previously, then about 20 mins after these apostrophe/quote tests without error.

In short, could dual apostrophe's or quote's cause the issue?

oldengine
02-27-2005, 04:45 PM
I also now have a problem where one user is apparently stuck as being in the chat room. How do I fix that?
Could it be that this user has Javascript turned off and therefore the chat window opens and closes as a regular web page window? That would then defeat the chat log out?

ZT: I'll check the " " " " ' ' ' ' in the Post Message bar on my system.

EDIT: I entered all maner of " " ' ' ' " " cost's 'cost' etc. and all works fine. I was the only user, but anyway, no problems detected.

Zero Tolerance
02-27-2005, 04:50 PM
installed as instructed in the options - upgraded from 2.1 to 2.2.

the window in IE is NOT adjustable, which was how i took it to be in the upgrade?

either way, its still full screen on my monitor 1280x1024 on a 19" tft.

not tested it in firefox as yet.
other than the window size problem, the hack is the dogs knackers m8

**EDIT**

checked it out in firefox, and the window opens up MAXXED out on the screen..ie, as if maximized.
It's supposed to be full screen :)

No, I used the word 'costs' actually. Then it happened to him. He left chat and came back - I retyped my sentence and used the word 'costs' again. It happened again. It also happened with more than one contraction in a sentense. Single contraction in a sentence did not yield the error.

We chatted for about an hour previously, then about 20 mins after these apostrophe/quote tests without error.

In short, could dual apostrophe's or quote's cause the issue?

I seriously doubt it will be specific inputs into the chat that cause this, it seems to a be a freak out bug that occurs to certain people are certain times, as i said before, slow pc's can sometimes do this, especially since 2 hidden iframes are refreshing every 8 seconds.

Could it be that this user has Javascript turned off and therefore the chat window opens and closes as a regular web page window? That would then defeat the chat log out?

User with JS turned off = The chat doesn't work at all. Having pop up blockers on however will stop the chat from detecting that you left.

- Zero Tolerance

MauriceReed
02-27-2005, 05:06 PM
It's supposed to be full screen
my bad then m8...sorry about that.

is there any way in future updates an option could be included to have the ability to reduce the window size at all??

might be an idea.

hack is excellent tho m8, seriously.

Zero Tolerance
02-27-2005, 05:07 PM
my bad then m8...sorry about that.

is there any way in future updates an option could be included to have the ability to reduce the window size at all??

might be an idea.

hack is excellent tho m8, seriously.
Sure i don't see why in the next update i'll change the pop up to allow it to be resized :)

- Zero Tolerance

steadicamop
02-27-2005, 05:15 PM
As a quick resolve to the page opening full size, this is the code I used:

Find:
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height='+window.screen. height+',width='+window.screen.width+',location=no ,menubar=no,scrollbars=yes,status=no,toolbar=no')

Replace with
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height=560,width=800,lo cation=no,menubar=no,scrollbars=yes,status=no,tool bar=no')

Please note ; for whatever reason there are spaces in the "scrollbars" code, I can't remove it when it appears there, just remove the extra spaces between the word

This works nicely for me, whether it will for everyone else, I'm not sure .... if this isn't the right way to do it, please someone tell me!

Zero Tolerance
02-27-2005, 05:20 PM
As a quick resolve to the page opening full size, this is the code I used:

Find:
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height=9999,width=9999, location=no,menubar=no,scrollbars=yes,status=no,to olbar=no')

Replace with
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height=560,width=800,lo cation=no,menubar=no,scrollbars=yes,status=no,tool bar=no')

Please note ; for whatever reason there are spaces in the menubar code, I can't remove it when it appears there, just remove the extra spaces between the word

This works nicely for me, whether it will for everyone else, I'm not sure .... if this isn't the right way to do it, please someone tell me!
That line of code was changed in v2.2 to open full screen for all resolutions, i suggest you update to the newest version :)

- Zero Tolerance

steadicamop
02-27-2005, 05:21 PM
Yep I just did upgrade but it opens full screen, and at 1280 x 1024 that's a large window for the chat area to open in! I just thought I'd edit the code quickly to see if it would work, it bugs me full screen ... nothing personal!

Zero Tolerance
02-27-2005, 05:30 PM
Alright then, it is ofcourse your decision :)

- Zero Tolerance

Mechanical Mind
02-27-2005, 05:32 PM
Holy frickin' crap! I just read 799 posts!

I've got to ramble for a minute here...... I don't think I have installed any of Zero Tolerance's hacks before. But the guy seems really legitimate and professional. I think I will take the plunge with this one.

Oh, excited...

BTW, I have no chat installed currently... Do I just install Version 2.2 from the get-go?

Zero Tolerance
02-27-2005, 05:35 PM
Holy frickin' crap! I just read 799 posts!

I've got to ramble for a minute here...... I don't think I have installed any of Zero Tolerance's hacks before. But the guy seems really legitimate and professional. I think I will take the plunge with this one.

Oh, excited...

BTW, I have no chat installed currently... Do I just install Version 2.2 from the get-go?
There is a fresh installation instructions & auto install script to install v2.2, so don't worry about that, i make sure all old users can upgrade and new users have no trouble using the latest version :)

- Zero Tolerance

Mechanical Mind
02-27-2005, 05:37 PM
There is a fresh installation instructions & auto install script to install v2.2, so don't worry about that, i make sure all old users can upgrade and new users have no trouble using the latest version :)

- Zero Tolerance

Great. Thank you. I looked at the first post and I figured that's what "You may install v2.2 fresh" meant, but I wasn't sure...

Thanks again... :classic:

mm

Zero Tolerance
02-27-2005, 05:42 PM
Great. Thank you. I looked at the first post and I figured that's what "You may install v2.2 fresh" meant, but I wasn't sure...

Thanks again... :classic:

mm
Not a problem at all, anything to help :)

- Zero Tolerance

Mechanical Mind
02-27-2005, 05:54 PM
Before I get started with the installation of vBchat 2.2, I do have one concern...

My admincp folder on my server is NOT named "admincp". This has caused problems with many hacks that I have installed in the past. I do ALSO have an "admincp" folder, which is empty, but is used as a location for hacks that need that location.

Is this going to be a problem? Does anyone have any suggestions on this, in general? I'm assuming the instructions for the installation will say to upload certain files to admincp, should I then upload them into the empty admincp folder or should I upload them into my "renamed" admincp folder?

I hope this question isn't too confusing or poorly worded.

RMS-Chef
02-27-2005, 06:00 PM
Before I get started with the installation of vBchat 2.2, I do have one concern...

My admincp folder on my server is NOT named "admincp". This has caused problems with many hacks that I have installed in the past. I do ALSO have an "admincp" folder, which is empty, but is used as a location for hacks that need that location.

Is this going to be a problem? Does anyone have any suggestions on this, in general? I'm assuming the instructions for the installation will say to upload certain files to admincp, should I then upload them into the empty admincp folder or should I upload them into my "renamed" admincp folder?

I hope this question isn't too confusing or poorly worded.
My admincp folder is always named something other than default "admincp". I have never had any issues with just putting the items that are supposed to go into admincp into my renamed folder and just run everything as you normally would from in there.

Zero Tolerance
02-27-2005, 06:01 PM
Before I get started with the installation of vBchat 2.2, I do have one concern...

My admincp folder on my server is NOT named "admincp". This has caused problems with many hacks that I have installed in the past. I do ALSO have an "admincp" folder, which is empty, but is used as a location for hacks that need that location.

Is this going to be a problem? Does anyone have any suggestions on this, in general? I'm assuming the instructions for the installation will say to upload certain files to admincp, should I then upload them into the empty admincp folder or should I upload them into my "renamed" admincp folder?

I hope this question isn't too confusing or poorly worded.
That's not a problem at all, the files your supposed to upload to admincp/ directory, simply upload to the directory you use for the Admin CP, the directory is auto detected for the XML file reading to install templates, so there shouldn't be a problem at all, just whenever the installation refers to "admincp/", just ignore that and use your current directory name :)

- Zero Tolerance

JAYEMULE
02-27-2005, 06:42 PM
Sorry to frustrate you but, I just don't seem to be able to get the admin cp link. I have checked out the admincp index.php several times and I am just sure I placing the code as instructed. For some reason this one part I just can't get right. Otherwise the program works GREAT and I do want to get it onto my public forum. Would there be a screen shot to look at someplace as to just how the code should look in the admin cp index.php ? Maybe I do need a picture afterall ;)
Thanks again for this great hack and for the support to us less knowledgable.
This is how it looks after I am done, if this helps you any to see what I may have done incorrectly;

(can_administer('canadminsettings'))
{
$printhr = true;
construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');
if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

// *************************************************$ printhr = true ;
construct_nav_option ( 'vBChat Options', 'admin_vbchat.php', '<br />' ) ;
construct_nav_option ( 'Banned Usergroups', 'admin_vbchat.php?do=banned_groups', '<br />' ) ;
construct_nav_option ( 'Banned Users', 'admin_vbchat.php?do=banned_users', '<br />' ) ;
construct_nav_option ( 'Usergroup Permissions', 'admin_vbchat.php?do=group_perms', '<br />' ) ;
construct_nav_option ( 'vBChat Room Control', 'admin_vbchat.php?do=room', '<br />' ) ;
construct_nav_option ( 'vBChat Prune Options', 'admin_vbchat.php?do=prune', '<br />' ) ;
construct_nav_group ( 'vBChat Control', '<hr />' ) ;
$printhr = false;
$printhr = false;
if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]", '<hr />');
}
// ***
if (can_administer('canadm


Jaye

Zero Tolerance
02-27-2005, 06:46 PM
Sorry to frustrate you but, I just don't seem to be able to get the admin cp link. I have checked out the admincp index.php several times and I am just sure I placing the code as instructed. For some reason this one part I just can't get right. Otherwise the program works GREAT and I do want to get it onto my public forum. Would there be a screen shot to look at someplace as to just how the code should look in the admin cp index.php ? Maybe I do need a picture afterall ;)
Thanks again for this great hack and for the support to us less knowledgable.

Jaye
Well it seems to be a real easy edit, im not too sure where your going wrong with it, i posted a screenshot below, if that doesn't help PM me, and i'll manually edit index.php for you with your consent. :)

PS: The bit in red is the code your required to add.

- Zero Tolerance

JAYEMULE
02-27-2005, 06:50 PM
yes it is a very easy edit and I don't why I am having a hard time getting it. This is not the first time I have installed a hack but I am just not getting something right. I pasted a copy of what mine looks like in my previous post.
Thanks kindly,

Jaye

JAYEMULE
02-27-2005, 06:53 PM
OK I see the difference I think. I will go back and edit again. I think I placed it in the wrong place :)

Jaye

Zero Tolerance
02-27-2005, 06:53 PM
Well apart from $printhr = true; been on a comment line (which doesn't matter), i can see no errors at all with it.

You say this is a test forum, on your computer or hosted?
If hosted i could take a look, right now im clueless as to why its not appearing, the code is correct from what i can see.

- Zero Tolerance

JAYEMULE
02-27-2005, 07:09 PM
OK I am just baffled. I have to go feed the barn critters and fix dinner but when I get back I will work on it some more. In the meantime I will PM you the particulars so you might help me. I really want to get this on my public forum but need to understand what I am doing wrong so i don't do it again :)

Thanks so much for the help.

Jaye

Mechanical Mind
02-27-2005, 07:24 PM
That's not a problem at all, the files your supposed to upload to admincp/ directory, simply upload to the directory you use for the Admin CP, the directory is auto detected for the XML file reading to install templates, so there shouldn't be a problem at all, just whenever the installation refers to "admincp/", just ignore that and use your current directory name :)

- Zero Tolerance

ZT:

I went through with the installation with success. However, now when I try to enter any of the locations in AdminCP > vBChat Control > .........

I get this message:
Not Found

The requested document was not found on this server. Web Server at mechanicalminds.net

This is the problem that I was quite sure that I would run into and I am all but certain it is because my admincp folder is renamed. How do I correct this? I'm sure I just need to get into the files somewhere and rename links... But where?

Thanks for any help. :classic:
mm

UPDATE - Never mind, this was my fault. Unsuccessful upload.

Zero Tolerance
02-27-2005, 07:32 PM
If you look in the "UPLOAD" folder, you will see an "admincp" folder, inside this folder is 2 files, upload both of these files to your acp directory, make sure you run the install file as instructed via the install manual :)

- Zero Tolerance

Mechanical Mind
02-27-2005, 07:33 PM
If you look in the "UPLOAD" folder, you will see an "admincp" folder, inside this folder is 2 files, upload both of these files to your acp directory, make sure you run the install file as instructed via the install manual :)

- Zero Tolerance

I completed both of these steps during the installation.

UPDATE - Never mind, this was my fault. Unsuccessful upload.

eva01_
02-27-2005, 07:35 PM
find out what that link is pointing to and move those files to that folder or you can just change what folder it is linking to

Mechanical Mind
02-27-2005, 07:35 PM
find out what that link is pointing to and move those files to that folder or you can just change what folder it is linking to

OK. I'll try that. Thank you. I'll report back.

UPDATE - Never mind, this was my fault. Unsuccessful upload.

Zero Tolerance
02-27-2005, 07:36 PM
Hm, try visit: http://YOURSITE.com/forums/ADMIN_DIR/admin_vbchat.php manually in a new window and see if you get the same error, if so then it means "admin_vbchat.php" has not been uploaded to your admincp directory.

- Zero Tolerance

Mechanical Mind
02-27-2005, 07:42 PM
Hm, try visit: http://yoursite.com/forums/ADMIN_DIR/admin_vbchat.php manually in a new window and see if you get the same error, if so then it means "admin_vbchat.php" has not been uploaded to your admincp directory.

- Zero Tolerance

Thank you for replying. :classic:

This was actually my fault. For some reason when I uploaded the file "admin_vbchat" it didn't successfully upload. I re-uploaded this file and all links appear to be fully functional in my Admin CP.

*** CLICKS INSTALL ***

Zero Tolerance
02-27-2005, 07:43 PM
Thank you for replying. :classic:

This was actually my fault. For some reason when I uploaded the file "admin_vbchat" it didn't successfully upload. I re-uploaded this file and all links appear to be fully functional in my Admin CP.
FTP's can sometimes cut out when attempting to execute an operation, it's just one of those things that happen unfortunatly. Glad to hear everything is working functionaly. Enjoy :)

- Zero Tolerance

Megareus Rex
02-27-2005, 08:52 PM
Are you displaying the newest reply at the top or bottom?

- Zero Tolerance
Sorry it took me so long to respond to that.

I'm using the newest reply at the bottom. My members complained when it was at the top...

Zero Tolerance
02-27-2005, 09:38 PM
Sorry it took me so long to respond to that.

I'm using the newest reply at the bottom. My members complained when it was at the top...
Hmm, weird.

May i have a screenshot of this error in action so i can be more clear of what the problem is? And if it's not too much trouble, make sure the screenshot is big and not scaled down, thanks :)

- Zero Tolerance

Megareus Rex
02-27-2005, 09:59 PM
Hmm, weird.

May i have a screenshot of this error in action so i can be more clear of what the problem is? And if it's not too much trouble, make sure the screenshot is big and not scaled down, thanks :)

- Zero Tolerance


Here's a screenshot of the chat.

Oh, and I forgot to mention it earlier, but the problem of the "who's online in chat" box displaying primary display group markup is still there. As I mentioned, we use glows in those groups, so its annoying (not to mention aesthetically unappealing), to have it display those markups. Is there any way to change the codign of it so it displays primary usergroup markup instead?

JAYEMULE
02-27-2005, 10:03 PM
Well all is well Thanks to Zero Tolerance, who by the way is very tolerant ;)
Turned out I must have had an upload glich but he fixed me all up :banana:

Love it ! Thank You !

Jaye

Zero Tolerance
02-27-2005, 10:07 PM
Here's a screenshot of the chat.

Oh, and I forgot to mention it earlier, but the problem of the "who's online in chat" box displaying primary display group markup is still there. As I mentioned, we use glows in those groups, so its annoying (not to mention aesthetically unappealing), to have it display those markups. Is there any way to change the codign of it so it displays primary usergroup markup instead?
Hmm, weird. Do you have any other skins on your forum? Because it's possible that it's that skin causing the problem, perhaps, in anycase make this template modification to make the chat larger, it should then not cut off the bottom half of the last message.

Find this in "chat_main":
<td class='alt2' align='center' width='80%' height='300' rowspan='2' valign='top'>

Change that to:
<td class='alt2' align='center' width='80%' height='350' rowspan='2' valign='top'>

If it's still cutting off a minor bit, change "350" to "380", however i doubt you will need to.

As for the forumhome bit, open index.php, find:
{$invbc['musername']}
Replace With:
{$invbc['username']}

Save index.php and upload :)

- Zero Tolerance

RichieBoy67
02-27-2005, 11:05 PM
I would like to make the pop up smaller-- Can anyone help??


<script type="text/javascript">
<!--

function OpenvBChat(){
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height='+window.screen. height+',width='+window.screen.width+',location=no ,menubar=no,scrollbars=yes,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="vBChat.php?$session[sessionurl]" onclick="return OpenvBChat();">vBChat</a></td>

Zero Tolerance
02-27-2005, 11:09 PM
https://vborg.vbsupport.ru/showpost.php?p=617843&postcount=754

Read that post :)

- Zero Tolerance

RichieBoy67
02-27-2005, 11:11 PM
Also, I would like to take away the chat code that is in my navbar and add the link to this chat in it's place. I have an imagebased navbar so it is hard.. can anyone help me with this??

Here is my navbar<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />






<!-- top category table setup -->
<table width="100%" style="background-image:url('$stylevar[imgdir_misc]/cat_back.gif')" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="125" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url('$stylevar[imgdir_misc]/cat_back.gif')" valign="middle">&nbsp;</td>
<td width="125" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="125" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">

<if condition="$show['pmstats']">$sound </if>

</if>

<if condition="$bbuserinfo['userid']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->










<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="14" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url('$stylevar[imgdir_misc]/extended_main_table_bottom.gif')"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" height="14" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>

<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- chat links -->
<div class="vbmenu_popup" id="chat_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Chat</td></tr>
<tr> <td class="vbmenu_option"><a href="$vboptions[bburl]/chat/index.php?$session[sessionurl]">Chat</a></td></tr>
<tr> <td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/chat/index.php?do=small','key','WIDTH=750,HEIGHT=500,sc rollbars=no,left=50,top=50,scr eenX=50,screenY=50');return false">Chat(Popup)</a></td></tr>
</table>
</div>
<!-- / chat links -->



<if condition="$show['searchbuttons']">
<!-- header quick search form -->

<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
<tr>
<td class="thead">Arcade Game Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="arcade.php" method="post">
<input type="text" class="bginput" name="search" size="20" />$gobutton<br />
</form>
</td>
</tr>
</table>
</div>

<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- Radio Menu -->
<div class="vbmenu_popup" id="navbar_petz_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option""><a href="#" onclick="return OpenRadio()">vBRadio</a></td></tr>
<script type="text/javascript">
<!--

function OpenRadio(){
Radio = window.open('vBRadio.php','vBRadio','directories=n o,height=320,width=650,locatio n=no,menubar=no,resizable=no,status=no,toolbar=no' )

return false;
}

-->
</script>
</table>
</div>
<!-- / Radio Menu -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->

</if>
<!-- / NAVBAR POPUP MENUS -->


</if> Here is the code that came with the chat hack..<script type="text/javascript">
<!--

function OpenvBChat(){
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height='+window.screen. height+',width='+window.screen.width+',location=no ,menubar=no,scrollbars=yes,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="vBChat.php?$session[sessionurl]" onclick="return OpenvBChat();">vBChat</a></td>


I would also like to make this chat window a little smaller if possible... Thanks

Spyke
02-27-2005, 11:15 PM
hi, i upgraded from 1.1.1 to 2.1 to 2.2. Everything so far seems to be working fine except for in the admincp with i try to edit the settings. I get the following mysql error.


Database error in vBulletin 3.0.6:

Invalid SQL: update vbchat_datastore set d_online='yes',d_allowbbcode='yes',d_chat_order='b ottom',d_smiliedisplay='1',d_smilieamount='5',d_al lowbantag='1',d_maxrooms='5',d_smilequery='0',d_au toprune='1',d_autoprunedays='7',d_roomprune='24' where did='1'
mysql error: Unknown column 'd_smilequery' in 'field list'

mysql error number: 1054

Date: Sunday 27th of February 2005 07:13:25 PM
Script: http://eternal-realm.net/vb/admincp/admin_vbchat.php
Referer: http://eternal-realm.net/vb/admincp/admin_vbchat.php

Zero Tolerance
02-27-2005, 11:16 PM
Look above to change the size of the pop-up, and to change your current chat link to this one, find:
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Chat</td></tr>
<tr> <td class="vbmenu_option"><a href="$vboptions[bburl]/chat/index.php?$session[sessionurl]">Chat</a></td></tr>
<tr> <td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/chat/index.php?do=small','key','WIDTH=750,HEIGHT=500,sc rollbars=no,left=50,top=50,scr eenX=50,screenY=50');return false">Chat(Popup)</a></td></tr>
</table>

Replace it with:
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">vBChat</td></tr>
<tr> <td class="vbmenu_option"><a href="$vboptions[bburl]/vBChat.php?$session[sessionurl]" onclick="return OpenvBChat();">vBChat</a></td></tr>
</table>

:)

- Zero Tolerance

Zero Tolerance
02-27-2005, 11:18 PM
hi, i upgraded from 1.1.1 to 2.1 to 2.2. Everything so far seems to be working fine except for in the admincp with i try to edit the settings. I get the following mysql error.
https://vborg.vbsupport.ru/showpost.php?p=616928&postcount=675

Follow those instructions :)

- Zero Tolerance

RichieBoy67
02-27-2005, 11:28 PM
Dam! That is like the fastest help I have ever gotten!!! You really are Neil!

You are the one.... :cool:

RichieBoy67
02-27-2005, 11:31 PM
When you make the edit to the navbar, you will see a JS function, here you will find something along the lines of:

width='+window.screen.width+',height='+window.scre en.height+'

Change this to:



And yes, make sure when you input numebrs dont put single quotes around them, and also percentages won't work i believe.

- Zero Tolerance

I cannot do this because I have table cellpadding="4" cellspacing="1" border="0">
Do I just change cellpadding??

Zero Tolerance
02-27-2005, 11:36 PM
I cannot do this because I have table cellpadding="4" cellspacing="1" border="0">
Do I just change cellpadding??
You don't alter the table, you alter the javascript line, maybe i should be more clear.

Inside your "navbar" template find:
height='+window.screen.height+',width='+window.scr een.width+'

Replace With:
height=400,width=400

Change the yellow bold numbers to the setting you desire :)

- Zero Tolerance

RichieBoy67
02-27-2005, 11:38 PM
Got ya Neil... Thanks much chosen one..

Decado
02-27-2005, 11:39 PM
um... don't you mean Neo...?

RichieBoy67
02-27-2005, 11:41 PM
Was that his name from the Matrix?? I thought it was Neil..

Decado
02-27-2005, 11:43 PM
Morpheus, Zion, The oracle and... Neil? It doesn't quite fit ;-)

Zero Tolerance
02-27-2005, 11:43 PM
Yeah it was "Neo", that was his hacker alias, his name in the movie was "Thomas Anderson"

But that's irrelevent to the topic :p

- Zero Tolerance

RichieBoy67
02-27-2005, 11:50 PM
my bad... Been a while since I watched it... Thanks for the info.. I thought he was like a regular dude at first so Neil would fit..

Anyways,

I'm still trying to figure out the size change... there are many places on the template that have height and width.. any clue how to figure out which code it is???

next time I will stick with text... The navbar with this skin has just been a nightmare every time I want to add something... Thanks Neo

Zero Tolerance
02-27-2005, 11:51 PM
my bad... Been a while since I watched it... Thanks for the info.. I thought he was like a regular dude at first so Neil would fit..

Anyways,

I'm still trying to figure out the size change... there are many places on the template that have height and width.. any clue how to figure out which code it is???

next time I will stick with text... The navbar with this skin has just been a nightmare every time I want to add something... Thanks Neo
Well the chat is designed to open in full screen, so customizing it isn't recommended, and i can't give you any good recommendations for settings, as i recommend full screen, so its the same for users on all resolutions.

- Zero Tolerance

RichieBoy67
02-27-2005, 11:53 PM
roger that--- great hack by the way! Thanks for spending your time on it! It's the best one that I've seen so far that is integrated with a whos online feature.. way to go..

-

eva01_
02-27-2005, 11:53 PM
maybe adding a percentage feature for the screen size would work for a future implementation so it would be the same for users on all resolutions but customizable via admincp ;)

Zero Tolerance
02-27-2005, 11:58 PM
maybe adding a percentage feature for the screen size would work for a future implementation so it would be the same for users on all resolutions but customizable via admincp ;)
You know that's not a bad idea, no idea why i didn't think of it myself ..

- Zero Tolerance

eva01_
02-27-2005, 11:59 PM
thats what i am here for helping out.

and btw it is a great hack i am installing it for a client later this week i have it on my test board.

RichieBoy67
02-27-2005, 11:59 PM
Sounds great! Can't wait for that one! :)

Zero Tolerance
02-28-2005, 12:02 AM
Sure, it wouldn't be ACP controllable i'm afraid, that would require an extra global query, which is bad, but i'll make it so you can change the % number on 2 variables (1 for width, 1 for height), which makes it easy enough in my eyes :)

- Zero Tolerance

Megareus Rex
02-28-2005, 12:24 AM
The fix for the "Whos online" box worked perfectly.

But, the other problem still persists. I increased it to 350, 380, 400, then to 425, and it still partially cuts it off.

Here's a pic of it at 425:

Oh, and also, my members complain about the chat constantly refreshing and stuff. How can I stop that?

wacnstac
02-28-2005, 12:39 AM
I have set up version 2.2 so that only my "sponsoring members" which is a secondary usergroup are allowed to have private chat rooms. This does not seem to work. Even though I have enabled their usergroup in the vbchat setup for this capability it says "thier user group does not have the rights to do this", when they try. I suspect it is a secondary/primary usergroup issue.

wacnstac
02-28-2005, 12:48 AM
Also I still get an X for at least one of my smilies even after changing one of the smiles url and changing it back to try and refresh the cache.

JAYEMULE
02-28-2005, 12:50 AM
I have now installed the vb chat on my public forum and it works wonderfully. Everything uploaded correctly ;)
The question I have now is this. How do I get the chat to work with a second style I have available for my forum ? It works great with the default vb style but so with a style I have tweaked the colors and a few minor style changes.

Jaye

eva01_
02-28-2005, 01:01 AM
from what i did you have to change what the default style is in the vbulletin options, then run the installer again and JUST add the templates do not add the database changes

worked for me ^^

Mechanical Mind
02-28-2005, 01:02 AM
Fresh Install of Version 2.2

About 15 minutes into the conversation with a member, it started to post every word or letter on it's own.

Like 1 word per line. This bug is still in Version 2.2. Just wanted to let you know.

Have a nice night.

Zero Tolerance
02-28-2005, 01:04 AM
The fix for the "Whos online" box worked perfectly.

But, the other problem still persists. I increased it to 350, 380, 400, then to 425, and it still partially cuts it off.

Here's a pic of it at 425:

Oh, and also, my members complain about the chat constantly refreshing and stuff. How can I stop that?
Seems your rows are exanding with it, so let's set a 1% height, that should resolve it hopefully, make this edit for all of these templates: chat_row, chat_row_bot, chat_row_me, chat_row_special_recieved, chat_row_special_sent

Find:
<td nowrap="nowrap"
Replace With:
<td nowrap="nowrap" height="1%"

Constant refreshing cannot be stopped, hidden iframe's get the newest data, otherwise the chat wouldn't be dynamically changing.

I have set up version 2.2 so that only my "sponsoring members" which is a secondary usergroup are allowed to have private chat rooms. This does not seem to work. Even though I have enabled their usergroup in the vbchat setup for this capability it says "thier user group does not have the rights to do this", when they try. I suspect it is a secondary/primary usergroup issue.

The code works off Primary user groups only i'm afraid, however i'll try add secondary usergroup support in a future release :)

Also I still get an X for at least one of my smilies even after changing one of the smiles url and changing it back to try and refresh the cache.

I'm not sure what is causing it then i am afraid, for now turn show smilies off, untill this is resolved :)

I have now installed the vb chat on my public forum and it works wonderfully. Everything uploaded correctly
The question I have now is this. How do I get the chat to work with a second style I have available for my forum ? It works great with the default vb style but so with a style I have tweaked the colors and a few minor style changes.

Jaye

The templates need to be copied over to your other style, and dont worry, i made a modification to copy templates from 1 style to others, located here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=72288, it will save you a lot of trouble of manually doing this :)

- Zero Tolerance

wacnstac
02-28-2005, 01:28 AM
Another feature suggestion would be to not allow users to log onto vBChat if the server load is over YYY.

Zero Tolerance
02-28-2005, 01:37 AM
Another feature suggestion would be to not allow users to log onto vBChat if the server load is over YYY.
There's a vBulletin setting to disallow new members/visitors to get onto the site if server load is over XXX, also, the chat system doesn't use much resources, so i don't see why it has to be ruled out :)

- Zero Tolerance

oldengine
02-28-2005, 01:42 AM
Fresh Install of Version 2.2
About 15 minutes into the conversation with a member, it started to post every word or letter on it's own. Like 1 word per line. This bug is still in Version 2.2. Just wanted to let you know.
Same here as it happened a few times here tonight. It definitely follows the use of an apostrophe in the previous line.

wacnstac
02-28-2005, 01:42 AM
There's a vBulletin setting to disallow new members/visitors to get onto the site if server load is over XXX, also, the chat system doesn't use much resources, so i don't see why it has to be ruled out :)

- Zero Tolerance

I'm not so sure about this. It seems as though when I get near or upwards of 10 users my load really bogs down.

Zero Tolerance
02-28-2005, 01:45 AM
Same here as it happened a few times here tonight. It definitely follows the use of an apostrophe in the previous line.
Well i'm still unable to re-create this error for myself, so im still none the wiser as to how it is happening.

I'm not so sure about this. It seems as though when I get near or upwards of 10 users my load really bogs down.

Really? That's surprising, i've had over 50 users in at one time and it didn't affect my server load one bit .. hmm.

- Zero Tolerance

oldengine
02-28-2005, 01:48 AM
Well i'm still unable to re-create this error for myself, so im still none the wiser as to how it is happening.It will only happen with another user on line with you and I suspect that it's the opposite user that gets messed up than the one who sends the '.

Also, a request is in for a longer scroll down buffer.

Zero Tolerance
02-28-2005, 01:51 AM
Yeah i'm testing it while my other members are in the chat, lol.

As for the longer scroll down buffer, care to be a little more explicit? Sorry, 3:51 am here..

- Zero Tolerance

oldengine
02-28-2005, 01:54 AM
As for the longer scroll down buffer, care to be a little more explicit? Sorry, 3:51 am here..Ha! We all spend too much time at this!

My new lines go on the top of the chat screen. The folks who join in late would like to be able to scroll down further to see what has already gone by the chat window.

eva01_
02-28-2005, 01:56 AM
i don't have a scroll bar at all in my chat room o_O

so i take it, it is not fully compatible with safari?

also is it supposed to open a new window for the chat?

i don't have scroll bars anywhere

Zero Tolerance
02-28-2005, 02:02 AM
Ha! We all spend too much time at this!

My new lines go on the top of the chat screen. The folks who join in late would like to be able to scroll down further to see what has already gone by the chat window.
Ah you want to show more messages .. i'll see what i can do, no promises, returning more messages = using more server usage, i may make it acp controllable however...

i don't have a scroll bar at all in my chat room o_O

so i take it, it is not fully compatible with safari?

also is it supposed to open a new window for the chat?

i don't have scroll bars anywhere

Scroll bars appear if messages are long and it all totals up larger than the iframes it in. I;m not entirely sure the Javascript fully works with Safari, but i can't garentee that (havn't tested it on safari, only IE & FireFox)

- Zero Tolerance

eva01_
02-28-2005, 02:05 AM
is a chat room still supposed to look like that?

https://vborg.vbsupport.ru/attachment.php?attachmentid=24215

if so then no it doesn't work on Safari. and Safari is the #1 Mac browser

UPDATE:
checked in firefox works as should from just looking at it

does not work in Safari must work for 90% of Mac users to ever use it

Zero Tolerance
02-28-2005, 02:08 AM
Yes it's supposed to look like that, and i know Safari is a mac browser, and i didn't think it would work. I doubt i'll be able to do much, getting it working in FireFox was hard enough, and if it works in FF, then in means its 100% standard JS, since FF only allows standard javascript to be executed, nothing sloppy..

- Zero Tolerance

GypsyMage
02-28-2005, 03:26 AM
Just a note..

I had about 40 users on it tonight and the server load just kept climbing. httpd was using 95% of the cpu, steady. I disabled the chat and server load is back to 0.9.

There were tons of requests to vbchat.php... isn't it safe to say that a large number of users chatting would cause hundreds of refreshes in a few seconds? Is there any way to avoid the lag?

Zero Tolerance
02-28-2005, 04:46 AM
Just a note..

I had about 40 users on it tonight and the server load just kept climbing. httpd was using 95% of the cpu, steady. I disabled the chat and server load is back to 0.9.

There were tons of requests to vbchat.php... isn't it safe to say that a large number of users chatting would cause hundreds of refreshes in a few seconds? Is there any way to avoid the lag?
The constant refreshing to re-gain data is the only downfall, i'll look into optomization for future releases, i believe i could cut 2 iframes refreshing and make it just be the one, that would stop an extra 7 or so queries which are executed upon refreshing, cutting the usage of the chat in half :)

- Zero Tolerance

sv1cec
02-28-2005, 06:35 AM
The constant refreshing to re-gain data is the only downfall, i'll look into optomization for future releases, i believe i could cut 2 iframes refreshing and make it just be the one, that would stop an extra 7 or so queries which are executed upon refreshing, cutting the usage of the chat in half :)

- Zero Tolerance
This is something I was wondering too, why two separate refreshes for the main and the user windows? Not being critical, just wondering.

Oh, and where is V.2.3? For all those money I pay you, you should be delivering more often. Only one of the twins is home today, so I could use the time to do the upgrade! LoL

sv1cec
02-28-2005, 02:26 PM
well, the mysterious bug hitted my board as well.

http://img.photobucket.com/albums/v323/sv1cec/bug.jpg

http://img.photobucket.com/albums/v323/sv1cec/bug2.jpg

On the first time, there was an apostrophe involved, but not in the second time. First time, the user said it was bad typing, but for the second time, he was very sure it wasn't.

The funny thing was that the other user saw the same thing from me, but that was clumsy typing on my behalf for sure.

Just thought I'll let you know.

oldengine
02-28-2005, 06:47 PM
On the first time, there was an apostrophe involved, but not in the second time.I see "it's" on the line before BOTH of them. It doesn't matter which user uses an apostrophe.

Mr.ciuk
02-28-2005, 07:13 PM
great !!! :)

Megareus Rex
02-28-2005, 07:14 PM
Seems your rows are exanding with it, so let's set a 1% height, that should resolve it hopefully, make this edit for all of these templates: chat_row, chat_row_bot, chat_row_me, chat_row_special_recieved, chat_row_special_sent

Find:
<td nowrap="nowrap"
Replace With:
<td nowrap="nowrap" height="1%"

Constant refreshing cannot be stopped, hidden iframe's get the newest data, otherwise the chat wouldn't be dynamically changing.


Nope, it didn't fix it. The bottom line remains cut off.

sv1cec
02-28-2005, 07:54 PM
I see "it's" on the line before BOTH of them. It doesn't matter which user uses an apostrophe.
So you mean that if one user uses an apostrophe, that affects the way the other user input is handled? Kind of hard to believe, but I'll leave that to ZT to decide.

It's strange because tonight, I've spend about two hours in the chat, and I saw a lot of apostrophes being typed. Never noticed the problem though.

Mechanical Mind
02-28-2005, 08:52 PM
So you mean that if one user uses an apostrophe, that affects the way the other user input is handled? Kind of hard to believe, but I'll leave that to ZT to decide.

It's strange because tonight, I've spend about two hours in the chat, and I saw a lot of apostrophes being typed. Never noticed the problem though.

The ' may just be a coincidence. I'm sure each time it happened there were several of the same letters present as well. But as humans, we are not going to take notice of that. I'm sure there is an "e" in almost every line when this happens too.

Until something substantial shows that the ' is the problem. It is probably just a coincidence.

JAYEMULE
02-28-2005, 09:03 PM
This is such a fine hack ! I have it running and it's great. We haven't had 40 people in at same time yet and so far no bugs about :)
I can think of a few more options that would make this hack well worth paying for , if ya don't mind my saying so.

:up:

JAYEMULE
02-28-2005, 09:06 PM
The templates need to be copied over to your other style, and dont worry, i made a modification to copy templates from 1 style to others, located here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=72288, it will save you a lot of trouble of manually doing this :)

- Zero Tolerance

Thanks so much ! This is just too cool :)

JAYEMULE
02-28-2005, 09:36 PM
Oh NO ! That rotten bug has turned up in my forums vb chat as well
It seems to show up when the enter key is used to send the message to the chat window instead of clicking on the post key.
I will go back and read some more to see if I missed the fix for this, if I did then I am sorry to mention it again.

Crank
02-28-2005, 10:36 PM
i am having trouble with the chat room not showing the messages when they are typed in. anyone have any idea on how to fix this?

wacnstac
03-01-2005, 01:06 AM
The constant refreshing to re-gain data is the only downfall, i'll look into optomization for future releases, i believe i could cut 2 iframes refreshing and make it just be the one, that would stop an extra 7 or so queries which are executed upon refreshing, cutting the usage of the chat in half

We absoulutely need to address this. This thing really bogs down my server more than a very old Jabber Chat, chat room. Also need a fix to limit private chat rooms to secondary user groups as these are my paid groups and will be the only ones to whom this feature is offered.

We
s
till
have
this
problem
as
well
by more and more users.

Thanks for your hard work.

JAYEMULE
03-01-2005, 01:10 AM
yes, we had this problem tonight with only 3 members in the room. Also one user reported that the screen would grab the text he was typing and send it while he was typing. The 'stuttering' ( we dubbed it stuttering) seemed to only effect one user out of the 3 in the room.
Sure hope this can be straightened out. Oh I am sure it will be, after all, we are dealing with a near Master Coder ;)

oldengine
03-01-2005, 01:47 AM
The 'stuttering' ( we dubbed it stuttering) seemed to only effect one user out of the 3 in the room.See post #773 :)

apfparadise
03-01-2005, 04:43 AM
Sorry If I missed it, I am sure it's here somewhere, but it IS 60 pages :)

How do I update from 1.11 to the new 2.22? Simple or difficult?
Thanks, In advance
Edward

Zero Tolerance
03-01-2005, 09:49 AM
Okay i'll try to make this clear, the problem with the posting been split it is a malfunction due to the 2 iframes refreshing continually while the chat opens, some browsers are unable to cope with this continual execution and throws the form hectic, this has been identified on slower machines only, anyone with a decent/hi-spec PC probably won't of experienced this problem. The solution to this is to optomize the chat even further, i plan on releasing v2.3 later today, no new features, a plain and simple optomization release to make the chat system more stable and executing fewer queries.

Nope, it didn't fix it. The bottom line remains cut off.

Then it's most definaty your skin i'm afraid, try install another skin and see if the problem is the same.

i am having trouble with the chat room not showing the messages when they are typed in. anyone have any idea on how to fix this?

Make sure you have JS enabled and your browser is not Safari/Ancient (very old)

Sorry If I missed it, I am sure it's here somewhere, but it IS 60 pages

How do I update from 1.11 to the new 2.22? Simple or difficult?
Thanks, In advance
Edward

Download the current package, look in archived versions, you will find v2.1, you can upgrade from 1.1.1 to v2.1, after that upgrade from v2.1 to 2.2 :)

- Zero Tolerance

spence2
03-01-2005, 11:54 AM
So, only fresh installs of 2.3? No upgrade possible?

SVTOA
03-01-2005, 11:57 AM
So, only fresh installs of 2.3? No upgrade possible?

No, there is an easy 5-minute upgrade (if you have the template copier hack it takes 5 minutes)

MauriceReed
03-01-2005, 12:15 PM
So, only fresh installs of 2.3? No upgrade possible?


have a gander at the post m8...

Installation Update For v2.3
You may install v2.3 fresh
You may upgrade from v2.2 -> 2.3

Zero Tolerance
03-01-2005, 12:51 PM
If your using v2.2 follow the upgrade instructions included.

If your using an earlier version than this, then archived version are included, they will contain the upgrades you need to get upto v2.2 so that you may then upgrade to v2.3 :)

- Zero Tolerance

zendiz
03-01-2005, 01:07 PM
Is there a way to not have it pop up in a new window? But to keep it in the vbulletin forum as in older version?

Zero Tolerance
03-01-2005, 01:08 PM
Is there a way to not have it pop up in a new window? But to keep it in the vbulletin forum as in older version?
Possible but the "[user] Joins Room" and "[user] Leaves Room" will not function properly.

- Zero Tolerance

cnczone
03-01-2005, 01:14 PM
still having problems with the size of the VBchat, how can I get it to be nice and small, I did try the mod of placing the size I want in the nav, but that made things worse.

Zero Tolerance
03-01-2005, 01:16 PM
The chat is supposed to open in full screen, in a future release you will be able to control the % width/height of the window that opens, until then you won't i'm afraid unless you do it manually, not recommended however because everyone is on a different screen resolution.

- Zero Tolerance

Zero Tolerance
03-01-2005, 01:51 PM
NOTICE: All vBChat support will now be answered within the following forum: https://vborg.vbsupport.ru/forumdisplay.php?f=107

If you post here do not expect your question to be answered as fast as it would be in there.

Thank you for reading,

- Zero Tolerance

Eric HRF
03-01-2005, 04:08 PM
ZT made this killer hack EASY with great documentation, and an easy install program. I know 0 about PHP, but I can read, cut and paste, and ftp files. The NAVBAR was probably the hardest part, but knowing a little HTML helped...I found the perfect spot.

ZT is doing a great job on this chat room, so I paypal'ed him $20.00 for his efforts. :smoke:

Good Luck ZT

Eric HRF - http://www.hamradioforums.com

spence2
03-01-2005, 04:22 PM
have a gander at the post m8...
I did before I posted m8... and I must be in the twilight zone because I swear it still reads:
Installation Update For v2.3
You may install v2.3 fresh
You may upgrade from v2.3 -> 2.3
ANYHOO, I'm glad it upgrades from 2.2 regardless...
thanks, ZT!
;)

Zero Tolerance
03-01-2005, 05:38 PM
@ spence2 - Yes it did, sorry, bad typo on my part ^_^;

@ Eric HRF - Thanks man, it's greatly appreciated, even though it's not required its always nice to have efforts re-paid back :)

- Zero Tolerance

khaleel
03-01-2005, 06:54 PM
Thanks alot for updating

VAN
03-01-2005, 08:55 PM
Thanks for the great addition! ::installs::

soniceffect
03-01-2005, 09:20 PM
Sorry for the language but this is f(&£$(& excellent m8 .... clicks install

deb0
03-01-2005, 10:04 PM
I can only get this to work under one style. I triple checked all style templates, yet it gives me a blank page at all other styles but the first.

deb0
03-01-2005, 10:05 PM
This is a great hack, if I can get it working. Is there a way to control who can create chatrooms?

I want staff to have that control and not the enduser.

Zero Tolerance
03-01-2005, 10:07 PM
This is a great hack, if I can get it working. Is there a way to control who can create chatrooms?

I want staff to have that control and not the enduser.
1. Please post in here for questions: https://vborg.vbsupport.ru/forumdisplay.php?f=107

2. To answer your question, yes, go to ACP -> vBChat Control -> Usergroup Permissions

3. To answer your previous question, please read our FAQ: https://vborg.vbsupport.ru/showthread.php?t=77254

Note that any banned usergroups can not have permissions set, for obvious reasons.

- Zero Tolerance

weirdpixels
03-02-2005, 08:53 AM
Great hack just installed :)
I notice on ever chat page you go to, there is always a little popup that appears. Can anyone tell me why this happens?

Mechanical Mind
03-02-2005, 11:08 AM
This is a section of my forumhome template:

<!-- Start vBChat Users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" /></a>In Chat Room Now</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]">
<tr>
<td class="alt2"><a href="vBChat.php?$session[sessionurl]" onclick='return OpenvBChat();'><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="vBChat" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
{$invBChat}
</div>
</td>
</tr>
</tbody>
<!-- End vBChat Users -->

Does anybody know how I can modify this code, so that the little default "forum_link.gif" image can be changed to a different image and the link to the chat room can be eliminated ???

I'm good at finding the section that needs to be modded, I just don't know what to do when I get there... :ermm:

Zero Tolerance
03-02-2005, 11:10 AM
weirdpixels: It'd to tell if you exit the chat or not.

Mechanical Mind: Your looking for
<img src="$stylevar[imgdir_misc]/whos_online_24.gif" alt="Users online today" border="0" />

Change the src of the image to your desired image :)

- Zero Tolerance

Mechanical Mind
03-02-2005, 11:15 AM
weirdpixels: It'd to tell if you exit the chat or not.

Mechanical Mind: Your looking for
<img src="$stylevar[imgdir_misc]/whos_online_24.gif" alt="Users online today" border="0" />

Change the src of the image to your desired image :)

- Zero Tolerance

Oops! I posted the wrong section of code ZT. Sorry about that.

Could you take another look at my post?

I am not trying to change the image for "Users Online in the Past 24 Hours". I am trying to change the image that appears next to the vBchat display and to remove the link...

For example I would like to upload a GIF, perhaps "currently_chatting.gif" and have it displayed there instead...

Zero Tolerance
03-02-2005, 11:25 AM
Sure, here's the IMG code for that:
<img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" />

PS: Would it be possible for you to post in the support forum designated for vBChat now? It would help me out instead of going from thread to forum for supporting the same thing, thanks :)

- Zero Tolerance

Mechanical Mind
03-02-2005, 11:40 AM
Sorry about that.
Thanks again.
I'll make a mental note to seek further support in the appropriate forum.
:)

deb0
03-03-2005, 02:49 AM
Why must the chat windows cover the entire screen? Is there a way to set this to open in a smaller window on launch?

Zero Tolerance
03-03-2005, 01:50 PM
Why must the chat windows cover the entire screen? Is there a way to set this to open in a smaller window on launch?
Changing height/width % will be in the next version :)

- Zero Tolerance

speedracer68
03-05-2005, 02:20 PM
I need to uninstall vBChat today. I see several questions regarding uninstalling it yet I never was able to find an answer.

How do I remove it?

Thanks and nice hack. It's just not for me.

Zero Tolerance
03-05-2005, 07:57 PM
I need to uninstall vBChat today. I see several questions regarding uninstalling it yet I never was able to find an answer.

How do I remove it?

Thanks and nice hack. It's just not for me.
Just undo all file edits that you did in reverse order, leaving the database modifications won't make any difference throughout your forum :)

- Zero Tolerance

deb0
03-07-2005, 03:38 AM
I have one problem with this mod:

1. usergroup permissions don't work. You have to ban the group to prevent them from access alltogether.

other than that, great mod

BornMunson
03-07-2005, 10:08 AM
I had an idea for a new feature in future versions of vBChat, which I think is a great program! What about a way to tell when someone has posted a new message or joined the room when you have the chat room minimzed or you are viewing another window in Internet Explorer? Same as you would when you receive a new message in MSN Messenger and the icon flashes until you restore or maximize the window again. Would this be possible?

wacnstac
03-07-2005, 10:47 AM
I have one problem with this mod:

1. usergroup permissions don't work. You have to ban the group to prevent them from access alltogether.



other than that, great mod

The problem is worse than that. If you have secondary usergroups whom you restrict access to private rooms, that doesn't work either.

sv1cec
03-07-2005, 11:10 AM
I had an idea for a new feature in future versions of vBChat, which I think is a great program! What about a way to tell when someone has posted a new message or joined the room when you have the chat room minimzed or you are viewing another window in Internet Explorer? Same as you would when you receive a new message in MSN Messenger and the icon flashes until you restore or maximize the window again. Would this be possible?
Well, if ZT decides to implement a sound when a new member enters the chat, then you will have your alarm.

I've posted a thread here, which shows changes that you can do, to have a sound playing, every time a new user logs in, but they are not complete and I would prefer if you wait for ZT to implement this feature, my version is a ... hack of his hack, to cover my user needs. I haven't tested it if the chat window is minimized, but it works OK, if it is resized to a very small size. Then when you hear the sound, you just make it larger.

JAYEMULE
03-07-2005, 02:32 PM
I Moved This Question To the Proper Support Thread



I have and upgrade problem. Not sure what I have gotten wrong. Sorry to bother agian Zero but was wondering if you could tell me what I have done to get this error code when I try to run the install. I am just upgrading my public forum to 3.7. (thought it was but wasn't ;) )

Database error in vBulletin 3.0.7:

Invalid SQL: alter table vbchat_datastore
add `d_groupperms` text not null default ''
mysql error: Duplicate column name 'd_groupperms'

mysql error number: 1060

Date: Monday 07th of March 2005 09:25:41 PM
Script: http://mules.org/forum/admincp/install_vbchat.php
Referer: http://mules.org/forum/admincp/install_vbchat.php
Username: JAYEMULE

I have checked everything and I just can't find my mistake. Thanks kindly for the help.

PS if there is a support thread someplace I missed it, sorry and please move me to that thread if it is there.

Jaye

Paul M
03-07-2005, 05:07 PM
It's trying to add database fields that already exist - You don't need to run the install program again just to upgrade your forum to 3.0.7 - just re-do the file edits.

Zero Tolerance
03-07-2005, 05:08 PM
I Moved This Question To the Proper Support Thread



I have and upgrade problem. Not sure what I have gotten wrong. Sorry to bother agian Zero but was wondering if you could tell me what I have done to get this error code when I try to run the install. I am just upgrading my public forum to 3.7. (thought it was but wasn't ;) )

Database error in vBulletin 3.0.7:

Invalid SQL: alter table vbchat_datastore
add `d_groupperms` text not null default ''
mysql error: Duplicate column name 'd_groupperms'

mysql error number: 1060

Date: Monday 07th of March 2005 09:25:41 PM
Script: http://mules.org/forum/admincp/install_vbchat.php
Referer: http://mules.org/forum/admincp/install_vbchat.php
Username: JAYEMULE

I have checked everything and I just can't find my mistake. Thanks kindly for the help.

PS if there is a support thread someplace I missed it, sorry and please move me to that thread if it is there.

Jaye
What Paul M said, thanks Paul :)

- Zero Tolerance

nnjj.net
03-09-2005, 05:45 AM
can I update from the very old chat to this direct? or do I need to update to version 2 first?

if so what the needed files for this?

thanks alot great hack

Carl Anderson
03-09-2005, 06:06 AM
I am running version 1.1 - what do I need to do to upgrade to 2.3 ?

nnjj.net
03-09-2005, 06:18 AM
same Q :)

JirQUEST
03-09-2005, 07:56 AM
I am running version 1.1 - what do I need to do to upgrade to 2.3 ?

what i did was, delete the old data columns and tables in the db, then run the install script. worked fine for me.

lefthome
03-09-2005, 10:59 AM
A few weeks ago I installed VBChat 2.0 to my system. I am currently using VbBulletin 3.6. During the install I experienced several issues with the board so I removed everything (during the final phase of removal I discovered I failed to remove one of the existing scripts as I installed the new hack) except the forum overlays or custom templates, i.e. chat.

Anyway, I am upgrading to VbBulletin version 3.07 this weekend and will reinstall VBChat 2.3 ensuring I read all the steps before I install and removing everything required.

Here is my question: Since I already installed VBChat 2.0 should I;

1. remove the custom templates..chat or leave intact
2. should I install as an upgrade, if I leave these or does it matter
3. should I remove the custom templates and start the install as fresh for 2.3 vbchat?

nnjj.net
03-10-2005, 08:09 AM
I will try to do the same as you did JirQUEST & see what will happen :)
thanx

Jacuma
03-10-2005, 02:27 PM
Installed thanks Zero Tolerance although I will install 2.3 over the weekend

vakvak
03-10-2005, 08:28 PM
help uninstall sql for v2.3 bad

Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE `vbchat_store` (
`sid` int(15) NOT NULL auto_increment,
`s_postby` int(15) NOT NULL default '0',
`s_message` mediumtext NOT NULL default '',
`s_postime` int(15) NOT NULL default '0',
`s_foruser` int(15) not null default '0',
PRIMARY KEY (`sid`)
) TYPE=MyISAM;
mysql error: Table 'vbchat_store' already exists

mysql error number: 1050

vakvak
03-12-2005, 08:13 PM
how to uninstall sql help pls...

hendri
03-14-2005, 12:49 AM
i'm getting thiw debug error : on line 867 error : object expected.. what happened ? please help to solve the problem. vb chat runs well.

thanks

AbstractHipHop
03-14-2005, 12:57 AM
beautiful upgrade!

RichieBoy67
03-14-2005, 01:01 AM
I guess I missed something... What are the new features in the last upgrade?? I guess I have version v.2.3...

Thanks

White Knight
03-14-2005, 01:20 PM
I just wanted to give you a quick thanks for the upgrades.. i and my members appreciate it

fonzerelli_79
03-14-2005, 09:53 PM
Bug report:

A user using Opera has reported that when there are enough messages so that a scrollbar shows up, the scrollbar jumps to the top at every refresh, even if the page is set to have newest messages show up at the bottom.

It looks like the Javascript call of scroll(0,99999999) does not work for Opera.

first of all - amazing script. The designer took a lot of time and care with this whole download :)

akiy - did you or any other member resolve the problem with opera?

EH-Jay
03-15-2005, 06:06 AM
I have this hack installed. 100% perfect. Question though. For example, 2 people are in the chat, 1 leaves. Why does it still show 2 people and the other person in the chat who actually left?

And I integrated this hack into my current design :) instead of the full page for the chat. very easy. Nice work.

EH-Jay
03-15-2005, 03:39 PM
Also, why does it load all the chat that others have posted? Like I come on there after a few people have been in there chatting and it shows what they have said. Anyway to turn that off?

Polo
03-15-2005, 06:35 PM
Also, why does it load all the chat that others have posted? Like I come on there after a few people have been in there chatting and it shows what they have said. Anyway to turn that off?
Is it even possible? I would also like to make those disapear.

LeeWicKeD
03-15-2005, 06:55 PM
hey zero tolerance! very nice changes! i had v1.1.1 and was surprised that there is already a v.2.3 ;)

but i have one question:

in the old versions the chat was opened below the main-forum-navigation (also when opening a new window). how can i do this in v2.3? because i need the navigation when being inside the chat. i hope you understand what i mean ;)

* LeeWicKeD clicks install

xug
03-15-2005, 07:09 PM
Maybe I missed it but I have a problem with the history.

When chatting with a bunh of people we can only scroll up a little back in the chat confo, can this history be increased somewhere?

And also as EH-Jay mentioned needs to be solved, lets say you talk about somebody who isn't in the room and then he enters and can see what is just said, not good.

Further, one fine hack!!

LeeWicKeD
03-15-2005, 07:15 PM
@xug: in vbchat.php look for

$Get_Chat_MSG = $DB->query("select u.*,m.* from ".TABLE_PREFIX."vbchat_store m left join ".TABLE_PREFIX."user u on (u.userid = m.s_postby) where m.s_forroom = '{$bbuserinfo['vbchat_pref_in_room']}' order by m.s_postime desc limit 0,15");

and change the 15 at the and to the number of messages that you want to be shown ;)

Polo
03-16-2005, 06:40 PM
This is by far the best chat integration to vbulletin... check the attachment and look how nicely integrates with vbulletin and the cmps...

thank you Zero Tolerance...

SycoPhant
03-17-2005, 02:00 AM
love it :bowdown:

intrigue
03-17-2005, 09:44 AM
hey i will most likly install this as it seems you have ironed out all of the issues i had problems with in earlier releases
.matt

intrigue
03-17-2005, 11:31 PM
ok i get a white screen im not sure what i have missed i hav eran the install script and have added the template mods except for the vbchat users template does that need to be added for it to work i assume not?
.matt

RichieBoy67
03-18-2005, 01:49 AM
I guess I missed something... What are the new features in the last upgrade?? I guess I have version v.2.3...

Thanks

xug
03-18-2005, 12:44 PM
Thanks LeeWicKeD

I still don't like it when I get in the room (or somebody else) that I can read what is said before, this is really bad and I hope this issue can be solved asap because this is the best chat integration I have seen here.

robert_2004
03-18-2005, 03:01 PM
Question to Zero Tolerance:
Can i save the chat logs as threads or topics to the site, like i have mentioned here:
https://vborg.vbsupport.ru/showthread.php?p=627266#post627266
???

animehawk
03-18-2005, 03:49 PM
Cheers to Zero Tolerance! I just finished the upgrade from 1.1.1 to 2.3 :) Very nice work.

LeeWicKeD
03-19-2005, 04:51 AM
Thanks LeeWicKeD

I still don't like it when I get in the room (or somebody else) that I can read what is said before, this is really bad and I hope this issue can be solved asap because this is the best chat integration I have seen here.

i really like this ability reading the old messages, very helpful sometimes! for important things there are also the (chat-)pm's ;)

intrigue
03-19-2005, 11:07 AM
ok sorted it was the template modifications that the installation makes
i changed the default style and it made the changes properly :)
.matt

intrigue
03-19-2005, 11:10 AM
the only problem i have now is when joining the room i get 3 joins for the one person any reason for that?
.matt

intrigue
03-19-2005, 11:16 AM
so anyways this erm integration with vb you know like within your site how do you do that? rather then a popup window?
.matt

sv1cec
03-19-2005, 11:36 AM
First of all, do not expect ZT to answer your questions here. There is a special forum for vBChat, and that is where you should be posting your questions. The URL for the forum, is at the top of every page here.

As for the vB integration, I am not sure I understand what you mean. The chat opens in a new window, because it is a different application than browsing the forums. It is however fully integrated with vB. In order for someone to go in the Chat, he has to be a member of your forums. Also, moderators can ban members from the chat (i.e. the program understands who your mods are etc). My Advanced Warning System, which is another hack for vB, understands when a user enters a vB cencored word and issues a warning. vBChat is the most integrated with vB chat program there is today, believe me, I've tried them all. And it allows you to program it just as if it was vB, which is more than some other chat hacks can offer.

Rgds

Joe Mac
03-21-2005, 12:28 AM
Works well. My users love it.

Fenriz
03-21-2005, 06:41 AM
How can I uninstall vbchat? I've installed it (step 1 and 2 in istruction), but need to uninstall it now.
When I run install_vbchat.php file, I receive only 'installation type' in the menu, but without unistall option..

Please help.

TopeeGuy
03-21-2005, 06:16 PM
Is there any way to restrict certain usergroups to certain chat rooms?

E.g. two usergroups: ugA and ugB. Two rooms: crA and crB. I only want ugA to be able to access crA (and not crB), and ugB should only be able to access crB (and not crA).

Possible?

havefun
03-21-2005, 10:44 PM
thanks a lot. great work :)

Mr.ciuk
03-23-2005, 08:04 PM
Changing height/width % will be in the next version :)

- Zero Tolerance

Thaks a lot for your great work.... :)

Can i make something manually to reduce windows chat ???
Thanks !!!!
:)

sv1cec
03-24-2005, 01:04 AM
Thaks a lot for your great work.... :)

Can i make something manually to reduce windows chat ???
Thanks !!!!
:)
Go into your navbar template, or wherever you are calling vBChat from, and find the script that opens up the window. Replace that script with this one:


<script type="text/javascript">
<!--

function OpenvBChat(){

var ws = screen.width*0.8;
var hs = screen.height*0.7;
var winParms = "height=" + hs + ",width=" + ws + "directories=no,resizeable=yes,location=no,menubar= no,scrollbars=yes,status=no,toolbar=no";
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat',winParms)

return false;
}

-->
</script>


You can change the factors 0.8 and 0.7 I use, in the variables ws and hs to suite your needs. As it is now, it will create a window with 0.8 times the screen width and 0.7 times the screen height of your user's screen.

Rgds

teedizz
03-24-2005, 02:26 AM
This is by far the best chat integration to vbulletin... check the attachment and look how nicely integrates with vbulletin and the cmps...

thank you Zero Tolerance...



How did you do that bro? I would like for it to load like that instead of a seperate window....thank for any info


Also heres a problem some members are having & was wondering if you can give me a solution......alot of my members say when they click on tha vbchat link tha page loads blank.......i have asked members to turn off firewalls, use different web browsers.....but still no luck.....it works fine for me like i said earlier but ALOT of people are saying that it isnt showing up...is there a fix for this that might be preventing certain people from viewing vbchat? maybe its sp2 for i.e. ? ...i have no idea & was wondering if someone could point me in tha right direction

Osiris2k
03-24-2005, 02:56 AM
Hey first of all this is a great hack!

But I got one problem, when I try to enter the chat from the mainpage(vbadvanced) it gives me page not found (it is correctly forwarded to vBChat.php)

But it does work if I click the chat link from within the forum itself.

How do I fix that?

sv1cec
03-24-2005, 03:03 AM
Guys, do not post your questions here, ZT does not check this area any more, or at least he doesn't check it frequently. If you have a problem or a question, please post it here:

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

Rgds

PHPGeek2k3
03-28-2005, 02:28 AM
Hey Thanks ZT for this mod really nice one. I love the features of the latest which is 2.3 where there is no sound of the refresh and no page loading look.

Thanks
- James

dufkis
03-28-2005, 03:31 AM
/Install

wacodep
03-29-2005, 07:36 PM
we be chattin' ... :)

will eval ... if it pans out, PayPal your way, ZT! :)

pauloo
04-01-2005, 02:23 PM
it's possible to have an option for playing a sound when there is a new message ?

thank you

sv1cec
04-01-2005, 06:50 PM
Check this forum for your question, I've already answered it there.

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

geoff4787
04-12-2005, 05:39 AM
What are the 10 images at the bottom which are x's? Any way to fix them?

psoexplorer
04-13-2005, 08:57 AM
When I do this part:

::: Open File - ROOT FORUM DIRECTORY/admincp/index.php
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
FIND:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
// *************************************************

$printhr = false;
if (can_administer('canadminsettings'))
{
$printhr = true;
construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');
if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

// *************************************************
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
UNDERNEATH ADD:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
$printhr = true ;
construct_nav_option ( 'vBChat Options', 'admin_vbchat.php', '<br />' ) ;
construct_nav_option ( 'Banned Usergroups', 'admin_vbchat.php?do=banned_groups', '<br />' ) ;
construct_nav_option ( 'Banned Users', 'admin_vbchat.php?do=banned_users', '<br />' ) ;
construct_nav_option ( 'Usergroup Permissions', 'admin_vbchat.php?do=group_perms', '<br />' ) ;
construct_nav_option ( 'vBChat Room Control', 'admin_vbchat.php?do=room', '<br />' ) ;
construct_nav_option ( 'vBChat Prune Options', 'admin_vbchat.php?do=prune', '<br />' ) ;
construct_nav_group ( 'vBChat Control', '<hr />' ) ;
$printhr = false;

::: Save & Reupload ROOT FORUM DIRECTORY/admincp/index.php

My admincp doesnt load up, it just gives me a blank white page. When I revert to the old admincp, it's fine. What's up?

midnightwalker
04-15-2005, 08:47 AM
just a small question, how can I see my previous message after it's scrolled up?

face0fdie
04-16-2005, 07:06 PM
thanks

chriswible
04-17-2005, 06:49 AM
Wow, great hack! I am very impressed by the fluidity and smoothness with which vBChat operates.

Thanks! *clicks install*

Teresa
04-18-2005, 02:26 AM
An apostrophe in the status loses any text after the apostrophe.

midnightwalker
04-19-2005, 11:00 AM
so how can we take it back?

Jinovich
04-19-2005, 05:23 PM
I really love the Vb chat system specially the ability to intergrate the styles you have installed onto the board automatically :)

did notice a very small mistake (well actually an my illiterate co-admin spotted it)

erm banned users are displayed with "Sorry you have beed...."

Real simple to fix,

Open up VBchat.php

find:
if($UserIDBanned > 0){
// Your User Doesn't Have Permission To Access The vBChat System, Error Now And Cancel Out All Actions
RunError("Sorry but you have beed denied access permissions to use the vBChat System, please contact the administrator for more information.");
}

and replace with:

if($UserIDBanned > 0){
// Your User Doesn't Have Permission To Access The vBChat System, Error Now And Cancel Out All Actions
RunError("Sorry but you have been denied access permissions to use the vBChat System, please contact the administrator for more information.");
}

and that will obviously fix it,

once again I must say VERY GOOD HACK!

Nice one ZT!

midnightwalker
04-22-2005, 12:44 PM
so how can we take it back?

Anyone can help me????

greenhybrid
04-24-2005, 09:59 PM
Is there a log of everything that happens in the chatroom so I can read through it from time to time, make sure everything is going well?

conandoyle
04-25-2005, 08:25 AM
To Zero Tolerance: Thank you for your hack.

I've followed your instructions to install VBChat, but in "Edit Template" step.
In my template : 'navbar', I can't find :
+++++++++++++++++++
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
+++++++++++++++++++

Can any one tell me how to solve in this case?
Thanks much !

sv1cec
04-25-2005, 09:19 AM
There should be something for the calendar, what do you have there?

greenhybrid
04-25-2005, 06:17 PM
Any of your links in the navbar will have a TD cell like that. You can search for the User CP or Memberlist if you want. They're all the same. It's just about ordering.

conandoyle
04-25-2005, 11:45 PM
There should be something for the calendar, what do you have there?

I want to complete this step of VBChat hack but i can't find this code in my template (navbar).

Any one can help me ?

greenhybrid
04-26-2005, 12:09 AM
Copy your navbar code.

conandoyle
04-26-2005, 12:17 AM
Navbar code :

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$bbuserinfo['userid']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- bottom table setup -->
<table width="100%" class="thead" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="2"><img src="$stylevar[imgdir_misc]/trans.gif" height="2" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>

greenhybrid
04-26-2005, 12:19 AM
Can I see your board? Looks like you're missing some things.

conandoyle
04-26-2005, 07:36 AM
I seach in template and found above code in header template:

<!-- begin cobalt header-->
<div align="center">
<table width="770" align="center" class="border1">
<tr>
<td align="left" valign="top">

<table width="100%" align="center" class="border2">
<tr>
<td align="left" valign="top">
<table width="100%" align="center" style="background-image:url($stylevar[imgdir_misc]/hy_hdr_back.gif)" border="0" cellpadding="0" cellspacing="0" class="navborder">
<tr>
<td align="left" valign="top" width="225" height="94"><img src="$stylevar[imgdir_misc]/hy_hdr_ls.gif" width="225" height="94" alt="" /></td>

</tr>
</table>
<!-- end cobalt header-->
<!-- nav buttons bar -->
<div align="center">
<table style="background-image:url($stylevar[imgdir_misc]/hy_nav_back.gif); border-top-width:0px" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" class="navborder">
<tr align="center">
<td height="33" class="hnav"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>

<if condition="$show['member']">
<td class="hnav"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="hnav"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
</if>
<td class="hnav"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>
<td class="hnav"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
<td class="hnav"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="hnav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="hnav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="hnav"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="hnav"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="hnav"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="hnav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="hnav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="hnav"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td class="hnav"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$bbuserinfo['userid']">
<td class="hnav"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>



<!-- content table -->
$spacer_open

$_phpinclude_output

Mickey19781978
04-26-2005, 12:37 PM
excellent work on this

works like a charm
well done

/me clicks install

greenhybrid
04-26-2005, 05:50 PM
<td class="hnav"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

Well, you found it. It's slightly different. Change the class in the replacement to fit it, and you should be fine.

midnightwalker
04-27-2005, 05:21 AM
Is there a log of everything that happens in the chatroom so I can read through it from time to time, make sure everything is going well?

Exactly that's what I need

ChaoticMageDDC
04-29-2005, 01:10 AM
Great hack btw but im having a few problems...

First off when u go to my main link http://www.goaguild.com/ and click chat for some reason it is not switching to /forum/vbchat.php if you go to http://www.goaguild.com/forum and click on the chat it works fine.. I thought creating 1 template effects both the index (CMPS) and the forums URL's together??? If thats not the case how can i fix the first link so it goes to /forum when u click it??

Also i notice the vbchat script takes FOREVER to load. Any reason why it's so slow to process? Takes a good minute to a minute in a half before it will load...

Thanks!

greenhybrid
04-29-2005, 01:15 AM
Because it's a relative link instead of absolute, it's looking in the same directory. Go into the navbar template and change the link to /forum/vBChat.php instead of vBChat.php

The script doesn't take forever for me... Try mine out.
http://www.greenhybrid.com/discuss/
If it's not slow, check your installation. If it is, check your computer... and another one.

ChaoticMageDDC
04-29-2005, 01:47 AM
Damn yours is super fast... Not sure why mine loads so slow for me.. Did you try to click my chat link?

Thanks for the help that should resolve it.

greenhybrid
04-29-2005, 01:49 AM
Enable guest access and I will. Registered for too many forums already. Sorry.

ChaoticMageDDC
04-29-2005, 01:57 AM
ok let me enable it...

This link issue still isn't working correctly...

function OpenvBChat(){
vBChat = window.open('vBChat.php?$session[sessionurl]','vBChat','directories=no,height='+window.screen. height+',width='+window.screen.width+',location=no ,menubar=no,scrollbars=yes,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="http://www.goaguild.com/forum/vBChat.php?$session[sessionurl]" onclick="return OpenvBChat();">Chat</a></td>


If i change the first vBchat.php to (forum/vBChat.php the CMPS Chat link works correctly. THe problem is the second chat link located on the Forums Page now goes to forum/forum/vBChat.php :ermm:

Corriewf
04-29-2005, 12:59 PM
Try taking out $session[sessionurl] .

bouncey
04-29-2005, 03:21 PM
Does this chat room keep chat logs, if so where do I find them?

Corriewf
04-29-2005, 05:01 PM
Can someone tell me how I can get vbChat to open within my forum and not as a pop up page?

I'm a newbie to all this, but I follow directions extremely well.


Thanks for the assistance...

lsmba

Instead of using the java code in the navbar just use html.

greenhybrid
05-02-2005, 02:16 PM
To get rid of the popup, take out the onclick attribute of the anchor link (<a>) tag for your chatroom links (navbar, who's chatting templates). You can also change the template by adding your header/footer HTML to the templates or sticking in a template call.

If I need to be more specific, let me know.

Corriewf
05-04-2005, 12:59 PM
Yes...could you be more specific...that would help me a great deal :)

Thanks for the help.

Do you know how to add just a regular link to the navbar?

Polo
05-04-2005, 01:11 PM
Do you know how to add just a regular link to the navbar?
in the navbar....... just add something like <a href="vbchat.php">Chat</a> and that should do it...

flex22
05-06-2005, 02:45 PM
When I try to upload the files, they show as 0bytes in size on my web server.
All of my firewall setting are correct, and I've even turned the firewall off completely, but still the same.

I'm still looking into this, but thought I would mention it here in case it has something to do with the files themselves (probably not though).

Any advice?

Cheers!

Edit: Sorted this.

flex22
05-07-2005, 02:31 PM
This is a nice addition.

When viewing who's online though, it does look ugle the way it says "unknown location"

How do I get that to just say "chat room"

Also I appear as not in the chat room if I don't write anything for like 1 minute, or so it seems.
How can I change that so that I'm permanently shown in the chat room, until I manually close vbchat?

Sorry if these questions have been asked before, but I really can't be bothered going through all of this big thread to see if this has already been posted about.

Cheers!

dsboyce8624
05-08-2005, 01:59 PM
Guys, do not post your questions here, ZT does not check this area any more, or at least he doesn't check it frequently. If you have a problem or a question, please post it here:

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

Rgds

He doesn't seem to check there too much either.

flex22
05-09-2005, 01:20 PM
I just noticed that section, doh me.I'll repost over there, hopefully will get some answers.