| Author |
Message |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Thu Nov 06, 2003 12:44 pm |
  |
(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 |
|
    |
 |
Daniel-cmw
Site Admin


Joined: Mar 02, 2003
Posts: 1662
Location: The UK!
|
Posted:
Thu Nov 06, 2003 2:25 pm |
  |
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 |
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Thu Nov 06, 2003 4:13 pm |
  |
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] |
|
|
    |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sun Nov 09, 2003 8:58 am |
  |
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 |
|
    |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Sun Nov 09, 2003 2:27 pm |
  |
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 |
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Mon Nov 10, 2003 1:09 am |
  |
|
    |
 |
which
Nuke Cadet


Joined: Sep 09, 2003
Posts: 2
|
Posted:
Mon Nov 10, 2003 8:18 am |
  |
| 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. |
|
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Thu Dec 11, 2003 2:50 pm |
  |
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) { |
|
|
|
    |
 |
Ozone
Sergeant


Joined: Dec 02, 2003
Posts: 85
Location: Tower of the Sun
|
Posted:
Mon Dec 29, 2003 3:10 pm |
  |
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. |
|
|
    |
 |
Berzerker
Nuke Soldier


Joined: Aug 01, 2003
Posts: 33
|
Posted:
Wed Dec 31, 2003 7:08 am |
  |
That worked thanx for fix |
|
|
    |
 |
Marth
Nuke Cadet


Joined: Jan 17, 2004
Posts: 2
|
Posted:
Sat Jan 17, 2004 6:52 am |
  |
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 |
|
|
   |
 |
fuzioneer
Private


Joined: Nov 07, 2003
Posts: 37
|
Posted:
Wed Jan 21, 2004 5:26 am |
  |
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 |
|
|
   |
 |
fuzioneer
Private


Joined: Nov 07, 2003
Posts: 37
|
Posted:
Wed Jan 21, 2004 6:44 am |
  |
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  |
_________________ www.cheapukwebhosting.com |
|
   |
 |
|
|