*

ally

  • ***
  • 33 posts
Need help on Instant Messenger Plugin
« on: December 01, 2017, 08:00:52 AM »
Hi,

I just bought this Instant Messenger Plugin ( https://osclasspoint.com/plugins/messaging-and-communication/instant-messenger-plugin_i50 )

1. How to disable the messenger to non-registered user. I want only the registered user to send message to seller.
2. I have to refresh the browser to update/receive the new message, how can I configure to be real time.
3. How can user delete the messages.


Please any help.

Thanks

*

MB Themes

Re: Need help on Instant Messenger Plugin
« Reply #1 on: December 01, 2017, 08:39:46 AM »
@ally
1) Place button into condition to be shown to logged users only (if(osc_is_web_user_logged_in()) { ... } ). I think there are already solutions for this
2) It would slow down your server and it's not feature that would be must. If you really looking for that, you can setup to refresh your site i.e. after 10 minutes of inactivity.
3) This must be enabled in plugin settings.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ally

  • ***
  • 33 posts
Re: Need help on Instant Messenger Plugin
« Reply #2 on: December 01, 2017, 05:51:42 PM »
Hi,

I found the answer on the number 1 problem.
Can anybody help or share how to replace the contact email with the messenger button.

thanks

*

MB Themes

Re: Need help on Instant Messenger Plugin
« Reply #3 on: December 01, 2017, 06:22:44 PM »
You can replace it in otem.php located in theme folder.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ally

  • ***
  • 33 posts
Re: Need help on Instant Messenger Plugin
« Reply #4 on: December 01, 2017, 07:34:18 PM »
I did manage to replace the email contact with the messenger form.

I use this code for messenger.

<?php
  if(function_exists('im_contact_button')) {
    if(osc_is_web_user_logged_in()) {
      im_contact_button();
    }
  }
?>

Now can somebody help me a code on how can I put a border on this so it will lined up with the phone number and contact seller.
I'm not good on codes.

Thanks for the help.

*

MB Themes

Re: Need help on Instant Messenger Plugin
« Reply #5 on: December 01, 2017, 07:49:42 PM »
Spent one hour to check css basics, believe me it will save you 10 hours of searching. It is very simple.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Need help on Instant Messenger Plugin
« Reply #6 on: July 11, 2018, 12:40:46 AM »
Please tell me how to replace this code in the subject Veronica. To open the Instant Messenger plugin. Below the code itself. I just want to replace the function. Without touching the styles of this button. Thank you very much in advance.

Code: [Select]
<?php if( !osc_item_is_expired() && (osc_logged_user_id() <> osc_item_user_id() || osc_logged_user_id() == ) && ( !osc_reg_user_can_contact() || osc_is_web_user_logged_in() )) { ?>
          <div class="contact-button btn btn-primary tr1 round3 i-shadow<?php if($mobile_found) { ?> mobile-found<?php ?>">
            <i class="fa fa-envelope"></i>
            <span class="top"><?php _e('Contact seller''veronika') ; ?></span>
          </div>
        <?php ?>

I understand that this is the part of the code that needs to be edited. How can this be done correctly?

Code: [Select]
<?php if( !osc_item_is_expired() && (osc_logged_user_id() <> osc_item_user_id() || osc_logged_user_id() == ) && ( !osc_reg_user_can_contact() || osc_is_web_user_logged_in() )) { ?>

*

MB Themes

Re: Need help on Instant Messenger Plugin
« Reply #7 on: July 11, 2018, 04:23:48 PM »
Remove existing code, add your own code. You may still need to update styles to look like before.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Need help on Instant Messenger Plugin
« Reply #8 on: July 11, 2018, 06:58:54 PM »
Yes, I inserted this code and adapted it for the mobile version and changed its style. Therefore, I ask how you can change the code so as not to violate the standard style. Can you tell me please? Thanks.

*

MB Themes

Re: Need help on Instant Messenger Plugin
« Reply #9 on: July 11, 2018, 07:11:43 PM »
I do not know how, put it there and adjust styles.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Need help on Instant Messenger Plugin
« Reply #10 on: July 13, 2018, 11:55:35 PM »
sadly;((