CZ User Info Block Issues..........

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZ User Info Block Issues..........
Themis
CZ Newbie
 Codezwiz Site Donator
wyoming.gif
Age: 71
Gender: Female
Website:
Status: Offline
Joined: Nov 19, 2003
0.00 posts per day
Posts: 19
Points: 108
AIM Address  MSN Messenger 
Hi I love your user info block here and have installed it. I tried a search and got about 2500 results Unfortunately instead of saying Good Evening Themis....I get this:

_CZ_GOODMORNINGUSERShonie
_CZ_LOGOUT _CZ_PRIVMSG
_CZ_PRUNREAD0
_CZ_MEMBERSHIP
_CZ_TODAY0
_CZ_YESTERDAY0
_CZ_WAITING0
_CZ_TOTALMEMBERS1
_CZ_LATEST Shonie
_CZ_MOSTONLINE
_CZ_VISITORS0
_CZ_MEMBERS1
_CZ_TOTALONLINE1
_CZ_ONLINEINFO
_CZ_VISITORS0
_CZ_MEMBERS1
_CZ_TOTALONLINE1
_CZ_ONLINELIST
01. Shonie

Not only that but the block is too wide compared to the other blocks. Which files would I edit to fix this, please? And will I also be able to show the avatars as this one does?
[ Register or login to view links on this board. ] is the site. I am running 7.6 patched/3.1. Thank you so much for any help. I have already installed and deleted and reinstalled it three times hoping to be able to use it. I have both user blocks turned on right now for comparison. As you can imagine this is my first time doing a site by myself.

Thanks again
Shonie/Themis



Back to top Reply with quote
#2   re: CZ User Info Block Issues..........
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Welcome to CZ Themis, You need to upload the whole "CZUser-Info" folder. If you go to html > language you will see the CZUser-Info folder...just upload that whole folder into your language folder in your Nuke site.



Back to top Reply with quote
#3   re: CZ User Info Block Issues..........
Themis
CZ Newbie
 Codezwiz Site Donator
wyoming.gif
Age: 71
Gender: Female
Website:
Status: Offline
Joined: Nov 19, 2003
0.00 posts per day
Posts: 19
Points: 108
AIM Address  MSN Messenger 
Oh my goodness! How easy was that? I had taken that file out of the folder and uploaded it!

Thank You so much for your help!!



Back to top Reply with quote
#4   re: CZ User Info Block Issues..........
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Your welcome. icon_smile.gif



Back to top Reply with quote
#5   re: CZ User Info Block Issues..........
Themis
CZ Newbie
 Codezwiz Site Donator
wyoming.gif
Age: 71
Gender: Female
Website:
Status: Offline
Joined: Nov 19, 2003
0.00 posts per day
Posts: 19
Points: 108
AIM Address  MSN Messenger 
Is there something to turn on for the avatar to show? Or is that something I need to get exrta?

Thanks again for your help icon_smile.gif



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Open the block-CZUser-Info.php and at the top you will see some configuration settings for it. Make sure the avatars is set to show.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: CZ User Info Block Issues..........
Themis
CZ Newbie
 Codezwiz Site Donator
wyoming.gif
Age: 71
Gender: Female
Website:
Status: Offline
Joined: Nov 19, 2003
0.00 posts per day
Posts: 19
Points: 108
AIM Address  MSN Messenger 
In this area??


// Some global definitions
global $user, $prefix, $gfx_chk, $admin, $userinfo, $db;

$showpms = "1"; //1 to Show Private Messages data - 0 is off
$showmost = "1"; //1 to Show Mostonline data - 0 is off
$dopmpopup = "1"; //1 to popup - 0 to turn off

//You can comment this out if you know its installed.

I don't see anything for avatars :/



Back to top Reply with quote
#8   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Looks like you got an older version...try this one:
[ Register or login to view links on this board. ]




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: CZ User Info Block Issues..........
Themis
CZ Newbie
 Codezwiz Site Donator
wyoming.gif
Age: 71
Gender: Female
Website:
Status: Offline
Joined: Nov 19, 2003
0.00 posts per day
Posts: 19
Points: 108
AIM Address  MSN Messenger 
UT OH icon_cry.gif

Parse error: parse error, unexpected '}' in /home/shoshone/public_html/mainfile.php on line 669


Also where it told me to replace files are some things that have to do with NukeSentinel.

global $nsnst_const, $user, $cookie, $prefix, $db;
if(!file_exists('includes/nukesentinel.php')) {
$ip = $_SERVER['REMOTE_ADDR'];
} else {
$ip = $nsnst_const['remote_ip'];
}

Is that the problem? and should I put those lines back in?

Thanks again for your help..

Shonie



Back to top Reply with quote
#10   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
IF you want to use that then change that whole function to this:



function online() {
    global $user, $cookie, $prefix, $db, $name, $nsnst_const;
    cookiedecode($user);
    if(!file_exists('includes/nukesentinel.php')) {
        $ip = $_SERVER['REMOTE_ADDR'];
    } else {
        $ip = $nsnst_const['remote_ip'];
    }
    $url = $_SERVER['REQUEST_URI'];
    $uname = $cookie[1];
    if (!isset($uname)) {
        $uname = "$ip";
        $guest = 1;
    }
    $past = time()-1800;
    $db->sql_query("DELETE FROM ".$prefix."_session WHERE time < '$past'");
    $result = $db->sql_query("SELECT time FROM ".$prefix."_session WHERE uname='$uname'");
    $ctime = time();
    $custom_title = addslashes($name);
    $url = ereg_replace("&amp;", "&", $url);
    if ($uname!="") {
    $uname = substr("$uname", 0,25);
    if ($row = $db->sql_fetchrow($result)) {
   $db->sql_query("UPDATE ".$prefix."_session SET uname='$uname', time='$ctime', host_addr='$ip', guest='$guest', module='$custom_title', url='$url' WHERE uname='$uname'");
    } else {
   $db->sql_query("INSERT INTO ".$prefix."_session (uname, time, host_addr, guest, module, url) VALUES ('$uname', '$ctime', '$ip', '$guest', '$custom_title', '$url')");
    }
  }
}





_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum