DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • April 23, 2018, 11:53:10 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Hidden Players  (Read 3946 times)
0 Members and 1 Guest are viewing this topic.
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« on: May 09, 2005, 08:29:19 AM »

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=1091

so far this module will prevent hidden users from showing on the character list on the main page.  
Lonny's Who's here module still needs updated to allow players to remain hidden there.

so far, the players are still visible in list.php, haven't seen a way around that besides core modification yet.

Thanks for XChrisX for providing his online list module.


brainstorming thread: http://dragonprime.net/index.php?board=20;action=display;threadid=2301;start=0
« Last Edit: January 02, 2011, 02:34:26 PM by kickme » Logged

sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #1 on: May 11, 2005, 02:50:24 AM »

alright, Kendaer is swamped with work, so we won't see the hooks in the core for a while.  for now these are the edits you need to do in list.php to hide players.

add:
Code:
acctid,
in the sql statements on lines 75, 79,and  88.

add:
Code:
   if(get_module_pref("hidden","hiddenplayers",$row['acctid'])==false){
after line 124---$row = db_fetch_assoc($result);

add:
Code:
}
above:
Code:
rawoutput("</table>");
near the end of the file.
Logged

Freeze
Guest
« Reply #2 on: May 11, 2005, 04:19:45 AM »

This is how my list.php looks after these adjustments. Normal, my fault, bad code?

http://christopher.lotgdrealms.com/list.php.bmp
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: May 11, 2005, 05:04:56 AM »

You also have to subtract the count of users that have that setting on, that would appear in that bracket, and subtract it form the second statement in the for.

That is the reason why it is showing those blank entries.
« Last Edit: May 11, 2005, 05:05:58 AM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Freeze
Guest
« Reply #4 on: May 11, 2005, 06:02:21 PM »

* Lord NeXus no clue how to do that
Logged
MarcTheSlayer
Mod God
*****
Offline Offline

Posts: 1744


View Profile
« Reply #5 on: January 02, 2011, 01:59:08 PM »

Download link to Hidden Players v 20050509
Logged

Check My Modules for the latest versions.
kickme
Global Moderator
Mod God
*****
Offline Offline

Posts: 1589


Yay for elephants!


View Profile WWW
« Reply #6 on: January 02, 2011, 02:34:51 PM »

Fixed. Thanks.
Logged

Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
20 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search