You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 50 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - nukecops' User Info block [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 12:14 am Reply with quoteBack to top

Hi Guys!

How do I ge the same User Info block that nuke cops use? I like it!

/ Gent
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 991

Location: Tulsa, OK

PostPosted: Wed Jun 18, 2003 7:01 am Reply with quoteBack to top

AFAIK, its the same as the one included with nuke 6.5

just go to admin/blocks and look for it in the list
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Wed Jun 18, 2003 7:15 am Reply with quoteBack to top

disgruntledtech wrote:
AFAIK, its the same as the one included with nuke 6.5

just go to admin/blocks and look for it in the list


I am quite shure that my 6.5 user info block does not have the sec. code. But I did a upgrade, so maybe it is still the old 6.0 block. Even if that would be funny...
Find all posts by gabView user's profileSend private message
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 9:13 am Reply with quoteBack to top

Thanks guys! Just one question: what does "AFAIK" mean?
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 991

Location: Tulsa, OK

PostPosted: Wed Jun 18, 2003 9:18 am Reply with quoteBack to top

sorry, Smile AFAIK means "as far as i know"
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 9:48 am Reply with quoteBack to top

Sorry, guys, but I cannot find it in admin/blocks.

Anyone else any idea?
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Wed Jun 18, 2003 10:01 am Reply with quoteBack to top

re-upload the block/User_info.php

Then go to Nuke Amdin page, Click Blocks. Towards the bottom is where you add. It should be available in the drop down list.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 10:15 am Reply with quoteBack to top

OK, thanks, now I got it. Works prefectly.
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Wed Jun 18, 2003 10:28 am Reply with quoteBack to top

whew..good, I need a nap now Rolling Eyes

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 10:34 am Reply with quoteBack to top

I'm sorry to bother you again, guys, but the login in that module does not include the security code, so if I try to login there I get an error message - can I include the security code there somehow?

Or can I disable the use of the security code? (or is that very stupid to do?)

You can see my site at www.hundkatt.se

/ Gent
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Wed Jun 18, 2003 10:46 am Reply with quoteBack to top

you are absolutely right. It does not shwo the Sec. Code. I just looked at the block code and it's not there. All the info to grab the Sec. Code are there, bu tit's not being displayed in the Form.

Here's what to do.
Go here
http://www.nukemods.com
Get the Site_Visitors block for Nuke6.5 from the downloads. Read the readme included on how to install it. I guarantee it will work as intended.


OR open the User_info.php block file ina text editor. Find this part.
Code:
    $content .= "<img src=\"images/blocks/group-4.gif\" height=\"14\" width=\"17\"> "._BWEL.", <b>$anonymous</b>\n<hr>";
    $content .= ""._NICKNAME." <input type=\"text\" name=\"username\" size=\"10\" maxlength=\"25\"><br>";
    $content .= ""._PASSWORD." <input type=\"password\" name=\"user_password\" size=\"10\" maxlength=\"20\"><br>";
    $content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
    $content .= "<input type=\"hidden\" name=\"gfx_check\" value=\"$code\">";
    $content .= "<input type=\"hidden\" name=\"op\" value=\"login\">";
    $content .= "<input type=\"submit\" value=\""._LOGIN."\">\n (<a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>)<hr>";


replace it with this
Code:
$content .="<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
$content .="<b>"._SV_USERLOGIN."</b><br><br>\n";
$content .="<table border=\"0\"><tr><td>\n";
$content .=""._NICKNAME.":</td></tr>\n";
$content .="<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n";
$content .="<tr><td>"._PASSWORD.":</td></tr>\n";
$content .="<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></td></tr>\n";
       if (extension_loaded("gd")) {
$content .="<tr><td colspan='2'>"._SV_SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SV_SECURITYCODE."' title='"._SV_SECURITYCODE."'></td></tr>\n";
$content .="<tr><td colspan='2'>"._SV_TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"15\" MAXLENGTH=\"10\"></td></tr>\n";
$content .="<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
       }
$content .="</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
$content .="<input type=\"hidden\" name=\"mode\" value=$mode>\n";
$content .="<input type=\"hidden\" name=\"f\" value=$f>\n";
$content .="<input type=\"hidden\" name=\"t\" value=$t>\n";
$content .="<input type=\"hidden\" name=\"op\" value=\"login\">\n";
$content .="<input type=\"submit\" value=\""._LOGIN."\"></form><br>\n\n";


add these lang. definitions to your language/MAIN LANGUAGE file
Code:
define("_SV_SECURITYCODE","Security Code");
define("_SV_TYPESECCODE","Type Security Code Here");
define("_SV_USERLOGIN", " Login Here: ");


