News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

editing group not saved FULL

Started by gafai, May 06, 2012, 04:46:02 PM

Previous topic - Next topic

gafai

index.php?action=admin;area=membergroups;sa=edit;group=102

when I add or edit membergroup it not save all of selected visibility topics......
It start i think after i add more than 100 user groups


Any Idea what is problem?

EDIT: it not remember settings for some categories or boards ( my tests )

Arantor

It's a flaw in how SMF handles boards and groups. Do you really need over 100 groups in use at once?

gafai

yes  i need, my website is based on them....
many boards, many groups.....
How to solve?

Arantor

It requires altering the database manually, probably altering various pieces of code to make it all work. It will take a lot of work, and be fragile until it gets fixed sometime in the future.

(I'm curious, why exactly do you need to have hundreds of groups?)

gafai

student phorum - 3 universities  many study programs(usergroups) / many subjects (Boards)
and today i find this very BIG problem...... absolute FAIL :( :( :( :(

This must be solved....
in the moment i can do some correctures in usergroups by spliting some but.... it increasing....
I never mind that this can happend .... :(

Arantor

I think you can probably fix this somewhat. What exactly are you using the usergroups for?

Are you using it so users can only see the boards for the classes they're signed up for or what?

gafai

study programs(user groups)/mathematics/
can see only some boards (subjects)/math analyses, integrals teory.... etc./
but some common subjects /english, german language ...etc./



gafai

its not effective if they will see everything... its veeery big (small example of public visible part: http://ja.citam.info/studijne-plany-programy-verejne/ )

Arantor

In which case, you can create as many groups as you like (up to a maximum of 65534) but you just can't attach that many groups to boards - that's where the problem occurs.

I can't see how dozens and dozens of groups would need to access a single board - unless it's something really common like a language, in which case you can create another group that covers that language, and assign multiple groups to users (since there's that option too)

gafai

hmm if I understand it now..... for example I have board - "RULES"

as you say.. I have problem with assign it to some new groups... because it is added to all groups...

That mean i must create different group named /rules/ and add users to it instead of  adding this board to all usergroups

(IS there some mod to do this faster? because i must now reorder more then 100 groups)


gafai

i make some tests... you are right.... hmm now i must reorganize my phorum.... ufff lot of time rebuilding.... BUT THANk YOU FOR EXPLANATION :)

Arantor

In the case of the rules board, you can cheat and do it based on the post count groups since every member has whatever groups you assign and whatever post count group they're in (and they can't *not* be in a post count group)

There's no mod for doing it because all the cases of many many boards / many groups are pretty much unique so there's no meaningful way to make a mod for it.

gafai

Thanks

I have another question.. s
ome users tells me and I saw onetime this problem too:

Sometimes when users want login  with correct data, forum say bad login
I try to find where is problem and i find that if user want login from frontpage(in heading) there is "old session id) then on login page is "new" session id and login is good(In hidden inputs)....... is this bug? solution?

Arantor

Without seeing the site I can't tell you for sure but it also relates to whether your site uses www. or not in the domain name.

gafai

internal links are without www.
but from outside is linked woth www.

emanuele

Anyway this is/was a bug.
For the time being I've put a warning if the selected groups exceed SMF's limits.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Arantor

There's no real way to fix this without overhauling SMF's entire structure, which is infeasible to do at this time - the warning mentioned above should suffice until we can pull it all apart and rebuild it properly in the future.

Advertisement: