vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB Login on a Non-VB Page vB3 RC3 (https://vborg.vbsupport.ru/showthread.php?t=61112)

Casparian 06-05-2004 02:33 AM

Anyone know a way to get the default template to show up on non forum pages? I'm sure I've seen this before but can't find where!

TYorke 06-05-2004 02:44 AM

Quote:

Originally Posted by Slappy Nutz
NM fixed

How did you fix it? I am having the same problem!

Anyone?

:D

AbstractHipHop 06-06-2004 06:44 PM

for everyone getting the parse error
i fixed mine by removing this line
PHP Code:

chdir("../); 


Marulatree 06-08-2004 12:24 PM

bump to my first post...?

Mu5icMan 06-09-2004 10:20 AM

has anyone figured out how to use this with other Javascript applications

007 06-10-2004 12:57 PM

Quote:

Originally Posted by AbstractHipHop
for everyone getting the parse error
i fixed mine by removing this line
PHP Code:

chdir("../); 


You could just change that to
PHP Code:

chdir("../"); 

There was a missing "

And how did you guys get past the cookies error?

007 06-11-2004 01:40 AM

Found something that should have been mentioned. You have to set your cookies to work on your full domain, not just your forums. Otherwise works well.

Logging out doesn't seem to log out the users from the non-vb page all the time if they have "Remember Me" checked...

Ghostspy 06-14-2004 10:06 PM

if you use post nuke how will this work??

Mu5icMan 06-15-2004 03:12 PM

does anyone know how to rewrite this code for use with *.wml files.

StewardManscat 06-15-2004 11:30 PM

Curious.
When I try this, I get redirected back to my custom login page.
So I add:

PHP Code:

if ($bbuserinfo['userid']!=0) {
  
header("Location: forum/index.php");
  exit;


Works ok ...but.

But now for some reason the userid cookie is not set. Other cookies are: hash, lastvisit etc. But not the userid.

So the login is good so long as I remain within the forum system. But if I move into my custom site (or the photopost subsystem), the username reverts to "Guest". Because the code is not picking up the userid cookie.

I can code to lookup the sessionhash instead, but now I think I am travelling too far in the wrong direction.

Vewy stwange. Any guidance much appreciated.


All times are GMT. The time now is 02:26 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.01188 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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