vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Chat Invitation (https://vborg.vbsupport.ru/showthread.php?t=48990)

gmarik 05-24-2003 11:07 AM

Amy, can it be integrate with:
https://vborg.vbsupport.ru/showthrea...highlight=chat ?

amykhar 05-24-2003 02:27 PM

I believe you could do it with modifications. Because that chat window is open all the time, you wouldn't need to open the windown when somebody accepts the invitation to chat.

Amy

gmarik 05-24-2003 04:09 PM

Could you more detailed?
What shoudl I start from (because you coded it).

Marco

amykhar 05-24-2003 04:59 PM

Modify the head_chatInvite template. That is the javascript that controls what happens when the invite window pops up.

Amy

kaotic 05-25-2003 07:34 PM

Having a problem...

Quote:

a) Open admin/functions.php

Find: global $DB_site,$replacementsetid,$gzipoutput,$gziplevel, $newpmmsg,$microstats;

Replace With: global $DB_site,$replacementsetid,$gzipoutput,$gziplevel, $newpmmsg,$microstats,$chatInvite;
I can't locate "$microstats" anywhere in the admin/functions.php file. Here's the closest thing I can find:

Quote:

global $PHP_SELF, $DB_site, $replacementsetid, $gzipoutput, $gziplevel, $newpmmsg;
Is that correct? (notice the spaces)

Funkie 05-25-2003 08:13 PM

$microstats

unless you have that hack installed you wont find it:)

you have it right in your quote

kaotic 05-25-2003 09:09 PM

Alright, cool. I ran into a couple of small errors in the instructions, but other than that, this hack is working great! I suggest cleaning up the install file some and moving it to Full Releases when you get the chance.

ImportPassion 06-24-2003 07:19 PM

ok, I just went to add this in 2.2.9 and I don't have this anywhere!

Find: if ($newpmmsg) {
if (substr($PHP_SELF,-strlen('private.php'))=='private.php') {
} else {
$newtext=preg_replace("/<body/i","<body onload=\"Javascript:confirm_newpm()\"",$newtext);
}
}

WTF?

D|ver 04-07-2004 01:52 PM

will there be a vb3 version of this?

that would be so great :D :D

nighteyes 07-11-2004 09:04 AM

I want to see this for vb3 too :)


All times are GMT. The time now is 08:44 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.01693 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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