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)

idwf 03-02-2006 10:29 PM

this seems perfect for what i want, however, i can't get it working correct.

I can get the log into to work, so that it says 'welcome Magik' and all that jazz, but it then redirects me to a page with the login bar there again. Not a 'wecome magik' thing. what am i doing wrong?

Billspaintball 03-03-2006 01:37 AM

Quote:

Originally Posted by idwf
this seems perfect for what i want, however, i can't get it working correct.

I can get the log into to work, so that it says 'welcome Magik' and all that jazz, but it then redirects me to a page with the login bar there again. Not a 'wecome magik' thing. what am i doing wrong?

Have a look at step 3 in troubleshooting.
See https://vborg.vbsupport.ru/showpost....98&postcount=2
Did that fix it?

idwf 03-03-2006 02:15 AM

OK. I've been playing around with it all day because i really ened this to work, and i've got it working. However, I now get

Quote:

Fatal error: Call to a member function unlock
The log-in, owever, works for now!

Quarterbore 03-05-2006 04:21 AM

I am just starting to play with this and your test scripts work great for me...

I am trying to take an old php script (Recipe Script) that uses it's own member login and password and use your mod to use vB UserId to be forced... As long as the person has to be signed in and I can capture their user ID that is good enough for this need (for now).

I am curious if the fact that this script I am working with conects to a different database then vB will cause me problems using this method?

Billspaintball 03-06-2006 08:45 AM

Quote:

Originally Posted by idwf
OK. I've been playing around with it all day because i really ened this to work, and i've got it working. However, I now get



The log-in, owever, works for now!

Ive never seen that error before.

Are you running any other scripts on that page?
If so, my guess there is a conflict with one of them.

Billspaintball 03-06-2006 08:50 AM

Quote:

Originally Posted by Quarterbore
I am just starting to play with this and your test scripts work great for me...

I am trying to take an old php script (Recipe Script) that uses it's own member login and password and use your mod to use vB UserId to be forced... As long as the person has to be signed in and I can capture their user ID that is good enough for this need (for now).

I am curious if the fact that this script I am working with conects to a different database then vB will cause me problems using this method?

I think I see what your trying to do. Use the vB userid from this and record it in the other database?

I do something similar on my site where a couple of custom databases record the record owner by their vB id.

Short answer is that I dont know if it will conflict with your script or not. All you can really do is try and see.

chickedy 03-07-2006 09:43 PM

I have installed the script as described. I named my page members.php and put it in the root directory. The page shows up fine, but when I try to login it just refreshes back to the page. I have changed the Cookie path to / and still nothing.

Any ideas?

Thanks

Billspaintball 03-07-2006 10:52 PM

What version of vB are you using?
Your profile says 3.0.3

EDFMedia 03-13-2006 09:48 PM

Quote:

Originally Posted by Billspaintball
I think I know why. Let me instal vB External over weekend and have a peek at it.

Curious to know if you ever found what the problem might be when using vbexternal? Everything works perfect until I use it in conjunction with vbexternal and I get a "Cannot redeclare class vbulletinhook" error.

eNforce 03-14-2006 12:21 PM

okay, i got it to work... however once logged in it won't keep you logged in :(
http://www.areyouserios.com/ - removed for now.

you can test by loggin in with
username: demo
password: demo

http://www.seriosgaming.com/test_login.php it sort of works here, log out doesn't work though.

i've tried all the cookie settings as suggested


All times are GMT. The time now is 10:20 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.01320 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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