Okay, this is my first released hack here on vb.org, been using it in my private forum's with vB2 and finally, I've upgraded this hack for vB 3.0.1.
Introduction: vB pager is a new refined & light paging system that enables authorized users to exchange short & quick messages amongst each other. Unlike the regular private messaging system, the paged user is guaranteed to read your message & reply to it (if you choose this option) instantly & easily.
Features:
You won't need to log on your CP to send a message, just click on the pager icon next to the name of the user you'd like to page! (See Screenshots)
Switch the paging system on or off anytime you wish!
Specify who gets to use the paging system by Usergroup, or even User IDs to send messages to your forum members.
vB Pager users can send pager messages to members of the forum and/or non-registered guests from the WhoisOnline's page.
Optional Anonymity: you can choose to hide your username when paging another user on the forum, & define which Usergroup or User IDs can utilize this option.
Restrict the number of characters in each message: you can restrict the use of this paging system to short messages only by simply typing in the maximum number of characters that can be used. The window comes in with a built-in character counter to enable the user to keep track of the characters typed.
Logs of all incoming and outgoing pager messages member has, can be viewed and deleted.
Logs of all incoming and outgoing pager messages (Deleted and Unread messages) for all members can be viewed and deleted through the Admin CP.
vB Pager 2.0.4 Updates:
- All popup windows are DHTML, so there should be no problem with popup killers. - Logs of all incoming and outgoing pager messages (Deleted and Unread messages) for all members can be set to be Hard deleted, as a new option from vB Pager options in Admin CP.
- Many bug fixes.
Installation Update For vB Pager 2.0.5
You may install v2.0.5 fresh
You may upgrade from v2.0.4 -> 2.0.5 (Read UPGRADE.txt)
HACK INSTALLATION DETAILS:
File-edits: 8 Template-edits: 9 New files for this Hack: 3
admincp/pageradmin.php
images/buttons/vbpager.gif
pager.php Files modified for this Hack: 5
admincp/index.php
include/functions.php
includes/functinons_online.php
global.php
online.php New templates for this Hack: 4
vbpager
vbpager_listbit
vbpager_popup
vbpager_new Templates modified for this Hack: 7
footer
MEMBERINFO (Optional)
navbar
forumhome_loggedinuser
postbit_legacy (Optional)
postbit (Optional)
whosonlinebit New DB tables for this Hack: 1
pager DB Tables modified for this Hack: 1
user
PLEASE CLICK INSTALL
Please click if you install this hack, thanks.
vB Pager is free, and will remain free.
-------------------
Many Thanks goes to:
D|ver
docvader
Wolfe
And to all those who helped me find my mistakes and encourage me.
-------------------
Normal_vBpager.zip (17.2 KB, 141 downloads)
as per Sep-26-04 at 08:46
-------------------
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
One minor bug, if you want to call it that. But a easy fix. I had a friend go to my forum as a guest. I wanted to try out Paging to a guest to see how it works. In playing around, he kept entering text in the reply box with out any carriage returns. When I went to see his reply, the reply pop up ran off the screen to the right as where I coundn't see or get to the 'Close' button. Not that this is likely to happen offen, or at all, but a problem as you can't close the pop up. I just went and edited the vbpager_popup template, and in the thead tag and the one td tag, aligned them to the left. See attachment (this is after the fix).
BTW, I have V 3.0.7 and this mod works fine. I've been testing with some of my members, using different browsers, and they report no problems.
One other minor langauge error. In the pager.php file these two lines refer to the phrase - 'vbpager_nat', (N/A):
line 122:
PHP Code:
if (!($pagerinfo['username']))
$pagerinfo['username'] = $vbphrase['guest'];
if ($pagerinfo['hidden'])
$pagerinfo['username'] = $vbphrase['vbpager_nat'];
and line 202:
PHP Code:
if ($pagerinfo['parentpid'])
if ($DB_site->query_first("select * from " . TABLE_PREFIX . "pager where pagerid=". $pagerinfo['parentpid'] ." and hidden=1"))
$pagerinfo['username'] = $vbphrase['vbpager_nat'];
if ($pagerinfo['deliverdate'])
However there was no phrase 'vbpager_nat' in the phrase table. The actual phrase is ''vbpager_na' in the phrase database table. I just changed the pager.php for both to ''vbpager_na", and it fixed the error.