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)
-   -   welcome/login panel on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=37134)

Wells 01-14-2003 09:36 AM

SOMEBODY !!!!!!!!!!!!!!!!
HELP MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Wells 01-17-2003 01:27 PM

DOVBANYI hack!

Frank 01-22-2003 03:44 PM

Well I have SQL errors with this hack, it's trying to access other databases for some reason ;)

Does that complicate things even more? :D

Frank 01-24-2003 10:05 AM

Okay everyone with header errors try using the full http path when including the file.

i.e. <? include ("http://yoursite.com/forum/webwelcome.php"); ?>

This solved my problem, but I still have the problem of it not recognising my cookie, which is very annoying.

glo 02-16-2003 08:26 AM

Can anyone else tell me if they are successfully using this hack on 2.2.9?

I dont think this hack is hard but I cant get it working!

Darren Lewis 02-16-2003 10:51 AM

Apologies for my abscence. I'm not installing/writing any more vb mods until vbulletin V3 is out, so I haven't been here for a couple of months.

gohanssj2:
The page hasn't accessed your vbulletin global.php file. Probably a problem with the paths of the include statement on your page.

Bubba:
Are you by any chance runing phpadsnew? There's a known problem with phpadsnew overloading a site's cookie file and causing very random, obscure logout / session expire problems.

Wells:
I've not come across this problem before. It looks like a problem with the paths. Check your include statement on your main page, as well as any other paths in the script. Some servers require the full include path.

Frank:
Are you accessing other databases on your page?
Try adding
PHP Code:

mysql_select_db("vbulletin"); 

where "vbulletin"is the name of your vb database, before the include for the webwelcome.php file.

Glo:
I'm running it on vb2.2.9 - I never could understand why it doesn't work on your server. The files you sent to me worked fine on mine :(

glo 02-16-2003 12:29 PM

Hi Darren,

HOw are you!

I have managed to get it to work to some degree.

It will display the login screen if a guest comes on, but it truncates the "There are currrently X users online" cutting it back to "There are currently X" You can try it at www.glo-racing.com/v3/test.php

When I have already logged into vBulletin, it wil display the correct "Welcome message, but again, truncates the "There Are currently X.......

Its really quite strange.

Plus, if I add it to a html page, and change it to a php extension, the php will not work???

TYorke 02-19-2003 08:44 PM

I don't know if I was right in doing this, but I simply added:

chdir("../community");
require('global.php');

inside the webwelcome.php file and it works like a charm. Anyone sees any problems with this?

glo 02-19-2003 09:23 PM

Hi Tyorke,

Is your directory structure set up so that the forums are situated on the same level as your main site?

In my case, my directory structure is a little different with the forums located at www.glo-racing.com/forums and my main page situated at www.glo-racing.com/v3/main.html

However this shouldnt have any bearing on the outcomeas long as the paths are correct!

TYorke 02-19-2003 10:26 PM

yes, basically. My site is www.nhl-league.com and my forums are community.nhl-league.com same as www.nhl-league.com/community

The only thing that I see wrong with this is that my count is off. It says there are "6 members online" meanwhile only 4 are displayed. Not sure if it includes people in invisible mode, I guess not.


All times are GMT. The time now is 05:05 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.02797 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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