OS Property support center

Registration workflow

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 months ago #54082 by Stephen
Registration workflow was created by Stephen
Hi
A question concerning the workflow for registration.
I can as an un registered register a company, at the same time I also want to become the owner of this company and be able to add properties.
I understand that this does not work.
The next best thing would then be that I can be able to register as an owner and be able to add properties, this works well.
But on the same page, you can then also register as a agent and choose a company, I do not want (or need) this step.
Is it possible to simply opt out the step with the agent registration and just have the ownership registration.
Hope my explanation is clear to you.

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

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

More
9 years 4 months ago #54093 by Mr. Dam
Replied by Mr. Dam on topic Registration workflow
Hi Stephen,
In OS Property, when you go to "Agent registration" page, you can select to register to become an owner or an agent. And when you select to register to become an agent, you are able to select company.
Have you tried it?
Thanks
Dam

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

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 months ago #54096 by Stephen
Replied by Stephen on topic Registration workflow
Hi
Yes, but I do not want the agent part (I don´t need this), is it possible to take that away so it is just an owner registration?

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

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

More
9 years 4 months ago #54123 by Mr. Dam
Replied by Mr. Dam on topic Registration workflow
Hi,
So you only want to use Owner registration on that form? No agent anymore?
Thanks
Dam

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

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 months ago #54124 by Stephen
Replied by Stephen on topic Registration workflow
Hi
Yes thats correct.
And this is because my workflow is a little bit different.

The preferred workflow (for me that is) would be one (or both) of below:

A: You register as a "Company" and that makes you the Company "admin and owner" so that you could add and handle properties, agent and owner, by your self.

B: You register as a "Owner" so you could add and handle Company, properties and agents.

This is because for me an "agent" is already a person that works in the Company and so it should be the owner or that Company that adds an agent.

I´m not sure if this is possible to implement or not in future upgrade and mybe it´s only me that has this workflow.

I hope my explanation is clear

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

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

More
9 years 4 months ago #54125 by Mr. Dam
Replied by Mr. Dam on topic Registration workflow
OK, to remove dropdown agent from Agent registration form, pleae follow these steps
1. Open file: components > com_osproperty > helpers > layouts > agentregistration.php
2. find

<div class="control-group">
<label class="control-label" ><?php echo JText::_('OS_TYPE')?></label>
<div class="controls">
<?php echo OSPHelper::loadAgentTypeDropdown(0);?>
</div>
</div>

and replace by

<input type="hidden" name="agent_type" id="agent_type" value="1" />

Thanks
Dam

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

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 months ago #54165 by Stephen
Replied by Stephen on topic Registration workflow
Hi Dang
Thanks for your answer here but unfortunatly this did not work as expected.

"Type" was hidden but Company was still visible. Also the captcha figure disappeared.

If it´s possible to do, I would like to have it as the attached file.

Regards
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Attachments:

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

More
9 years 4 months ago #54183 by Mr. Dam
Replied by Mr. Dam on topic Registration workflow
Hi,
You can hide the dropdown select list Company by find this code and remove

<div class="control-group">
<label class="control-label" ><?php echo JText::_('OS_COMPANY')?></label>
<div class="controls">
<?php echo $lists?>
</div>
</div>

With Captcha, what's the captcha that you are using? Captcha of OS Property or reCaptcha?
Thanks
Dam

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

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 months ago #54211 by Stephen
Replied by Stephen on topic Registration workflow
Hi
It´s captcha of OS Property

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

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

More
9 years 4 months ago #54229 by Mr. Dam
Replied by Mr. Dam on topic Registration workflow
Hi,
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan