Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
UMF
New Member
New Member



Joined: Feb 18, 2004
Posts: 9

PostPosted: Wed Feb 18, 2004 11:07 am Reply with quote

First great module.

Problem, only registered users can sign guestbook. I have changed the settings that need cahnging, here is the line from user.pref.php

$only_registered_users_can_add = false;

Still only registered can sign. I am using phpnuke 7.1

Dennis
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Feb 18, 2004 1:47 pm Reply with quote

I just tested it here and it works correctly. Make sure that your module is set to All Users.
 
View user's profile Send private message
UMF







PostPosted: Wed Feb 18, 2004 6:11 pm Reply with quote

Of course, it is set for all users and it is set in the prefs for all. It does not work for non-registered users.

http://www.utugly.com check it out, also have your system check in the dir.

Dennis
 
Raven







PostPosted: Wed Feb 18, 2004 8:10 pm Reply with quote

There must be something wrong in your user.pref file. Please zip your user.pref file and email it to me at raven at ravenphpscripts dot com . I have tested it over and over and it works every time.
 
Raven







PostPosted: Wed Feb 18, 2004 8:43 pm Reply with quote

I just downloaded a fresh copy and made a virgin install, only changing the registered users setting to false and it works. Please try reinstalling and ONLY changing that one setting to try to do the same test I did. I can find nothing wrong nor have I heard of any issues until now.
 
UMF







PostPosted: Wed Feb 18, 2004 9:38 pm Reply with quote

I installed a fresh copy all works again!

I was able to re-produce the problem:

You cannot have: Anonymous by itself

$defaultName = "Anonymous";

must be something with it

$defaultName = "Anonymous anything";
$defaultName = "Anything";


Dennis
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Wed Feb 18, 2004 9:44 pm Reply with quote

I guess we posted at the same time Smile

http://www.utugly.com/modules.php?name=kisgb-nuke&file=index&action=view&tmp_theme=phpnuke.thm.php&tmp_lang=english.lang.php
 
View user's profile Send private message Visit poster's website
UMF







PostPosted: Wed Feb 18, 2004 9:51 pm Reply with quote

Try Again, done testing, all works fine.

Dennis
 
Raven







PostPosted: Wed Feb 18, 2004 10:16 pm Reply with quote

??? I just use Anonymous and nothing else and it works. What am I not understanding?
 
UMF







PostPosted: Wed Feb 18, 2004 10:30 pm Reply with quote

Don't know, but try it, go to my site, sign guestbook with "Anonymous" it won't work. Then sign with anything else and it will work.

Dennis
 
Raven







PostPosted: Wed Feb 18, 2004 10:33 pm Reply with quote

Have you modified your filter file at all?
 
Raven







PostPosted: Wed Feb 18, 2004 10:35 pm Reply with quote

Is this on an IIS server?
 
Raven







PostPosted: Wed Feb 18, 2004 10:45 pm Reply with quote

Also, just to be sure, when you reinstalled, did you user the virgin user prefs and only change that one setting an no other?
 
UMF







PostPosted: Wed Feb 18, 2004 11:36 pm Reply with quote

Quote:

Have you modified your filter file at all?


No

Quote:

Is this on an IIS server?


No, Apache, Linux

Quote:

Also, just to be sure, when you reinstalled, did you user the virgin user prefs and only change that one setting an no other?


Yes


Dennis
 
Raven







PostPosted: Thu Feb 19, 2004 2:53 am Reply with quote

Since I cannot reproduce this, I would like to figure out why it happens on your server, but I would need ftp access to your site. If you would alow me, please PM me your ftp url, id and password and temporarily set me up as a superuser and send me the password for that.
 
UMF







PostPosted: Thu Feb 19, 2004 5:21 am Reply with quote

I figured it out, in the users table, user ID# 1 was Anonymous, left over from previous versions. As soon as it was removed all worked fine. Thanks for your help.

Dennis
 
Raven







PostPosted: Thu Feb 19, 2004 5:25 am Reply with quote

All nuke sites have that. That may have masked/resolved your issue, but it isn't the true cause, as my table has that. I would put traces in the addtogb.php module to try to find out where it breaks down. Something weird is going on.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©