× Joomla Facebook Connect support forum

Topic-icon Terms dont show up

Active Subscriptions:

None
14 years 4 months ago #18553 by fb_683002041
Hi Alex I also sent you an email a while ago about this. I have no idea if its our template overwriting it, but as it is now there are no terms for the users signing up through Facebook at www.copenhagenbeta.dk :l
The topic has been locked.
Support Specialist
14 years 4 months ago #18573 by alzander
Replied by alzander on topic Terms dont show up
Morten,
Sorry if we missed your email. Our main email box gets overwhelmed sometimes, and shuffling tech support requests around via email are something we try to avoid.

I can see the lack of a terms box on your login page. Can you check the following:
* In the Profiles area of JFBConnect, the "Show Terms" setting is enabled
* If you have the following file:
/templates/<your_template>/html/com_jfbconnect/loginregister/default.php
Try renaming it to default_old.php and see if the Settings box shows. If so, it means your template override needs to be merged and updated with the one in /components/com_jfbconnect/views/loginregister/tmpl/default.php

If none of the above gets it going, let us know, and we'll figure out the next steps.

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

None
14 years 4 months ago #18797 by fb_683002041
Replied by fb_683002041 on topic Terms dont show up
Thanks we got it to work... Almost.
However it seems that no matter if the user accept terms or not he/she is still able to signup (and the terms are of no use).

What could be wrong?
The topic has been locked.
Support Specialist
14 years 4 months ago #18805 by alzander
Replied by alzander on topic Terms dont show up
I'm not seeing the Terms box on the page you linked to above, so can't be certain. We check the Terms box through Javascript to make sure that it's checked before submission. So, if Javascript is disabled, or the proper Javascript that we try to include to validate the box isn't included on the page, that's likely the problem.

Can you let me know what you did to get the box to show? That may help us understand what's going wrong now.

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

None
14 years 4 months ago #18954 by Kapet
Replied by Kapet on topic Terms dont show up
Hello Alex

I'm working on the same project as Morten, and we just do what you said, I merge the to files together and that fix the problem about not seeing the ToS box, and i have merge the java script. more exactly what i do:

i paste this code i the top of the document:
JHtml::_('behavior.keepalive');
JHtml::_('behavior.tooltip');

if($this->defaultValidationNeeded)
{
JHtml::_('behavior.formvalidation');
}

$profileFields = $this->profileFields;
?>

and this code where the ToS box will be:

<?php
foreach ($profileFields as $profileForm)
echo $profileForm;
?>

and use this dev.copenhagenbeta.dk insted there can you see the box
The topic has been locked.
Support Specialist
14 years 4 months ago #18979 by alzander
Replied by alzander on topic Terms dont show up
Kasper,
The problem is that Mootools isn't loading on the page. Looking at your HTML code, you're using the Google API library to try to load Mootools, instead of hosting it. The line for google.load of mootools is present. The line above it, loading the Google JSAPI is commented out though. Without that, the google.load call is failing.

I think that's the issue. I've never used the Google JSAPI loader before though, so this is new to me. I think when you fix that though, your validation issue will be as well.

Thanks,
Alex
The topic has been locked.