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, 63 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Need to create an admin online 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
CSFrance
Nuke Soldier
Nuke Soldier


Joined: Mar 11, 2003
Posts: 12


PostPosted: Fri Apr 04, 2003 7:13 am Reply with quoteBack to top

I have had to take out the names from the front page member block, because of them slowing down my site, but I would like to create a block that shows which admins are online at any time.....

The problem is, it has to look in the users table, for level 2, and the sessions table, to see that the admin name is online.......

Any help with that.....?
Find all posts by CSFranceView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Apr 04, 2003 7:54 am Reply with quoteBack to top

actually, admins aren't stored in the users table (unless ur just talking about teh phpBB forum admin).

Admins are stored in the Authors table.

Anyway, i don't see why it should be hard to sort out, all you ahve to do is run 2 SQL queries, with the second one refering to the first.

Download my modules tweak, and look at the code where it looks in the modules table and pulls the info for the categories and then the mdoules themselves for an idea of what to do. Only difference being that the second SQL query will be for a different table rather than 2 queries based on the same one.

AI
Find all posts by ArtificialIntelView user's profileSend private message
dsnail2000
Site Admin
Site Admin


Joined: Mar 17, 2003
Posts: 331

Location: Northern VA

PostPosted: Tue Apr 22, 2003 11:57 am Reply with quoteBack to top

Hey CSFrance, did you get that code to work? Did you make it a standalone block?
Find all posts by dsnail2000View user's profileSend private messageVisit poster's website
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.171 Seconds - 197 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::