my first trade script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mfps
    Confirmed User
    • Mar 2006
    • 640

    #1

    my first trade script

    hi.

    i dont have a good reason for this, but i like to write code-maybe thats a good reason?

    i have taken it upon myself to build a trade script for my tgp.
    actually i have taken it upon myself to build the entire tgp architecture.

    i know there are plenty of good, available, scripts i could be using.

    what im looking for is opinion on the blueprint i have worked out.

    please take a look at it, and point out any flaws that jump out at you.

    thanks.

    blueprint url -> secretninja.org/images/aunt_flow.jpg
    (sorry i cant post a link yet )
  • mfps
    Confirmed User
    • Mar 2006
    • 640

    #2
    lets say i have 5 cells,
    (forgive my math errors please)
    4 of them are at 100% ratio (every click goes to the right gallery),
    1 is at 66% (every third click goes to a link exchange)

    currently the script counts clicks (regardless of ratio) so if someone clicks 2 cells at 100%, then a third click to the 66% cell, that click will result in a link exchange url being served.

    if someone clicks 3 100% cells , then a fourth click to the 66% cell, that click will result in the right gallery being served.

    i do not have any sort of variable for (redirects_owed_to_client) that would make that fourth click serve a link exchange url.

    am i doing this right?
    should that fourth click serve a link exchange url?
    my logic last night said no.

    my logic on the front porch smoking a cigarette this afternoon says maybe.

    what do you think?

    Comment

    • mfps
      Confirmed User
      • Mar 2006
      • 640

      #3
      cant edit so i guess i will get a bump.

      heres a link to the blueprint, now that i can post links...

      http://secretninja.org/images/aunt_flow.jpg

      Comment

      • mfps
        Confirmed User
        • Mar 2006
        • 640

        #4
        this afternoon im thinking about a variable called something like

        client_redirects_owed

        the idea is that if a user gets into the hypothetical '4th click' scenario, it will force a serve of a link exchange url.

        this would also allow for stockpiling redirects owed...
        if a user were to click on a bunch of 100% cells, and didnt get redirected,
        the user would end up owing a few.
        when the user eventually got to cells < 100% they would get served redirects until they didnt owe anymore...

        that last part seems kinda obnoxious to me, but it ensures that links get exchanged no?

        sorry if it seems like i am having this conversation with myself.
        it kinda feels that way.
        thanks for giving me an outlet.

        mfps

        Comment

        • mfps
          Confirmed User
          • Mar 2006
          • 640

          #5
          bump before i goto sleep

          Comment

          • mfps
            Confirmed User
            • Mar 2006
            • 640

            #6
            nobody has an opinion on this?

            fuck.

            Comment

            • mikeet
              this & that
              • May 2005
              • 5385

              #7
              Sounds like you have a pretty good idea of what your doing.
              However, the best thing for you to do is get the script up and running then post back and have a download link ready where people can try it out and see how they like it. You will then get some good advice on what can further be done to enhance the script

              Comment

              • mikeet
                this & that
                • May 2005
                • 5385

                #8
                BTW ... i may be interested in trying out that script.

                Comment

                • kostas
                  Confirmed User
                  • Jan 2006
                  • 616

                  #9
                  I also can try it.

                  Comment

                  • mfps
                    Confirmed User
                    • Mar 2006
                    • 640

                    #10
                    ive got it loosely implemented now, but since i have very little knowledge of ratios and whatnot, i just guessed.

                    instead of a percentage, i opted for just raw clicks.

                    ie: every 7th click in the top tables, every 5th click in the middle tables, every 3 in the bottom tables will redirect...

                    every cell of every table can have a unique number of clicks that trigger redirects...these values can be specified in a config file.

                    i still havent decided about client_redirects_owed, im really hoping to get some more input about it.

                    as of right now, (and im very indecisive) i dont think im gonna mess with it.

                    i hope to get the site into beta in the next couple of days, however my day job is kicking back in full swing, and it looks like long days for the next two weeks...

                    right now for me, its all about finding a way to make the gallery tables...

                    i think i need to write a gallery loader script or something.

                    it would be really easy to have it randomly table thumbs from the database, (that is what its doing now)
                    but i dont think that is true to the plan.

                    i see myself reviewing 30 galleries per day for a very long time.

                    my goal is april 1.

                    main site code is at about 90%
                    got galleries, toplist, features and architecture,
                    click handler is working for featured sites and toplist...
                    no click for galleries yet, as i still havent figured out how they will be kept.
                    got referral tracking working, got referral sending working(ish)
                    need to finish the galleries, and make a decision about text links.

                    backend site code is at about 70%
                    got user login, gallery submissions, forgot password?, change password...
                    my galleries (so submitters can track their gallery clicks_out)
                    ** im not sure this is even necessary, ive never submitted one but i like it.
                    ** its a really neat way to view thumbs,
                    ** and might be a cool site concept on its own.

                    need to get the url submit page built someday.
                    need to write instructions on all these user pages.

                    i dont think i will open for public submissions right away,
                    but probably by may 1.

                    once we do a little beta, im gonna setup some trades and buy some traffic.

                    its gonna be very very interesting

                    if the script doesnt totally suck ass, i will be happy to make it available
                    (although it will take some time to make it portable)

                    all in good time

                    thank you for letting me share!

                    Comment

                    Working...