The MU forums have moved to WordPress.org

google adsense plugin (10 posts)

  1. matrixmonkey
    Member
    Posted 12 years ago #

    Hiya all

    im in the process of modding a plugin to

    auto-magicaly insert
    google adsense adverts in to the 1st 3 post of a blog
    no need for <<--adsense-->> etc etc
    but the part that might be of most intrest to you guys & gals
    is the "donation" option
    you can set a "donation" limit
    e.g you set min donation at 10%
    so aprox 10% of all adsense impressions are yours the rest are for the users
    or set it to 0% and they can "donate if they wish" and so on

    I have also poorly *but working on* added a ccs colour selector so the user can select the colours for the various adsense options

    and just intrested if any body has other ideas i could put in . or would have a use for such a plugin?

    Richard

  2. mrjcleaver
    Member
    Posted 12 years ago #

  3. Frequent
    Member
    Posted 12 years ago #

    Is there really a point to linking to this thread if the hacked plugin isn't actually offered, or at least instructions as to the required mods?

    Freq---

  4. mrjcleaver
    Member
    Posted 12 years ago #

    Y, I think so. At the very least it lets people know who to contact should the project be aborted. There are usually learnings such as "don't try XYZ approach" which are sometimes not stated when a project goes off the boil.

  5. matrixmonkey
    Member
    Posted 12 years ago #

    I was asking if it would be of use to any body?

    as if it was I would work on it more to make it more user friendly
    I don't like admin interfaces and pref to just edit code and would make the code a lot cleaner
    also sort out the bugs
    but if it was of no use to any body i would keep it as it is

  6. mrjcleaver
    Member
    Posted 12 years ago #

    Hi Matrixmonkey!

    Certainly I would use it! I was actually thinking of a third split need for the adword revenue: I'd like to provide a revenue stream for third parties who encourage others to blog on the site.

    So, it would be %A for the site %B for the blogger and %C for the third party.

    Great idea though :)

    Regards, M.

  7. matrixmonkey
    Member
    Posted 12 years ago #

    I had thought of doing a 3 way split but my php skills are only a few
    weeks old so that is still beyond my skills

    i thought of

    %A for host site then out of that a % is for3rd parties
    %B for the blogger

    e.g
    20% for site 80% for blogger

    out of 20%
    10% to host site
    10% shared between 3rd parties
    (or somthing to that effect)

    but my mind turned to jelly some where at A%

  8. helmi
    Member
    Posted 12 years ago #

    hi matrixmonkey,

    thanks for the idea and your work. I love the sharing idea and i think a multi division shouldn't be a big problem (maybe also 1-2% for the coder of the plugin *g*).

    Apart from that it would possibly be a good idea to let andrea_r or someone else familiar with MU and coding have a look at the code before making it available to the public (regarding your basic php knowledge).

    go ahead and keep up the good work.

  9. Frequent
    Member
    Posted 12 years ago #

    I too would be very interested in such a plugin. People like you make it possible for people like me to use WPMU. If I had to code all my own plugins I'd have at least 0 plugins to offer my users. I know just enough PHP to tweak a few things and break a lot of things. :)

    Freq---

  10. matrixmonkey
    Member
    Posted 12 years ago #

    Haha frequent . sorry to say my php is prob just above yours
    its just i tweek a little more
    and still break things but on a larger scale

About this Topic

  • Started 12 years ago by matrixmonkey
  • Latest reply from matrixmonkey