vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Password protect non vb pages (e.g. for admin pages) (https://vborg.vbsupport.ru/showthread.php?t=64914)

Code Monkey 08-16-2004 12:19 AM

Also, it would be easier to change user groups if you had something like this.

PHP Code:

$usergroups '2,6';

$sql "SELECT * FROM vb_user WHERE username = '".$_SERVER['PHP_AUTH_USER']."' AND usergroupid IN ($usergroups)"


jblackburn 08-22-2004 11:44 PM

I was happy to get this working, but then found that if you come in via a forum login and then move to the page protected with the script, it prompts you for username and pw. Shouldn't it know that you are already logged in?

Mr. HillBilly 08-22-2004 11:48 PM

Anychance of making the script require login to download stuff?

sketchy 10-22-2004 08:17 PM

Hi,

i have downloaded this hack & when i go to log in it just reappears with the log in box.

My MySQL info is correct & i am linking to the correct file & im entering the correct details...

Help :(

Rick

freeshares1 10-28-2004 04:13 PM

works great thanks:)

freeshares1 10-28-2004 04:51 PM

the only problem is that i can not get it to work with secondary usergroups only primary is this possible?

MJM 12-05-2004 10:04 AM

I'm trying out a program - Webscriber which creates an easy subscribe/unsubscribe page for email-lists.(list with check-boxes)
I'm using this with ezmlm,.(by entering ezmlm announcement list addys in the Forum Manager - rcv all new posts) for memers of our forum who want the ability to subscribe/unsubscribe to `Receive all Posts per Forum'

Basically I need the Webscriber page accessible only to members...

Will this do it?

Thanks,
Mark

mikeycuk 01-19-2005 10:51 PM

Hello,

I have a problem with the script. I had it working fine with VB2 but when I upgraded to VB3 it doesn't seem to work. It keeps on asking for my login details and after 3 attempts tells me that Authorization is required lol.

Can anyone shed any light on what I am doing wrong?
I have also tried the suggestion by JumpD but that made no difference

Thanks in advance

Chrisqo 05-29-2005 01:41 AM

I might of made an idiot of myself but I don't know much about this kind of thing... I get this.

Quote:

Warning: main(./authvb3.php): failed to open stream: No such file or directory in /**/local/home/**/**/authtest.php on line 1

Warning: main(./authvb3.php): failed to open stream: No such file or directory in /**/local/home/**/**/authtest.php on line 1

Fatal error: main(): Failed opening required './authvb3.php' (include_path='.:/usr/local/lib/php') in /**/local/home/**/**/authtest.php on line 1

ZGeek 08-25-2005 12:10 AM

Does anyone have this working on 3.0.7?


All times are GMT. The time now is 09:22 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.01051 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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