Fix for phplb for payment processors.

Discussion in 'Directories' started by humm, Aug 31, 2007.

  1. #1
    Its already been given out for phpld and here is the fix for phplb.

    Many bidding owners do not accept some type of links due to fear of their payment processors while some do accept them

    Anyways here is the fix:

    Goto: {your_root_folder}/tpl/{your_template_folder}/bid.tpl

    Edit the following:

    From:

    	<input type="hidden" name="item_name" value="Bid for {link_url} on {site_name}">
    PHP:

    To:

    	<input type="hidden" name="item_name" value="Bid for Link {link_id} on {site_name}">
    
    PHP:
    {site_name} can be manually written too.

    This will show up in your payment processor the link id of the url submitted and not the link submitted.

    I have tested it on Bams Bidding Web Directory and it seemed to give no problem, though you may also test it your end before use :)
     
    humm, Aug 31, 2007 IP
    Richie_Ni and bracnet like this.
  2. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #2
    i was going to post this a long time ago but saw no use in the mod. Problem comes when you view the paypal details and cannot remember which site you submitted to :)

    Nice mod anyway ;)
     
    mikey1090, Aug 31, 2007 IP
  3. WorldImpulse

    WorldImpulse Well-Known Member

    Messages:
    2,084
    Likes Received:
    303
    Best Answers:
    0
    Trophy Points:
    185
    #3
    yeh adi told me about this few days back ...
     
    WorldImpulse, Aug 31, 2007 IP
    humm likes this.
  4. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #4
    If you wanna know which site you submitted or owner wants to show his site in paypal,

    You can do the following:

    replace {site_name} by {site_url}

    But then your payment processor knows your website. :p
     
    humm, Aug 31, 2007 IP
  5. aditya_sfs

    aditya_sfs Peon

    Messages:
    2,271
    Likes Received:
    389
    Best Answers:
    0
    Trophy Points:
    0
    #5
    so did i tell hummmmmm... LOL :p
     
    aditya_sfs, Aug 31, 2007 IP
  6. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #6
    I changed that part to something manually on http://www.livelykeywords.com/ but things no long worked until I changed it back.

    Now I have a solution,thanks Sunny! :)
     
    Richie_Ni, Aug 31, 2007 IP
    humm likes this.
  7. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #7
    Thanks sunny. I have also done this at my www.topbidlinks.com :D

    Similar suggestion just as phpld (paypal.tpl) ;)
     
    deluxdon, Aug 31, 2007 IP
  8. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #8
    Be very careful about removing the {link_url} variable in older versions of phpLB, this will break the IPN. See this thread for details.

    PS: humm, your site is broken on the return from PayPal.

    It gives me this as my link...

    blogaboutmysite.com/bidforlinks/link/link/38.html

    but should be...

    blogaboutmysite.com/bidforlinks/link/38.html
     
    SilkySmooth, Aug 31, 2007 IP
    humm likes this.
  9. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #9
    I am looking into this again. I will work on the some testing with the IPN.

    About the error you pointed out, its from a long time I am unable to find a solution for this.
     
    humm, Aug 31, 2007 IP
  10. aditya_sfs

    aditya_sfs Peon

    Messages:
    2,271
    Likes Received:
    389
    Best Answers:
    0
    Trophy Points:
    0
    #10
    i just increased my bid sunny, seems you have fixed all errors and IPN is working too
     
    aditya_sfs, Aug 31, 2007 IP
  11. britishguy

    britishguy Prominent Member

    Messages:
    7,949
    Likes Received:
    892
    Best Answers:
    0
    Trophy Points:
    360
    #11

    Thanks for the 'heads up' Sunny real cool :)
     
    britishguy, Aug 31, 2007 IP
  12. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #12
    I am glad its worked for you guys and that you are happy with the mod.

    Thanks silky for submitting a bid and pointing out the possible error and thanks aditya for making a bid increment after I corrected my errors.

    So as of now, I have tested the mod and it seems to be work fine with latest phplb version. :)
     
    humm, Aug 31, 2007 IP
  13. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #13
    So sunny solution given by you in your first post of this thread is enough or we have to make any other changes for this solution :confused:
     
    deluxdon, Aug 31, 2007 IP
  14. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #14
    Another good heads-up. Thanks for sharing this with us.
     
    coolsitez, Sep 1, 2007 IP