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 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Additional langtitle parsing issue

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default Additional langtitle parsing issue

    Using vbSEO. Screenshot attached.



    I will find a fix for this in the vBSEO function that handles this.

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

    Default

    In functions_vbseo_vb.php:

    find

    PHP Code:
    vbseo_thread_seotitle($getnextoldest); 
    replace

    PHP Code:
    vbseo_thread_seotitle($getnextoldest);
    if (
    strpos($getnextoldest['title'], '[/langtitle]')) {
    require_once(
    'vbenterprisetranslator_functions_bbcode.php');
    $getnextoldest['title'] = vbet_parseTitle($getnextoldest['title']);
    }  
    $vbseo_gcache['thread'][$getnextoldest['threadid']] = $getnextoldest

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

    Default

    This should be not necessary. Did you integrated vBET with vBSEO like it is described in readme.html file? Which version of vBET are you using? Last one have global langtitle parsing functionality.

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

    Default

    Yes and I'm using the latest version, 3.3.3.

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

    Default

    Strange. Please tell us how to reproduce the issue - we will work on more elegant solution which will not require additional vBSEO files change.

    Can you reproduce it on out server? I.e. in test messages area?

  6. #6
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    No, this cannot be demonstrated here, because you don't use the vBSEO option to include thread titles in next/previous links (those shown directly below the quick reply editor). You'd first need to enable the option.

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

    Default

    OK so - we know now how to reproduce it. We will check it on our test instance and seek for other solution. Great thanks!

  8. #8
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Sorry, but we can't reproduce this problem.
    We tested it on 3.5.0 vBSEO and 3.3.3 vBET. Which versions do you have?

    Please make sure you have installed the latest version vbet (if you used it)

    what about update product_vbenterprisetranslator.xml from do-not-upload folder?

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

    Default

    I'm using vBET 3.3.3 and vBSEO 3.3.2. My langtitle tags aren't being parsed in the profile statistics page either now, it seems. Quite strange!

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

    Default

    To fix the parsing of langtitle under the profile "statistics" tab (where it says "last post: ..."), I made this change in class_userprofile.php:

    Find:
    PHP Code:
    $this->prepared['lastposttitle'] = $getlastpost['title']; 
    Replace:
    PHP Code:
    $this->prepared['lastposttitle'] = $getlastpost['title'];
            if (
    strpos($this->prepared['lastposttitle'], '[/langtitle]')) 
            {
            require_once(
    'vbenterprisetranslator_functions_bbcode.php');
            
    $this->prepared['lastposttitle'] = vbet_parseTitle($this->prepared['lastposttitle']);
            } 
    There's no way the tags are being globally parsed, as otherwise this change wouldn't be needed. There are also no hooks in that class file.

Page 1 of 4 123 ... 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
  •