vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   jIRC Chat Integration (https://vborg.vbsupport.ru/showthread.php?t=43461)

amykhar 03-11-2003 04:14 PM

Cyricx, in your chat.php try putting this before the line that includes global.php:

Code:

chdir('/home/gof/public_html/forums');
And make sure the require statement doesn't have a path in it. It should be merely: require('./global.php');

Try it and see. I believe that will fix your probs if chat.php isn't in the same directory as the forums.

Cyricx 03-11-2003 04:51 PM

AHhhhhhhhh

Booya :) That was it, it had to be in the same folder as the forums. =/

Thank you tons! :)

amykhar 03-11-2003 04:57 PM

no prob.

Amy

FleaBag 03-11-2003 07:46 PM

Thanks Amy. ;)

Red Blaze 04-14-2003 04:14 PM

A friend of mine gets this error.

Connection: Not Encrypted

I have the address and everything else set up right. Any ideas on how I can fix this?

Jadelit 05-11-2003 01:28 AM

anyone know a good irc network to register on for free?

sajjid 06-07-2003 09:27 PM

Quote:

05-11-03 at 03:28 AM Jadelit said this in Post #66
anyone know a good irc network to register on for free?

yes
http://www.hashnet.org/

or
irc.unreal.pl

thesatman 06-21-2003 04:08 PM

any ideas how to get this working with V3 beta ??

I think it will only be the gettemplate in chat.php that needs changing , but i'm not sure what to change it to.

Thans
Chris.

thesatman 06-21-2003 04:20 PM

OK got it working with V3-

change chat.php to-

Code:

<?php
//Include global variables.
include("global.php");
//Check to see if the user is registered, if they are not, show them the login screen.
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
//If the user is registered, proceed to load the chat template.
error_reporting(E_ALL & ~E_NOTICE);

define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'myfile');

// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'my_custom_template'
);
// pre-cache templates used by specific actions
$actiontemplates = array();

require_once('./global.php');
eval('print_output("' . fetch_template('chat') . '");');
?>


dotagious 06-25-2003 05:19 AM

Ok, I have this working on vBulletin 2.3.0 and jPilot 7.0 and the only problem I've encountered is:

The default vbulletin "you are not logged in" page appears when trying to access domain.com/forums/chat.php even though you are in fact logged in. You have to hit refresh for it to recognize this. How can this be fixed?


All times are GMT. The time now is 06:34 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.01130 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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