Previous Thread
Next Thread
Print Thread
Hop To
Code problem? [NOTABUG]
#109275 10/19/2001 7:10 PM
Anonymous
Unregistered
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.]

Re: Code problem? [NOTABUG]
#109276 10/19/2001 7:16 PM
Anonymous
Unregistered
Anonymous
Unregistered
elsif is Perl's else if.

Not a bug. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> 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!

Re: Code problem? [NOTABUG]
#109277 10/19/2001 7:45 PM
Anonymous
Unregistered
Anonymous
Unregistered
Doh! Okay, thanks - never seen it <img src="https://www.ubbcentral.com/boards/images/graemlins/blush.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

Sorry,

JG


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
3 members (Ruben, JAISP, 1 invisible), 72 guests, and 46 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4