vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBChat v2.3 (https://vborg.vbsupport.ru/showthread.php?t=71049)

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

<!-- 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,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=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,menubar=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>



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

Quote:

<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

Quote:

Originally Posted by greenhybrid
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...

PHP Code:

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:


All times are GMT. The time now is 09:13 PM.

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.02275 seconds
  • Memory Usage 1,785KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete