############################################################################### # ModList.pl # ############################################################################### # YaBB: Yet another Bulletin Board # # Open-Source Community Software for Webmasters # # Version: YaBB 2.0 # # Released: September 29, 2005 # # Distributed by: http://www.yabbforum.com # # =========================================================================== # # Copyright (c) 2000-2005 YaBB (www.yabbforum.com) - All Rights Reserved. # # Software by: The YaBB Development Team # # with assistance from the YaBB community. # # Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com # # Your source for web hosting, web design, and domains. # ############################################################################### $modlistplver = 'YaBB 2.0 $Revision: 1.10 $'; if ($action eq 'detailedversion') { return 1; } sub ListMods { my @installed_mods = (); # You need to list your mod in this file for full compliance. # Add it in the following way: # $my_mod = "Name of Mod|Author|Description|Version|Date Released"; # push (@installed_mods, "$my_mod"); # It is reccomended that you do a "add before" on the end boardmod tag # This preserves the installation order. # Also note, you should pick a unique name instead of "$my_mod". # If you mod is called "SuperMod For Doing Cool Things" # You could use "$SuperMod_CoolThings" ### BOARDMOD ANCHOR ### $ext_profiles = "Extended Profiles|Michael Prager|Allows you do add an unlimited number of additional fields to user profiles|2.0 Beta7|30.09.2005"; push (@installed_mods, "$ext_profiles"); $chars_mod = "Chars_4_YaBB2|Carsten|This mod adds two select boxes for inserting Greek and mathematic characters in posts.|1.01|08/19/05"; push (@installed_mods, "$chars_mod"); ### END BOARDMOD ANCHOR ### if (!@installed_mods) { $yymain .= qq~
$mod_list{'5'}

$mod_list{'8'} $mod_list{'9'}

~; $yytitle = $mod_list{'6'}; $action_area = "modlist"; &AdminTemplate; } foreach $modification (@installed_mods) { chomp($modification); ($mod_anchor, $mod_author, $mod_desc, $mod_version, $mod_date) = split(/\|/, $modification); $mod_displayname = $mod_anchor; $mod_displayname =~ s/\_/ /g; $mod_anchor =~ s/ /\_/g; $mod_anchor =~ s/[^\w]//g; $mod_text_list .= qq~ $mod_displayname $mod_author $mod_version ~; $full_description .= qq~
$mod_displayname   $mod_list{'4'}: $mod_version
$mod_list{'2'}: $mod_author

$mod_desc

$mod_list{'3'}: $mod_date

~; } $yymain .= qq~
$mod_text_list
$mod_list{'5'}
$mod_list{'1'} $mod_list{'2'} $mod_list{'4'}



$full_description ~; $yytitle = $mod_list{'6'}; $action_area = "modlist"; &AdminTemplate; } 1;