Topic-icon Can i set an alias ?

Active Subscriptions:

None
6 years 9 months ago - 6 years 9 months ago #62256 by Vizionz16
component/jfbconnect/?view=loginregister&provider=facebook&return=miscnumbers=

can the social register page be an alias so component jfbconnect is hidden no components on my website are shown

Like i have modules all over for custum pages. and that page just is so out of place. it just shows a menu and a bunch of forms. no header image or anything.
Last edit: 6 years 9 months ago by Vizionz16.
The topic has been locked.
Support Specialist
6 years 9 months ago #62264 by mel
Replied by mel on topic Can i set an alias ?
One suggestion would be to use our Automatic Registration setting. Instead of going to this mini-registration page, the user would automatically be created. Beyond that, no, we don't have a recommendation on how to change that URL. It's only shown during registration and generally shouldn't be indexed by search engines because no URLs link directly to that page. There are SEF extensions and other options that could let you setup a redirect from that page to another URL you'd want to use, but that would be setup in those extensions and not JFBConnect. With that said though, we recommend not using SEF extensions to alter most JFBConnect URLs because some social networks are extremely picky about URL structure and even the slightest change in structure can cause them not to allow authentication.

Sorry we don't have a better answer, but this just isn't something that's been brought up before so it's not something that we've worked or thought through a solution for.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 9 months ago - 6 years 9 months ago #62273 by Vizionz16
Replied by Vizionz16 on topic Can i set an alias ?
yeah, i like the automatic registration but hate the fact it creates usernames. Is it possible for the member to then change that username and it still work ? or are they stuck with FB-34423434 or whatever it gives you
Last edit: 6 years 9 months ago by Vizionz16.
The topic has been locked.
Support Specialist
6 years 9 months ago #62277 by mel
Replied by mel on topic Can i set an alias ?
Going forward, I'd suggest you look at the "Auto Username Prefix" setting in JFBConnect to choose a different format of the usernames from fb_ to something like first.last name. This will generate better usernames for you.

I just went to the Joomla users component on the frontend (index.php?option=com_users&view=profile) and changing the username is not an option when editing your profile. JFBConnect doesn't expose a way to change the username, as it's just a standard Joomla user after you've created and then we have a table to map the Joomla user to the Social Network user - you can see the mapping in JFBConnect backend > User Map area. If you already expose a way for the user to change the username, the mapping from the Joomla user to the social network user still works, since it's based on user id.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 9 months ago #62315 by Vizionz16
Replied by Vizionz16 on topic Can i set an alias ?
that only works for Facebook though so the issue is bigger than just Facebook. twitter and Instagram and other social registration will still be led to a page that can't be styled unless the modules are all issued as all pages. I find this a huge issue for my setup and makes the component itself look very unprofessional. like i would make a copy of my theme itself and just assign it to all jfbconnect if it was even possible but its not :(
The topic has been locked.
Support Specialist
6 years 9 months ago #62328 by alzander
Replied by alzander on topic Can i set an alias ?
I'm not sure what you mean by it's bigger than Facebook. Twitter, LinkedIn and most other social networks allow importing the user's email address. If automatic registration is enabled, then they will bypass the login or register page.

Some networks, like Instagram, don't allow the email to be imported though. You can make a code adjustment to force an Itemid onto that URL. That Itemid could be for any menu item you have and then you could assign modules to that menu item just for JFBConnect. To do so, edit the /components/com_jfbconnect/controllers/login.php file. Around line 123 you'll see:
$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return), false));
Update that with the right Itemid, like:
$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister&Itemid=XXX&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return), false));

I hope that helps,
Alex
The topic has been locked.