Previous Thread
Next Thread
Print Thread
Hop To
Code problem? [NOTABUG]
#109275 10/19/2001 6: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 6: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 6: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
how to check forum for slow posting
by Ruben - 02/25/2020 2:17 PM
AWS Lightsail platform
by jjjjj - 02/20/2020 7:27 AM
Users cant register after upgrade to Version 7
by Jim0421 - 02/13/2020 11:32 PM
Looking for best site firewall and CDN service
by Ruben - 02/11/2020 3:01 PM
Who's Online Now
5 members (isaac, Ravenfreak, Gizmo, Ruben, SD), 86 guests, and 43 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
(Snapshot build 20200227)