×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Events visible to the wrong Users

Events visible to the wrong Users 11 years 5 months ago #18511

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Yves,
Think I found another "inconvenience"

Categories can be given accesslevel (Public, registerd, special)

When I give some events a category for special users... They can be seen by registered users
and cannot be seen by special users

the other way round:
Events in category for registerd user cannot be seen by special users and cannot be seen by registerd users


I think there must be a "NOT" in the wrong place

grtz
Christian

Events visible to teh wrong Users 11 years 5 months ago #18514

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

hmm going to investigate this. Actually you should not use the category access levels (they are not well supported as you see), as stated in some other posts we are going to switch to a own category manager in 2.2.0, which is going to support many new things, including languages, access levels etc. properly.

Best regards,

Yves

P.S. Did you get your database working, e.g. is Matukio editing a booking in 2.1.4 now working for you?

Events visible to teh wrong Users 11 years 5 months ago #18516

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
No Yves, as I said in the other topic.
When I add booking the normal way --- everything works. Only when I try to add a booking as an orgoanizer, only the name is asked (no numbers of places or additional fields) and the error occurs. I posted a screendump of the structure of the database which is ok in my opinion
grtz
Christian

Events visible to teh wrong Users 11 years 5 months ago #18517

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Can You in the meantime not fix this little problem
:(

Events visible to teh wrong Users 11 years 5 months ago #18518

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

just took a look at the screenshot again, the database structure is not correct. There are at least some fields missing:

`uuid` varchar(255) DEFAULT NULL,
`newfields` text

etc.

Try to alter your matukio_bookings with the new fields, then adding a new booking as organizer should work. See pastebin.com/FkdJFQRi for full SQL Code.

Perhaps something went wrong with the database while updating Matukio (dev versions don't alter old table structures)

Best regards,

Yves

Events visible to teh wrong Users 11 years 5 months ago #18519

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

just took a look in the code for the event display problem.

The problem should be somewhere in the components/com_matukio/eventlist/view.html.php file. Has to be something around line 90:

$accesslvl = 1;

if ($reglevel > 2) {
$accesslvl = 3;
} elseif ($reglevel > 1) {
$accesslvl = 2;
}

You could experiment a bit with the $accesslvl values, there seems to be something upside down. Going to check this in the next days, but i don't think i am going to find some time before this Weekend :unsure: , very busy days atm.

Yves

Events visible to teh wrong Users 11 years 5 months ago #18524

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Yves !!!

A small step for you but a graet step for Matukio !!! :) :)
Updated the database, and editing as organizer works ..(front and backend) ... beautifull !!!

But .... It is only possible to edit the name .... :(
It should also be possible to edit the number of bookings and additional fields (not 20 of them, but 5 er 6 is more than enough !!)

tnx
Christian

Events visible to teh wrong Users 11 years 5 months ago #18525

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Yves,

think I found something, seems to be working OK now
effected a major change in code ... :)
I see I m a senior now (is that my age or something ?)

grtz
Christian
Attachments:

Events visible to teh wrong Users 11 years 4 months ago #18571

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Yves

problem is still there in

git1e7cc58(Release Candidate) 28.11

Solution:

Attachments:

Events visible to teh wrong Users 11 years 4 months ago #18572

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Okay going to integrate the fix into the new version.

Thank you,

Yves

Events visible to the wrong Users 11 years 3 months ago #19235

  • Dirk Stegner
  • Dirk Stegner's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 3
Hallo Yves,

also trotz des von Christian vorgeschlagenen Fixes funktioniert die Sache nicht richtig. Es werden dann zwar keine nicht öffentlichen Events mehr angezeigt, aber die anderen (öffentlichen) auch nicht mehr. Ich habe bei zwei Kunden den Fall, dass beide sowohl öffentliche, als auch nicht öffentliche anzeigen wollen.

Gibt's evtl. irgendwie eine Lösung, wie ich mir bis zur angekündigten Version behelfen kann?

Danke & Gruß

Dirk

Events visible to the wrong Users 11 years 3 months ago #19256

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Dirk,

der Fix ist schon in Matukio 2.1.10 integriert, musst du eigentlich nichts mehr machen. Hast du neben Öffentlich, Registriert und Spezial noch eine zusätzliche Zugriffsgruppe erstellt?

Viele Grüße,

Yves

Events visible to the wrong Users 11 years 3 months ago #19262

  • Andreas Frischholz
  • Andreas Frischholz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hallo zusammen,

also bei mir funktioniert die ACL überhaupt nicht. Wenn ich z.B. unter "Kategorien" auf "Optionen" klicke und anschließend die "Frontend ACL Einstellungen" ändere, werden diese beim klicken auf "Speichern" wieder in den Ausgangszustand zurück gesetzt. Ich weiß allerdings nicht, ob das nur bei mir so ist?!
Und noch ein kleiner Hinweis am Rande: In der "Kategorie"-Ansicht gibt es leider keinen "Hauptmenü" bzw. "Zurück"-Button.

SG!

Events visible to the wrong Users 11 years 3 months ago #19268

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hallo Andreas,

welche Matukio und welche Joomla Version hast du?

Viele Grüße,

Yves

Events visible to the wrong Users 11 years 3 months ago #19275

  • Dirk Stegner
  • Dirk Stegner's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 3
Hallo Yves,

vielen Dank für die schnelle Rückinfo. Zum Teil ist das Problem nun mit Version 2.1.10 behoben. Aber hübsch der Reihe nach und so, dass man es besser nachvollziehen kann:

1. Ich habe zwei Kategorien angelegt, eine öffentlich, eine für registrierte User (Standardauswahl registriert; keine eigenen Gruppen etc.)

2. Die normale Listenansicht funktioniert jetzt korrekt, d.h. eine Veranstaltung wird angezeigt, die nichtöffentliche nicht. Nach Anmeldung alle beide. Paßt so.

3. Problem gibt's aber weiterhin mit mod_matukio-Modul. Dieses habe ich auf der Startseite verbaut und hier werden grundsätzlich auch ohne einloggen die nichtöffentlichen Veranstaltungen mit angezeigt.

Kann ich hier auf die Schnelle noch was ändern / anpassen?

Gruß

Dirk

Events visible to the wrong Users 11 years 3 months ago #19278

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm das Modul ist relativ veraltet und wir mit 2.2 durch 4 neue ersetzt. Der Fehler liegt irgendwo in der mod_matukio.php um die Zeile 126 - das Modul ist leider nicht auf ACL von Joomla 2.5 optimiert. Auf die schnelle habe ich da jetzt leider auch keine Lösung :unsure:

Viele Grüße,

Yves

Events visible to the wrong Users 11 years 3 months ago #19280

  • Dirk Stegner
  • Dirk Stegner's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 3
Ab wann wird's die 2.2er Version voaussichtlich geben?

Gruß

Dirk

Events visible to the wrong Users 11 years 3 months ago #19300

  • Andreas Frischholz
  • Andreas Frischholz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hallo Yves,

Matukio 2.1.10

Joomla! 2.5.8

SG!

Events visible to the wrong Users 11 years 3 months ago #19306

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hallo Andreas,

eventuell ein Rechteproblem, anders kann ich mir das nicht erklären, werde ich bei mir noch mal durchtesten.

Ein erster Release Candidate von Matukio 2.2 sollte noch jetzt im Januar erscheinen.

Viele Grüße,

Yves
  • Page:
  • 1
Time to create page: 0.156 seconds