message after registration

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177321

-- HikaShop version -- : 2.3.3
-- HikaMarket version -- : 1.4.4

Hi
When a user creates a vendor account it redirects to a page whre it is just written :

Message

Thank you for registering at domain.com/ .

How to add a message to tell the new vendor what to do next. This message is quite "light" ...

Then as admin I received an email with the following :

HIKAM_EMAIL_VENDOR_REGISTRATION

Hi
VENDOR_CREATION_BEGIN_MESSAGE

VENDOR: test2223


seems like a bug in the translation ...
Please advise
Regards
CEd

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177326

PS : the vendor account is created but the user has to logout and login again to have access to the vendor account
(this test has been made from an existing user account that want to become a vendor)

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177336

Hi,

Thanks for the report.
I fixed the session problem for the vendor registration.

About the email, we already add the missing translations but I don't know what I could add in the email by default.
I have to admit that I don't have a really good idea for the content of this email.
If you have some things to propose, we are open to suggestions :)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ced1870

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177351

thank you for the fast answer. Do you have a test version to check the session fix ?
in my admin it tells "You have the latest stable version of HikaMarket Multivendor: 1.4.4" so I suppose that you have not yet released the fix :)

for the message. It could be a good idea to add a custom area in the options to write the text people want
1/ in the email body + subject that is sent to the new vendor
2/ the text shown in the page just after registration. So that for my example I can tell directly where to go next in the website to continue the steps and add a product.

Is it clear enough ?

I used another product for selling documents where all messages can be customized for the notification emails, and this is really good because each website is different and needs specific messages.

Let me know if you want me to make some tests, you can also contact me directly per email if needed ;)
CEd

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177354

Hi,

For the fix, please edit the file: "administrator/components/com_hikamarket/classes/vendor.php".
In the function "register" replace

		$status = $this->save($vendor);

		if($status) {
By
		$status = $this->save($vendor);

		if($status) {
			// Reset vendor in session
			hikamarket::loadVendor(false, true);

About the email, HikaMarket allows the email overrides thanks to HikaShop.
You can find all HikaShop/HikaMarket emails in the menu "System > emails" and customize the emails like you want.
My goal is to propose a default email which is "good for a start".
So thanks for your feedback, it is helpful !

The view "vendormarket / after_register" is used after the vendor registration ; and like the HikaShop view "user / after_register", the current view is empty but can be overridden and customized.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 5 months ago by Jerome.

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177380

oh yes, I have found the emails setup before. My bad. There are too much settings :D
I will test your fix tomorrow

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177483

I have tested your fix. The account access is ok now :)

But my main problem is still there : the user has to logout and login to see all the features of the vendor (I have made a special group with menu link that are only shown for this group). But this is in my mind a joomla problem that needs to login again to update the user rights. :(

That is why I think I have to override the message that is shown after the vendor reigstration.
Consider my problem solved.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177488

Hi,

So the problem is not link to that part of HikaMarket but to the plugin "vendor user group" which change the Joomla user group to a user after his registration.
The plugin does not logout the user and Joomla does not have a feature to refresh the user group of a user without having to logout/login.
We can add a feature to logout a user but it means that the user will have to login himself.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177514

right, it is a joomla "issue"
I have used an alternative solution by overriding the email content and the message content after registration. Then the user shows that he has an email to check and in the email it tells what to do :)
CEd

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177518

Hi,

I updated the plugin "vendor user group" in order to add a new option to logout the user.
It will be include in the HikaMarket 1.5.0 release.

But I still don't a solution to re-login the user or just do a refresh without having to logout the user.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177524

and changing just the message after the registration ? to tell the user to logout and login

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #177527

Hi,

You can already customize the text using language override.
And you can use the view override on the "after_register" view.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ced1870

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

  • Posts: 73
  • Thank you received: 3
9 years 5 months ago #177599

nd you can use the view override on the "after_register" view.

perfect ! this problem is solved by my side :)

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

Moderators: Obsidev
Time to create page: 0.083 seconds
Powered by Kunena Forum