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

Thread: URL's of e-mails are not correct

  1. #1
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default URL's of e-mails are not correct

    I'm seeing Google webmaster tools report incorrect URL's for e-mail addresses that have been linked. For example:
    (Français) Ont besoin d'aide avec mon V600

    The e-mail address in the first post links to http://cellphoneforums.net/fr/mailto:xxxxxxxxx*********

    This only happens with translated pages.

    If you go to the untranslated version Have big Problems need some help with my V600 You'll see the e-mail address link is normal.

  2. #2
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    I can see it, i will try to recreate error in our test forum and find the way to solve it

  3. #3
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Ok
    Here is quick fix for you:

    You have to edit file:
    forum root -> includes -> vbenterprisetranslator_functions_url_tracking.php

    Find:
    PHP Code:
        if (false !== strpos($address'vbet_flag-')) {
            return 
    substr($address10);
        } 
    And after it put:
    PHP Code:
    if (false !== strpos($address'mailto:') && false !== strpos($address'@')) {
            return 
    $address;
        } 
    Please note that it will work for new posts

  4. #4
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Ok
    Here is quick fix for you:

    You have to edit file:
    forum root -> includes -> vbenterprisetranslator_functions_url_tracking.php

    Find:
    PHP Code:
        if (false !== strpos($address'vbet_flag-')) {
            return 
    substr($address10);
        } 
    And after it put:
    PHP Code:
    if (false !== strpos($address'mailto:') && false !== strpos($address'@')) {
            return 
    $address;
        } 
    Last edited by r.dziadusz; 14-02-12 at 21:10.

  5. #5
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default

    Thanks for the fix. It will not work for existing posts?

  6. #6
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Sorry,
    It should also work with existing posts, have you implemented solution?

  7. #7
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default

    yes, thanks that fixed the problem.

  8. #8
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Happy to help you, if you need any further informations please ask, for any other issues please open new threads

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31