Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Extending Jomsocial registration

10 years 2 months ago
  • Adry's Avatar
    Topic Author
  • Adry
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 2
Licenses:
JomSocial Active

Searching for a way to extend validation on Jomsocial registration forms and a way to add a field with attached file on registration, I found a closed topic of this forum:
www.jomsocial.com/forum/pre-sales-questi...iles-attachment-file
which recommends Chronoforms to achieve this results.
When I try to download Chronoforms files I get a red alarm of antivirus Kaspersky - HEUR:Exploit.Script.Blocker

Is that the only plugin to extend the registration Joomla+Jomsocial or you can recommend another tested one?

Also I'd like to ask if I can go through this article to achieve it:
www.jomsocial.com/blog/developer-tips-ex...omsocial-form-easily
and if it places new form fields on the first or second part of the registration

Thank you!

10 years 2 months ago
Licenses:

Hi, Adry.

Chronoforms: as advised by user, this extension could be use to extend JomSocial registration. About virus in package you should ask Chronoforms developers.

Yes, developer trick could work, you can give it a try.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
  • Adry's Avatar
    Topic Author
  • Adry
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you Michal,

Links for how to do it in the developer trick anyway are broken! ;(

10 years 2 months ago
Licenses:

- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Adry
10 years 2 months ago
  • Adry's Avatar
    Topic Author
  • Adry
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 2
Licenses:
JomSocial Active

Hi Michal,

Thank you for the corret links wich I went through, but actually it's not the solution I'm searching for since as I understand it's not talking about the registration form.

So please, allow me to start again.
I'm trying to extend Jomsocial registration form with 2 more fields: one for upload a file, and another one with a custom php validation (which will tell me if is a valid document number entered).
Can you address me from your point of view on a route to get this result?

Thanks a lot again!

10 years 2 months ago
Licenses:

Hi, Adry.

I'll ask our developers then.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 2 months ago
Licenses:

Hi, Adry.

In this case you could use Chronoforms or ask for help a developer: www.jomsocial.com/jomsocial-developers .
It's all we can do in this stage.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Adry
10 years 2 months ago
  • Adry's Avatar
    Topic Author
  • Adry
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 2
Licenses:
JomSocial Active

Hi Michal!

I managed to get the result I needed, and I'd like to share here with anyone else is trying to do the same:

#1) Add your own fieds files customizing it with the new field type name and the new php validation as per your needs (I based my new files on your text.php )
components/com_community/libraries/fields/newfieldtype.php
components/com_community/libraries/fields/newfieldtype.xml

#2) Change files (that is a hack, so you will need to change it every time you upgrade JS)
Go to components/com_community/libraries/fields/customfields.xml and add entries for your new fieldtype.
Go to components/com_community/libraries/core.php and add the path to the your custom field code
'CFieldsNewfieldtype' => '/libraries/fields/newfieldtype.php',
Add it to /** * Autoload class */ static function autoload_libraries($classname) { $classes = array(

;)

The following user(s) said Thank You: Michał
10 years 2 months ago
Licenses:

Hi, Adry.

Thank you for sharing this.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW