Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Admin only fields are no longer visible in the admin

11 years 6 days ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

I've upgraded to jomsocial3.2.0.3. All my "Admin only" fields have disappeared from the Monitor > Members screen. There's now nowhere to update or view the value of admin only fields.

I reinstalled 3.2_rc3 and everything is back to normal but I have issues on the front end on Joomla3.3 with users getting logged out continuously. We just need the admin fields visible in the admin again to keep going with this.

Can you please advise if this is a setting I've changed or if there's a fix in the works?

11 years 6 days ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi John,

can you provide screenshoot about "admin fields" on your backend like you mean ? i didn't got clearly about your issue.. maybe you can make 2 screenshoots here about after and before :)

about logout continously, this is because on joomla 3.3, joomla developer has changed joomla session and some profile code and this is because you jumped up when upgrading joomla, you skip joomla 3.2.4 update.. we have been fixed it on jomsocial 3.2.0.3...

Warm Regards,

David

11 years 6 days ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi David,

Here is the screen shot of the members screen in the administrator. Notice there are 4 groups of fields. There should be 7



I have 3 additional groups set up as admin only group/fields - Membership and Accreditation, Awards & Attendanaces and Admin The settings for the Membership and Accreditation group is visible below.



Here are the settings for one of the fields



Anything marked as "admin only" isn't showing on the first screenshot.

I'm aware of the logout issue. The update fixes it but introduces this issue with the admin fields.

REgards
John

11 years 6 days ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi David,

After completely uninstalling and reinstalling Jomsocial I still had the same issue. Anyway, I've tracked the issue to this file /components/com_community/helpers/owner.php
The function isCommunityAdmin() always returns false even though I'm logged in as the only Super Administrator.

I replaced this code;

if($jUser instanceof CUser && method_exists($jUser,'authorise')){
	if($jUser->authorise('core.login.admin')){
		$resultArr[$userid] = true;
		return true;
	} else {
		$resultArr[$userid] = false;
		return false;
	}
}

With this;
$user = JFactory::getUser();
return $user->get('isRoot');

And now I have my admin only fields in the backend and the front end works as expected. I'm not happy that it's a core file change but at least things are working for me again. Is this a bug in 3.2.0.3? Or just me?

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW