Author |
Message |
fade2gray
Regular


Joined: Mar 26, 2006
Posts: 87
Location: UK
|
Posted:
Tue Mar 28, 2006 11:26 pm |
|
Wasn't sure wether to post this in Modules or Blocks.
You'd have thought that God Admin would be able to see the memberlist no matter what "Viewable to" was set at.
See screenshots:- Only registered users can see links on this board! Get registered or login!
- Only registered users can see links on this board! Get registered or login!
Is the subject achievable?
Thanks. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Mar 29, 2006 8:56 am |
|
No, the visibility that says "Registered users only" means you must be using a Nuke user account to see it. Neither the misnomer "superuser" or God account apply.. they are a Nuke admin account. |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
fade2gray

|
Posted:
Wed Mar 29, 2006 9:50 am |
|
evaders99 wrote: | No, the visibility that says "Registered users only" means you must be using a Nuke user account to see it. Neither the misnomer "superuser" or God account apply.. they are a Nuke admin account. |
Did you not see Only registered users can see links on this board! Get registered or login! screenshot taken by user with admin privelidges.  |
|
|
|
 |
evaders99

|
Posted:
Wed Mar 29, 2006 3:35 pm |
|
It says there is one member online. Thus you still must be logged in as a Nuke user account. Nuke user accounts (through Your_Account) and Nuke admin accounts (through admin.php) are completely seperate. Despite the name "superuser", it is not a user account... it is an admin account. |
|
|
|
 |
fade2gray

|
Posted:
Sat Apr 01, 2006 8:23 am |
|
Ok... if it can't be done by making changes to the configuration, could Nuke be hacked to do this? |
|
|
|
 |
evaders99

|
Posted:
Sat Apr 01, 2006 5:36 pm |
|
Just make sure you are logged in as a Nuke user and a Nuke admin
That's the way the system has always worked |
|
|
|
 |
fade2gray

|
Posted:
Sun Apr 02, 2006 7:38 pm |
|
evaders99 wrote: | Just make sure you are logged in as a Nuke user and a Nuke admin |
I now understand and accept that, but....
evaders99 wrote: | That's the way the system has always worked |
... I refer you Only registered users can see links on this board! Get registered or login!. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Apr 05, 2006 7:00 am |
|
This has been fixed in the v2.02.02 patch release due out soon. In the meantime, if you would like this behaviour to be more in line with the core nuke version:
=== OPEN FILE ===
blocks/block-Modules.php
=== FIND CODE ===
Code:
if ($view == 0) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view == 1 AND is_user($user)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view == 2 AND is_admin($admin)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view == 3 AND paid()) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view > 3 AND in_groups($groups)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
}
|
=== REPLACE WITH ===
Code:
if ($view == 0) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif (($view == 1 AND is_user($user)) OR is_admin($admin)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view == 2 AND is_admin($admin)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif (($view == 3 AND paid()) OR is_admin($admin)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
} elseif ($view > 3 AND in_groups($groups)) {
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=$m_title\">$m_title2</a><br>\n";
}
|
Thanks goes to Evaders for providing the ideas for the fix!
Regards,
montego |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
fade2gray

|
Posted:
Wed Apr 05, 2006 5:17 pm |
|
Works for me, thanks Evaders and Montego. |
|
|
|
 |
|