1
bjuti
URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 10:10

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi there,

The situation is urgent. SmartSection 2.14.

I've lost all permisions in SmartSection, and there is may categories and more than 4500 articles.

How to enable permission to every article via phpmyadmin, to be more exact every category, subcategory and article should be enable to anonimous and registered users?

In admin panel, permission are OK, but anonimus can't see the subcategories and articles.

Tnx!

2
ghia
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 10:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


See also this.

3
bjuti
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 10:54

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I saw it, but it doesn't ring a bell.

I can't find any of that in class/category.php

4
ghia
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 10:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Because it is in /admin/category.php
(First post gives also info about permission names.)

5
bjuti
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 11:23

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Sorry, Ghia, but I can't find it in admin/category.php also. I have no "$category->assignVar('categoryid', $categoryid);" to comment out or anything from tutorial?!

6
trabis
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 12:18

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


If I'm not mistaken:

all you need is to edit each category(in smartsection admin panel), choose permissions, and check the box "Apply permissions to articles". It should perform an update to every article inside that category.

7
bjuti
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 13:06

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I know that, but it didn't work :)

Subcategories didn't show up, so I done it by hand :S It was a state of emergency. Lucky for me, it's a static site, so next time I'll do it with Publisher (this is the old one, no time to bother) :)

Tnx all!

8
ghia
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 13:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
Sorry, Ghia, but I can't find it in admin/category.php also.
No, I'm sorry!!!
I directed you to the wrong file.
It is indeed in /class/category.php starting at line 574
(It seems also not yet corrected in 2.15)


9
bjuti
Re: URGENT: SmartSection permissions via MyPhpAdmin
  • 2010/9/24 14:14

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Tnx Xoops community, you rules :)

Login

Who's Online

161 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits