Back to Modification Graveyard

Recently Viewed Threads
Mod Version: 1.2 Beta, by Logikos

This thread is in the Modification Graveyard.
vB Version: 3.5.3 Rating: (1 vote - 5.00 average) Installs: 24
Released: 12 Feb 2006 Last Update: 12 Feb 2006 Downloads: 3
Not Supported DB Changes Uses Plugins Template Edits Is in Beta Stage  

http://www.vbhackers.com
Recently Viewed Threads

http://www.vBHackers.com

What this does
This will show each user a list of Recently Viewed Threads. The idea came from http://www.SitePoint.com. I found myself using it alot when I came back to the site to check up on some threads I forgot about, or just couldn't find. AJAX enabled - (quick thread title edit and open/close works!)

This was coded to be placed on the forumhome, though you can edit to your needs if you know what your doing.

How this plugin works
The concept of this plugin is simple. When a user clicks on a thread, it will log the user and thread info in the database. The thread will then be marked as viewed using a conditional timestamp comparison. In lamens terms this means that when a user views a thread, it will log the time the thread was viewed. It will not relog the thread information if the user views the same thread within a certain amount of wait time. (Admin CP setting). Default is 5 minutes.

Descriptive Example
LiveWire clicks on a thread titled 'New Hack Posted'. 1 small query is performed to see if I have recently viewed this thread yet.

If I have viewed this thread already, it will check and see when I viewed it. If it was longer then 5 minutes ago, then it will add the new information using 1 more query.

If I have never viewed this thread before, then it will insert it into the database using 1 query.

To do list...
  • Time to install: 2 minutes or less
  • Queries to run: 1 (Installer Controlled)
  • File Mods: 0
  • Templates to edit: 1 (forumhome)
  • Templates to add: 1 (Installer Controlled 'forumhome_recentbit')
  • New Phrases: 0
  • New Plugins: 2
Click It For Support!

Important Note
This product of mine is marked as beta as I'm still working on some code for future releases. vBCron to clean up Database will be released soon as an addon in the below post.

Product History
Sun, Feb 12 2006 - Forumhome Recent Table is can be collapsed
Sun, Feb 12 2006 - Added plugins (The two plugins didn't export for some reason)
Sat, Feb 11 2006 - Beta Released

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here and double check that you have clicked the .

Please post bugs and errors here. Hope you like, feedback welcomed!

Download

This modification cannot be downloaded.

Screenshots

   

Similar Mods

End-User Options Recently Viewed Threads 1.0.0 vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2025