vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Advice on online User's from non VB page (https://vborg.vbsupport.ru/showthread.php?t=106547)

atosoup 01-28-2006 03:06 PM

Advice on online User's from non VB page
 
Iv spent the last 2 days reading hundreds of threads kinda relating to this..

We had this feature working for the past few months no problem using the online_external.php hack up untill last night when we updated our VB from 3.0 to 3.5.3 and now it no longer works..

I have spent hours trying to call just the guests and members online to add to our mainpage from the vb whats going on to no avail..

Can anyone give any help or advise as to how I can create a simple guests and users online to be displayed in txt from the main nonvb page of our site ?

Site URL http://www.atinof.com


Thanks in advance to anyone who takes the time to reply

atosoup 01-28-2006 03:10 PM

Ahhh nuts.. I seem to have posted in completly the wrong place.. applogies for noob error :ermm:

Snake 01-28-2006 03:40 PM

I like that! :)

[high]* Snake installs[/high]

LincolnForums 01-28-2006 05:57 PM

you could always try using the 3.5 version

https://vborg.vbsupport.ru/showthrea...light=external

atosoup 01-28-2006 07:16 PM

Thats exactly what im looking for.. Would make me the happiest bunny! But looks like im one of the few that get the

Code:

Warning: chdir(): No such file or directory (errno 2) in /home/httpd/vhosts/atinofsquad.com/httpdocs/ffs.php on line 2
error..

Iv tried almost evrey path and absolute path possible but still the same error

any advice?

Tony G 01-29-2006 12:07 AM

Wrong forum - moving to vB3.5 questions. These forums are for posting modifications only.

atosoup 01-30-2006 02:47 PM

All working now. Thanks all for the help.. Does anyone know if its possible to show number 0f guests online on the useres online page?

ffevo 02-21-2006 06:52 AM

How the ++++ did you get that to work. I tried and Tried and never got it to work with VB 3.5.3

Ishino 03-21-2006 02:15 PM

I use vBExternal 1.6 for 3.5.4

to get it to work, I had to change
PHP Code:

// make database connection
$db->connect(
    
$config['Database']['dbname'],
    
$config['MasterServer']['servername'],
    
$config['MasterServer']['username'],
    
$config['MasterServer']['password'],
    
$config['MasterServer']['usepconnect'],
    
$config['SlaveServer']['servername'],
    
$config['SlaveServer']['username'],
    
$config['SlaveServer']['password'],
    
$config['SlaveServer']['usepconnect'],
    
$config['Mysqli']['ini_file']
); 

to

PHP Code:

// make database connection
$db->connect(
    
$config['Database']['dbname'],
    
$config['MasterServer']['servername'],
    
$config['MasterServer']['port'],
    
$config['MasterServer']['username'],
    
$config['MasterServer']['password'],
    
$config['MasterServer']['usepconnect'],
    
$config['SlaveServer']['servername'],
    
$config['SlaveServer']['port'],
    
$config['SlaveServer']['username'],
    
$config['SlaveServer']['password'],
    
$config['SlaveServer']['usepconnect'],
    
$config['Mysqli']['ini_file']
); 

in vBExternal.php


All times are GMT. The time now is 05:01 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.01064 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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