Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Fixing StudioShop Registration Features

04-24-2018, 10:36 AM
# 1 (permalink)
itips9273

Hi,

While preparing for the new GDPR legislation (https://www.eugdpr.org/eugdpr.org.html) that becomes law on May 25, 2018, I've been making some changes to our website.

I've set up our registration page at: https://www.internettips.com/users/registration/ so that new users must first accept our privacy policy and website terms of use before they can register or contact using our contact form (I know that's drastic but it still works fine for us).

However, in order to get this to work properly, I have to disable that nice styling normally used within the YouJoomla.com StudioShop template.

Why: because it looks like the YJSG framework omits some of the core Joomla functionality, so doesn't fully implement the Joomla registration features.

As a result, every time I install an update for the YJSG framework, I usually just rename the registration override folder at: /plugins/system/yjsg/includes/html/com_users/registration to something other than the default, which then allows / forces the default Joomla registration system layout to display - which of course is not as nice as the previous YJSG Framework look and feel.

Therefore, my question is for someone at YouJoomla.com: can you install the missing Joomla core features, so that when a YJSG framework update is installed, I don't have to keep renaming the registration override folder?

Or do you have another fix?

Of course, the same issue will affect every YouJoomla template that uses the YJSG framework.

Please confirm. Thank you.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: https://www.internettips.com/users/registration/

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Personal
04-24-2018, 11:53 AM
# 2 (permalink)
neo
Place the change in your template , not the plugin

templates/template_name/html/com_users/registration

and advise what is missing so that we can take a look
04-24-2018, 05:19 PM
# 3 (permalink)
itips9273

Hi Neo,

Thanks for the come-back.

What I should have also said previously is that I've not made any changes to any plugins, only renamed a plugin folder, as outlined below.

What I did was use install the "GDPR Bundle" from RicheyWeb.com (3 plugins): https://www.richeyweb.com/software/j...34-gdpr-bundle, though the relevant plugin for this problem is the "Fields - Terms of Service" plugin: https://www.richeyweb.com/software/j...rms-of-service

The idea is to display the extra check boxes for "Website Terms and Conditions" and "Privacy Policy" on the registration page, which I've done.

However, at present, if I don't rename the /plugins/system/yjsg/includes/html/com_users/registration folder to something like /plugins/system/yjsg/includes/html/com_users/registration-temp-disable, those 2 check boxes don't display on the registration form page at: https://www.internettips.com/users/registration/

So if I can get the 2 check boxes to display while still using that beautiful YJSG styling, that would be superb.

Please advise.

Thank you.
04-25-2018, 09:51 AM
# 4 (permalink)
neo
ok , il take a look at the issue by Friday and report back, if for any reason I do not respond by than please bump the thread and I will do so. At this moment all hands are here https://themezly.com/
04-30-2018, 10:02 AM
# 5 (permalink)
itips9273

* Bump *

Hi Neo, have you had a chance to check out the YJSG framework issue?

Thanks.
04-30-2018, 11:02 AM
# 7 (permalink)
neo
well , I need that plugin to see what they are trying to do since there is no
joomla way to add the form fields unless you writte them in the xml.
I assume they must overwrite the reg xml which is already done here ,

https://github.com/YJSGframework/yjs...gistration.xml

https://github.com/YJSGframework/yjs...lt.php#L16-L17


so if you need checkboxes you could move these 2 files
com_users/registration/registration.xml
com_users/registration/default.php

to template html folder like so http://prntscr.com/jbys4d

and either modify the xml and add 2 fields , or comment this out so that their plugin overwrites it

https://github.com/YJSGframework/yjs...lt.php#L16-L17

that way when plugin is updated there will be no override and template controls it.

Another thing you could try is to move their system plugin ( I assume it is system ) to fire after YJSG plugin . But I cant assure it will work since I dont have it
04-30-2018, 11:06 AM
# 8 (permalink)
neo
not sure if you understood what I mean but here is simple explanation

https://github.com/YJSGframework/yjs...lt.php#L16-L17

line 16 resets default registration form
line 17 tells the view what reg xml file to use.

once you understand that you can use any xml to load on the reg.

Reason why we had to do this is to add form styles since joomla did not leave us any other choice,
https://github.com/YJSGframework/yjs...ration.xml#L10
04-30-2018, 12:49 PM
# 9 (permalink)
itips9273

Great, thanks for your help Neo: I'll get those changes implemented soon.
05-04-2018, 11:59 AM
# 10 (permalink)
itips9273

Hi neo,

Sorry for the delay in getting back (there's never enough time :-)

Just an update ...

Today, I've had some time to implement your template overrides suggestion on 2 YJSG framework-based sites now and of course, it looks like it works like a charm, so thank you.

It's nice to get those nicely styled YJSG finishes back :-) - and with the "recipe", should help make these websites more GDPR-compliant (if that get interpreted strictly by whomever decides over in the EU, UK, or elsewhere).

Since I'm pretty sure the template overrides will stay in place with any new YJSG framework updates, I'll mark this thread as closed.
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

Members Login

Username
Password