i had been trying to figure this out, but since the old hack on here for it only works for up to 7.1, and wasn't finding much using 'search' here, figured it out myself, lol
pretty simple, open modules.php in your editor, and just find this:
Code:
if ($view == 1
and at the begining of the line before 'if' add 'else' so it starts like:
Code:
else if ($view == 1
then repeat the same for the lines with:
Code:
if ($view == 2
and:
Code:
if ($view == 3
considering i didn't use the full line like in that other fix, this should work for any current or future version of nuke till that small part of the code is changed
Last edited by np6s4x on Sat Aug 14, 2004 10:13 pm; edited 1 time in total
jib_intelli Captain
Joined: Jun 10, 2004
Posts: 338
Location: Lucknow, India
Posted:
Tue Aug 10, 2004 6:15 pm
And in which file do I make that change?
_________________ It is not our abilities which decide what we truly are, it is our choices.
jib_intelli Captain
Joined: Jun 10, 2004
Posts: 338
Location: Lucknow, India
Posted:
Thu Aug 12, 2004 1:00 pm
jib_intelli wrote:
And in which file do I make that change?
BUMP! I did not get an answer for my post!
Please reply soon.
_________________ It is not our abilities which decide what we truly are, it is our choices.
np6s4x Corporal
Joined: Feb 08, 2004
Posts: 68
Posted:
Sat Aug 14, 2004 10:09 pm
lmfao, oops, what a mistake to make, lol, since no one had replied for a while, i totally forgot about the thread,
it's modules.php
thx for telling me about my mess up, lol
from what i've found out so far from here, don't expect any replies to self made threads too often, lol, think this might one of my first to get a reply, lol
massdigitalmedia Corporal
Joined: Sep 01, 2003
Posts: 57
Location: Huntington Beach, CA USA
Posted:
Mon Aug 30, 2004 7:48 pm
Didn't work for me... I got:
Parse error: parse error in /home/httpd/vhosts/noccruisers.com/httpdocs/modules.php on line 40
which is the first line I added the 'else' statement to.
_________________ ________________________
Scott Salvi
Mass Digital Media
http://www.massdigitalmedia.com
3912903 - ICQ
massdigitalmedia - AIM
np6s4x Corporal
Joined: Feb 08, 2004
Posts: 68
Posted:
Sat Sep 11, 2004 12:52 pm
hmm...what version of nuke are you using?
(below code from 7.2)
what i did was change line 55:
Code:
if ($view == 1 AND (is_user($user) OR is_group($user, $name) OR is_admin($admin))) {
to this:
Code:
else if ($view == 1 AND (is_user($user) OR is_group($user, $name) OR is_admin($admin))) {
then the same to the line 76:
Code:
if ($view == 2 AND is_admin($admin)) {
changed to:
Code:
else if ($view == 2 AND is_admin($admin)) {
and line 95:
Code:
if ($view == 3 AND paid()) {
changed to:
Code:
else if ($view == 3 AND paid()) {
maybe your nuke's code is different, or you were trying to change the wrong lines?
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