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, 71 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 - Nuke 7,errors in 7,restricted access,UID,your_account,avatar [ ]
 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
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Thu Nov 06, 2003 12:44 pm Reply with quoteBack to top

(T)he chit chat topic says it is for posts which have no other place to go (or something to that effect).

I have posted numerous times in other forums to people having the same/similar problems... and I have posted a link to this message area. Will they be referred automatically to where it has been moved to?


Last edited by XEULAS on Sat Nov 08, 2003 5:48 am; edited 3 times in total
Find all posts by XEULASView user's profileSend private messageVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Thu Nov 06, 2003 2:25 pm Reply with quoteBack to top

People will be redirected to this thread from the old url.

The Chit chat section says 'Post any off-topic matters in here' i.e not related to PHPnuke.

You have posted sooo much in one thread im not sure what the question is anymore....

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Thu Nov 06, 2003 4:13 pm Reply with quoteBack to top

Ha ha ha.... the questions have a way of growing.

Here's a new one-

Is this the php-nuke 7+ forum?

hee hee hee just kidding , I know the answer....

[I edited subject: with forum search engine in mind]
Find all posts by XEULASView user's profileSend private messageVisit poster's website
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Sun Nov 09, 2003 8:58 am Reply with quoteBack to top

Hey, I'm a seargent! Which way to the bar? I'm buyin a round for everyone!


Last edited by XEULAS on Mon Nov 10, 2003 1:14 am; edited 2 times in total
Find all posts by XEULASView user's profileSend private messageVisit poster's website
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Sun Nov 09, 2003 2:27 pm Reply with quoteBack to top

well this is a bug as i have encountered the samething and thanks for XEULAS for heading me in the right direction..

i will try the fix now..

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News
Find all posts by dirtbagView user's profileSend private message
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Mon Nov 10, 2003 1:09 am Reply with quoteBack to top

And thanks to dirtbag for locating a complete FIX!

Read here
http://nukecops.com/postp68271.html
Find all posts by XEULASView user's profileSend private messageVisit poster's website
which
Nuke Cadet
Nuke Cadet


Joined: Sep 09, 2003
Posts: 2


PostPosted: Mon Nov 10, 2003 8:18 am Reply with quoteBack to top

XEULAS wrote:
[UPDATE 2003 11 10 - This has been fixed- go here http://nukecops.com/postp68271.html
]

My fix was to give everyone access to almost everything.

I like your fix better! WHOO HOOO it worked!

YOU, are a smart person. I'm gonna make sure I stand next to you in any future question lines.

Thanks.


I thought I'd repost your fix for the 'restricted access' problem here:

Quote:
MerchantPal said (in part) - I suspect the problem is related to is_user() sub routine validation. If you are not using the Users Groups (at least in the beta), then it can be fixed by disabeling the boolean for "AND is_user(vars)" in <modules.php> ..

Code:

// Original condition
// if ($view == 1 AND is_user($user) AND is_group($user, $name) OR is_admin($admin)) {

// replaced condition
if ($view == 1 AND is_user($user) OR is_admin($admin)) {


Open modules.php in a text editor (a1, a2, & b1) and find the following line:
Code:
if ($view == 1 AND is_user($user) AND is_group($user, $name) OR is_admin($admin)) {


Change it to:
Code:
if ($view == 1 AND (is_user($user) || is_group($user, $name) || is_admin($admin))) {


This will cure the issue.
Find all posts by whichView user's profileSend private message
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Thu Dec 11, 2003 2:50 pm Reply with quoteBack to top

After discussions with Corporal Fluffy, it has been determined that the above fix is NOT the best one. Here is the better fix, below (Don't forget to undo the previous fix)

Open mainfile.php and find this line

Quote:
if ($points > 0 AND $points >= $row[points] || $mod_group == 0) {


Change it to

Quote:
if ($points >= 0 AND $points >= $row[points] || $mod_group == 0) {
Find all posts by XEULASView user's profileSend private messageVisit poster's website
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Mon Dec 29, 2003 3:10 pm Reply with quoteBack to top

I recently completed an upgrade from 6.9 to 7.0. After the upgrade I changed out the defualt User Info Block for a new one that displayed points and User Groups.

WIthin 24 hours I had several reports of people having difficulty or not being able to login at all. It seems in all cases it had to do with the user being un-cookied or using a different machine to log in.

I have since changed back to the original User Info block and am waiting to see if this solves the problem. I dare not log out or uncookie myself until I knwo for sure.
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Berzerker
Nuke Soldier
Nuke Soldier


Joined: Aug 01, 2003
Posts: 33


PostPosted: Wed Dec 31, 2003 7:08 am Reply with quoteBack to top

That worked thanx for fix
Find all posts by BerzerkerView user's profileSend private messageSend e-mail
Marth
Nuke Cadet
Nuke Cadet


Joined: Jan 17, 2004
Posts: 2


PostPosted: Sat Jan 17, 2004 6:52 am Reply with quoteBack to top

Here is my original line containing $points:

if ($points > 0 AND $points >= $grp || $mod_group == 0) {

I changed it to be:

if ($points >= 0 AND $points >= $grp || $mod_group == 0) {

And the registered user not being able to access modules is fixed. This is with v7.0

Marth
www.arenagaming.com
Find all posts by MarthView user's profileSend private message
fuzioneer
Private
Private


Joined: Nov 07, 2003
Posts: 37


PostPosted: Wed Jan 21, 2004 5:26 am Reply with quoteBack to top

I have a weird issue which is the inverse of what u all seem to have in that I set a module to be registered user access only, but if i then logout of admin and user accounts and click on the module name in the modules list it still lets me in !!

But if i login as admin,

and then click on it it gives me the std access denied message !!!

Anyone have any ideas,im running nuke 7.0 btw

the actual permutations for access are as follows:-

if logged in as admin and user - can access registered access only module
if anon - can access registered access only module
if user can access registered access only module
if admin - cant access registered access only module
Find all posts by fuzioneerView user's profileSend private message
fuzioneer
Private
Private


Joined: Nov 07, 2003
Posts: 37


PostPosted: Wed Jan 21, 2004 6:44 am Reply with quoteBack to top

I cured it by copying over the modules.php from webroot on a nuke 6.9 install !!

It means the points system access to modules wont work but dont utilise that neways Wink

_________________
www.cheapukwebhosting.com
Find all posts by fuzioneerView 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.217 Seconds - 304 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::