TinyPortal

Development => Support => Topic started by: jakemelon on February 13, 2007, 09:10:27 PM

Title: How to make a block disappear after it was viewed X number of times?
Post by: jakemelon on February 13, 2007, 09:10:27 PM
Question;

How can you expire or make a block disappear after a user has seen it?

I have one block that shows most recent posts. I want that to disappear once a user has logged in and seen it once. There is no need to show it every single time he/she goes to the Portal during the same session.

Actually I think it would be a nice feature to be able to expire blocks and articles by specifying either number of views, by date/time, or expire it once viewed per user session, or per day/week/month.

Any thoughts?

jake
Title: Re: How to make a block disappear after it was viewed X number of times?
Post by: IchBin on February 13, 2007, 10:12:47 PM
Only thing I can think of that is even close to this would be this guest limit. You can post to this link and see if you can get him to tweak the mod for you. :)

http://www.tinyportal.net/index.php?topic=10625.0
Title: Re: How to make a block disappear after it was viewed X number of times?
Post by: jakemelon on February 13, 2007, 10:32:44 PM
Will take a peek. Any chance this could be added as a feature for upcoming release of TP?

thanks
jake
Title: Re: How to make a block disappear after it was viewed X number of times?
Post by: IchBin on February 14, 2007, 03:00:11 AM
You should post it in the suggestions if you'd like it. Bloc will decide if he thinks its worthy to make as part of TP though.