![]() |
I've got the chat integrated... I have a menu choice that when I click it, it opens a new window (using target=_blank) but I'd like for the new window that pops open with the embedded chat NOT to have the left column.
I've tried to incorporate the following: http://www.phpportals.com/forums/sho...no+left+column But I can't seem to get the left column to disappear by adding the lines into chat.php. I tried, as a test to make sure it works, editing download.php and it removed the left menu without problem. No matter what I do, though, I can't remove the left menu for when my users go to "Chat". I'd like to pop open the new window with chat and just the site's header and footer and no menu options to confuse the user - so they can chat and surf and not be tempted to hit a menu choice on the open chat window. -Scott |
It must be a vB Portal thing, because I honestly don't have a clue what you are talking about :(
And that link won't allow me... Quote:
|
Yeah, it's a vbportal thing. Sorry for the confusion. To me, vbportal and vbulletin are integrally tied together. :ermm:
Was hoping someone else here had run into the same issue, but should have put more details in my post. :nervous: -Scott |
I know nothing about vbportal, so I can't help you. Maybe the people there can help out with this. The chat script is pretty simple, so that shouldn't be a bother.
If you get some solution for this, then please let me know (in details ;) ) |
Hi ThoughtDiver,
im using vBportal too but I dont have your problem because I dont use the side menu in the forum. The problem is, that your complete forum is using the themeheader from vbportal, so you'd want to create a different header (maybe manually in chat.php) or allocate a different themeheader for the chat.php regards Tina |
Okay... I got what I needed to work. I'll try and spell it out in case it is useful for someone else.
I fun vbportal integrated with vbulletin. I added the javachat integration with the pro version of sigmachat from raidersoft.com. I have a link to chat off my main page. This takes me to the integrated chat in my site and I have it pop up in a new window by using target=_blank in the link. Since I do have the left column menu operational in my forums area and since the chat is integrated into the forums section, my goal was to get rid of the left column menu ONLY for the chat window. Why? Because users would click on the visible menu options in the left colum and go to another page on the site, taking them away from the chat session and dropping them from chat. What I wanted was my vbportal/vbintegration site in one browser window, and the chat session in a different browser window with all the menu options not visible to the user so the chat windows was essentially a floating chat window from the moment the user chose to click on the chat link. Okay... way too long of an explanation... but didn't know how to say it otherwise. :confused: What I did - and this may require some familiarity with vbportal. This effectively removes the left column completely from whatever script you edit in part (1). (1) At the top of my /forums/chat.php file, I added the following lines: ---------------------------- global $leftcolumnoff; $leftcolumnoff=1; (2) Within the vbp_includes.php file in my root directory, I added an if conditional statement as follows: ---------------------------- // mod - putting below original code in an if statement global $leftcolumnoff; if (!$leftcolumnoff) { // mod // original code follows if ($Allow_Forum_Leftcolumn==1) { if (($bbuserinfo['userid']!=0 and $bbshowleftcolumn)or ($bbuserinfo['userid']==0 and $Forum_Default_Leftcolumn==1)){ include($nukepath . "/language/lang-$language.php"); require($nukepath . "/includes/forumblocks.php"); forumblocks(left); if ($action==newreply or $action==newthread or $threadid !=0){ $themeleftcolumn =""; $closeleftcolumn =""; }else{ eval("\$themeleftcolumn = \"".gettemplate('P_ForumLeftColumn')."\";"); $closeleftcolumn = "<br></td></tr></table>"; } $switchdisplay="| <a href=\"$nukeurl/user.php?s=$session[sessionhash]&action=switchdisplay\"><b>Hide Leftcolumn</b></a>"; }else{ if ($bbuserinfo['userid']!=0){ $switchdisplay="| <a href=\"$nukeurl/user.php?s=$session[sessionhash]&action=switchdisplay\"><b>Show Leftcolumn</b></a>"; }else{ $switchdisplay=""; } } }else{ $switchdisplay=""; $showleftcolumn =0; } // end original code // mod } // mod - putting above original code in an if statement Happy Happy. Now Sleep. :tired: |
When the chat is working, it works GREAT... but a fair percentage of the time, when you click on the link to open the new window with the chat integrated into it, you get the "Welcome" audio clip but the only thing that loads up is a blank rectangle with the custom background color of the chat app. Closing down and reclicking the link or pressing F5 to refresh the window will normally fix it, but sometimes you have to do this multiple times.
Any ideas? I'm using raidersoft's pro sigmachat. Thanks, Scott :ermm: |
This is the first time I hear of this.
Does this only happen to you, or all your users? And what kind of OS are you using? Microsoft is not good in supporting java. What you could try (if you haven't already) is get java support from the source, and maybe that will help. http://java.sun.com/j2se/1.4/index.html |
any updates on the who's in chat portion ?? My users are driving me crazy with this !!
|
Wot-Mike - Just launching the site so not a lot of users, but we've gotten it on several test boxes pretty consistently. I tried putting the pop up window brining up just a normal HTML page sized to what I want and THEN a link to chat from that Window. I was trying to seperate the chat from the javascript to pop open the new window to see if it made a difference. Nope. Right-clicking and choosing refresh seems to be the best way to make it work. I'm working with Chris at raidersoft to try and figure out what the deal is... they are REALLY helpful there supporting their product.
|
Quote:
What do I need to add to set the login names automatically? Chat uses Raidersoft. Thanks! Kim :cool: |
Quote:
|
Just noticed that this hack disables the RIGHT-CLICK menu? How would users adjust their font size now?
Is there a "/" command for fonts since right-click no longer works? |
hi dprice,
I dont think the hack has anything to do with the fact that the right-click no longer works. I think that a raidersoft problem. Its the same with me. If you change <applet codebase="http://freechat.raidersoft.com" archive="scclient4.zip" code="Client.class"> to <applet codebase="http://freechat.raidersoft.com" archive="scclient.zip" code="Client.class"> then the fonts will work with right click, but it will also allow the users to logout and then they would be able to login again using a different name. grettings tina |
I talked with Chris at raidersoft and that is true. The scclient4 does not allow the right-click for font change.
They are also planning on coming out with some updates in a month or so from what I gathered. |
Thanks for the info guys.
I did not want the logout buttonfor security reasons. Dont want other members using screen names not belonging to them, therefore I use the autologin feature. My fix for the small fonts was to login to Raidersoft.coms control panel and under General options, you can make the font 16 standard for all users. Alot bigger than the default. Where the problem now lies is if a user opens up a new window while in the chat room, the auto-login process will fail due to user already being logged in on other window. The system will now ask them to enter a name/handle. They can now type whatever they want. What I have done is went into Raidersofts control panel and created account names that I wanted protected (IE. admins/moderators). If a user tries to use one of these names, they will be forced to enter a password. Is there a way around this? Would like for it to keep looping and force them to close the second chat window. Is there an option or a script that I missed inserting? Thanks in advance |
Ok, I got quite some problems here, could someone just write 1 hack instead of letting people mix 2 versions ?
I have a registered irc channel so I don't need one like raiden thingie. So I used jpilot... Now I installed the "embedded hack" the original thread this was about. That till the point is asks refers to the other hack "jpilotchatembed.zip" for the last template. Then I ignored the start of that hack (as they ask to upload the same stuff I already uploaded from the first hack) and edited my "template_chatbit_without_serv_options.txt" file and used it in the redirect template. The chat.php included in the second hack screws everything up so I kept using the chat.php from the first hack. The window loads, all the buttons and stuff, but the chat area stays gray and when I choose a room it doesn't do anything, also my browser says it loaded the page but with errors.... and it says something like "class not found" so cound someone plz make 1 installation instructions to set up a embedded chatroom with jpilot with all files you need included (so don't refer to other hacks) TNX A LOT !!! |
Quote:
I was thinking about a solution for this, but with my chatroom, very occasionally people get disconnected while they remain logged in in the chat. By entering a different name they can always come back in. Any disconnected usernames will be released after 15 minutes I believe. I also haven't had time yet to work on the "who's in chat". I'm really bothered by that, but I cant help it :( Think that when it will be there, it will contain an option to keep people from firing up the thing twice. And I can't help with the jpilot thing. I know nothing about it :( The simplest tip I can give is: suppose you build a html page within the forum structure to hold the chat room, then all the chat specific code that you normally put in the html page, can be placed within the chatbit template. Maybe with a little work, but all output by the forum is just html anyway. The chatbit template is inserted between <TD> tags :) |
Thanks for this GREAT hack.. really appreciate it !!
One question I have though, is that I want to open the Chat in a resizeable window WITHOUT my normal HEADER stuff showing at the top.. BUT with my users auto logging in. Any ideas on how this can be done? |
Edit the chat template. That defines what the page looks like. People will still be auto-logged in :)
And you can resize the window anyway, but you can't resize the chat applet itself without logging out and in again. If people want a different sized applet, then all they have to do is play with the "setheight=" and "setwidth=" settings in the url, and hit enter. This will reload the applet with the sizes they've specified |
Hi wot-Mike, seems to everybody this is great hack, however I'm wondering if it's display how many users in the chatroom, something like:
There are 5 member browsing the forum There are 2 member in the chatroom. Thanks, |
Is there any update on the "who's in chat" portion of this ?
|
Darn! I really thought I'd replied, but it's not here :(
Anyway, I'm running a new version, which shows who's chatting, and it works for most part. But it's still very raw, and there's some stuff I want to add. Give me another week to finish this, or at least finish the main thing. More features could be added later on. This won't be a simple hack like the current 1.4 or 1.5 version (whichever, I forgot :D ). vBulletin files will need to be edited, and the database will need to be altered slightly. Anyway, the core of it is similar to the digichat hack with the semi-live who's online. I even wonder if it would be an idea to combine efforts and make one awesome hack for chat purposes. Well, I'm working on it at least. |
Been using this hack for a month or so now.. Excellent.. THANKS!
The "Who's Chatting" feature would be a real help though.. Can't wait for one of you Boffs to work it out ;) |
Could someone please tell me where this file goes now i have added the room No : Look at the "template_chatbit_sigmachat.txt" for an example (replace XXXXX with your room number)
I have done that but were does it go now ??? As when i click onto the chat button all i have is a blank screen. Any ideas thanks Gazer. |
Quote:
is there a german client, that also does not allow the right click? At the moment i have scclient6_de. There you can "logout". I tried scclient1-6_de but no success.... Thanks for your time in advance joergh |
Quote:
But here's an example anyway: PHP Code:
XXXXX = your roomnumber http://yoursite.com Joergh, what exactly are you looking for? A client without a logout button and where you can change fonts? |
@wot-mike.
I am looking for a german chat client like english scclient4 which does not allow right-click/to logout. I tried t o switch to scclient4 but there are (of course) english buttons and so on. Same thing in german layout :) best regards joergh |
Think something like this hould be used in the chatbit then:
<param name="lopt" value="s+t+a+c+h+d+l-"> l- removes the logout button, I guess What's also a possibilty in sigmachat 6 is this: <param name="exitURL" value="javascript: window.close()"> That would make the logout button close the chat window |
Thank you! I removed the logout button. It works :)
joergh |
Hmm.. Your right the new version doesn't work :(
You still seem to be able to use the older version though.. Looks exactly the same, I wonder what the difference is? |
Hey, the above chatbit example is based on the Professional Chat. I don't know if there are different settings for the free version. The best way to get the right settings is to simply check the Link Instructions in your RaiderSoft account. Main thing to check is the port value I think.
Try it with the exact RaiderSoft Link Instructions at first. And if that works, then replace some of the contents of chatbit with the variables $setwidth, $setheight and $username. If everything checks out, and it still doesn't work, then I think you should contact RaiderSoft about this. |
wot-Mike, installed this and works great ! Only problem is it doesnt show up who's in chat, any ideas ?
|
One idea:
wait on the version that actually has a Who's in chat ;) It's ready enough now, so very soon... |
OH!!! ;o) Sorry I assumed this one had it, looking forward to it. Thanks for this is a great addition to our board.
|
Quote:
|
Thanks man, this is a great hack. Easy to install, and works like a charm. Thanks again!
Jbear6 |
sooon ?? <G> Can ya tell i'm impatient ? LOL
|
Quote:
i will have a look into it now ;) Regards Gazer. |
Quote:
i will have a look into it now ;) Regards Gazer. |
All times are GMT. The time now is 03:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|