| ############################################################################### |
| ############################################################################### |
| # ModList.pl # |
| # ModList.pl # |
| ############################################################################### |
| ############################################################################### |
| # YaBB: Yet another Bulletin Board # |
| # YaBB: Yet another Bulletin Board # |
| # Open-Source Community Software for Webmasters # |
| # Open-Source Community Software for Webmasters # |
| # Version: YaBB 2.5 Anniversary Edition # |
| # Version: YaBB 2.5.2 # |
| # Packaged: July 04, 2010 # |
| # Packaged: September 30, 2012 # |
| # Distributed by: http://www.yabbforum.com # |
| # Distributed by: http://www.yabbforum.com # |
| # =========================================================================== # |
| # =========================================================================== # |
| # Copyright (c) 2000-2010 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Copyright (c) 2000-2012 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Software by: The YaBB Development Team # |
| # Software by: The YaBB Development Team # |
| # with assistance from the YaBB community. # |
| # 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.5 AE $Revision: 1.7 $'; |
| $modlistplver = 'YaBB 2.5.2 $Revision: 1.0 $'; |
| if ($action eq 'detailedversion') { return 1; } |
| if ($action eq 'detailedversion') { return 1; } |
| |
| |
| sub ListMods { |
| sub ListMods { |
| my @installed_mods = (); |
| my @installed_mods = (); |
| |
| |
| # You need to list your mod in this file for full compliance. |
| # You need to list your mod in this file for full compliance. |
| # Add it in the following way: |
| # Add it in the following way: |
| # $my_mod = "Name of Mod|Author|Description|Version|Date Released"; |
| # $my_mod = "Name of Mod|Author|Description|Version|Date Released"; |
| # push (@installed_mods, "$my_mod"); |
| # push (@installed_mods, "$my_mod"); |
| # It is reccomended that you do a "add before" on the end boardmod tag |
| # It is reccomended that you do a "add before" on the end boardmod tag |
| # This preserves the installation order. |
| # This preserves the installation order. |
| |
| |
| # Also note, you should pick a unique name instead of "$my_mod". |
| # Also note, you should pick a unique name instead of "$my_mod". |
| # If you mod is called "SuperMod For Doing Cool Things" |
| # If you mod is called "SuperMod For Doing Cool Things" |
| # You could use "$SuperMod_CoolThings" |
| # You could use "$SuperMod_CoolThings" |
| |
| |
| ### BOARDMOD ANCHOR ### |
| ### BOARDMOD ANCHOR ### |
|
|
| $nospammeremail = "NoSpammerEmail_YaBB25|Dandello|This mod will allow the admin to set whether or not the default reject email message is sent when the board is in pre-registration and admin approval mode.|0.3 beta|05/12/12";
|
| |
| push (@installed_mods, "$nospammeremail");
|
| |
| $self_del_user = "Self_Delete_Lock_YaBB25|Dandello|This mod will allow the admin to choose whether or not users can delete their own accounts.|0.4 beta|07/21/12";
|
| |
| push (@installed_mods, "$self_del_user");
|
| |
| $reg_question_mod = "Anti-Spam Question|Derek Barnstorm|This Mod will add a random question which must be answered on registration. [<span class=\"small\"><a href=\"$adminurl?action=reg_question\" style=\"font-weight: bold;\">Anti-Spam Question Settings</a></span>]|0.2|7th November 2011";
|
| |
| push (@installed_mods, "$reg_question_mod");
|
| |
| $minpostsweb_mod = "X Posts Before Website Link|Derek Barnstorm|This Mod allows you to set a minimum number of posts a Member must have before they are allowed to link to a website in their profile.|0.1|19th October 2011";
|
| |
| push (@installed_mods, "$minpostsweb_mod");
|
| ### END BOARDMOD ANCHOR ### |
| ### END BOARDMOD ANCHOR ### |
| |
| |
| if (!@installed_mods) { |
| if (!@installed_mods) { |
| |
| |
| $yymain .= qq~ |
| $yymain .= qq~ |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="titlebg" colspan="3"> |
| <td align="left" class="titlebg" colspan="3"> |
| <img src="$imagesdir/preferences.gif" alt="" border="0" /><b>$mod_list{'5'}</b> |
| <img src="$imagesdir/preferences.gif" alt="" border="0" /><b>$mod_list{'5'}</b> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="windowbg2"> |
| <td align="left" class="windowbg2"> |
| <br /> |
| <br /> |
| $mod_list{'8'} <a href="http://www.boardmod.org">$mod_list{'9'}</a> |
| $mod_list{'8'} <a href="http://www.boardmod.org">$mod_list{'9'}</a> |
| <br /><br /> |
| <br /><br /> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| </table> |
| </table> |
| </div> |
| </div> |
| ~; |
| ~; |
| |
| |
| $yytitle = $mod_list{'6'}; |
| $yytitle = $mod_list{'6'}; |
| $action_area = "modlist"; |
| $action_area = "modlist"; |
| |
| |
| &AdminTemplate; |
| &AdminTemplate; |
| } |
| } |
| |
| |
| foreach $modification (@installed_mods) { |
| foreach $modification (@installed_mods) { |
| chomp($modification); |
| chomp($modification); |
| ($mod_anchor, $mod_author, $mod_desc, $mod_version, $mod_date) = split(/\|/, $modification); |
| ($mod_anchor, $mod_author, $mod_desc, $mod_version, $mod_date) = split(/\|/, $modification); |
| |
| |
| $mod_displayname = $mod_anchor; |
| $mod_displayname = $mod_anchor; |
| $mod_displayname =~ s/\_/ /g; |
| $mod_displayname =~ s/\_/ /g; |
| $mod_anchor =~ s/ /\_/g; |
| $mod_anchor =~ s/ /\_/g; |
| $mod_anchor =~ s/[^\w]//g; |
| $mod_anchor =~ s/[^\w]//g; |
| |
| |
| $mod_text_list .= qq~ |
| $mod_text_list .= qq~ |
| |
| |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="windowbg2"> |
| <td align="left" class="windowbg2"> |
| <a href="#$mod_anchor">$mod_displayname</a> |
| <a href="#$mod_anchor">$mod_displayname</a> |
| </td> |
| </td> |
| <td align="left" class="windowbg2"> |
| <td align="left" class="windowbg2"> |
| $mod_author |
| $mod_author |
| </td> |
| </td> |
| <td align="left" class="windowbg2"> |
| <td align="left" class="windowbg2"> |
| $mod_version |
| $mod_version |
| </td> |
| </td> |
| </tr> |
| </tr> |
| |
| |
| ~; |
| ~; |
| |
| |
| $full_description .= qq~ |
| $full_description .= qq~ |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="titlebg"> |
| <td align="left" class="titlebg"> |
| <a name="$mod_anchor"><img src="$imagesdir/preferences.gif" alt="" border="0" /></a><b>$mod_displayname</b> <span class="small">$mod_list{'4'}: $mod_version</span> |
| <a name="$mod_anchor"><img src="$imagesdir/preferences.gif" alt="" border="0" /></a><b>$mod_displayname</b> <span class="small">$mod_list{'4'}: $mod_version</span> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="catbg"> |
| <td align="left" class="catbg"> |
| <span class="small">$mod_list{'2'}: $mod_author</span> |
| <span class="small">$mod_list{'2'}: $mod_author</span> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="windowbg2"><br /> |
| <td align="left" class="windowbg2"><br /> |
| $mod_desc<br /><br /> |
| $mod_desc<br /><br /> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| <td align="right" class="catbg"> |
| <td align="right" class="catbg"> |
| <span class="small">$mod_list{'3'}: $mod_date</span> |
| <span class="small">$mod_list{'3'}: $mod_date</span> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| |
| |
| </table> |
| </table> |
| </div> |
| </div> |
| <br /> |
| <br /> |
| ~; |
| ~; |
| |
| |
| } |
| } |
| |
| |
| $yymain .= qq~ |
| $yymain .= qq~ |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <div class="bordercolor" style="padding: 0px; width: 99%; margin-left: 0px; margin-right: auto;"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <table width="100%" cellspacing="1" cellpadding="4"> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="titlebg" colspan="3"> |
| <td align="left" class="titlebg" colspan="3"> |
| <img src="$imagesdir/preferences.gif" alt="" border="0" /><b>$mod_list{'5'}</b> |
| <img src="$imagesdir/preferences.gif" alt="" border="0" /><b>$mod_list{'5'}</b> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| <tr valign="middle"> |
| <tr valign="middle"> |
| <td align="left" class="catbg"> |
| <td align="left" class="catbg"> |
| <span class="small">$mod_list{'1'}</span> |
| <span class="small">$mod_list{'1'}</span> |
| </td> |
| </td> |
| <td align="left" class="catbg"> |
| <td align="left" class="catbg"> |
| <span class="small">$mod_list{'2'}</span> |
| <span class="small">$mod_list{'2'}</span> |
| </td> |
| </td> |
| <td align="left" class="catbg"> |
| <td align="left" class="catbg"> |
| <span class="small">$mod_list{'4'}</span> |
| <span class="small">$mod_list{'4'}</span> |
| </td> |
| </td> |
| </tr> |
| </tr> |
| |
| |
| $mod_text_list |
| $mod_text_list |
| </tr> |
| </tr> |
| |
| |
| </table> |
| </table> |
| </div> |
| </div> |
| |
| |
| <br /><br /><br /> |
| <br /><br /><br /> |
| |
| |
| $full_description |
| $full_description |
| |
| |
| ~; |
| ~; |
| |
| |
| $yytitle = $mod_list{'6'}; |
| $yytitle = $mod_list{'6'}; |
| $action_area = "modlist"; |
| $action_area = "modlist"; |
| |
| |
| &AdminTemplate; |
| &AdminTemplate; |
| } |
| } |
| |
| |
| 1; |
| 1; |
| |
| |