TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 445
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 434
  • Total: 434

How to make a block disappear after it was viewed X number of times?

Started by jakemelon, February 13, 2007, 09:10:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jakemelon

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

IchBin

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

jakemelon

Will take a peek. Any chance this could be added as a feature for upcoming release of TP?

thanks
jake

IchBin

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.