Buy Now! Features Downloads
Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By vBET

Thread: vBShop integration

  1. #1
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    2,720
    Blog Entries
    1

    Default vBShop integration

    vBShop has possibility to send PM. In this case if you have turned option to not translate usernames, there is need to integrate vBShop with vBET - otherwise PM have not translated areas included in message body. Integration is simple and requires only adding 1 line of code. This is not necessary if you do not use option to not translate usernames.

    Integration steps:
    1. Edit file /dbtech/vbshop/includes/class_items_core.php
    2. Find:
    $userids = explode(',', $this->config['notifications']);
    3. Put BEFORE it:
    $buyer['username'] =& str_replace(array('<!--vBET_SNTA-->', '<!--vBET_ENTA-->'), '', $buyer['username']);
    Taurus likes this.

  2. #2
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Default

    Thanks Michal. I can confirm that this works.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27