42 Posts
IBeRKa
11 years ago
2
Topic

Hello @ll!


I'm looking for a best practice solution when using seblods multisite feature combined with Community Builder.

The problem is: one should use module "CB Login" instead of normal Joomla! Login module, BUT this works obviously different (and maybe better?) than normal login module. When going on one of the multisites, the CB login greets you with "hello, [multisite_name]" and offers a button to logoff - you obviously seem to be logged in with the user that Seblod creates automaticalls when you create a multisite.

At the same time the normal joomla Login invites you to login with the usual empty login form - you obviously seem to be NOT logged in.


Suggestions for the best was to deal with this? 


Thanks a lot in advance for any helpful advice or suggestions! :-)


Kind regards,
Me

Get a VIP membership
11 years ago
1
Level 1

I probally don't understand you right but you Simply probally need this Information to go forward: SEBLOD Multi Site has settings for user Permissions if you set the titel and so on look at the right down corner and there is a sign for permissions you choose a not logged in user that gets logged in if your not logged in its called guest user ^^ so you need in you template or mod a way to say the user with ID for example 811 is the guest user so you simply set the ID to 0 in the script for Compatiblity. so you need to add simply some lines of php like 


$userID = $user->get('id');
if ($userID == '866') $userID = "0"; // ds_changed 

then you can make the same check on the if show logged in msg and if logged of MSG with the PHP var $userID you don't use the original $user->get id var and overwrite it coz then it comes to the fail that the user 0 simply has no access to the page ^^ coz he is not the selected guest only user of the multi site.

this is enought if you modify the modul directly and you can assign moduls to diffrent sites with the access lvl simply give the modul a access level that applys only to one site.

hope that could help a bit since i don't realy understood what you exactly trying to do.

42 Posts
IBeRKa
11 years ago
0
Level 2

Ahoy DirektSpeed!


First of all: PLEASE use interpunctation! (you know, this thing with commas and dots at the end of a sentence) No offense intended, it's just a bit hard for me to get the meaning of what you write when not knowing where a sentence ends and where the next one start, you know?


Okay, having said this: Thanks for reminding me to the little button to click at the right bottom when you want to change ACL settings for a site! When I chose NO(!) User Group as Guestgroup, CB Login Module then also shows - just as nomal login - a form to login (instead of greeting the user Seblod created for this site). "Problem" solved.


Kind regards,

Me

Get a VIP membership