Thread: [phpslash-users] upgrade 0.7.1
Brought to you by:
joestewart,
nhruby
From: Tigran <ti...@us...> - 2003-04-24 06:01:50
|
After upgrading to 0.7.1 for some reason the submissions link isn't there. And for some reason comments to articles can not be submitted by just public viewers. It asks for a user name and password. I'd like to make the site totally public with no usernames for reply comments to articles and public article submissions. Thanks in advance for the help. |
From: Joe S. <joe...@us...> - 2003-04-24 15:31:48
|
On Wed, Apr 23, 2003 at 11:01:40PM -0700, Tigran wrote: > After upgrading to 0.7.1 for some reason the submissions link isn't there. > And for some reason comments to articles can not be submitted by just > public viewers. It asks for a user name and password. > It sounds like you didn't run the db_xfer script. http://www.phpslash.org/article.php3?story_id=31&topic_id=39§ion_id=8#ss3.3 > I'd like to make the site totally public with no usernames for reply > comments to articles and public article submissions. > The author/group changes made by the db_xfer script should allow public comments. If this doesn't clear up the submissions also, let us know. Joe > Thanks in advance for the help. > |
From: Tigran <ti...@us...> - 2003-04-24 19:37:09
|
Comment problem fixed. I had an old config.php file. i was upgrading from .7 to .7.1 so the db_xfer was done long ago. In config.php I have the following. $menuitem[] = array( 'name' => "Add Story", 'link' => $_PSL['rooturl'] . "/submission.php", 'perm' => "submissionNew", 'module' => "Submission" ); I changed 'perm' to nobody and its visible now. But clicking on it goes to the login screen instead of the submissions screen. submission.php has the following $auth->login_if(!$perm->have_perm('submissionNew')); I tried changing submissionNew to nobody but it didn't work. In 0.7 this line is commented out. --tigran At 08:44 AM 4/24/2003, you wrote: >On Wed, Apr 23, 2003 at 11:01:40PM -0700, Tigran wrote: > > After upgrading to 0.7.1 for some reason the submissions link isn't there. > > And for some reason comments to articles can not be submitted by just > > public viewers. It asks for a user name and password. > > > >It sounds like you didn't run the db_xfer script. > >http://www.phpslash.org/article.php3?story_id=31&topic_id=39§ion_id=8#ss3.3 > > > I'd like to make the site totally public with no usernames for reply > > comments to articles and public article submissions. > > > >The author/group changes made by the db_xfer script should allow public >comments. If this doesn't clear up the submissions also, let us know. > >Joe > > > Thanks in advance for the help. > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >phpslash-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/phpslash-users |
From: Joe S. <joe...@us...> - 2003-04-25 14:02:37
|
On Thu, Apr 24, 2003 at 12:36:53PM -0700, Tigran wrote: > Comment problem fixed. > I had an old config.php file. > > i was upgrading from .7 to .7.1 so the db_xfer was done long ago. > > In config.php I have the following. > $menuitem[] = array( > 'name' => "Add Story", > 'link' => $_PSL['rooturl'] . "/submission.php", > 'perm' => "submissionNew", > 'module' => "Submission" > ); > > I changed 'perm' to nobody and its visible now. > But clicking on it goes to the login screen instead of the submissions screen. > > submission.php has the following > $auth->login_if(!$perm->have_perm('submissionNew')); > > I tried changing submissionNew to nobody but it didn't work. > In 0.7 this line is commented out. > It looks like 65_to_7.sql is missing this: INSERT INTO psl_group_permission_lut VALUES (109,20,12); You can either comment the line back out in submission.php, apply the mysql above, or add submissionNew to the nobody group ( group,edit nobody, ctrl-leftclick submissionNew, submit). thanks for pointing this out. Joe > > --tigran > > |