Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 2 of 2

Thread: vBShop integration

  1. #1
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    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']);

  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
  •