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)
-   -   VBstatistics on non vb pages (https://vborg.vbsupport.ru/showthread.php?t=23389)

Ruth 08-02-2001 12:46 AM

the hack is not working with me, i am trying to use the header in non vB pages, when i upload open.php and add the line, nothing seems to change in the page.

any idea?

Devels 08-02-2001 06:09 AM

Quote:

Originally posted by Ruth
the hack is not working with me, i am trying to use the header in non vB pages, when i upload open.php and add the line, nothing seems to change in the page.
any idea?

1. Check again --> all instruction you make?
2. Write in nonVb page this string (w/o backspaces).
PHP Code:

<? include "http://full.server.address/vbdirectory/open.php?ac=header"; ?>

You must write this string ONLY in *.php files!
In other files (as SSI) in make in this time (full help instructions).

Pilot 08-02-2001 07:13 AM

Great, what we need are some working sample HTML and PHP pages in the zip file.

Does your code disconnect from the database afterwards, I have seen some hacks that leave the connection hanging which seems a bad idea to me?

Ruth 08-02-2001 07:37 AM

Thanks Devels, but i don't think it is working with 2.0.3

Pilot 08-15-2001 02:55 PM

Any news on the documentation for this?

I tried it and found that it gave really odd results on a non-VB page - UNLESS the user had a cookie stored with VB login information.

So a new user coming along and displaying this non-VB page with SSI - would generate the VB login prompt instead of the required SSI information.

This hack does not work properly unless you are already logged in (or cookied).

My site requires login for all access - can this hack be changed so it can used on a home page where the user may not even have registered yet (let alone logged in!)?

Slave 08-22-2001 08:18 AM

Any news on this?

I'm having a play with it and I don't see to be able to get it to work .. so a zip file with some help/example pages would be good ..

:)

Seby 05-05-2002 03:41 PM

Hi there,

I have some problems with the stats on my page. I made a template with the following stuff in it:
PHP Code:

<font color=#A7A7A5>Forum Stats:<br>
Members: <b>$numbermembers</b><br>
Total Posts: <b>$totalposts</b><br>
Total Threads: <b>$totalthreads</b></font

Look at it here: http://www.cscentral.com/forums/open...pl=forum_stats

it doesn't seem to work, anybody know what's wrong with it?

Thanks,
Sebasian

SHalliday 05-06-2002 12:39 AM

Any way to make the path to VB ABSOLUTE?

vbpath =="/forums"

This because if the include is called OUTSIDE the VB directory some functions wont work.

portalguy 02-08-2003 07:43 PM

Quote:

Originally posted by SHalliday
Any way to make the path to VB ABSOLUTE?

vbpath =="/forums"

This because if the include is called OUTSIDE the VB directory some functions wont work.

Where do you do that??


All times are GMT. The time now is 08:00 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.01327 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete