Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP-Nuke Patched Series By Chatserv
Author Message
killer_wolf
New Member
New Member



Joined: May 09, 2006
Posts: 8

PostPosted: Tue Aug 08, 2006 5:29 am Reply with quote

Hi All,

When a user goes under "Your Account" and trys to change thier themes they get the following on a blank white screen:
Code:
http://deathonarrival.net/modules.php?name=Your_Account&theme=subBlack3dBlue


This also shows in the address bar as well. Any Ideas of what could be causing this. Running PHPNuke 7.4 Patched 3.1

Thanks for any and all help!
Killer_Wolf
http://www.deathonarrival.net
 
View user's profile Send private message
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Tue Aug 08, 2006 7:58 am Reply with quote

subBlack3dBlue is this a theme that you have loaded on your site?

_________________
Themes BB Skins
http://www.jaded-designs.com
Graphic Tees
http://www.cafepress.com/jadeddesigns
Paranormal Tees
http://www.cafepress.com/HauntedTees
Ghost Stories & More
http://www.hauntingtales.net 
View user's profile Send private message Visit poster's website
killer_wolf







PostPosted: Tue Aug 08, 2006 10:08 am Reply with quote

yes it is. it does this no matter what theme you choose.
 
jaded







PostPosted: Tue Aug 08, 2006 10:30 am Reply with quote

subBlack3dBlue

remove that theme from your themes folder. Then try please.
of course close your browser before you try again.
 
killer_wolf







PostPosted: Tue Aug 08, 2006 11:38 am Reply with quote

removed subBlack3dBlue and one other Theme. Left only subBlack and Labs and still the same thing if I try to change between the 2 themes. Any other ideas? Willing to try about anything.

Also: it is changing the Theme, just not redirecting back to the Your Account Screen like normal. Rolling Eyes
 
jaded







PostPosted: Tue Aug 08, 2006 12:00 pm Reply with quote

i am trying to make an account. did you set up your site to have to be approved for membership?
 
jaded







PostPosted: Tue Aug 08, 2006 12:01 pm Reply with quote

yes, you have. please activate my account
 
killer_wolf







PostPosted: Tue Aug 08, 2006 12:05 pm Reply with quote

Activated
 
jaded







PostPosted: Tue Aug 08, 2006 12:09 pm Reply with quote

okay, I need to know what version of nuke this is. If this feature ever worked? What your account tweek you have used and when. Also, if you email me your site super user admin and ftp information I will help you to fix this. jaded@jaded-designs.com
 
jaded







PostPosted: Tue Aug 08, 2006 12:29 pm Reply with quote

the other thing that you can try it to reload the original your account module back up to your site that you had before you added whatever tweak/hack you use to it.
 
killer_wolf







PostPosted: Tue Aug 22, 2006 10:11 am Reply with quote

Found this to be the code that is causing my themes not to change:

Code:
<?


/*
# UR_Info 1.7.0 by Manuel & Fabrizio                                 #
# Copyright (c) 2005 by UltraDigital & Rubapanettoni                 #
# http://www.ultradigital.it - http://www.rubapanettoni.com          #
#                                                                   */

global $db, $prefix, $name, $cookie, $user;

$random_num = $_GET['random_num']; $theme = $_GET['theme'];
if (empty($random_num) AND empty($theme)) {
   if (stristr($_SERVER['PHP_SELF'], "urinfo_func.php") OR stristr($_SERVER['SCRIPT_NAME'], "urinfo_func.php")) {
      Header("Location: index.php");
      die();
   }
} else {
   include ('../config.php'); global $sitekey;
   $datekey = date("F j");
   $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
   $code = substr($rcode, 2, 6);
   if (@file_exists("../themes/$theme/images/code_bg.png")) {
      $codeimg = "../themes/$theme/images/code_bg.png";
      $tcolor = str_replace("#", "", $textcolor1);
      $tc_r = hexdec(substr($tcolor, 0, 2));
      $tc_g = hexdec(substr($tcolor, 2, 2));
      $tc_b = hexdec(substr($tcolor, 4, 2));
   } else {
      $codeimg = "../images/blocks/UR_Info/code_bg.png";
      $tc_r = $tc_g = $tc_b = 0;
   }
   $image = ImageCreateFromPNG($codeimg);
   $text_color = ImageColorAllocate($image, $tc_r, $tc_g, $tc_b);
   header("Content-type: image/png");
   imagestring ($image, 5, 13, 2, $code, $text_color);
   imagepng($image, '', 75);
   imagedestroy($image);
   die();
}

if (is_user($user) AND urinfo_WIWenabled()) {
   cookiedecode($user);
   $uname = $cookie[1];
   $uip = urinfo_get_ip();
   $past = time() - 900; $ctime = time();
   $db->sql_query("DELETE FROM ".$prefix."_session WHERE time < '$past'");
   $result = $db->sql_query("SELECT time FROM ".$prefix."_session WHERE uname='$uname'");
   if ($tmp = sql_fetch_array($result)) {
      $db->sql_query("UPDATE ".$prefix."_session SET uname='$uname', time='$ctime', host_addr='$uip', guest='0' WHERE uname='$uname'");
   } else {
      $db->sql_query("INSERT INTO ".$prefix."_session (uname, time, host_addr, guest) VALUES ('$uname', '$ctime', '$uip', '0')");
   }
   $db->sql_query("DELETE FROM ".$prefix."_urinfo_where  WHERE time < '$past'");
   $result = $db->sql_query("SELECT time FROM ".$prefix."_urinfo_where WHERE username = '$uname'");
   $mod = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_modules WHERE title = '$name'"));
   if ($tmp = $db->sql_fetchrow($result)) {
      $db->sql_query("UPDATE ".$prefix."_urinfo_where SET username = '$uname', time = '$ctime', module = '".$mod['custom_title']."' WHERE username = '$uname'");
   } else {
      $db->sql_query("INSERT INTO ".$prefix."_urinfo_where (username, time, module) VALUES ('$uname', '$ctime', '".$mod['custom_title']."')");
   }
}

function urinfo_WIWenabled() {
   global $db, $prefix;
   list($wiw) = $db->sql_fetchrow($db->sql_query("SELECT whoiswhere FROM ".$prefix."_urinfo_conf"));   
   if ($wiw == '1') return true; else return false;
}

function urinfo_get_ip() {
   $client_ip = urinfo_get_client_ip();
   $x_forwarded = urinfo_get_x_forwarded();
   $remote_addr = urinfo_get_remote_addr();
   if (isset($client_ip) && !eregi("none", $client_ip) && !eregi("unknown", $client_ip)) {
      return $client_ip;
   } elseif (isset($x_forwarded) && !eregi("none", $x_forwarded) && !eregi("unknown", $x_forwarded)) {
      return $x_forwarded;
   } elseif (isset($remote_addr) && !eregi("none", $remote_addr) && !eregi("unknown", $remote_addr)) {
      return $remote_addr;
   } else {
      return "none";
   }
}

function urinfo_get_client_ip() {
   if (isset($_SERVER["HTTP_CLIENT_IP"])) {
      return $_SERVER["HTTP_CLIENT_IP"];
   } elseif (isset($HTTP_SERVER_VARS["HTTP_CLIENT_IP"])) {
      return $HTTP_SERVER_VARS["HTTP_CLIENT_IP"];
   } elseif (getenv("HTTP_CLIENT_IP")) {
      return getenv("HTTP_CLIENT_IP");
   } else {
      return "none";
   }
}

function urinfo_get_x_forwarded() {
   if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) {
      return $_SERVER["HTTP_X_FORWARDED_FOR"];
   } elseif (isset($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"])) {
      return $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];
   } elseif (getenv("HTTP_X_FORWARDED_FOR")) {
      return getenv("HTTP_X_FORWARDED_FOR");
   } else {
      return "none";
   }
}

function urinfo_get_remote_addr() {
   if (isset($_SERVER["REMOTE_ADDR"])) {
      return $_SERVER["REMOTE_ADDR"];
   } elseif (isset($HTTP_SERVER_VARS["REMOTE_ADDR"])) {
      return $HTTP_SERVER_VARS["REMOTE_ADDR"];
   } elseif (getenv("REMOTE_ADDR")) {
      return getenv("REMOTE_ADDR");
   } else {
      return "none";
   }
}

function urinfo_SetLastIPByteXXX($ipvar) {
   $iparr = explode(".", $ipvar);
   return "$iparr[0].$iparr[1].$iparr[2].xxx";
}

function urinfo_help($info, $width='200') {
   global $db, $prefix;
   static $pos;
   $type = $db->sql_fetchrow($db->sql_query("SELECT tooltip FROM ".$prefix."_urinfo_conf"));
   if ($type['tooltip'] != '1') {
      $info = str_replace('<br>', ' - ', $info);
      return "title=\"$info\"";
   } else {
      if (!isset($pos)) {
         $pos = 'LEFT';
         $tmp = $db->sql_query("SELECT bposition FROM ".$prefix."_blocks WHERE blockfile = 'block-UR_Info.php'");
         $bp = $db->sql_fetchrow($tmp);
         if ($bp['bposition'] != 'r') $pos = 'RIGHT';
      }
      return "onmouseover=\"return overlib('$info', BELOW, $pos, CAPTION, 'Info', WIDTH, $width, OFFSETY, 20, FGCOLOR, '#DCDCDC', BGCOLOR, '#072D4B', TEXTCOLOR, '#000000', CAPCOLOR, '#4DAEF1', CLOSECOLOR, '#ffffff', BORDER, '1');\" onmouseout=\"return nd();\"";
   }
}

?>


If anyone can tell me what to edit on this to get my themes changeable again I would greatly appreciate it!

Thanks,
Killer_Wolf
 
Manuel
Regular
Regular



Joined: May 28, 2005
Posts: 90

PostPosted: Fri Dec 08, 2006 2:56 pm Reply with quote

try to disable the Who Is Where function from the ur info administration

may we have overwrited some $var

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP-Nuke Patched Series By Chatserv

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©