vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Your password is 180 days old, and has therefore expired and SSI login details (https://vborg.vbsupport.ru/showthread.php?t=104950)

garrynz 01-10-2006 09:29 AM

Your password is 180 days old, and has therefore expired and SSI login details
 
Hi, I am using a script that someone wrote here to get login details so I can insert it on any page via SSI. This is the modified script that I am using:

Code:

<?php
chdir("C:/webpages/forum");
require('../forum/global.php');
include('../forum/includes/functions_user.php');
if ($vbulletin->userinfo['userid'])
{
echo "<li><a href=/forum/login.php?$session[sessionurl]do=logout&amp;logouthash=$logouthash";
echo $vbulletin->userinfo['logouthash'];
echo ">";
echo " Log Out";
echo "</a>";
}
if ($vbulletin->userinfo['userid'] == '')
{
print '<li><A href="/forum/quick_register.php" rel="nofollow">Register</A></li>';
if ($vbulletin->userinfo['userid'] == 0)
{
echo "<li><a href=\"/cgi-bin/dir/user.cgi?url=" . $_SERVER['REQUEST_URI']  . "\" rel=\"nofollow\">Login</a></li>";
}
}
?>

Now this was working fine until today, now at the top of all my pages that use this script as SSI I have instead of details it is all gibberish i.e about 50 lines of "???ZkS????V??(u?Pˆ????R?????YLu???X?Zd?? a???..." I go to forum and am redirected to "Your password is 180 days old, and has therefore expired...", I know I can change the password settings for each user group in admin cpanel but I would rather change the script. So basically does anyone know how, so that if p/w expired it just says "change password"? Or just the variable name? i.e userinfo['passwordexpired']?


All times are GMT. The time now is 09:25 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.01007 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete