WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Category permissions selector
can not set per category permissions

Version:
printPrint


Category permissions selector
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/14/04 - 09:20 PM:
quote post
#1
Using 2.12

category permissions selector does not show at all when submit/edit category
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 11/15/04 - 06:23 PM:
quote post
#2
Category permissions all show for me. You must have forgotten to upload the template when upgrading from some previous version.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/15/04 - 06:55 PM:
quote post
#3
i installed it fresh and {CATPERMISSIONSLIST} is in place but it does not get parsed. when page is loaded and you view source - it is not there

here is the debug:

Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,isalbum,type,permissions,subscribers,subscriber,mixtypes,orderlinks,totalcomments,filetitle,filename,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsngallery_categories WHERE validated=1 AND hide=0 ;

Number of rows is 5 for Resource id #40

Performing query: SELECT id,`to`,subject,message,headers,replacement,mime FROM wsngallery_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10;

Number of rows is 0 for Resource id #41

Performing query: SELECT alias FROM wsngallery_links WHERE id=2 ;

Number of rows is 1 for Resource id #45

Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,isalbum,type,permissions,subscribers,subscriber,mixtypes,orderlinks,totalcomments,filetitle,filename,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsngallery_categories WHERE id='2' ;

Number of rows is 1 for Resource id #46

Performing query: SELECT title FROM wsngallery_membergroups WHERE id=1 ;

Performing query: SELECT title FROM wsngallery_membergroups WHERE id=2 ;

Performing query: SELECT title FROM wsngallery_membergroups WHERE id=3 ;

Performing query: SELECT title FROM wsngallery_membergroups WHERE id=4 ;

Performing query: SELECT parent FROM wsngallery_categories WHERE alias=2 ;

Number of rows is 0 for Resource id #52

Performing query: SELECT value FROM wsngallery_switches WHERE name='pm' ;


fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/16/04 - 12:13 AM:
quote post
#4
isn't there an error:


$template->replace('{RELATEDCATSELECTOR}', relatedcatselector($thiscat->related));
$template->replace($categorypref .'PERMISSIONSOPTIONS}', $thiscat->permissionsoptions());


shouldn't PERMISSIONSOPTIONS} be {PERMISSIONSOPTIONS} ?

it is in current distribution in edit.php
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/16/04 - 11:53 AM:
quote post
#5
just uploaded all files with 2.13 - same thing {CATPERMISSIONSLIST} does not get parsed
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 11/17/04 - 06:06 PM:
quote post
#6
No, there is no error in that line. What do you have in your admin/catusergroups.tpl template?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/17/04 - 06:17 PM:
quote post
#7
Usergroup ID#4529
Title: {TITLE}
Permissions:
Can view category?
Can use HTML?
Can upload attachments?
Can download attached files?
Can copy images?

Can view: IP addresses Votes

Can rate: Images Comments

Can email: Images

Can edit own:
Images
Comments


Can edit all:
Images
Comments
Full details? (rating, hits, etc)
Votes


Can hide own:
Images Comments


Can hide all:
Images Comments


Can delete own:
Images Comments


Can delete all:
Images Comments

Can submit:
Images
Categories
Comments

Require validation of: Images
Categories
Comments
Image Edits




Edited by fresco on 11/17/04 - 06:22 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 11/18/04 - 01:41 AM:
quote post
#8
There must be some sort of upgrade issue, as it works in new installs. What version did you start with, 1.x?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/18/04 - 07:08 AM:
quote post
#9
i installed 2.12 fresh and the problem was in it, i upgraded to 2.13 right after trying to fix that but... i did not run upgrade script - instructions just said to overwrite the files

Edited by fresco on 11/18/04 - 07:10 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 11/22/04 - 02:23 AM:
quote post
#10
This is a new install fresh as of 2 minutes ago:

Attached Files:
Screenshot.jpg
(133 KB, 27 downloads)
attachment

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/22/04 - 09:45 AM:
quote post
#11
i realize that the error is somewhere in my install, i just trying to locate where - i have reaploaded all of the files over and over but whithout result.

Any ideas on where i should look for problem? which file is responcible for parsing {CATPERMISSIONSLIST} tag? and what can stop it from doing that?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 11/23/04 - 10:56 PM:
quote post
#12
The only thing I can imagine stopping it is the template not being there or the template variable not being there.

I presume it's handled for edits in edit.php and for suggestions in suggest.php.

Check the related threads, anyhow.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 23
Total Posts: 106
Posted 11/24/04 - 12:23 AM:
quote post
#13
well I moved gallery into a folder and it began to work...

any ideas? I would prefer it to be in root
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.