GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Voodoo Tech and Scripter's Den of Scriptniquity > Recent Posts - Hide Duplicates
Mottie (MVP) 1/25/2010 2:13 PM EST : Recent Posts - Hide Duplicates
GuildPortal MVP
Posts: 3884
Zomgawsh Poster

Recent Posts - Hide Duplicates

This script hides duplicate posts in the "Recent Posts Stand-Alone" widget. Note if there are 10 posts in the same post showing in the recent post widget, you'll end up seeing only one. This script can only modify what is already present in the widget, it can't add more recent posts. If you want to include all recent posts, look at the Most Recent Posts Display script (it does cause a bit of lag).

NOTE: Add this script to a Free Form Text/HTML type widget while in <> HTML mode AND Raw/Script mode, or to your Footer Area (Control Panel > Custom HTML & Script > Footer Area).


<script type="text/javascript" src=""></script>
<script type="text/javascript">
  • There is nothing to customize.
Edit (2/4/2010): Added a note about having the editor in both HTML & Raw/Script mode.
Edit (3/17/2010): Updated the code to once again improve finding the unique posts. Also, reduced the size of the file making it "events-posts-min.js".

Admins Online
There are   members online.
So-and-so has logged on!