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: user_box 1.00

Author: Scoop Developers


This is the box that users will get to login with if they haven't logged in, or that will show them links to their diary, comments, stories, etc if they have logged in. Comes with scoop.

Box Code:

my $content;
if ($S->{UID} > 0) {
if ($S->have_perm('moderate')) {
my ($nstories, $tstories) = $S->_count_new_sub();
my $color = '';
my $c_end = '';
if ($nstories) {
$color = '<FONT COLOR="#FF0000"><B>';
$c_end = '</b></font>';
$content = qq|
%%dot%% <A CLASS="light" HREF="%%rootdir%%/modsub">Moderate Submissions</a> ($tstories/$color$nstories$c_end new)<BR>|;

if ($S->{TRUSTLEV} == 2 || $S->have_perm('super_mojo')) {
$content .= qq{
%%dot%% <A CLASS="light" HREF="%%rootdir%%/search?type=comment;hidden_comments=show">Review Hidden Comments</a><BR>};

my $urlnick = $S->urlify($S->{NICK});
my $diary_link = ( $S->{UI}->{VARS}->{use_diaries} ?
qq{ %%dot%% <A CLASS="light" HREF="%%rootdir%%/user/$urlnick/diary">Your Diary</a><BR>} :
qq{} );

$content .= qq|
%%dot%% <A CLASS="light" HREF="%%rootdir%%/user/$urlnick">User Info</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/user/$urlnick/comments">Your Comments</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/user/$urlnick/stories">Your Stories</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/submitstory/Diary">New Diary Entry</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/user/$urlnick/prefs">User Preferences</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/interface/prefs">Display Preferences</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/interface/comments">Comment Preferences</a><BR>
%%dot%% <A CLASS="light" HREF="%%rootdir%%/logout">Logout $S->{NICK}</a><BR>|;

$title = "$S->{NICK}";
} else {
$content = $S->{UI}->{BLOCKS}->{login_box};
$content =~ s/%%LOGIN_ERROR%%/$S->{LOGIN_ERROR}/;
return {content => $content, title => $title };
Display: Sort:
I'm getting (none / 0) (#1)
by chuckles on Sat Mar 04, 2006 at 08:17:46 PM PST

this at the bottom of my user_box on my site when I cut and paste this.
+ Logout scoop
%%; scoop
Just for some info, at Our Spectrum I deleted my submit diary link. So, I have cut and pasted this, but I'm getting the weirdness. Also, can anyone tell me what else do I need in this new box to make it work I want my scoop intro box, which has links to sections to have a New Diary button and maybe a new story button. perl challenged.
|dot| <%A CLASS="light" HREF="|rootdir|/submitstory/Diary">New Diary Entry</a%><%BR>
|dot| <%A CLASS="light" HREF="|rootdir|/user/$urlnick/prefs">User Preferences</a%><%BR>
|dot| <%A CLASS="light" HREF="|rootdir|/interface/prefs">Display Preferences</a%><%BR>
|dot| <%A CLASS="light" HREF="|rootdir|/interface/comments">Comment Preferences</a%><%BR>
|dot| <%A CLASS="light" HREF="|rootdir|/logout">Logout $S->{NICK}</a%><%BR>|;

Nice Post (none / 0) (#3)
by katecross on Fri Mar 25, 2016 at 08:15:26 AM PST

Unbelievable that is a splendid considerations architects should use coding in this rule so every post comment look well anyone visit there direct viably how use comment I have seen the instructional activity about manage the site there were number of fastens available as the Someone Write My Essay For Me, development programming and application etc....

Nice Review (none / 0) (#4)
by Bethany34 on Wed Apr 12, 2017 at 06:27:30 AM PST

The code you have posted is good but it is not the best one. You could clean up the code a bit and then try again to make it better. One of the best things about coding is that you can get results even if you don't have the best one yet. I usually do my essays in the full and the script and code helps me edit it.

assignmentmasters reviews (none / 0) (#5)
by StevenRobinson on Tue Sep 25, 2018 at 02:08:09 PM PST

I'm not sure what you guys are here to do but if you need to help us on assignmentmasters reviews then you need to have something more and you need to help us daily. This is what we need only.

Qualified Assignment writers (none / 0) (#6)
by expertforhire on Wed Oct 17, 2018 at 07:55:42 AM PST

Your page is just awesome. Bravo for good work. If the most Professional academic writing services or rather top mark & Professional assignment writing Help are what you seek, keep it in mind that we are just a mouse click away.

Data Analysis Help (none / 0) (#7)
by expertforhire on Wed Oct 17, 2018 at 07:56:16 AM PST

Your page is amazing, I do wish that you keep sharing. If you seek the best Econometrics assignment help, we are here and ready to help. Whenever there is excel correlation test help needed, we never fail to provide quality services.

Dissertation editing professionals (none / 0) (#8)
by reliable professionals on Thu Oct 18, 2018 at 08:28:38 AM PST

I am very grateful for the good work. Thanks in advance. Our affordable dissertation editors will help you with the best dissertation editing in the U.K when you contact them.

Qualified research paper writers (none / 0) (#9)
by reliable professionals on Thu Oct 18, 2018 at 08:34:14 AM PST

Awesome blog post. Keep the fire burning. We are the best best coursework writing company that offers the Best research paper writing service when clients seek help from us.

Research Topic Experts (none / 0) (#11)
by expertwriter on Fri Oct 19, 2018 at 09:06:19 AM PST

This is an amazing article and I highly appreciate your efforts for addressing about this in your post. If you are looking for the best dissertation topics 2018 and Ed.D - expert help with research topic ideas , visit us.

Online Copywriters (none / 0) (#12)
by Bestcopywriter on Fri Oct 26, 2018 at 03:59:02 AM PST

Thank you so much for the efforts to share this post. Feel free to talk to us in case you need Online copywriter services and Product descriptions writing help as well.

Dissertation Editing Help (none / 0) (#13)
by Qualitywriter on Sat Oct 27, 2018 at 06:16:35 AM PST

I like your article very much. It is very interesting and resourceful.Are you looking for Dissertation Editing service? Contact Digiplus for the best Dissertation Editing services.

Best Copywriting Services (none / 0) (#14)
by Qualitywriter on Sat Oct 27, 2018 at 06:22:52 AM PST

I have been looking for great blogs such as this one. Thank you for sharing this important information. We offer the best Company Product Copywriting services as well as Best Copywriting services in Africa.

good (none / 0) (#15)
by AnaMattice on Wed Sep 25, 2019 at 03:39:10 PM PST

FAQs are great. These are most of them on and I will be asking people about it. It's going to help me a lot and I will be happy about it.

good (none / 0) (#16)
by AnaMattice on Sat Oct 19, 2019 at 06:30:21 AM PST

If you haven't logged in on the following website then what are you doing? It is the best online casino for winning easily.

good (none / 0) (#17)
by AnaMattice on Mon Oct 28, 2019 at 01:35:31 PM PST

That gives off an impression of being brilliant anyway i am still not very beyond any doubt that I like it. At any rate will look significantly more into it and choose by and by!

PF Grievance Number (none / 0) (#18)
by AnaMattice on Wed Oct 30, 2019 at 08:03:35 AM PST

Everyone can get you PF amount if you have UAN Passbook it is mandatory for Every Government Employee. Till now you don't get the EPF Passbook or UAN Passbook you must Register in web portals. After the Completion of UAN Registration you must Activate the UAN Activation. It is also mandatory for all employees. Just logon into the website then use your UAN and Login password. You can download or take the soft copy of your EPF Passbook . EPF Grievance Number

Best Term Papers Writing Services (none / 0) (#19)
by dorcasmelda on Tue Nov 26, 2019 at 05:51:51 AM PST

Do know where to get the Best Term Papers Writing Services. Are you unsure of which Term Papers Writing Company to hire for your essays? Do not let a burdensome Term Papers Assignment task drag you down.

  • jams by regiyef, 01/27/2020 06:12:45 AM PST (none / 0)
jams (none / 0) (#21)
by regiyef on Mon Jan 27, 2020 at 06:13:16 AM PST

i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. Are chameleons good pets

  • jams by regiyef, 02/06/2020 07:31:01 AM PST (none / 0)
jams (none / 0) (#23)
by regiyef on Thu Feb 06, 2020 at 07:31:28 AM PST

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. gardening

jams (none / 0) (#24)
by regiyef on Sat Feb 08, 2020 at 05:48:35 AM PST

Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success.. rico chandra kusuma

jams (none / 0) (#25)
by regiyef on Wed Feb 19, 2020 at 05:38:56 AM PST

Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read. TheFancyVoyager

jams (none / 0) (#26)
by regiyef on Sat Feb 22, 2020 at 06:12:12 AM PST

I appreciated your work very thanks Angina pectoris

jams (none / 0) (#27)
by regiyef on Mon Feb 24, 2020 at 09:50:34 AM PST

The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. dji mavic air

jams (none / 0) (#28)
by regiyef on Wed Feb 26, 2020 at 09:30:31 AM PST

Best work you have done, this online website is really cool with great facts. care

jams (none / 0) (#29)
by regiyef on Thu Mar 12, 2020 at 09:38:15 AM PST

Your website is really cool and this is a great inspiring article. Foods that Contain Hyaluronic Acid

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Cooler than

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