PageRank not Working in Phpld 2.2

Discussion in 'Directories' started by rohitink, May 18, 2011.

  1. #1
    My Pagerank is not showing up in my site. I Have phpld 2.2 Installation.

    Following is the Content of my "pagerank.tpl" file.

    
    <div class="pr">
       {if $pr ge 0}
          PR: {$pr}
       {else}
          N/A
       {/if}
       <div class="prg">
          <div class="prb" style="width: {if $pr gt -1}{math equation="x*4" x=$pr}{else}0{/if}px"></div>
       </div>
    </div>
    
    PHP:
    And Following is the Command I execute to show up the PageRank on the links page.

    
    {if $smarty.const.SHOW_PAGERANK}
    {include file="pagerank.tpl" pr=$link.PAGERANK}
    
    PHP:
    But still for all the sites even which are Higher PR, i get "N/A" Always.

    I shall be greatful, if somebody helps me Fix This.

    Thanks.
     
    rohitink, May 18, 2011 IP
  2. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Many hosting does not support the script to show pagerank, there is 2 way you can go
    1) pay for v3.2+
    2) update it manually
     
    Antonio, May 19, 2011 IP
  3. WallaceYeung

    WallaceYeung Notable Member

    Messages:
    3,377
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    230
    Digital Goods:
    1
    #3
    can you double check whether you have Enable PageRank option in "Directory" section?
     
    WallaceYeung, May 19, 2011 IP
  4. drivemecrzy

    drivemecrzy Peon

    Messages:
    179
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should buy a new phpLD version :)
     
    drivemecrzy, May 19, 2011 IP
  5. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #5
    This might be related to your host running PHP 5.3. We "may" have a new release of 2.2 to address this in the coming days. If we do that, it will appear here.
     
    dvduval, May 19, 2011 IP
  6. rohitink

    rohitink Active Member

    Messages:
    370
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #6
    I Just realized this problem exists with All Phpld 2 Versions. I hope Its Fixed. Though, i have purchased phpld versions for three of my sites, but two of them still do not show PR. They are v 3.2.
     
    rohitink, May 21, 2011 IP
  7. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #7
    It works fine on most servers on recent version, but just keep in mind it is technically not allowed automatically grab pagerank in google, and google frowns on it, so don't put too much into pagerank, at least in terms of what you display.
     
    dvduval, May 21, 2011 IP
  8. Genesis1

    Genesis1 Peon

    Messages:
    644
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just get a new version of PhpLD
     
    Genesis1, May 21, 2011 IP
  9. rohitink

    rohitink Active Member

    Messages:
    370
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #9
    I Have Customized the PHPLD Free Version to a Directory Script site. I will launch it once done with it.
     
    rohitink, May 22, 2011 IP
  10. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #10
    Just following up...
    Here is the fix for 2.2 pagerank
    http://www.phplinkdirectory.com/forum/showthread.php?t=41830
    We'll be including this in the 2.2 download shortly, but if you want to patch an existing 2.2, this is the solution! Let us know in the phpLD forum thread if you run into any difficulties.
     
    dvduval, Jun 6, 2011 IP
  11. rohitink

    rohitink Active Member

    Messages:
    370
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #11
    This is really Great. Thanks.
     
    rohitink, Jun 6, 2011 IP
  12. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #12
    Sure, happy we were able to help :)
     
    dvduval, Jun 7, 2011 IP