Advertisement:
A2Hosting

Author Topic: editing group not saved FULL  (Read 3681 times)

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
editing group not saved FULL
« on: May 06, 2012, 04:46:02 PM »
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 )
« Last Edit: May 12, 2012, 03:03:10 PM by emanuele »

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #1 on: May 06, 2012, 04:59:40 PM »
It's a flaw in how SMF handles boards and groups. Do you really need over 100 groups in use at once?

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #2 on: May 06, 2012, 05:00:56 PM »
yes  i need, my website is based on them....
many boards, many groups.....
How to solve?

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #3 on: May 06, 2012, 05:40:26 PM »
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?)

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #4 on: May 06, 2012, 05:42:55 PM »
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 .... :(

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #5 on: May 06, 2012, 05:52:46 PM »
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?

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #6 on: May 06, 2012, 05:56:31 PM »
study programs(user groups)/mathematics/
can see only some boards (subjects)/math analyses, integrals teory.... etc./
but some common subjects /english, german language ...etc./



Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #7 on: May 06, 2012, 05:58:39 PM »
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/ )

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #8 on: May 06, 2012, 06:05:28 PM »
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)

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #9 on: May 06, 2012, 06:11:17 PM »
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)


Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #10 on: May 06, 2012, 06:14:47 PM »
i make some tests... you are right.... hmm now i must reorganize my phorum.... ufff lot of time rebuilding.... BUT THANk YOU FOR EXPLANATION :)

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #11 on: May 06, 2012, 06:16:47 PM »
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.

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
LOGIN session not same in frontpage and login page = good-BAD LOGIN
« Reply #12 on: May 06, 2012, 06:22:49 PM »
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?

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #13 on: May 06, 2012, 06:44:40 PM »
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.

Offline gafai

  • Semi-Newbie
  • *
  • Posts: 26
Re: editing group not saved FULL
« Reply #14 on: May 07, 2012, 07:05:07 AM »
internal links are without www.
but from outside is linked woth www.

Offline emanuele

  • Language Moderator
  • SMF Super Hero
  • *
  • Posts: 14,048
  • Gender: Male
  • THERE'S JUST ME
Re: editing group not saved FULL
« Reply #15 on: May 12, 2012, 03:03:02 PM »
Anyway this is/was a bug.
For the time being I've put a warning if the selected groups exceed SMF's limits.
Do you want to discover what I'm doing? Here it is!



Hai bisogno di supporto in Italiano?

* emanuele dislikes "like" and alike

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

It has been reported to me that I'm being snarky, feel free to be offended by my comments, I'm probably doing it on purpose...or not.

Offline Arantor

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 58,417
Re: editing group not saved FULL
« Reply #16 on: December 31, 2013, 11:12:12 AM »
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.