Topic-icon Social Registration Page > BUGs

Active Subscriptions:

None
4 years 1 month ago #66185 by joomleb
Hi guys,
I cannot post here: www.sourcecoast.com/forums/jfbconnect/jf...stration-page-issues
Where the discussion never has been solved / finished. About:

7 - BUG - Solidres Profile Details tab Joomla User Registration
On the Social Registration page, as described on that topic, the Solidres User Registration tab is called and added at the end of the page.
As far as you can see from the image: photos.app.goo.gl/8yhb8Ajz1C7rqMmR6
there is no any ID / CSS class suffix added to each fieldest grops (so, will be able to apply, at least, a "CSS display none")

7 - Solution:
To add an ID / Class to each fieldset like; <fieldset id="unique" class="span6"> - stack overflow -
Please, Can you add it as soon as possible ?


5 - Login / Register buttons - Right now:

SCLogin
- Login button - class suffix now is "btn btn-primary" - (okay, could be right following the Joomla one)
- Register button - class suffix now is "btn" - (on my site, for example, I'm using the btn btn-warning class for it)
Social Registration Page
- Login button - class suffix now is "button" - awful, it should be the same as the one for the module
- Register button - class suffix now is "button.validate" - awful, it should be the same as the one for the module

5 - Solution:
to deprecate and to clean all the buttons CSS code, then, to add
- SCLogin module > Login View Settings > "Login Button" class suffix field
- SCLogin module > Login View Settings > "Register Button" class suffix field
These two classes suffxes (Login button and Register button) should be inherit from the Social Registration Page Login button / Register button
The topic has been locked.
Active Subscriptions:

None
4 years 1 week ago #66230 by joomleb
Hi guys,
it seems that you literally forgot me... Please, about point 7, How can I add the CSS class to it ? ...and so be able to hide it ?!? Please Can you add it as soon as possible ?
Waiting your support I'm going to add this Bug:

8 - The Social Registration Page Social Icons are pointing always directly to the .../media/sourcecoast/images/provider/facebook/icon.png... .../media/sourcecoast/images/provider/google/icon.png etc. - here the image for you: photos.app.goo.gl/hKBHjDaFBoZCVK5f7

8 - Solution:
they should follow the "JFBConnect > Configuration > Facebook/Google/ etc. > Default Login Button" settings, this will solve also the .svg support missing...
The topic has been locked.
Active Subscriptions:

None
4 years 1 week ago #66244 by joomleb
Hi guys,
after more than three months , just to know, Please, Do I have any hope of receiving support?
The topic has been locked.
Support Specialist
4 years 1 week ago #66248 by alzander
I'm very sorry for the delay. Your issue has taken longer than expected to investigate as much of it deals with templating or other extensions, which both necessitate more custom investigation.

As to your remaining issues:

7 - Solution:
To add an ID / Class to each fieldset like; <fieldset id="unique" class="span6"> - stack overflow -
Please, Can you add it as soon as possible ?

We will investigate the best way to add. However, CSS can target this. We'd recommend a few possible solutions that may be best for you:
* Use a CSS nth-of-type selector. With that, you can do something like:
#jfbc_loginregister_newuser fieldset:nth-of-type(2) {
    display: none;
}
* Use a template override for the loginregister.php file and add your own suffix to the fieldset. You can create a template override by copying /components/com_jfbconnect/views/loginregister/tmpl/default.php to /templates/<YOUR_TEMPLATE>/html/com_jfbconnect/loginregister.php
In there, around line 75, you'll see a block like:
.           $addedDesc = false;
                foreach ($this->form->getFieldsets() as $fieldset): // Iterate through the form fieldsets and display each one.?>
                    <?php $fields = $this->form->getFieldset($fieldset->name); ?>
                    <?php if (count($fields))
                    {
                        ?>
                        <fieldset>
Update that too:
$section = 0; // ADD THIS 
                $addedDesc = false;
                foreach ($this->form->getFieldsets() as $fieldset): // Iterate through the form fieldsets and display each one.?>
                    <?php $section++; ?> // ADD THIS
                    <?php $fields = $this->form->getFieldset($fieldset->name); ?>
                    <?php if (count($fields))
                    {
                        ?>
                        <fieldset class="section_<?php echo $section";?>"> <<--- UPDATE THIS
Then, you can use CSS to select .section_x appropriate to where that code is falling.

5 - Login / Register buttons - Right now:

Thanks for the explanation. We've added this to our issue tracker and will change the name in the next release and investigate the button style option like you mention above. I think that's a good idea. For now, you'll need to target that button with CSS or perform an override (like described above) to set the class to something better.

8 - The Social Registration Page Social Icons are pointing always directly to the .../media/sourcecoast/images/provider/facebook/icon.png...

This would be a bug if that's happening. The default used in the Configuration area is what's supposed to be chosen. If no selection is made there (somehow, as that shouldn't happen), then icon_label.png would be the fallback file. Since you show icon.png, it seems like the selection in the admin area may not be correct. Can you verify you've selected the SVG in the admin area properly?

Again, sorry for the delay. We'll be more responsive with this going forward.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
4 years 1 week ago #66249 by joomleb
Hi Alex,
really many thanks for your reply, so:

5 - Login / Register buttons
I'll stay tuned... Meanwhile, Please, Can you tell me Where and How can I change these Classes Suffixis manually ?

7 - User Solidres plugin tab:
- "We will investigate the best way to add" - As you now Solidres team suggested "to disable plg_user_solidres during run time to remove the profiles section". Anyway, it is happening a strange thing that maybe can help you during investigation: Right now on that site also another Component "DPCalendar" have created its User tab, but only the Solidres one it is dragged into your Social registration page...
- the use of CSS nth-of-type selector is running right now to solve the urgents, many thans for your suggestion, I learned something also today.

8 - The Social Registration Page Social Icons
Yes, I verified and I can confirm that I selected properly the SVG in the admin area. Please, Can you confirm the BUG ? (Or Am I still missing anything else ?)

9 - Login / Register Languages Strings - NEW
You are using doubles languages strings for the same things into SCLogin and JFBConnect, this is causing a bit of more useless code and a bit of more work for us when using languages overrides. An example are these languages strings:
MOD_SCLOGIN_LOGIN >>> COM_JFBCONNECT_EXISTING_USER_REGISTRATION
MOD_SCLOGIN_REGISTER_FOR_THIS_SITE RegistraciĆ³n >>> COM_JFBCONNECT_REGISTER_WITH
MOD_SCLOGIN_USERNAME >>> COM_JFBCONNECT_USERNAME

9 - Solution
to deprecate those JFBConnect Languages Strings and to point them to the same SCLogin Languages Strings


PS - "Again, sorry for the delay" - As you now I'm an historic customer and I have to say that I have never had support problems from you (this is because people can read well, NEVER!). That's why I wrote it, because it seemed really very strange to me...
The topic has been locked.
Support Specialist
4 years 1 week ago #66253 by alzander

5 - Login / Register buttons

We've already started implemented the code to add your own classes to the buttons. It will be in the next release.
Until then, you can change the styles in the following files:
For the JFBConnect registration page:
/components/com_jfbconnect/views/loginregister/tmpl/default.php

SCLogin views, one of the below (depending on how you have it configured):
/modules/mod_sclogin/tmpl/joomlaLogin_horizontal.php
/modules/mod_sclogin/tmpl/joomlaLogin_vertical.php

Right now on that site also another Component "DPCalendar" have created its User tab, but only the Solidres one it is dragged into your Social registration page...

It depends on how that extension is adding its fields. The proper way is through a plugin hook, which we call properly to ask any plugins if they want to add fields to the registration page. My guess (though I don't know this for certain) is that DPCalendar is using some other method to add their fields to the registration page that we don't support.

8 - The Social Registration Page Social Icons

Let us check and see if we can recreate this.

9 - Login / Register Languages Strings - NEW

The SCLogin module is distributed as a standalone module and doesn't require JFBConnect. Similarly, JFBConnect doesn't have to use the SCLogin module. There are also times when users want different strings for different areas to be longer or have different terms. Therefore, we have the strings defined in both. It's possible we could condense these, but I'm not going to say we will until we investigate and think through it a bit more.

I hope that helps!
Alex
The topic has been locked.
Active Subscriptions:

None
4 years 6 days ago #66255 by joomleb
Hi Alex,

5 - Login / Register buttons
Many Thanks! I'll stay tuned. In the meantime, you can see the changes applied manually here

7 - Solidres User fields
Thanks for the explications I stay tuned to have new as you finished to investigate...

8 - The Social Registration Page Social Icons
Please, Have you checked ?

9 - Login / Register Languages Strings
--- "The SCLogin module is distributed as a standalone module and doesn't require JFBConnect" = Infact I suggested that the SCLogin module language strings are the mandatory
--- "Similarly, JFBConnect doesn't have to use the SCLogin module" = Not "to use", but it is always included into the JFBConnect installation
--- "There are also times when users want different strings for different areas to be longer or have different terms" = I specified in my suggestion, just for the ones that cannot really change (on the same site) as in my examples... (Login button, Register button, Email field, Password field... etc.)
"It's possible we could condense these, but I'm not going to say we will until we investigate and think through it a bit more" = I'll stay tuned to now your response...
The topic has been locked.
Support Specialist
4 years 3 days ago #66268 by alzander
5) Looks good!

7) Keep us posted on what you find

8) I just checked this on a few sites. In the Global Configuration area, I select the SVG that I want to use that's set in the /media/sourcecoast/images/provider/facebook directory. Then, if I go to the Joomla registration or login page, I'm able to see the selected SVG file. I did see a problem where the SVG is not always displayed in the admin area (it had a bubble to select it, but the image was invisible). We'll have to fix that, but when selected, it display.

9) We'll keep you posted on what we decide on this. Right now, we're not planning to make a change to the language strings.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
3 years 11 months ago #66340 by joomleb
Update on JFBConnect 8.4.2 release:

5 - The Button Classes have been added > Tested and they are working lie a charm, Thanks !

8 - The BUG is still there:
In Global Configuration area, I select the SVG that I want to use. They are shown correctly into the Registration page and the Login page, while they are still NOT shown correctly into the Social Registration page. Instead to show the ones I selected, the Social Icons are shown from this directory:
.../media/sourcecoast/images/provider/facebook/icon.png (facebook and the others)

Please, Can you check and let us know ?
The topic has been locked.
Support Specialist
3 years 11 months ago #66362 by alzander
I guess I'm confused then. You mention they are properly shown on the registration and login pages.. but "NOT shown correctly into the Social Registration page". What is the 'Social Registration' page? Is that the Login/Register page of JFBConnect where a user is sent to finalize their registration after authenticating with a social network?

If you can provide a URL or query string portion of the URL, that would really help us understand where you're seeing this problem. I don't think I read your above messages correctly that it's working on the standard Login & Register pages but not this other specific page. Sorry for missing that.

Thanks,
Alex
The topic has been locked.