Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Removing Login from Site Visitor Block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Removing Login from Site Visitor Block - 05-30-2003, 07:58 PM

Hello !

Could you guys tell me how i can remove the login section from the site visitor block, code-wise ?

I'm quite new to the scene.

Thx in advance !
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-30-2003, 09:59 PM

Open the Site Visitors block file in a TEXT editor. NOT Notepad or Wordpad.

change ALL of this code
Code:
$content .="<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
$content .=""._SV_USERLOGIN."

\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]modules.php?name=Your_Account&op=gfx&random_num=$random_num[/img]</td></tr>\n";
$content .="<tr><td colspan='2'>"._SV_TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"8\" MAXLENGTH=\"6\"></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>
\n\n";
to this
Code:
$content .="<center>Welcome Guest</center>\n";
Instead of the Loggin part of the block you normally see when not logged in, your Guests that are not logged in will now only see
"Welcome Guest"
at the top of the block where the loggin part used to be.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thx but...
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Thx but... - 05-31-2003, 02:08 PM

Thx for the help, but...

Let me explain my problem.
Yesterday i installed a clean PHPnuke 6.5 and I installed the Site Visitor block. Afterwards i noticed that i couldn't log in using the login from the site visitor block, but i could with the normal login block. So i decided to remove the login function from the site visitor block.

To my surprise, after removing the login from the site visitor block, i couldn't login anymore using the normal login block.

After undoing the changes to the visitor block it worked again, except the login from the visitor block.

Any suggestions ???
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-31-2003, 05:28 PM

OK..chekc your Database.

Is your prefix nuke?

Meaning, in your database are ALL your tables starting with
nuke_

nuke_bbconfig
nuke_bbposts
nuke_users

etc.

The main thing to check is your user table prefix. Is it also nuke_ ?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Mmm
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Mmm - 05-31-2003, 05:40 PM

They all have nuke_ in front of them, except 4:

Array_color
Array_livelogin
Array_login
Array_message

So, i don't think that's the problem !?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-31-2003, 09:11 PM

OK..I suggest getting the Analyzer script from http://www.nukecops.com
It may show us some problems if they are there.

I've only seen this happen a few times and I am still not sure what is causing it. It may be your server is running an older version of PHP.
Get that analyzer script and post a link back so we can see what it says.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Analyzer
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Analyzer - 06-01-2003, 10:38 AM

http://www.yuf.be/analyze.php

Thx in advance for looking !

Yuf
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
06-01-2003, 08:59 PM

Man that is wierd. Everything looks great according to analyzer. You can go ahead and remove that file from your server now.

Here..Can you try this Login Block file.
http://www.fauxpas.org/mystuff/block-Login.zip

It's the original Nuke6.5 Login Block with the Security graphic added to it. I'd like to see if it works on your site.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
06-01-2003, 09:07 PM

ok..here's something you need to do.
I notice when I signed up on your site, the email said it was from
Yoursite.com
Also, the webadress to click to activate the user account did not include the http://
Make sure you have setup ALL the informaiton in your Nuke Admin Preferences. Also make sure you setup the necessary info in your Forum Admin/Configuration.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
06-01-2003, 09:25 PM

I have a similar problem. Try logging in at
http://blazes-lair.co.nr (Signup, login, logout then login again)
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Recent Topic Block & Login Page rickstorm Nuke 7.x - General 8 01-05-2006 07:35 PM
A problem with NukeMods Site visitor block dfm123 Nuke 6.5 to 6.9 - Blocks 5 04-26-2003 01:32 PM
error on nukmods visitor block DaRk-DuDe Nuke 6.5 to 6.9 - Blocks 3 04-25-2003 08:31 AM
The site visitor block lay-out DJ-Loki Nuke 6.5 to 6.9 - Blocks 8 04-04-2003 02:12 PM
Login Block from here doesn't show off site avatars? Elite311 Purged Topics 4 03-12-2003 04:48 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31