Version 2.1.7

This commit is contained in:
Neo committed 2025-12-19 00:21:15 -08:00
1 parent 0eecc172d9
commit f73f8bff6d
941 files changed
+215301 -103093

No files matched your search

+15 -1
View File
@@ -1 +1,15 @@
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
<html>
<head><title>Ошибка &lt; Русская версия Invision Power Board</title></head>
<body>
<h1>Ошибка &lt; Русская версия Invision Power Board</h1>
<hr>
Вы попали на несуществующую страницу!<br>Пожалуйста нажмите на кнопочку &laquo;<b>Назад</b>&raquo;
в вашем браузере для возвращения на предыдущую страницу.
<hr>
<b>Invision Power Board:</b>
<ul>
<li><a href="http://www.bestwarez.ru" title="BestWarez.Ru - Только лучший Варез!">Русская версия</a></li>
<li><a href="http://www.invisionboard.com" title="Official Site">English version</a></li>
</ul>
</body>
</html>
+3 -4
View File
@@ -32,6 +32,7 @@
| - on_email_change: When email address change is confirmed
| - on_profile_update: When profile is updated (msn, sig, etc)
| - on_pass_change: When password is updated
| - on_signature_update: When the users signature is changed
| - on_group_change: When the member's membergroup has changed
| - on_name_change: When the member's name has been changed
+--------------------------------------------------------------------------
@@ -55,7 +56,7 @@ class ipb_member_sync
function register_class(&$class)
{
$this->class = $class;
$this->class = &$class;
}
//-----------------------------------------------
@@ -88,9 +89,7 @@ class ipb_member_sync
global $DB, $std, $ibforums;
//---- START
//---- END
}
+28 -21
View File
@@ -1,19 +1,33 @@
<?php
/*
+--------------------------------------------------------------------------
| Invision Power Board v1.2 Module File
| ========================================
| Invision Power Board 2.1.7
| =============================================
| by Matthew Mecham
| (c) 2001 - 2003 Invision Power Services
| (c) 2001 - 2005 Invision Power Services, Inc.
| http://www.invisionpower.com
| ========================================
| =============================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Tuesday 18th of July 2006 05:56:00 PM
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| > Example Module Loader File
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2005-10-10 14:03:20 +0100 (Mon, 10 Oct 2005) $
| > $Revision: 22 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
| > MODULE FILE (EXAMPLE)
| > Module written by Matt Mecham
| > Date started: 7th July 2003
| > Date started: Thu 14th April 2005 (17:59)
|
+--------------------------------------------------------------------------
*/
@@ -23,13 +37,13 @@
// in all modules
//=====================================
class module extends module_loader
class module
{
//=====================================
// Define vars if required
//=====================================
var $ipsclass;
var $class = "";
var $module = "";
var $html = "";
@@ -40,23 +54,21 @@ class module extends module_loader
// Constructer, called and run by IPB
//=====================================
function module()
function run_module()
{
global $ibforums, $DB, $std;
//=====================================
// Do any set up here, like load lang
// skin files, etc
//=====================================
$ibforums->lang = $std->load_words($ibforums->lang, 'lang_boards', $ibforums->lang_id);
$this->html = $std->load_template('skin_boards');
$this->ipsclass->load_language('lang_boards');
$this->ipsclass->load_template('skin_boards');
//=====================================
// Set up structure
//=====================================
switch( $ibforums->input['cmd'] )
switch( $this->ipsclass->input['cmd'] )
{
case 'dosomething':
$this->do_something();
@@ -70,11 +82,8 @@ class module extends module_loader
print $this->result;
exit();
}
//------------------------------------------
// do_something
//
@@ -84,9 +93,7 @@ class module extends module_loader
function do_something()
{
global $ibforums, $DB, $std;
if ( $ibforums->member['mgroup'] == $ibforums->vars['admin_group'] )
if ( $this->ipsclass->member['mgroup'] == $this->ipsclass->vars['admin_group'] )
{
$this->result = "You're an admin!";
}
+28 -32
View File
@@ -1,23 +1,35 @@
<?php
/*
+--------------------------------------------------------------------------
| Invision Power Board v1.2 Module File
| ========================================
| Invision Power Board 2.1.7
| =============================================
| by Matthew Mecham
| (c) 2001 - 2003 Invision Power Services
| (c) 2001 - 2005 Invision Power Services, Inc.
| http://www.invisionpower.com
| ========================================
| =============================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Tuesday 18th of July 2006 05:56:00 PM
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2005-10-10 14:03:20 +0100 (Mon, 10 Oct 2005) $
| > $Revision: 22 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
| > Module Loader File
| > MODULE LOADER
| > Module written by Matt Mecham
| > Date started: 7th July 2003
| > Date started: Thu 14th April 2005 (17:55)
|
+--------------------------------------------------------------------------
|
| USAGE:
| ------
|
@@ -26,22 +38,18 @@
|
| Looks for a file called "mod_register.php" and runs it
|
| $DB, $ibforums, $std are all available and any thing in
| the URL will be in the standard $ibforums->input['var'] format
|
+--------------------------------------------------------------------------
*/
class module_loader
{
var $class = "";
var $module = "";
var $ipsclass;
var $class;
var $module;
function module_loader()
function run_loader()
{
global $ibforums, $DB, $std;
$this->module = $this->_name_cleaner($ibforums->input['module']);
$this->module = $this->ipsclass->txt_alphanumerical_clean($this->ipsclass->input['module']);
if ( $this->module == "" )
{
@@ -63,25 +71,13 @@ class module_loader
require_once( ROOT_PATH.'modules/mod_'.$this->module.'.php' );
$mod_run = new module();
$mod_run = new module();
$mod_run->ipsclass =& $this->ipsclass;
$mod_run->run_module();
exit();
}
//------------------------------------------
// _name_cleaner
//
// Remove everything bar a - z, 0 - 9 _ -
//
//------------------------------------------
function _name_cleaner($name)
{
return preg_replace( "/[^a-zA-Z0-9\-\_]/", "" , $name );
}
//------------------------------------------
// _return_dead
//