Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 27 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
JPG
JPG
Registered: 02/25/04
Posts: 46
Top Posters (30 Days)
Ruben 46
Bert 26
Gizmo 18
Rob Provencher 10
Rimex 9
SD 7
sw55 6
Eugene 5
Matthias1976 4
Dunny 3
Latest Photos
Uhm...
Mayan End of World
Gas Station Disco Video Shoot
Test Pictures
Audrey Kate
Topic Options
#109275 - 10/19/01 06:10 PM Code problem? [NOTABUG]
Anonymous
Unregistered

Is this an error in ubb_lib_posting.cgi or is this a command I'm not familiar with?

--

# if moderator- only list as mod if actually a mod in this forum
if (($user_status eq "$vars_misc{ModeratorTitle}") && $Moderator) {
if ($Moderator =~ /$this_user_number/) {
$user_status = "$vars_misc{ModeratorTitle}";
} else {
$user_status = "$vars_misc{MemberTitle}";
}
} elsif(($user_status eq "$vars_misc{ModeratorTitle}") && !$Moderator) {
$user_status = "$vars_misc{MemberTitle}";
} # end mod check

###

Admin
Gangster BB
http://www.TheGodfatherTrilogy.Net/

[This message was edited by Charles Capps on November 05, 2002 at 10:26 AM.]
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#109276 - 10/19/01 06:16 PM Re: Code problem? [NOTABUG]
Anonymous
Unregistered

elsif is Perl's else if.

Not a bug. If you're interesting in learning Perl, there's a forum in the Resources category.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!
Top
#109277 - 10/19/01 06:45 PM Re: Code problem? [NOTABUG]
Anonymous
Unregistered

Doh! Okay, thanks - never seen it

Sorry,

JG
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Time zone setup
by skicomau
05/22/13 12:16 AM
Express hosting.
by Ruben
05/16/13 03:54 PM
Level of detail in new user registration emails
by Mitch P.
05/15/13 10:20 PM
Approving users
by Bert
05/15/13 09:22 PM
Users randomly added to other group
by Bert
05/15/13 09:15 PM
Forum Stats
10967 Members
36 Forums
33958 Topics
183410 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image