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 5 of 5

Thread: vBA CMPS

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

    Default vBA CMPS

    If vBA CMPS generates your portal main page and you forum is in subdirectory you can integrate it just like it is described here: http://www.vbenterprisetranslator.co...-2.html#post54

    Still you can have issue with flags, to solve it you have to:
    1. Copy images from vBET package to your portal main directory
    2. Edit file /includes/vba_cmps_include_top.php
    3. Find:
    PHP Code:
    eval('$navbar = "' fetch_template('navbar') . '";'); 
    4. Put BEFORE:
    PHP Code:
    global $vbenterprisetranslatorflags;
    global 
    $vbenterprisetranslatorflagsdropdown
    Without this vBA CMPS will not see vBET flags variables because navbar is evaluated inside of a function.

  2. #2
    Junior Member
    Join Date
    Apr 2010
    Posts
    18

    Default

    Thanks Michal, works fine now.

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

    Default

    No problem vBA CMPS supports hooks - unfortunately in this place hook is after navbar is evaluated and all hooks before we found are inside of some if statements. So we are not able to write simple plugin which would add this automatically without any file edition. If we miss something in hooks there - let us know and we will check it again, and maybe it will be possible to give solution without file changes. At this moment please just made this simple change

  4. #4

    Default

    Quote Originally Posted by vBET View Post
    If vBA CMPS generates your portal main page and you forum is in subdirectory you can integrate it just like it is described here: http://www.vbenterprisetranslator.co...-2.html#post54

    Still you can have issue with flags, to solve it you have to:
    1. Copy images from vBET package to your portal main directory
    2. Edit file /includes/vba_cmps_include_top.php
    3. Find:
    PHP Code:
    eval('$navbar = "' fetch_template('navbar') . '";'); 
    4. Put BEFORE:
    PHP Code:
    global $vbenterprisetranslatorflags;
    global 
    $vbenterprisetranslatorflagsdropdown
    Without this vBA CMPS will not see vBET flags variables because navbar is evaluated inside of a function.
    http://www.vbenterprisetranslator.co...54-post13.html

    i couldnt make this to work for cmps. the flags show but the translation goes to page not found

    i have vbadvnaced index.php in root and my forum is in /forums/
    Last edited by tsak76; 03-07-10 at 23:59.

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

    Default

    Quote Originally Posted by tsak76 View Post
    http://www.vbenterprisetranslator.co...54-post13.html

    i couldnt make this to work for cmps. the flags show but the translation goes to page not found

    i have vbadvnaced index.php in root and my forum is in /forums/
    As I understand you fallowed instructions for integrate pages outside forum directory. Please show me your whole .htaccess file from your main directory (NOT from forum).

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
  •