Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: cymbeline

“They need to take a few ads.”

~~~

Why back in my day... it only took a couple of lines of code to show ads to guests and not to members. It’s as simple as checking a cookie (although I think this part of the way things work has changed since then) or set a variable in the header from a member database query or session token. Then it’s just a matter of setting a few if conditions in your code/templates for displaying inline ads to guests.

You could also do something similar for removing inline ads for donating members. Slightly more involved if your standard page display protocols don’t already query for member donation status, but still quite do-able.


48 posted on 03/25/2026 8:35:31 AM PDT by z3n (Kakistocracy)
[ Post Reply | Private Reply | To 10 | View Replies ]


To: z3n

Once you monetize=cookies, then you may have to put those intrusive “Accept Cookies” notices.


163 posted on 03/25/2026 7:45:45 PM PDT by daniel1212 (Turn 2 the Lord Jesus who saves damned+destitute sinners on His acct, believe, b baptized+follow HIM)
[ Post Reply | Private Reply | To 48 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson