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: Opaque word in links - quick fix

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default Opaque word in links - quick fix

    A new feature opaque word for titles caused the issue in links. Quick will fix for the issue is:
    1. Open file includes/vbenterprisetranslator_functions_detection.php
    2. Find code:
      PHP Code:
      $index 0;
      $index_prev 0;
      $index_prev_s 0;
      while (
      true) {
      if(
      $index_prev_s!=$index_prev)
      {
      $index_prev=$index;
      $index_prev_s=$index_prev;
      }
      $index strpos($title,$ignored$index);
      $help substr($title,$index_prev, ($index-$index_prev));
      if (
      $index !== false) {
      if(
      vbet_containsSeparated($title,$ignoredLen$index)) {
      $index_prev_s++;
      if((
      strstr($help,"[langtitle=")) && (!strstr($help,"[/langtitle]"))) {
      $title substr_replace($title'[/langtitle]'.$ignored.'[langtitle='.$language.']'$index$ignoredLen);
      $index += VBET_LARGE_LANGTITLE_NT_LENGTH;
      }
      else
      {
      $title substr_replace($title''.$ignored.''$index$ignoredLen);
      $index += VBET_LANGTITLE_NT_LENGTH;
      }
      }
      } else {
      break;
      }
      $index += $ignoredLen;
      }
      $title str_replace("[langtitle=".$language."] [/langtitle]"" "$title); 
    3. Add before the code:
      PHP Code:
      /* 
    4. Add after the code:
      PHP Code:
      */ 

    This will only turn off opaque word for titles. In next release we will fix this issue.
    Last edited by Marcin Kalak; 17-10-12 at 19:06.

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
  •