1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding Adbrite code to Scripteen Image Hosting Script

Discussion in 'PHP & Perl' started by Roparadise, Jul 15, 2012.

  1. Roparadise

    Roparadise BANNED BANNED

    Joined:
    May 25, 2011
    Messages:
    786
    Likes Received:
    1,417
    Out of all the image hosting scripts I've tried, Scripteen's has been the best but it still lacks a few things. Major thing is that it does not support adbrite right away,only adsense. I was able to get blacklabelads/adbrite on my site in the image view page by entering the codes in view.php as shown in this example http://pastebin.com/KLyYcjKu

    Does anyone have any tips on removing the left sidebar where thumbnails and links to other pics in the gallery are displayed and replacing it with a adbrite code?

    Screenshot from 2012-07-15 10:19:59.jpg
     
    Last edited: Jul 15, 2012
  2. t0.sh

    t0.sh Registered Member

    Joined:
    Jun 6, 2012
    Messages:
    55
    Likes Received:
    24
    Location:
    UVB-76
    Find the code for the sidebar, remove content, insert adbrite code. It's kind of hard for us to do for you without the script or even the structure of the script.
     
    • Thanks Thanks x 1
  3. Roparadise

    Roparadise BANNED BANNED

    Joined:
    May 25, 2011
    Messages:
    786
    Likes Received:
    1,417
    I finally figured out how to do it for the most part, just need to find the php code to lower something,since when I tested it out for a few seconds on my site the left sidebar banner was way to close to my Header Banner.

    On view.php delete the highlighted lines as shown Screenshot from 2012-07-17 14:55:21.jpg and replace it with your adbrite/blacklabel ad code. Then change the number thats highlighted here Screenshot from 2012-07-17 14:55:40.jpg to the width of the banner you chose.
     
    Last edited: Jul 17, 2012