1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

$5 for a simple php help

Discussion in 'Services' started by kingofbigmac, Jun 6, 2008.

  1. #1
    I am desperate for a fix. I got this plugin http://www.harleyquine.com/php-scripts/author-advertising-plugin/ for wordpress and when I installed it didnt work. Its supposed to go by the admins default advertisement 50 % of the time and the other it will show the authors ad 50% of the time. If an author doesnt have adsense then it will show my ads by default. Well I set up the admin ad which is mine and then I added my own author advertisement that has different colors as the admin so I can tell if its really working and I go to my post and I look at the ad and its mine so I refresh and its mine. I refresh several times and it only shows my author ad instead of the admin ad. I went to the plugin page in my url and I get this error Fatal error: Call to undefined function get_option() in /home/xxxxx/public_html/pimpingamers.com/wp-content/plugins/author-advertising.php on line 538

    If you can help me then PM or post here. I really need this fix.
     
    kingofbigmac, Jun 6, 2008 IP
  2. masgov

    masgov Member

    Messages:
    460
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    could you try edit the author-advertising.php file permission to 777
     
    masgov, Jun 6, 2008 IP
  3. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I got a 404 not found page when I did that.
     
    kingofbigmac, Jun 6, 2008 IP
  4. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    chmodding it will not fix the problem. This is literally a 5 min fix im pretty sure. 5 bucks for 5 min of looking for a bug is not bad at all.
     
    kingofbigmac, Jun 6, 2008 IP
  5. handsinpanty

    handsinpanty Banned

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    A php function code is missing try re uploading the files
     
    handsinpanty, Jun 6, 2008 IP
  6. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    It is just one php file and that is it. I reupped it countless times. Nothing worked. All the other plugins works.
     
    kingofbigmac, Jun 6, 2008 IP
  7. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    im hoping that someone would want ftp details so they can actually go in and look. I guess DP is a bad place to look for people to help.
     
    kingofbigmac, Jun 6, 2008 IP
  8. handsinpanty

    handsinpanty Banned

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    Ok... i can give it a check... pm mee
     
    handsinpanty, Jun 6, 2008 IP
  9. syndromeX

    syndromeX Banned

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    Check what's wrong on line 538, maybe just a variable...

    post your code here :D
     
    syndromeX, Jun 6, 2008 IP
  10. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    please post or PM if you have PHP experience and have more than 20 posts. I have turned down many noobs. I don't want someone who has 8 posts and no itrader tinkering around in my ftp.
     
    kingofbigmac, Jun 6, 2008 IP
  11. masgov

    masgov Member

    Messages:
    460
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    line 538 is :
    $google_values = get_option('kd_author_advertising');
     
    masgov, Jun 7, 2008 IP
  12. kingofbigmac

    kingofbigmac Banned

    Messages:
    446
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    that is correct however I changed the prefix from kd to wp
    I am not stupid I made a test wordpress site and I kept everything the same without messing with anything. masgoc do you have any experience with php?
     
    kingofbigmac, Jun 7, 2008 IP
  13. mentos

    mentos Prominent Member

    Messages:
    15,280
    Likes Received:
    473
    Best Answers:
    0
    Trophy Points:
    330
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    I can do this but your price is too low..
    Let me know if you willing to pay $80 for this
     
    mentos, Jun 7, 2008 IP