vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Deluxe vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=173698)

Billspaintball 03-22-2008 09:30 PM

Try changing
PHP Code:

chdir(http://community.thinkteen.co.uk); 

to
PHP Code:

chdir('http://community.thinkteen.co.uk'); 



Quote:

Originally Posted by snunhuck (Post 1471925)
Adding PHP Code:

PHP Code:

<?php
$curdir 
getcwd ();
chdir(http://community.thinkteen.co.uk);
require_once('http://community.thinkteen.co.uk/global.php');
chdir ($curdir);
?>

breaks the page's layout.

Example here:

http://members.thinkteen.co.uk (original page)
http://members.co.uk/m2.php (Page broken + no login box)


snunhuck 03-23-2008 03:45 AM

still broken :(

C.Birch 03-23-2008 02:08 PM

Quote:

Originally Posted by Billspaintball (Post 1472001)
Try changing
PHP Code:

chdir(http://community.thinkteen.co.uk); 

to
PHP Code:

chdir('http://community.thinkteen.co.uk'); 


Should that not be a server path and not a address? eg it should be '/home/username/public_html/

snunhuck 03-23-2008 04:27 PM

hmm, I'll see if it works :)

PHP Code:

<?php
$curdir 
getcwd ();
chdir('/home86a/sub005/sc46797-PRWR/community');
require_once(
'/home86a/sub005/sc46797-PRWR/community/global.php'); 
chdir ($curdir); 
?>

Nope :( Still broken.

here's the page I'm trying to implement: http://members.thinkteen.co.uk/m2.html It's meant to look like this: http://members.thinkteen.co.uk

Billspaintball 03-24-2008 11:53 AM

Quote:

Originally Posted by snunhuck (Post 1472571)

here's the page I'm trying to implement: http://members.thinkteen.co.uk/m2.html

This mod only works with php pages, not html pages.

snunhuck 03-24-2008 01:52 PM

Good point - I forgot to do it :) and here's the new error:

Warning: getimagesize() [function.getimagesize]: Unable to access /mounted-stoarage/home86a/sub005/sc46797-PRWR/community/image.php?u=1 in /mounted-storage/home86a/sub005/sc46797-PRWR/members/login_inc.php on line 35

Warning: getimagesize(/mounted-stoarage/home86a/sub005/sc46797-PRWR/community/image.php?u=1) [function.getimagesize]: failed to open stream: No such file or directory in /mounted-storage/home86a/sub005/sc46797-PRWR/members/login_inc.php on line 35

The forum URL is http://community.thinkteen.co.uk - (aka. on a subdomain)

thegabriel 03-24-2008 07:18 PM

Hi,

I had implemented this code and it was working fine. My password had presently expired and my homepage looks scrambled. It is not redirecting to the forum page where it shows password expiry message.

If I go to the forums page, by typing http://www.example.com/forums then the message shows up.

Can you please guide me on how I could rectify this error?

Thanks,
G

Billspaintball 03-25-2008 05:21 AM

Quote:

Originally Posted by thegabriel (Post 1473537)
Hi,

I had implemented this code and it was working fine. My password had presently expired and my homepage looks scrambled. It is not redirecting to the forum page where it shows password expiry message.

If I go to the forums page, by typing http://www.example.com/forums then the message shows up.

Can you please guide me on how I could rectify this error?

Thanks,
G

Part 5 of the troubleshooting guide should help here.
https://vborg.vbsupport.ru/showpost....23&postcount=2

thegabriel 03-25-2008 11:53 AM

Hi,

Which program has this word "passwordexpired"? I am using VB version 3.6.8.

Please help.

Thanks,
G

thegabriel 03-25-2008 01:21 PM

Quote:

Originally Posted by thegabriel (Post 1474099)
Hi,

Which program has this word "passwordexpired"? I am using VB version 3.6.8.

Please help.

Thanks,
G

Just found where the phrase was ....
It was in the table vb_phrase (phrase_id = 101362)
:)


All times are GMT. The time now is 05:47 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.01190 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)bbcode_php_printable
  • (5)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