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 02-19-2006 11:13 AM

Quote:

Originally Posted by Barteken
doesn't seems to work either :S

It does, Ive PM'ed a reply to what you sent.

opteek 02-19-2006 06:34 PM

I don't understand what could be wrong with my paths. I've checked them again and again. If they were wrong, wouldn't the whole thing not work at all? It works fine if the test.php file is in the forum directory, otherwise, no go, even subdirectories of the forum directory don't work.

When it works, I get the vBulletin logo linking to main forum page in the topleft corner of the login box screen. When it doesn't work because it is in another directory, instead of the vBulletin logo, I simply get a text link to my main forum page.

This is running on a fedora system. Is there anything that can be wrong besides the path? I have the https://www.myforum.site/forum in my login_inc.php, which is included in my httpsroot directory. That paths in the test.php file are completely accurate as well. This is killing me. I was just gonna install the software I needed into the forum directory but that would be chaos and there are some overlapping files. :disappointed:

Virtuosofriend 02-19-2006 09:12 PM

Do you think that it will work with another php script,for instance lets say pafiledb?

Billspaintball 02-20-2006 02:47 AM

Quote:

Originally Posted by Virtuosofriend
Do you think that it will work with another php script,for instance lets say pafiledb?

Short answer is No idea.

You may be able to modify it to work with pafiledb, but since I havent seen how pafiledb authenticates I cant say for sure.

Virtuosofriend 02-20-2006 06:30 AM

You can get it and play around with it from www.phparena.net

Billspaintball 02-20-2006 09:49 PM

Quote:

Originally Posted by Virtuosofriend
You can get it and play around with it from www.phparena.net

Just had a quick look.
Its something the pafiledb developers would need to do.

Virtuosofriend 02-21-2006 04:44 PM

hmm i thought so.Thanks mate.

medw1974 02-24-2006 10:29 AM

Quote:

Originally Posted by boske
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?

I had exactly the same situation removing the onfocus section gets rid of the javascript error on IE and doesn't seem to affect the operation of the script. Can anyone confirm what that code section actually does?

UtilityGeek 02-27-2006 12:11 PM

Does anyone know if there's a way to check if they forums are currently down/closed and then display some text or whatever if they are. The way it currently works is if they are down then the user is thrown to the vB forum page showing that the forum is down and is unable to access the site. It would be great if it could just say "User information not available." or whatever.

Is this possible? I would still like for the site to be available when the forums themselves are down.

Billspaintball 02-28-2006 12:30 AM

Good idea.
Not sure if its possible but I will look into it.


All times are GMT. The time now is 07:34 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.03208 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_code_printable
  • (4)bbcode_quote_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