Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - budduke

Pages: 1 [2]
16
Discussion & Troubleshooting / ACP plugin problem
« on: September 01, 2008, 05:53:17 PM »
I just noticed that I can not longer run anything that is in the plugin list of the ACP.
everything else in the panel works just fine, just the plugins are not working.

I have the clear cache, batch zip import, and the Ban.
all of them show a blank page when I click on them.
I even tried the entire path to thier files and same thing, blank.

any ideas to try?

17
I am working with the login.php in the root directory and I am trying to see how I retrieve the user's e-mail address as they are loggin in. No, not having them type it in, I mean pulling the e-mail from the database as they are logging in.
I am adding to the script so the user will also log into another part of my site at the same time but that side needs thier e-mail address also during its login.
I have tried
$test= $user_email;
$test= user_info['user_email'];

and a few others and they all respond with a empty field.

the commented  area is where I am trying to add my hack for the other part of my site...

Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: login.php                                            *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    * 
 *              Web: http://www.4homepages.de                             * 
 *    Scriptversion: 1.7.6                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

$main_template 0;

$nozip 1;
define('ROOT_PATH''./');
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');

$error 0;
if (
$user_info['user_level'] != GUEST || empty($HTTP_POST_VARS['user_name']) || empty($HTTP_POST_VARS['user_password'])) {
  if (!
ereg("index.php"$url) && !ereg("login.php"$url) && !ereg("register.php"$url) && !ereg("member.php"$url)) {
    
redirect($url);
  }
  else {
    
redirect("index.php");
  }
}
else {
  
$user_name trim($HTTP_POST_VARS['user_name']);
  
$user_password trim($HTTP_POST_VARS['user_password']);
  
$auto_login = (isset($HTTP_POST_VARS['auto_login']) && $HTTP_POST_VARS['auto_login'] == 1) ? 0;
//***************
//***************
//***************
//***************
//my hacking attempt
  
$test_email $user__field['user_email'].'help';
  echo 
'USER E-MAIL:'.$test_email;
  exit;
//above prints the e-mail and then stops the program so I can see if it is there or not
//*************
//***********
//********
//********
//*********
if ($site_sess->login($user_name$user_password$auto_login)) {
    if (!
ereg("index.php"$url) && !ereg("login.php"$url) && !ereg("register.php"$url) && !ereg("member.php"$url)) {
      
redirect($url);
    }
    else {
      
redirect("index.php");
    }
  }
  else {
    
$error $lang['invalid_login'];
  }
}
if (
$error) {
  
$main_template "error";
  include(
ROOT_PATH.'includes/page_header.php');
  
show_error_page($error);
}
?>

any help would be great!
Buddy Duke

18
Installation, Update & Configuration / Captcha not working...
« on: July 31, 2006, 02:20:58 PM »
I did a fresh install of 1.7.3 and I can not get the captcha to work.
all it shows in a small red x where the image should be.

The error log reads...
Could not find/open font in c:\phpdev\www\budduke\includes\captcha_utils.php on line 168

This is a fresh install with no mods added to it..
I am using the GD2 library (I think) Saw that answer in other post...
I have no problems creating thumbnails using it in the settings. Autothumbnails works just fine using GD.

Thanks for any help or sugestions

Pages: 1 [2]