Hi,
I just upgrade to the latest JomSocial 3.2.1.4 . And then i realised access right from my menu is broken once i entered into JomSocial. It seems like the latest jomsocial did not carry the access rights to another menu.
Hi, Razlie.
If you set access rights to menu items in JomSocial toolbar - it will never work.
Items in JomSocial toolbar don't have OWN menu item ID but inherit it from parent element (usually its JomSocial frontpage placed in main menu).
And in Joomla! all access rights for certain URL are based upon menu item ID.
If you want to se access rights for certain pages of JomSocial:
1. Create hidden menu (menu that is not assigned to any module - not displayed on site)
2. Create NEW menu items that link to JomSocial main pages like Profile, Friends, Photos, Videos, Events and Groups
3. No set access rights to newly created menu items.
Ok.. Then how to you explained itv only happened after upgrading the new jomsocial... It's not happening in the old one... I can create one site for you to show it only occurred with the new jomsocial...
Hi, Razlie.
Yes, please, do a copy with previous version so we could see.
Ok I have created a development website for you to see it..
5r.com.my/~cloudybr/ybrwork/index.php
Account details are the same as before. You can try it
Hi, Razlie.
I'm sorry but you're wrong. I had to turn of SEF and caching to show you this.
Just like I said JomSocial toolbar menu items don't have OWN menu item ID but use parent menu item ID - in your case it's Komunity in Menu Melayu:
prntscr.com/4nmo7u
prntscr.com/4nmoa2
No, not logged in I go to Groups that has access set to REGISERED in JomSocial toolbar. It should have ID 191 and not allow me to see it as it's restricted but I can see it and ID is taken from Komuniti:
prntscr.com/4nmov0
prntscr.com/4nmoxd
Ok, you may say that this was working with enabled SEF. BUt upon what SEF is built? Upon menu items IDs and menu ALIASES related with them.
You may say that when SEF was enabled and you clicked on groups you was redirected to JomSocial frontpage and notice was displayed.
prntscr.com/4nmpos
Yes, but this is JomSocial behavior not related with restrictions set in Joomla!. Joomla! restriction for certain menu item id effect with redirection to com_users and displaying Joomla! login form.
Also on your copy you can notice issue that I told you about: when you enable SEF you can't reach e.g friends list but you're redirected to profile... and URL is displaying path to friends:
prntscr.com/4nmq2u
So as you can see it works as I described it...
Please, follow my advice in order to fix your navigation.
There is a way to restrict certain pages to registered only.
1. Create hidden menu - menu that is not displayed on site
2. Create NEW menu items that link directly to JomSocial pages to Profile, Friends, Events, Groups, Photos and Videos
3. Then restrict them to Registered just like usual in Joomla!
This will add menu item ID to main items in JomSocial toolbar.
But remember to change any JomSocial related menu items in language menus to menu aliases and you MUST have only ONE menu item that links to JomSpcial frontpage.
Hi Michal,
Sorry I guess I did not explained my problem correctly . Here is the problem.
Try to go to
www.yayasanbankrakyat.com.my
And login using registered user as I given to you.
And go to Menu Pengguna --> Permohonan PPBU
prntscr.com/4nmyk3
You will get that page .. which is suppose so..
And now klik on Komuniti, either from the Menu Pengguna or the main menu doesn't matter
prntscr.com/4nmz55
And then click back Menu Pengguna --> Permohonan PPBU
You will get a message that says in to register 1st.. Not as before ...
prntscr.com/4nmzku
That happened once I upgrade to the latest Jomsocial..
It is not happening in the previous Jomsocial as shown in
5r.com.my/~cloudybr/ybrwork/index.php
You can repeat the step as the one describe above and it will still shows the correct content..
Hi, Razlie.
OK, Now it's clear. I was able to replicate that behavior following your steps.
After repeating it for second time I get this:
prntscr.com/4nncd2
I don't see any relation with JomSocial. Ok, it happens after you browse to JomSocial and go again to previous page. But this is issue within Chrono Forms and you should ask them on the first place.
I don't see anything that needs to be fixed in JomSocial... please, contact with Chrono Forms developers and ask their opinion first.
Hi Michal,
I think the screen shot you shown happen because u click Keputusan PPBU instead of Permohonan PPBU. Anyway as I said this only happened after I upgrade JomSocial as I shown to you in the
5r.com.my/~cloudybr/ybrwork/
same configuration, only with the previous JomSocial version and everythings works..
So i recon it must be something that is wrong with the latest JomSocial update as this is not happening before ( I will ask Chonoform about this). Now I find another problem with the new version. Go to
www.yayasanbankrakyat.com.my
and go to Komuniti . Wait until the automatic login popup to come out..
prntscr.com/4nsh5f
Then login in as the admin user..
You will get this weird page ..
prntscr.com/4nshro
Maybe there is some javascript or ajax clashing ?? don't know..
Hi, Razlie.
1. Please, contact with Chronoform developers and ask them, I'll wait for their reply.
2. Please, open new thread for your new issue.