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, 47 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 - fix for "Entire site inside of Popup windows" prob [ ]
 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
np6s4x
Corporal
Corporal


Joined: Feb 08, 2004
Posts: 68


PostPosted: Sun Aug 01, 2004 12:47 am Reply with quoteBack to top

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 Very Happy


Last edited by np6s4x on Sat Aug 14, 2004 10:13 pm; edited 1 time in total
Find all posts by np6s4xView user's profileSend private message
jib_intelli
Captain
Captain


Joined: Jun 10, 2004
Posts: 338

Location: Lucknow, India

PostPosted: Tue Aug 10, 2004 6:15 pm Reply with quoteBack to top

And in which file do I make that change?

_________________
It is not our abilities which decide what we truly are, it is our choices.

Image
Find all posts by jib_intelliView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
jib_intelli
Captain
Captain


Joined: Jun 10, 2004
Posts: 338

Location: Lucknow, India

PostPosted: Thu Aug 12, 2004 1:00 pm Reply with quoteBack to top

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.

Image
Find all posts by jib_intelliView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
np6s4x
Corporal
Corporal


Joined: Feb 08, 2004
Posts: 68


PostPosted: Sat Aug 14, 2004 10:09 pm Reply with quoteBack to top

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 Embarassed Laughing Embarassed

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
Find all posts by np6s4xView user's profileSend private message
massdigitalmedia
Corporal
Corporal


Joined: Sep 01, 2003
Posts: 57

Location: Huntington Beach, CA USA

PostPosted: Mon Aug 30, 2004 7:48 pm Reply with quoteBack to top

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
Find all posts by massdigitalmediaView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressICQ Number
np6s4x
Corporal
Corporal


Joined: Feb 08, 2004
Posts: 68


PostPosted: Sat Sep 11, 2004 12:52 pm Reply with quoteBack to top

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?
Find all posts by np6s4xView user's profileSend private message
mrkablooey
Nuke Cadet
Nuke Cadet


Joined: Oct 27, 2004
Posts: 1


PostPosted: Wed Oct 27, 2004 2:28 pm Reply with quoteBack to top

np6s4x:

This fix worked PERFECTLY for a few issues I had.

THANK YOU.

Very Happy
Find all posts by mrkablooeyView user's profileSend private message
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.515 Seconds - 227 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::