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)
-   -   Deluxe vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=108026)

Sean James 07-08-2007 09:22 PM

Im having a problem where i can login on a sub-domain but after im logged it doenst show me logged in.

My forum is located here:
http://www.bluepearl-design.com/forums/

The page in question is here:
http://www.bluepearl-design.com/template-myspace/ which works perfectly but the sub-domain parked on this directory http://www.template-myspace.com/ refuses to stay logged in.

adonfun 07-09-2007 10:23 AM

This seems like something I can definitely use .. :) thanks for this awesome hack and I'll try it soon to see if it also works on my 3.6.7

Sean James 07-09-2007 10:40 AM

Quote:

Originally Posted by NetRover (Post 1264312)
Hi there, great hack which I have installed and got working. Really pleased and will probably donate but wondered if anyone has managed to resolve an issue mentioned in one of these postings.

Has anyone managed to edit the script to get it to validate to xhtml strict?

My web template is valid without the script but gets lots of validation errors once included in my site template.

I would appreciate if anyone has managed to do this and maybe it could be included??

Mine is validated, took me a while. Will have to ask the author though before i can post any code.

Only thing though, i removed the avatar as i didnt need this on my site.

ApplePro 07-09-2007 07:38 PM

When I run sample script (test.php), I'm getting an error about headers:

https://vborg.vbsupport.ru/

I've checked script and there are no spaces before first 4 lines of code.

By the way, I see this only when I logged out. When I logged in (through vBulletin), I see this:

https://vborg.vbsupport.ru/

How can I fix this?

PS: I have lastest vBulletin version installed. And the installation is fresh (just one thread).

I've tried both Deluxe and "non Deluxe" versions of this script.

distinct432 07-21-2007 05:00 AM

I have tried to use and I get these errors.
Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/site/public_html/index.php on line 3
This one shows under the login area.
Code:

Fatal error: Call to a member function query_read() on a non-object in /home/site/public_html/login_inc.php on line 146

Pottsy 07-22-2007 05:12 PM

I have this working perfectly, so thank you.

Is there a programming genius here that can help me convert the little bit of php into perl, so I can restrict a perl script in the same way?

It doesn't have to be elegant, just a bomb out if the user is not logged in and not in the correct usergroup.

hull_guy 07-25-2007 09:30 AM

Hi guys,

Firstly thanks for a great hack, I've got it working almost perfectly, however I could do with a little help if possible.

The site I am using the hack for has an area that anybody can view, and then a number of private pages that are for registered members only.

One of the pages that anyone can view is called members.php, and this contains the login form fields. At the moment when a member logs in they are taken back to this page, although they are successfully logged in.

How can I change the code so that when a member successfully logs in they are instead taken to one of the private pages eg members_index.php instead of back to the same page they logged in from.

Any help or suggestions would be much appreciated, :)

Matty128 07-27-2007 09:06 PM

EDIT: I'm a dumbass, i didn't do the right forum path, it's working now :)

This hack isn't working for me, i have vB version 3.6.8

I get the following error on my test.php page.

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/gamenexn/public_html/test.php on line 3

Warning: require_once(/forums/global.php) [function.require-once]: failed to open stream: No such file or directory in /home/gamenexn/public_html/test.php on line 4

Fatal error: require_once() [function.require]: Failed opening required '/forums/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gamenexn/public_html/test.php on line 4


Billspaintball 07-28-2007 10:34 AM

Quote:

Originally Posted by Matty128 (Post 1303411)
EDIT: I'm a dumbass, i didn't do the right forum path, it's working now :)

Been there, done that.. :)

Great to here its working :)

Billspaintball 07-28-2007 10:36 AM

Quote:

Originally Posted by Griffin80 (Post 1286611)
Mine is validated, took me a while. Will have to ask the author though before i can post any code.
.

Post whatever changes you like.

Im pretty slack when it comes to validation :( and any input is welcome.


All times are GMT. The time now is 02:14 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.01499 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (3)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