*

wzzy

  • ***
  • 25 posts
Instant Messenger veronika
« on: February 11, 2017, 11:48:09 PM »
Hello,
1.how to avoid recive 2 messages when i have activated the option Replace Contact Seller Functionality on , on the veronika theme?
2. I tested the plugin and if i donºt have account i can"t read the message
« Last Edit: February 12, 2017, 12:20:32 AM by wzzy »

*

MB Themes

Re: Instant Messenger veronika
« Reply #1 on: February 12, 2017, 12:02:05 PM »
@wzzy
1) There does not exist solution
2) I would say that is natural
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
Re: Instant Messenger veronika
« Reply #2 on: February 12, 2017, 12:45:30 PM »
v1.0.3
- messaging is available also for unregistered users (without need to register)

*

MB Themes

Re: Instant Messenger veronika
« Reply #3 on: February 12, 2017, 01:39:02 PM »
@wzzy
That is correct, unregistered user can send message, can recieve it, but for sure cannot browse all messages on site.
How you identify what messages belongs to anonymous user?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
Re: Instant Messenger veronika
« Reply #4 on: February 12, 2017, 01:58:46 PM »
On other version, when i recived a message on the email i was able to open it on the web and answer to it without having account

*

MB Themes

Re: Instant Messenger veronika
« Reply #5 on: February 12, 2017, 01:59:44 PM »
@wzzy
That should still be possible (if you have unchecked "only registered can send messages...")
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
Re: Instant Messenger veronika
« Reply #6 on: February 12, 2017, 02:16:52 PM »
That is the problem, i have everything configured but iºm not able to read the message without account

*

MB Themes

Re: Instant Messenger veronika
« Reply #7 on: February 12, 2017, 08:44:34 PM »
@wzzy
Can you PM me login to your FTP, oc-admin and send link to some message you should be able to read?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Instant Messenger veronika and Zara
« Reply #8 on: February 18, 2017, 12:09:01 AM »
The plugin update 1.0.7 is not working

- I already have unchecked the option to allow just register users to send messages, and every time that I sent a message or if click on reply in the email that i receive is redirecting me to create a account, I would like to have the option like the last version for example redirected to the conversation domain.com/message/KKJGKJG

- Is there any code that I need to change?

- My domain is gt.lakompra.com
LaKompra.com

*

MB Themes

Re: Instant Messenger veronika
« Reply #9 on: February 18, 2017, 08:47:35 AM »
@Carlos Carcamo
Please PM me login to some user account, login to your FTP and your URL.
Wzzy also reported this, however I was not able to login into his website because of using SSL.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Instant Messenger veronika
« Reply #10 on: February 18, 2017, 02:21:09 PM »
@Carlos Carcamo
Please PM me login to some user account, login to your FTP and your URL.
Wzzy also reported this, however I was not able to login into his website because of using SSL.


Thank you very much for your help. I already send you a PM with the information
LaKompra.com

*

MB Themes

Re: Instant Messenger veronika
« Reply #11 on: February 20, 2017, 09:32:28 AM »
Ok, problem is that user menu can be shown just in case you are logged in (I think this differes on osclass versions).

In index.php of plugin it is required to replace:
Code: [Select]
osc_add_route('im-threads', 'im-threads', 'im-threads', osc_plugin_folder(__FILE__).'user/threads.php', true);
osc_add_route('im-thread-page', 'im-thread-page/([0-9]+)', 'im-thread-page/{page-id}', osc_plugin_folder(__FILE__).'user/threads.php', true);
osc_add_route('im-thread-flag', 'im-thread-flag/([0-9]+)', 'im-thread-flag/{thread-flag-id}', osc_plugin_folder(__FILE__).'user/threads.php', true);
osc_add_route('im-thread-notify', 'im-thread-notify/([0-9]+)', 'im-thread-notify/{thread-notify-id}', osc_plugin_folder(__FILE__).'user/threads.php', true);

osc_add_route('im-messages', 'im-messages/([0-9]+)/(.+)', 'im-messages/{thread-id}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', true);
osc_add_route('im-delete-message', 'im-delete-message/([0-9]+)/([0-9]+)/(.+)', 'im-delete-message/{thread-id}/{del-message-id}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', true);
osc_add_route('im-delete-attachment', 'im-delete-attachment/([0-9]+)/([0-9]+)/([0-9]+)/(.+)', 'im-delete-attachment/{thread-id}/{del-att-message-id}/{del-file-name}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', true);
osc_add_route('im-create-thread', 'im-create-thread/([0-9]+)', 'im-create-thread/{item-id}', osc_plugin_folder(__FILE__).'user/create_thread.php', true);
osc_add_hook('user_menu', 'im_user_menu_link');

With:
Code: [Select]
if (osc_is_web_user_logged_in()) {
  $menu = true;
} else {
  $menu = false;
}

osc_add_route('im-threads', 'im-threads', 'im-threads', osc_plugin_folder(__FILE__).'user/threads.php', $menu);
osc_add_route('im-thread-page', 'im-thread-page/([0-9]+)', 'im-thread-page/{page-id}', osc_plugin_folder(__FILE__).'user/threads.php', $menu);
osc_add_route('im-thread-flag', 'im-thread-flag/([0-9]+)', 'im-thread-flag/{thread-flag-id}', osc_plugin_folder(__FILE__).'user/threads.php', $menu);
osc_add_route('im-thread-notify', 'im-thread-notify/([0-9]+)', 'im-thread-notify/{thread-notify-id}', osc_plugin_folder(__FILE__).'user/threads.php', $menu);

osc_add_route('im-messages', 'im-messages/([0-9]+)/(.+)', 'im-messages/{thread-id}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', $menu);
osc_add_route('im-delete-message', 'im-delete-message/([0-9]+)/([0-9]+)/(.+)', 'im-delete-message/{thread-id}/{del-message-id}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', $menu);
osc_add_route('im-delete-attachment', 'im-delete-attachment/([0-9]+)/([0-9]+)/([0-9]+)/(.+)', 'im-delete-attachment/{thread-id}/{del-att-message-id}/{del-file-name}/{secret}', osc_plugin_folder(__FILE__).'user/messages.php', $menu);
osc_add_route('im-create-thread', 'im-create-thread/([0-9]+)', 'im-create-thread/{item-id}', osc_plugin_folder(__FILE__).'user/create_thread.php', $menu);
osc_add_hook('user_menu', 'im_user_menu_link');

Carlos, on your site it is done.
Thanks
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
Re: Instant Messenger veronika
« Reply #12 on: February 20, 2017, 01:12:22 PM »
On mine workºs fine. Thank you!

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Instant Messenger veronika
« Reply #13 on: February 20, 2017, 03:09:39 PM »
Carlos, on your site it is done.
Thanks

I'm still having issues with the time, still with the error 6 hours ago. I attach the image. BTW thank you very much for resolving the problem with the non-register users.

This is the url for the conversation http://gt.lakompra.com/im-messages/5/T1djj5QoWn I start the conversation a few minutes ago

On mine workºs fine. Thank you!

With you permission I check the site of wzzy and I can see the error but just said 1 hours ago.
« Last Edit: February 20, 2017, 03:11:15 PM by Carlos Carcamo »
LaKompra.com

*

MB Themes

Re: Instant Messenger veronika
« Reply #14 on: February 20, 2017, 08:36:40 PM »
@Carlos
I will check it tomorrow.
I have feeling like some of my modifications disappeared on my server.

Btw on link you sent me I see correct times... I gues your server time is set to different time zone than your location time zone is.
« Last Edit: February 20, 2017, 08:44:55 PM by frosticek »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots