This one is version 2.0. It fixes a lot of bugs. What this script does is shows the last "X" viewed articles that you post. You can change to whatever number you want.
BUG Fixes and Enhancements
1) Removes Duplicated Posts From Multiple Online Users
2) Removes Duplicated Posts After Comments Being Left
3) Removes Duplicated Posts After Article Is Rated
4) Always Shows Last Viewed Article (Good For SEO)
5) Doesn't Go Blank When "A lot" of people are viewing pages (not 100% verified)
Instructions
1) Upload Script Into Plugins Folder
2) Edit last-viewed.php file and customize (read below for customize tips)
3) Activate Via Admin CP > Plugin Manager
4) Paste <?=show_last_viewed(); ?> somewhere on your page (not template)
Customization
1) $last_viewed_number = 6; change the number to any number you want
2) $output .= '<span class="cur"><a href="'.cute_get_link($item).'" title="'.$item['title'].'"><img src="'.$item['avatar'].'" class="im" alt="'.$item['title'].'" /></a></span>'; Change code. This is what I use for my site. Click on example to see. Instead use...
- Code: Select all
$output .= '<a href="'.cute_get_link($item).'" title="'.$item['title'].'">'.$item['title'].'</a>';
Customization
WoW Cursor
Credits
FDD for the original. I paid a custom programmer at scriptlance that goes by the name iconsis to do the work =D
