So what is the proper way to do this in version 6.2.1.1? I had it all done and now the Main buttons thing is all different
It has some comments in there about them making it easier but I dont know much about CGI...
this is what it looks like now:
sub MainButtonOptions {
my($this_forum, @items);
if (exists $in{'f'}) {
$this_forum = ";search_forum=$in{f}";
} else {
$this_forum = "";
}
# Okay, everyone whining about the main button options being
# hard to add to can now cut it out. :-D
if ($vars_registration{DisplayRegistration} ne 'NO') {
# My Profile
push(@items, qq(
$vars_wordlets{profile_link}));
if($vars_registration{SuspendRegister} ne "true") {
# Register
push(@items, qq(
$vars_wordlets{register_link}));
} # end if
} # end if
if ($vars_search{AllowSearch} ne 'FALSE') {
# Search
push(@items, qq(
$vars_wordlets{search_link}));
}
# FAQ
push(@items, qq(
$vars_wordlets{faq_link}));
# Forum Home
push(@items, qq(
$vars_wordlets{forum_home_link}));
return join(" | ", @items)
} # end MainButtonOptions