vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Simple vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=100992)

Billspaintball 11-19-2005 04:04 AM

Yes it is supposed to recognise when your logged in or out.

See these 2 pics to see what it should show when you are logged in or out.

I would suspect it may be a cookie / cached files / browser security issue.
In you browser settings, try deleting temp internet files and cookies.

MOREAGA 11-19-2005 02:57 PM

i think it's because i use my domain for my site, and a sub domain for my forums, that's the feedback everyone keeps telling me, any way around this problem? besides and iframe.

R1D1 11-20-2005 06:13 PM

got a little java-error in there... any ideas? script runs fine so there is missing a "(" on line 9 (read via right-mouse-click) while showing login-form... yellow sign left bottom... error... page shows up correctly but an java-error occured in the background...

Billspaintball 11-20-2005 06:39 PM

Quote:

Originally Posted by MOREAGA
i think it's because i use my domain for my site, and a sub domain for my forums, that's the feedback everyone keeps telling me, any way around this problem? besides and iframe.

Ive read about other scripts having this issue if one of them was in a diffrent subdomain.
Im not sure if they ever found a solution, but I will look.

roosevelt 11-20-2005 08:45 PM

Quote:

Originally Posted by iankh
I know this is proabably a dumb question, but I am not technical. Does the basic web page have to be set up as a .php page or can this be used in an html page?

If you want PHP to work in your .html pages, and if you are on apache server you can make your server to parse php scripts in your html files. Insert this code in your .htaccess file, to make php work in .html files:

Code:

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

A demo of this parsing is here: http://www.photoshopcity.com/content...ml?parent_id=7. See those ?parent_id vars... :).

R1D1 11-21-2005 04:51 AM

Quote:

Originally Posted by R1D1
got a little java-error in there... any ideas? script runs fine so there is missing a "(" on line 9 (read via right-mouse-click) while showing login-form... yellow sign left bottom... error... page shows up correctly but an java-error occured in the background...

no java-errors? anyone? mmh... :(

Billspaintball 11-21-2005 08:11 AM

Quote:

Originally Posted by R1D1
got a little java-error in there... any ideas? script runs fine so there is missing a "(" on line 9 (read via right-mouse-click) while showing login-form... yellow sign left bottom... error... page shows up correctly but an java-error occured in the background...

Im not geting that error in either IE or Opera.
Anyone else getting it?

R1D1 11-21-2005 09:05 AM

thx. i will try to do the whole thing again, perhaps i crushed some code, as i changed the paths.....

boske 11-22-2005 11:22 PM

I am getting the error

Line: 469
Char: 1
Error: Expected '('
Code: 0

And I think I narrowed it down to this line:
Code:

        <input name=vb_login_username type=text id=navbar_username onfocus=if (this.value == '$vbphrase[username]') this.value = ''; size=10 />
It has to be this though
onfocus=if (this.value == '$vbphrase[username]') this.value = '';

Does anyone know what that does?

boske 11-23-2005 01:14 PM

Well, I have removed the line, and no problems. I would like to know what it does though.


All times are GMT. The time now is 03:35 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.02250 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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