Joomdle Problem other domain (localhost)

  • hellykun
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #1 by hellykun
Hello dear Joomdle team,

I have a problem with Joomdle. I have transferred joomdle to another localhost server (on my laptop for demonstration purposes) from my pc.
The configuration is the same and I have recreated the Moodle Token just in case.

The problems are two:

a) The joomdle administrtion panel now shows many errors.
b) the single sign on does not work and the users that were registered using joomdle are not recognised in Moodle (can not login).

Another question tha I have:

I would like to not let the user give their own surnames on moodle. Is it possible to disable it or by any way pass a surname that I have stored in a table in my database? Thanks a lot.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Joomdle Problem other domain (localhost)
a) Maybe you have a different error reporting configuration in teh new host?

b) is system check all green?

You can disable Moodle profile field editing in Joomdle configuration in Moodle.

Please Log in or Create an account to join the conversation.

  • hellykun
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #3 by hellykun
Replied by hellykun on topic Joomdle Problem other domain (localhost)
Thanks a lot.

Two Questions:

a) Is it possible to disable the required Surname in Moodle?

b) Which are the files (joomdle - in joomla) that handle the user registration in Moodle? I would like to pass some custom data but I can not find the appropriate files (the file that passes the name, username, email, password into a moodle account)

Thanks a lot in advance.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Joomdle Problem other domain (localhost)
a) No, as far as I know.

b) It's not that simple to do what you want. Where is that custom data you want to pass stored? Maybe the best option would be to develop a custom joomdleprofile plugin to get it.

Please Log in or Create an account to join the conversation.

  • hellykun
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #5 by hellykun
Replied by hellykun on topic Joomdle Problem other domain (localhost)
The data are stored in a table in the Joomla database.
I am using chronoforms v5.

Is there any guide on joomdleprofile plugin development?
Thanks a lot.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Joomdle Problem other domain (localhost)
We don't have a guide yet... I will it write soon when I have some time, I promise :)

Basically you need to implement these events (or at least the ones you need):
onJoomdleGetUserInfo
onJoomdleGetFieldName
onJoomdleGetFields
onJoomdleCreateAdditionalProfile
onJoomdleSaveUserInfo
onJoomdleGetProfileUrl
onJoomdleGetLoginUrl

In a plugin of type joomdleprofile.
You can check administrator/components/com_joomdle/helpers/mappings.php for examples of how you can build these functions.

Please Log in or Create an account to join the conversation.