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

Thread: Support for vBadvanced CMPS

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    Default Support for vBadvanced CMPS

    Text automatically translated from: German to: English
    Translated text
    Hello,

    It would be great if vBadvanced CMPS would be supported with. The portal is located on the index.php, I switch the language around here, then I land the Forum Home page (in my forum.php). So I get the portal page to be translated.

    Thanks and regards,
    Hangman
    Original text

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

    Default

    Hello,

    we are planning to support most popular mods which will need special integration. At this moment we have lot of work on 3.3.0 version. After that we will made integration with vBulletin 4.0 and then we will put our attention on other mods.

    Still we are ready all the time to support mod authors which would like to made integrations themselves, by answering them which code is needed and where it should be put.

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    22

    Default

    Text automatically translated from: Polish to: English
    Translated text
    How can I do to be parsed vbcmps langtitle pages.

    ps.
    This is a continuation thread raised in this topic: http://www.vbenterprisetranslator.co...e-richtik.html
    Original text

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

    Default

    Text automatically translated from: Polish to: English
    Translated text
    I am glad that you want kontynować it at this point

    Generally you need to find a place where the mod sets the values for tytuów, which then displays, and then add the following piece of code there (sometimes you have to modify it yet - here I will help as someone willing to submit to already zanużony code). Entering additional code directly in the code is the simplest fashion, though not necessarily the best.

    Sample code to be included (you need to rename a variable representing the title $ Title):
    PHP Code:
    if (strpos($title'[/langtitle]')) {
      require_once(
    DIR'/includes/vbenterprisetranslator_functions_bbcode.php');
      
    $title vbet_parseTitle($title);  

    As I may need a minor change this code - in the case if the title is then cut, but I can only show the code in seeing who you are zanużyć.
    Original text

  5. #5
    Junior Member
    Join Date
    Oct 2009
    Posts
    22

    Default

    Text automatically translated from: Polish to: English
    Translated text
    I did

    As you wrote you had to modify some code.

    The expression $ title had changed to $ thread [title]

    In line 253 in file recentthreads.php (Forum root/ Modules /) I added the following code:

    Code:
    			// Langtitle
    			if (strpos($thread['title'], '[/langtitle]')) {
      require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php');
      $thread['title'] = vbet_parseTitle($thread['title']);  
    }
    It's almost everything.

    I have one small problem with that.
    If, on my Polish Forum "Recent topics" is the subject written in Russian, is changing the language to Russian, I received a blank white page. (Other languages are working fine.)


    Original text
    Last edited by jaryx; 19-01-10 at 06:55.

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

    Default

    Quote Originally Posted by jaryx View Post
    Text automatically translated from: Polish to: English
    Translated text
    I have one small problem with that.
    If, on my Polish Forum "Recent topics" is the subject written in Russian, is changing the language to Russian, I received a blank white page. (Other languages are working fine.)
    Original text
    Text automatically translated from: Polish to: English
    Translated text
    And if there is any information in server log? Please Podeślij exact link to the page of "recent topics" and write on what exactly click to see the white page.
    Original text

  7. #7
    Junior Member
    Join Date
    Oct 2009
    Posts
    22

    Default

    Quote Originally Posted by vBET View Post
    Text automatically translated from: Polish to: English
    Translated text
    And if there is any information in server log? Please Podeślij exact link to the page of "recent topics" and write on what exactly click to see the white page.
    Original text
    Text automatically translated from: Polish to: English
    Translated text
    It turned out that white page appears only on my FireFox Cookies ....

    But anyway I have a problem.

    After adding the code before the name no longer appears to me the message: [langtitle =
    Unfortunately, as I change the language, the themes written in a foreign language are not translated, and are still in Polish.
    Written about the original in Russian: "возьмите в лигу" both in the Polish language, Russian and every other page vbcmps displayed as: "Take in the league"

    Code:
    http://fifa.pes.com.pl/
    Resolved. Until silly to admit, but I am using vB Optimise and probably just the cache is not refreshed and therefore these problems.

    Thank you for your solution.
    Original text
    Last edited by vBET; 09-08-10 at 22:23. Reason: corrected bbcode

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
  •