If you can't figure it out. Here's the block
http://www.fauxpas.org/mystuff/block-User_Info.zip
You will STILL need to add those language definitiosn to your language file.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Wed Jun 18, 2003 11:09 am Reply with quoteBack to top

Thanks! Just one more question (before anybody kills me)..

How to put the "logout" link there when I'm logged in?

Also, on this site the "online now" list is visible even if I'm not logged in, can I fix that too?
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
Stylee
Sergeant
Sergeant


Joined: Jun 22, 2003
Posts: 140

Location: USA

PostPosted: Sun Jun 22, 2003 1:35 pm Reply with quoteBack to top

mikem wrote:
you are absolutely right. It does not shwo the Sec. Code. I just looked at the block code and it's not there. All the info to grab the Sec. Code are there, bu tit's not being displayed in the Form.

Here's what to do.
Go here
http://www.nukemods.com
Get the Site_Visitors block for Nuke6.5 from the downloads. Read the readme included on how to install it. I guarantee it will work as intended.


OR open the User_info.php block file ina text editor. Find this part.
Code:
    $content .= "<img src=\"images/blocks/group-4.gif\" height=\"14\" width=\"17\"> "._BWEL.", <b>$anonymous</b>\n<hr>";
    $content .= ""._NICKNAME." <input type=\"text\" name=\"username\" size=\"10\" maxlength=\"25\"><br>";
    $content .= ""._PASSWORD." <input type=\"password\" name=\"user_password\" size=\"10\" maxlength=\"20\"><br>";
    $content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
    $content .= "<input type=\"hidden\" name=\"gfx_check\" value=\"$code\">";
    $content .= "<input type=\"hidden\" name=\"op\" value=\"login\">";
    $content .= "<input type=\"submit\" value=\""._LOGIN."\">\n (<a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>)<hr>";


replace it with this
Code:
$content .="<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
$content .="<b>"._SV_USERLOGIN."</b><br><br>\n";
$content .="<table border=\"0\"><tr><td>\n";
$content .=""._NICKNAME.":</td></tr>\n";
$content .="<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n";
$content .="<tr><td>"._PASSWORD.":</td></tr>\n";
$content .="<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></td></tr>\n";
       if (extension_loaded("gd")) {
$content .="<tr><td colspan='2'>"._SV_SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SV_SECURITYCODE."' title='"._SV_SECURITYCODE."'></td></tr>\n";
$content .="<tr><td colspan='2'>"._SV_TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"15\" MAXLENGTH=\"10\"></td></tr>\n";
$content .="<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
       }
$content .="</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
$content .="<input type=\"hidden\" name=\"mode\" value=$mode>\n";
$content .="<input type=\"hidden\" name=\"f\" value=$f>\n";
$content .="<input type=\"hidden\" name=\"t\" value=$t>\n";
$content .="<input type=\"hidden\" name=\"op\" value=\"login\">\n";
$content .="<input type=\"submit\" value=\""._LOGIN."\"></form><br>\n\n";


add these lang. definitions to your language/MAIN LANGUAGE file
Code:
define("_SV_SECURITYCODE","Security Code");
define("_SV_TYPESECCODE","Type Security Code Here");
define("_SV_USERLOGIN", " Login Here: ");


If you can't figure it out. Here's the block
http://www.fauxpas.org/mystuff/block-User_Info.zip
You will STILL need to add those language definitiosn to your language file.

mikem



DUDE! You are SO Awesome! TY TY TY
Find all posts by StyleeView user's profileSend private messageSend e-mailVisit poster's website
Stylee
Sergeant
Sergeant


Joined: Jun 22, 2003
Posts: 140

Location: USA

PostPosted: Sun Jun 22, 2003 1:58 pm Reply with quoteBack to top

I have a quick question on this. It is showing users online, that are not online. Now, if the person were to log out, then it wouldnt show them as being online. I have even refreshed the screen a few times.

I found this, but it was never answered all the way.
Find all posts by StyleeView user's profileSend private messageSend e-mailVisit poster's website
gent
Nuke Soldier
Nuke Soldier


Joined: Jun 18, 2003
Posts: 12

Location: Sweden

PostPosted: Tue Jun 24, 2003 11:41 pm Reply with quoteBack to top

Dooes anybody know how to do this:

How to put the "logout" link there when I'm logged in?

My site is at www.hundkatt.se
Find all posts by gentView user's profileSend private messageVisit poster's websiteICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.548 Seconds - 334 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::