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.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Additional langtitle parsing issue

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

    Default

    Please PM access details to FTP, Admin CP and vBSEO CP. Since we are not able to reproduce it on our side we have to check it on our server.

    Please undo your changes before you give us access details (we need to see the issue to diagnose it) - you can made copies of files to easily bring it back again.

    As I wrote vBET 3.3.3 should parse langtitle globally, at this moment I'm not able to tell does it is some bug, conflict with other plugin, or wrong vBET update.

  2. #12
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    I'm traveling abroad this week, and will not be available to handle any backend website issues apart from those posted here on the forum.

    Could you show me where in the code the tag is globally parsed? I can then take a look and let you know if I can see why it's missing certain areas.

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

    Default

    open file: /includes/vbenterprisetranslator_functions_hooks.php

    and look for vbet_global_complete there is used function vbet_parseTitleGlobally (from /includes/vbenterprisetranslator_functions_bbcode.php)

  4. #14
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    Thanks! I will investigate this.

  5. #15
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    I've found a few more in the navbits on inlinemod.php and postings.php.

    Can you reproduce this behavior on this site, i.e. when editing a translated thread?




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

    Default

    During edition it is OK to leave it. You need to see original text to be able to edit it. That is why parsing is disabled on edition page. It should work this way and it is harmful - Google and other visitors see approved text, not during edition

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

    Default

    Does the issue still exists? What it the status?

    We are preparing for new release and want to solve all issues. If you found that it was some conflict - please confirm. If you cannot handle it - please PM access details, so we will be able to check it and in case of bug include solution in next release.

  8. #18
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    I've added the parsing manually to the locations listed in this thread. There are no more visible parsing problems.

  9. #19
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    Nevermind- found another: translated PM titles aren't parsed in the page titles on private.php

    Fixed by adding a plugin at private_complete:

    PHP Code:
    if (strpos($pagetitle'[/langtitle]')) {
    require_once(
    DIR'/includes/vbenterprisetranslator_functions_bbcode.php');
    $pagetitle vbet_parseTitle($pagetitle);

    Last edited by moman; 14-06-10 at 16:14.

  10. #20
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    And another:



    I couldn't find a way to fix this via plugins. Instead, I added this code to usercp.php:

    PHP Code:
    if (strpos($reputation['title'], '[/langtitle]')) {

                require_once(
    DIR'/includes/vbenterprisetranslator_functions_bbcode.php');

                
    $reputation['title'] = vbet_parseTitle($reputation['title']);

            } 
    Directly below
    PHP Code:

            
    $reputation
    ['timeline'] = vbdate($vbulletin->options['timeformat'], $reputation['dateline']);

            
    $reputation['dateline'] = vbdate($vbulletin->options['dateformat'], $reputation['dateline']);

            
    $reputation['reason'] = $bbcode_parser->parse($reputation['reason']); 
    Last edited by moman; 14-06-10 at 16:17.

Page 2 of 4 FirstFirst 1234 LastLast

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
  •