Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 55
5 members and 50 guests
affiz4iliate6ec, cliaw9cckhereto, lowsad4erback5s, mariacolmanyne3, medaricalddw93g
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

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

Reply
 
LinkBack Thread Tools Display Modes
Logout Block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Mar 2005
Logout Block - 03-31-2005, 05:10 AM

I'm trying to have a Logout block (just like the login block) to be displayed when users login. Before you go on bashing me about searching the forum, website and google, I want to say that I did, and the results I found where not for block creation, but rather have the logout appear under the modules block. I wanted to have it appear like the Logout block for the admin in the backend....

Cheers
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
03-31-2005, 05:18 AM

Whats the name of the Login Block your currently using ?

ie: from which nuke version or did you download a different one ?


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Mar 2005
03-31-2005, 05:50 AM

its the stock block that comes with nuke 7.5. The thing is, when users login, the block disappears, and you'd have to logout through "Your Account". It just seems logical to replace the login block with a logout block when users login...
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
03-31-2005, 06:40 AM

Ok heres two blocks you could use :

The first is just the word Logout

Goto Blocks admin and paste this code : Heres another using the image in Admin logout :

Code:
<a href="modules.php?name=Your_Account&op=logout"><center><img src=images/admin/logout.gif>
Logout</center></a>
If they dont suit let me know what your looking for & we'll see what we can up with

Oh and dont forget set the Block visable to registered Users Only


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Mar 2005
03-31-2005, 07:06 PM

Thanks Marty I'll give the code a whirl momentarily.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Mar 2005
03-31-2005, 07:30 PM

Perfect ! I used the first one, to mimic the Admin logout block in fibule3d
   
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
Logout/User Info Issue Kommercial Nuke 7.x - General 11 04-20-2006 02:07 PM
Logout Users when they close their browsers ... Theberge43 Nuke 7.x - General 1 07-28-2005 12:46 PM
User Menu Logout 90thSFG Nuke 7.x - Blocks 0 05-10-2005 03:37 PM
how to display "logout" link all the time? kiltannen Nuke 7.x - General 14 12-05-2004 06:15 AM
logout not working IACOJ Purged Topics 2 01-11-2003 02:45 PM




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