Previous Thread
Next Thread
Print Thread
Hop To
#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.]

#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!

#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
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)