vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB Chat (https://vborg.vbsupport.ru/forumdisplay.php?f=107)
-   -   Can not open chat from CMPS navar and the CMPS module (https://vborg.vbsupport.ru/showthread.php?t=79988)

attroll 04-16-2005 05:33 AM

Can not open chat from CMPS navar and the CMPS module
 
I got vB Chat working. But I have two problems trying to get it to come up.

1. It will not come up from up from my navbar while on my CMPS frontpage. I keep getting "The page can not be found".

2. It will not come up from the CMPS module. it also says "The page can not be found".

But the weird thing is it works from my navbar while in the forums. I dont understand because I am using the same code in every location.

Can anyone help me and tell me what I am doing wrong?

The only way I can get it to work in these two places is by removing the following code from the link.

Code:

onclick="return OpenvBChat();"
I have also tried these codes:
Code:

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

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

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

attroll 04-18-2005 04:42 PM

I guess no one else has had this problem in the past or is right now. I was hoping someone could tell me if I did something wrong?

kyzen 04-29-2005 02:40 AM

I'm looking for a little chat app to install, but I run vba too, was looking around to see if someone had modified it to work at vba portal... seem's like they haven't :p

ranger2kxlt 04-29-2005 02:47 AM

I'm in the same boat, doesn't work on the home page but if im in the forums it will :-/

attroll 04-29-2005 03:15 AM

I can tell you how to make it work. But it is not the way it was designed.

Original code from hack in navbar to Replace:
Code:

<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>

Replace with:
Code:

<td class="vbmenu_control"><a target="_chat" href="$vboptions[bburl]/vBChat.php?$session[sessionurl]">vBChat</a></td>

ChaoticMageDDC 04-29-2005 10:31 AM

I have this same exact problem... Once you change one to /forum the link on the forums page goes to /forum/forum...

ranger2kxlt 04-29-2005 01:53 PM

I tried the $vboptions[bburl]/ but that just kills it altogether :-/

greenhybrid 04-29-2005 07:54 PM

No, no. Get rid of $vboptions[bburl] all together. That would be replaced with domain.com/forum


All times are GMT. The time now is 08:43 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
  • Page Generation 0.00984 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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