vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Connect Directly To Chatroom From Forumhome (https://vborg.vbsupport.ru/showthread.php?t=39635)

pattox2k1 06-09-2002 05:28 AM

Connect Directly To Chatroom From Forumhome
 
1 Attachment(s)
What it does: makes a direct login to the chat on forum homepage

peeps there is no demo of this as i have not installed it on my board but i know that it works and is bug free. The conly thing that you MIGHT have to edit is if you have your chat at:


$bburl/chat/index.php


you will have to change:


<FORM action="$bburl/chat.php" target="_blank">


to:


<FORM action="$bburl/chat/chat.php" target="_blank">

or:

<FORM action="$bburl/chat/chat.php" target="_blank">

(depending on link to chat)



please click install if you install this hack.....



ENJOY!!!!!


(this will work on ALL versions of vB that have the vB eirc hack installed ;) )

SaintDog 06-09-2002 05:47 AM

This is not a hack, this is a template modification. Hacks modify the PHP files, not the templates within vBulletin.

- SaintDog

pattox2k1 06-09-2002 05:57 AM

ok then

nymyth 06-25-2002 11:07 PM

<!--$bbtitle Chat-->
<FORM action="$bburl/chat.php" target="_blank">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%">
<tr>
<td width="100%" height="68">
<p align="center"><b>
<font face="verdana, helvetica, sans-serif" size="2">
Connect to to $bbtitle chat with username : $username </font></b>
<script>
document.write("<input NAME=chatnick value="+chatuser.value+" SIZE=16 class=bginput>");
</script>
<INPUT TYPE="submit" VALUE="Connect" class="bginput"></td>
</tr>
</table>
</FORM>
<!--/$bbtitle Chat-->

....The part that is in BOLD should say $bbuserinfo[username] to grab your name......using $username will grab the newest member that came online.......

Peace

pattox2k1 06-26-2002 09:41 AM

yeh i worked that out ;) anyways i edited it and made it diff, try this code:

<!--$bbtitle Chat-->
<FORM action="$bburl/chat.php" target="_blank">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%" height="68">
<p align="center"><b>
<font face="verdana, helvetica, sans-serif" size="2">
Connect to to $bbtitle chat with username: <font color="#FF0000" size="4" face="verdana, helvetica, sans-serif">$bbuserinfo[username]</font></font></b>
<script>
document.write <input NAME=chatnick value="+chatuser.value+" SIZE=16 class=bginput>
</script>
<INPUT TYPE="submit" VALUE="Connect!" class="bginput"></td>
</tr>
</table>
</FORM>
<!--/$bbtitle Chat-->

nymyth 06-26-2002 04:14 PM

LOL.....good, but i dont see a difference in what i said and what you posted..............yeh, whatever it works so its all good.....now i have to make a button set or something so that my members can go to the quiz page i have set up.....hmmmmm....any ideas??

Peace

Pilot 06-26-2002 05:21 PM

Who cares about PHP vs templates - it's still a code change as far as I am concerned (and I work in IT). In fact I admire a hack that can avoid PHP changes.

Hacks are not a good thing - some view the PHP changes as something of an achievement - to me it represents more of a failure to provide a standard feature or a customisable one.

Hacks, especially to PHP make upgrades a pain. I use them only where absolutely necessary and hope the next version will remove the need for them.

RavenBeauty 06-27-2002 11:13 PM

this looks GREAT but where is this vb eirc hack? I am lost as usual

pattox2k1 06-28-2002 01:12 AM

search for "vb-eirc integration"

CyA

RavenBeauty 06-28-2002 01:45 AM

Pattie hon it just brings me right back to this thread and this thread is the only choice given. I want to implement this modification in the worst way and am scared to death it's over my head. But my guys are asking for it all the time. Noone can seem to be in the same place at the same time but your mod will FIX that BIG time. I want to be sure I do this exactly as you stated and am already lost as usual lol


All times are GMT. The time now is 01:50 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.04070 seconds
  • Memory Usage 1,732KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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