Scoop -- the swiss army chainsaw of content management
Front Page Everything News Code Help! Wishlist Project Scoop Sites Dev Notes Latest CVS changes Development Activities
Scoop Box Exchange - Show Box: new_site_news 1.00

Author: hurstdog [Info]


Displays a short message on the front page if the user hasn't visited the newest site news story yet. Can be tailored to any section, and ad_box is just a block with only |content| in it.

Box Code:

return unless ($S->{UID} > 0);

my ($rv, $sth) = $S->db_select({
WHAT => 'sid',
FROM => 'stories',
WHERE => 'section = "sitenews"',
LIMIT => 1,
ORDER_BY => 'time DESC'});
my $sid = $sth->fetchrow();

return unless $sid;


return if (defined($S->{LAST_SEEN}->{$sid}->{lastseen}));

return {content => qq{<table cellpadding=3 cellspacing=0 border=0><tr><td width="12" align="center"><IMG SRC="|imagedir|/alert.gif" width=12 height=16 alt="!" border=0></td><td><b>There is <A HREF="/story/$sid">New Site News</A>.</b></td></tr></table>}};
Display: Sort:
Block (none / 0) (#1)
by BenedictRArnold on Wed May 02, 2018 at 12:57:40 AM PST

Thanks for mypaperwriter reviews information to discuss. Through this, we can easily block the unwanted stuff or also put this aside into the box. This was really useful information and I am eager to have some more exceptional posts.

hi (none / 0) (#2)
by Nisha Knapp on Sat Sep 11, 2021 at 03:05:01 PM PST

I've been struggling with my project lately so my boss told me to refresh my ideas. I'm so happy that I use my excess time by browsing to a different site and I bump here. It was refreshing and I'm hoping to have a private talk with your admin. Thanks in advance. 토토 사이트 검증

hi (none / 0) (#3)
by Nisha Knapp on Thu Oct 28, 2021 at 10:26:59 PM PST

The quality and quantity of work produced in here is absolute informative. Thanks for sharing. 먹튀사이트조회

ok (none / 0) (#4)
by otis on Fri Sep 09, 2022 at 10:58:45 PM PST

New Site News Sites, Wetsuit, among us High Neck Dress, Youtube, Swimwear, Dresses. Tilen Grah. More information ... Reagiram na HEJT KOMENTARJE

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
The OpenNIC
Democratically operated Domain Name System; using Scoop since Jan. 2001.

Make a new account

Hosted by Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest 1999 The Management

create account | faq | search