aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-27 16:32:44 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-27 16:32:44 +0000
commit7d7a08eee624ebd75b73028624c74e0793b1425f (patch)
tree052650584343e6dcd698df3ab171d53f6656d246 /phpBB/memberlist.php
parent6225256418c127806f2c3d8a0ca0fe448b74c1c4 (diff)
downloadforums-7d7a08eee624ebd75b73028624c74e0793b1425f.tar
forums-7d7a08eee624ebd75b73028624c74e0793b1425f.tar.gz
forums-7d7a08eee624ebd75b73028624c74e0793b1425f.tar.bz2
forums-7d7a08eee624ebd75b73028624c74e0793b1425f.tar.xz
forums-7d7a08eee624ebd75b73028624c74e0793b1425f.zip
Various bits and pieces ... this isn't really what I wanted M-2 to look like but hum ho
git-svn-id: file:///svn/phpbb/trunk@4441 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index bdc4ba8c1e..77ee76499d 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -33,7 +33,6 @@ include($phpbb_root_path . 'common.'.$phpEx);
// Start session management
$user->start();
$auth->acl($user->data);
-
$user->setup();
@@ -64,7 +63,7 @@ switch ($mode)
}
-$start = (isset($_GET['start'])) ? intval($_GET['start']) : 0;
+$start = (isset($_GET['start'])) ? intval($_GET['start']) : ((isset($_GET['page'])) ? (intval($_GET['page']) - 1) * $config['topics_per_page'] : 0);
$form = (!empty($_GET['form'])) ? htmlspecialchars($_GET['form']) : 0;
$field = (isset($_GET['field'])) ? htmlspecialchars($_GET['field']) : 'username';
@@ -205,6 +204,8 @@ switch ($mode)
set_config('jab_password', $jabber->password);
}
+ $jabber->SendPresence();
+
// This _really_ needs to be an "email" template I think ... indeed the whole system is probably
// best suited "merged" with email in some way. Would enable notifications, etc. to be sent via
// Jabber more easily too I think