Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 46
0 members and 46 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
The Lyric Archive
Dining Room Furniture

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Oct 2004
10-23-2004, 04:43 PM

OK - gave that a go.

No dice - did I actually pick the right fiile?

kilt
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#12 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
10-24-2004, 07:44 AM

yup, you did, but in the block-Modules.php find the
Code:
global
in the line find the ';' before add
Code:
, $user


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#13 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Oct 2004
10-24-2004, 10:57 AM

Quote:
Originally Posted by Mighty_Y
yup, you did, but in the block-Modules.php find the
Code:
global
in the line find the ';' before add
Code:
, $user
This fixed it!

Cool!

But now I had one more little issue - no dot in front of the line.

I have added a small piece to the code and now the dot is there...

Code:
if (is_user($user)) {
                $content .= "<a href=\"modules.php?name=Your_Account&op=logout\"><big>&middot;</big>Log out</a>";
        }
kilt
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#14 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
10-24-2004, 07:34 PM

Quote:
Mike just so you know the NukeResources link is a dead one because of a typo in the URL.
thanks, fixed.

BTW, the menu we use is TechGFX block-Menu from http://www.techgfx.com
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Complete basic mod, using default Login block
Old
  (#15 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Nov 2004
Complete basic mod, using default Login block - 12-05-2004, 07:15 AM

Code:
-----[ OPEN ]-------------------
blocks/block-Login.php

-----[ FIND ]--------------------

?>

-----[ INSERT ABOVE ]--------
if (is_user($user)) {
    $content =  "<center>[ <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a> ]</center>";
}
Go to Blocks administration, set Login block visibility to "All Visitors"
Tha's it! Works on v7.6patched2.7, but should work on almost everything
   
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
Random News "YES" / Center Block "NO" Liqid Site design 0 07-06-2005 08:47 PM
The "Read More" Link and Random Quote of the Day THoTH Site design 0 04-26-2005 04:44 PM
Top of box says "charcoal-Forums" instead of " wildefire Theme packs 2 03-03-2003 10:40 AM
"Edit" and "Delete" -links in section? zlaxzzor Purged Topics 0 12-10-2002 01:04 PM
"Content" vs "Section" (didn't get it) klipywitz Purged Topics 1 12-06-2002 11:01 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.2.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