Bored? Looking to kill some time? Want to chat with other SMF users? Join us in IRC chat or Discord
Started by Adish - (F.L.A.M.E.R), April 09, 2010, 10:35:23 PM
Quote from: (F.L.A.M.E.R) on April 10, 2010, 03:59:49 PMI suppose the advertisements it shows is coded for its own special needs. Its not a mod that is made public.
Quote from: Motoko-chan on April 11, 2010, 12:58:07 PMJust had to get this in:Quote from: (F.L.A.M.E.R) on April 10, 2010, 03:59:49 PMI suppose the advertisements it shows is coded for its own special needs. Its not a mod that is made public.It's not even a mod. The advertising back end is OpenX and the invocation code that it generates is added right into the template file. I believe the most complicated thing is there is a variable a site page can set to change the zone that ads are counted against.
Quote from: (F.L.A.M.E.R) on April 17, 2010, 07:40:33 AMNever knew about it. Although I think they have the adverts switching from the personal adverts to the public adverts by OpenX. That is what is custom coded I suppose ?
Quote from: (F.L.A.M.E.R) on April 17, 2010, 01:52:15 PMThanks for expanding my knowledge over this. Was it fun managing the advertising bit ?
Quote from: Arantor on April 19, 2010, 07:14:50 PMI don't get why you need to invoke cron whatsoever. Y'all building a castle to put a coat hanger on.
Quote from: (F.L.A.M.E.R) on April 19, 2010, 07:15:17 PMBelow is the idea:Well, if we are implementing something like, 'Mark specific topics as read', users can put in topic ID in a field and every time the user logs in, a cron job is ran which would mark the topic as read if they are updated. But the bad thing is, if the topic gets updated after we login, it will then show up. There could be a way to mark it as read until they logout. (Maybe constant queries being ran in the background, but this will really burn the MySQL server into ashes) After they logout, the cron job will no longer run and the queries being ran in the background will stop.